/* ========================================
   DATA ANALYTICS COURSE PAGE - CSS
   Bootstrap-Free with Animations
   ENHANCED MOBILE RESPONSIVE VERSION
======================================== */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-color: #0A2540;
    --secondary-color: #00D4FF;
    --accent-color: #FF6B35;
    --dark-color: #1E293B;
    --text-color: #475569;
    --light-bg: #F8FAFC;
    --white: #ffffff;
    --border-radius: 1rem;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base Styles - MOBILE FIRST
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   Container & Layout
======================================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    overflow-x: hidden;
    width: 100%;
}

.section-light {
    background-color: var(--light-bg);
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.section-title {
    color: var(--dark-color);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-brand {
    background: linear-gradient(135deg, var(--primary-color), #0D3A5C);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3);
}

.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   Navigation - FIXED FOR MOBILE
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--box-shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.navbar-brand img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    position: relative;
    color: var(--white);
    padding: 180px 0 100px;
    margin-top: 0px;
    overflow: hidden;
    width: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(13, 58, 92, 0.9) 100%),
        url('../Image/data1.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.03)"/></svg>');
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
    width: 100%;
}

.hero-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-facts {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.fact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.fact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fact-text strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 600;
}

.fact-text span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   Mastery Grid
======================================== */
.mastery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.mastery-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.mastery-card:nth-child(1) { animation-delay: 0.1s; }
.mastery-card:nth-child(2) { animation-delay: 0.2s; }
.mastery-card:nth-child(3) { animation-delay: 0.3s; }
.mastery-card:nth-child(4) { animation-delay: 0.4s; }

.mastery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--secondary-color);
}

.mastery-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #00B8D4);
    border-radius: 20px;
    color: var(--white);
    font-size: 2.2rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.mastery-card:hover .mastery-icon {
    transform: rotateY(360deg);
}

.mastery-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.mastery-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   Technology Stack
======================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
    width: 100%;
}

.tech-item {
    padding: 35px 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
    animation: scaleUp 0.6s ease forwards;
}

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.15s; }
.tech-item:nth-child(3) { animation-delay: 0.2s; }
.tech-item:nth-child(4) { animation-delay: 0.25s; }
.tech-item:nth-child(5) { animation-delay: 0.3s; }
.tech-item:nth-child(6) { animation-delay: 0.35s; }

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--box-shadow-lg);
}

.tech-item img {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    filter: grayscale(50%);
    transition: var(--transition);
}

.tech-item:hover img {
    filter: grayscale(0%);
}

.tech-item p {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* ========================================
   Curriculum Accordion
======================================== */
.curriculum-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRight 0.6s ease forwards;
}

.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.15s; }
.accordion-item:nth-child(3) { animation-delay: 0.2s; }
.accordion-item:nth-child(4) { animation-delay: 0.25s; }
.accordion-item:nth-child(5) { animation-delay: 0.3s; }
.accordion-item:nth-child(6) { animation-delay: 0.35s; }

.accordion-item:hover {
    box-shadow: var(--box-shadow-lg);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.accordion-header:hover {
    background: var(--light-bg);
}

.accordion-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: inherit;
    min-width: 50px;
}

.accordion-title {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 30px 25px 100px;
}

.accordion-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========================================
   Projects Grid
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-content h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.project-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   Career Outcomes
======================================== */
.careers-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.career-badge {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), #0D3A5C);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.5s ease forwards;
}

.career-badge:nth-child(1) { animation-delay: 0.1s; }
.career-badge:nth-child(2) { animation-delay: 0.2s; }
.career-badge:nth-child(3) { animation-delay: 0.3s; }
.career-badge:nth-child(4) { animation-delay: 0.4s; }
.career-badge:nth-child(5) { animation-delay: 0.5s; }

.career-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.3);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0D3A5C 50%, #1E3A5F 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 50px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-section h5 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    min-width: 0;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: #00B8D4;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Animations
======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: var(--box-shadow-lg);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    .nav-item .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .navbar-brand img {
        width: 130px;
        height: 70px;
    }

    .hero-section {
        padding: 140px 0 80px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .hero-facts {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .mastery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-brand img {
        width: 120px;
        height: 60px;
    }
    
    .hero-section {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .hero-facts {
        gap: 15px;
    }
    
    .fact-item {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .mastery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .accordion-content {
        padding: 0 20px;
    }

    .accordion-item.active .accordion-content {
        padding: 0 20px 20px 70px;
    }

    .accordion-header {
        padding: 20px;
    }

    .accordion-number {
        font-size: 1.2rem;
        min-width: 40px;
    }

    .accordion-title {
        font-size: 1.05rem;
    }

    .careers-container {
        gap: 10px;
    }

    .career-badge {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar-brand img {
        width: 100px;
        height: 50px;
    }
    
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .fact-item {
        padding: 15px 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .mastery-card {
        padding: 30px 20px;
    }

    .mastery-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tech-item {
        padding: 25px 15px;
    }

    .tech-item img {
        width: 50px;
        height: 50px;
    }

    .accordion-header {
        padding: 15px;
        gap: 10px;
    }

    .accordion-number {
        font-size: 1rem;
        min-width: 35px;
    }

    .accordion-title {
        font-size: 0.95rem;
    }

    .accordion-item.active .accordion-content {
        padding: 0 15px 15px 55px;
    }

    .project-content {
        padding: 25px 20px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}