/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kufam', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container and Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
}

/* Header Styles - KenziDev Design System */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1B263B;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
    transition: height 0.3s ease;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr;
    gap: 20px;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Left Side: Logo + Brand */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    font-family: 'Futura', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    color: #F5F5F5;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-family: 'Kufam', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #F5F5F5;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
}

/* Right Side: Navigation + CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-self: end;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    font-family: 'Kufam', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #F5F5F5;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}

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

/* CTA Button */
.cta-button {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #FFFFFF;
    background-color: #FF6B35;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #F5F5F5;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1B263B;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-mobile.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.nav-mobile-link {
    display: block;
    font-family: 'Kufam', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #F5F5F5;
    text-decoration: none;
    padding: 15px 40px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-mobile-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
    border-left-color: #FF6B35;
    color: #FF6B35;
}

/* Main Content Adjustment */
.main-content {
    margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header .container {
        padding: 0 20px;
        gap: 15px;
    }
    
    .header-right {
        gap: 20px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    
    .header .container {
        padding: 0 20px;
        grid-template-columns: 1fr auto;
    }
    
    .logo {
        height: 40px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    /* Hide desktop navigation and CTA on mobile */
    .nav-desktop,
    .cta-button {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-right {
        gap: 0;
    }
    
    .main-content {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 20px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .nav-mobile-link {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Accessibility */
.nav-link:focus,
.nav-mobile-link:focus,
.cta-button:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .cta-button,
    .nav-mobile-link,
    .hamburger-line,
    .nav-mobile {
        transition: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .nav-mobile.active {
        transform: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1B263B 0%, #1B263B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-image 0.5s ease;
}

.hero:hover {
    background-image: linear-gradient(135deg, rgba(27, 38, 59, 0.8) 0%, rgba(27, 38, 59, 0.9) 100%), url('img/blue-abstract.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 100%;
    z-index: 2;
}

.hero-content .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-family: 'Futura', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 3.5rem;
    color: #F5F5F5;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subheadline {
    font-family: 'Kufam', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #F5F5F5;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1B263B;
    background-color: #FF6B35;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #F5F5F5;
    background-color: transparent;
    border: 2px solid #F5F5F5;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #F5F5F5;
    color: #1B263B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 245, 245, 0.2);
}

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

/* Services Section - Enhanced Design */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #F5F5F5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(27, 38, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services .container {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.services-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #1B263B);
    border-radius: 2px;
}

.services-title {
    font-family: 'Futura', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #1B263B;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-subtitle {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #FF6B35;
    margin-bottom: 25px;
    position: relative;
}

.services-intro {
    font-family: 'Kufam', sans-serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 80px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: none;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(27, 38, 59, 0.08),
                0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #FF6B35, #1B263B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(27, 38, 59, 0.15),
                0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
    text-align: left;
}

.service-headline {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: #1B263B;
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-description {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.service-features li {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-left: 0;
}

.service-why {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #FF6B35;
    margin-bottom: 30px;
}

.service-why h5 {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1B263B;
    margin-bottom: 12px;
}

.service-why p {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.service-cta {
    display: inline-block;
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1B263B 0%, #0f1419 100%);
    text-align: center;
}

.final-cta .container {
    grid-template-columns: 1fr;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-headline {
    font-family: 'Futura', 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #F5F5F5;
    margin-bottom: 20px;
    line-height: 1.2;
}

.final-cta-subline {
    font-family: 'Kufam', sans-serif;
    font-size: 1.2rem;
    color: #F5F5F5;
    margin-bottom: 35px;
    opacity: 0.9;
}

.final-cta-button {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1B263B;
    background-color: #FF6B35;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.final-cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* About/Story Section */
.about {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.about .container {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 60px;
}

/* Section Header */
.about-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.about-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0077ff, #111);
    border-radius: 2px;
}

.about-title {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-subtitle {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #0077ff;
    margin-bottom: 0;
}

/* Image + Text Split */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: translateY(-5px);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Story Block */
.story-block {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #0077ff;
}

.story-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 20px;
}

.story-intro {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-quote {
    font-family: 'Kufam', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0077ff;
    font-style: italic;
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.1);
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 3rem;
    color: #0077ff;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.story-realization {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Positioning Block */
.positioning-block {
    background: #111;
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
}

.positioning-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.positioning-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.positioning-list li {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #f5f5f5;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.positioning-list li::before {
    content: '✗';
    color: #ff4444;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.positioning-statement {
    font-family: 'Kufam', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0077ff;
    text-align: center;
    margin: 0;
    padding: 20px;
    background: rgba(0, 119, 255, 0.1);
    border-radius: 10px;
    border: 2px solid #0077ff;
}

/* About CTA Block */
.about-cta {
    background: #0077ff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 119, 255, 0.2);
}

.about-cta-headline {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-cta-button {
    display: inline-block;
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #0077ff;
    background-color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-cta-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header sizing */
    .header { height: 60px; padding: 0; }
    .header .container { grid-template-columns: 1fr auto; row-gap: 0; align-items: center; }
    .header-right { gap: 10px; justify-content: flex-end; }

    /* Mobile menu: show burger, hide desktop nav */
    .mobile-menu-toggle { display: flex !important; }
    .nav-desktop { display: none; }

    /* CTA remains visible on the right */
    .cta-button { padding: 12px 20px; border-radius: 12px; }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1.4rem;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about .container {
        padding: 0 20px;
        gap: 40px;
    }
    
    .about-header {
        margin-bottom: 50px;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-subtitle {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .story-block,
    .positioning-block {
        padding: 30px;
    }
    
    .about-cta {
        padding: 40px 30px;
    }
    
    .about-cta-headline {
        font-size: 1.8rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-grid {
        gap: 30px;
        margin-top: 50px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 2.2rem;
    }
    
    .service-headline {
        font-size: 1.3rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
    }
    
    .about .container {
        padding: 0 15px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .story-block,
    .positioning-block {
        padding: 20px;
    }
    
    .story-quote {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .about-cta {
        padding: 30px 20px;
    }
    
    .about-cta-headline {
        font-size: 1.5rem;
    }
    
    .about-cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #333;
    }
    
    .service-why {
        border-left-width: 6px;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-button:focus,
.mobile-menu-toggle:focus,
.btn-primary:focus,
.btn-secondary:focus,
.service-cta:focus,
.final-cta-button:focus,
.about-cta-button:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Portfolio/Case Studies Section */
.portfolio {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.portfolio .container {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 80px;
}

/* Portfolio Header */
.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.portfolio-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0077ff, #111);
    border-radius: 2px;
}

.portfolio-title {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}

.portfolio-intro {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Case Study Layout */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.case-study-reverse {
    direction: rtl;
}

.case-study-reverse > * {
    direction: ltr;
}

.case-study-reverse .case-study-image {
    order: 2;
}

.case-study-reverse .case-study-content {
    order: 1;
}

/* Case Study Image */
.case-study-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-study-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Case Study Content */
.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-study-subheading {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #0077ff;
    margin: 0;
    line-height: 1.3;
}

/* Problem Section */
.case-study-problem {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #0077ff;
}

.problem-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 15px;
}

.problem-narrative {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Solution Section */
.case-study-solution {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.solution-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 20px;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 0;
}

.solution-list li strong {
    color: #111;
}

/* Results Section */
.case-study-results {
    background: linear-gradient(135deg, #0077ff 0%, #0056cc 100%);
    padding: 30px;
    border-radius: 15px;
    color: #ffffff;
}

.results-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.metric-label {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Testimonial */
.case-study-testimonial {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.testimonial-quote {
    font-family: 'Kufam', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #0077ff;
    text-align: center;
    margin: 0;
    padding: 20px;
    background: rgba(0, 119, 255, 0.05);
    border-radius: 10px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 2.5rem;
    color: #0077ff;
    position: absolute;
    top: -5px;
    left: 15px;
    opacity: 0.3;
}

/* Case Study CTA */
.case-study-cta {
    display: inline-block;
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #0077ff;
    background-color: transparent;
    border: 2px solid #0077ff;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.case-study-cta:hover {
    background-color: #0077ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.3);
}

/* Portfolio Final CTA */
.portfolio-final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0077ff 0%, #0056cc 100%);
    text-align: center;
    margin-bottom: 0;
}

.portfolio-final-cta .container {
    grid-template-columns: 1fr;
}

.portfolio-final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-final-cta-headline {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.2;
}

.portfolio-final-cta-button {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #0077ff;
    background-color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-final-cta-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tablet Styles for Portfolio */
@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio .container {
        gap: 60px;
    }
    
    .portfolio-header {
        margin-bottom: 50px;
    }
    
    .portfolio-title {
        font-size: 2.2rem;
    }
    
    .portfolio-intro {
        font-size: 1.1rem;
    }
    
    .case-study {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .case-study-reverse {
        direction: ltr;
    }
    
    .case-study-reverse .case-study-image {
        order: 1;
    }
    
    .case-study-reverse .case-study-content {
        order: 2;
    }
    
    .case-study-content {
        gap: 25px;
    }
    
    .case-study-subheading {
        font-size: 1.5rem;
    }
    
    .results-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    .portfolio-final-cta {
        padding: 60px 0;
    }
    
    .portfolio-final-cta-headline {
        font-size: 2rem;
    }
}

/* Mobile Styles for Portfolio */
@media (max-width: 480px) {
    .portfolio {
        padding: 40px 0;
    }
    
    .portfolio .container {
        gap: 40px;
    }
    
    .portfolio-header {
        margin-bottom: 40px;
    }
    
    .portfolio-title {
        font-size: 1.8rem;
    }
    
    .portfolio-intro {
        font-size: 1rem;
    }
    
    .case-study {
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .case-study-content {
        gap: 20px;
    }
    
    .case-study-subheading {
        font-size: 1.3rem;
    }
    
    .case-study-problem,
    .case-study-solution,
    .case-study-results,
    .case-study-testimonial {
        padding: 20px;
    }
    
    .problem-title,
    .solution-title,
    .results-title {
        font-size: 1.1rem;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        padding: 15px;
    }
    
    .case-study-cta {
        font-size: 0.95rem;
        padding: 12px 25px;
        align-self: center;
    }
    
    .portfolio-final-cta {
        padding: 40px 0;
    }
    
    .portfolio-final-cta-headline {
        font-size: 1.6rem;
    }
    
    .portfolio-final-cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

/* High Contrast for Portfolio Accessibility */
@media (prefers-contrast: high) {
    .case-study-problem {
        border-left-width: 6px;
    }
    
    .case-study-solution {
        border-width: 3px;
    }
    
    .case-study-results {
        border: 3px solid #ffffff;
    }
}

/* Focus styles for Portfolio accessibility */
.case-study-cta:focus,
.portfolio-final-cta-button:focus {
    outline: 2px solid #0077ff;
    outline-offset: 2px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonials .container {
    grid-template-columns: 1fr;
    gap: 80px;
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.testimonials-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0077ff, #111);
    border-radius: 2px;
}

.testimonials-title {
    font-family: 'Kufam', sans-serif;
    font-weight: bold;
    font-size: 2.6rem;
    color: #111;
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #555;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* Card */
.testimonial-card {
    grid-column: span 6;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Stagger effect on desktop */
.testimonial-card:nth-child(odd) {
    transform: translateY(0);
}

.testimonial-card:nth-child(even) {
    transform: translateY(20px);
}

/* Quote block */
.testimonial-quote-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quote-icon {
    font-size: 1.2rem;
    color: #0077ff;
    line-height: 1;
    margin-top: 6px;
}

.pull-quote {
    font-family: 'Kufam', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #111;
    margin: 0;
    padding-top: 12px;
    border-top: 3px solid #0077ff;
}

/* Body and attribution */
.testimonial-body {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.testimonial-attribution {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    opacity: 0.9;
}

/* Why this works */
.why-this-works {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 16px 18px;
}

.why-icon {
    color: #0077ff;
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 4px;
}

.why-content p,
.why-content ul,
.why-content li {
    margin: 0;
}

.why-content p {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #111;
}

.why-content ul {
    list-style: none;
    padding-left: 0;
}

.why-content li {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #555;
}

/* CTA Bar */
.testimonials-cta {
    background: #0077ff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonials-cta-text {
    font-family: 'Kufam', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
}

.testimonials-cta-button {
    display: inline-block;
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0077ff;
    background-color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-cta-button:hover {
    transform: translateY(-2px);
    background-color: #f8f9fa;
}

/* Tablet */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-title {
        font-size: 2.1rem;
    }

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

    .testimonial-card {
        grid-column: span 8;
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .testimonials {
        padding: 40px 0;
    }

    .testimonials-title {
        font-size: 1.8rem;
    }

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

    .testimonial-card {
        grid-column: span 4;
        padding: 24px;
        gap: 16px;
    }

    .pull-quote {
        font-size: 1.15rem;
    }

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

    .testimonials-cta-text {
        font-size: 1.2rem;
    }
}

/* Focus styles for Testimonials accessibility */
.testimonials-cta-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Testimonials avatars and header */
.testimonial-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid #ffffff;
    margin: 0 auto 10px auto;
}

/* Tweak card spacing to account for avatar */
.testimonial-card {
    gap: 18px;
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .testimonial-avatar {
        width: 64px;
        height: 64px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #1B263B;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-subtitle {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1.3rem;
    color: #495057;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Lead Magnet CTA */
.contact-lead-magnet {
    margin-bottom: 40px;
}

.contact-lead-button {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.contact-lead-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.contact-urgency {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #dc3545;
    margin-top: 12px;
    font-weight: 500;
}

/* Form Wrapper */
.contact-form-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    width: 100%;
    border: 1px solid #e9ecef;
}

.form-title {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #495057;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Kufam', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #1B263B;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-error {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 5px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-submit-btn {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 18px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.form-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-subtext {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Direct Contact */
.contact-direct {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-direct-intro {
    font-family: 'Kufam', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 25px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-link {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #1B263B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #28a745;
}

.contact-text {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 1rem;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-card {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .contact-direct {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 1.8rem;
    }

    .contact-lead-button {
        font-size: 1rem;
        padding: 16px 30px;
    }

    .form-submit-btn {
        font-size: 1rem;
        padding: 16px 25px;
    }

    .contact-form-card {
        padding: 25px 15px;
    }
}

/* Accessibility */
.contact-lead-button:focus,
.form-submit-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.form-input:focus,
.form-select:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    font-family: 'Futura', 'Arial', sans-serif;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

/* ===== RESUME SECTION ===== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors */
    --color-primary: #0A2540;
    --color-secondary: #F5F7FA;
    --color-accent: #007BFF;
    --color-success: #28A745;
    --color-danger: #DC3545;
    --text-dark: #0B1220;
    --card-bg: rgba(255,255,255,0.03);
    
    /* Typography */
    --font-heading: 'Kufam', Georgia, serif;
    --font-body: 'Futura', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    
    /* Font Sizes */
    --font-size-h2: 56px;
    --font-size-h3: 32px;
    --font-size-body: 16px;
    
    /* Grid & Spacing */
    --container-max-width: 1280px;
    --margin-desktop: 40px;
    --margin-mobile: 20px;
    --gutter: 20px;
    --section-padding: 80px;
    --card-radius: 12px;
    --card-padding: 24px;
    --box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Resume Section Container */
.resume {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a365d 100%);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.resume .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--margin-desktop);
    position: relative;
    z-index: 2;
}

/* Header Row */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gutter);
    margin-bottom: 60px;
}

.resume-header-left {
    flex: 1;
    max-width: 600px;
}

.resume-header-right {
    flex-shrink: 0;
}

.resume-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.resume-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(245, 247, 250, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Download Button */
.download-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
    background: var(--color-accent);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    white-space: nowrap;
}

.download-resume-btn:hover {
    background: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.4);
}

.download-resume-btn:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

.download-icon {
    font-size: 18px;
}

/* Summary Card */
.resume-summary {
    margin-bottom: 60px;
}

.summary-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.summary-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.summary-text {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    color: rgba(245, 247, 250, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Mobile Tabs (Hidden by default) */
.mobile-tabs {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.tab-btn[aria-selected="true"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

/* Resume Grid */
.resume-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}

/* Resume Cards */
.resume-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 123, 255, 0.3);
}

.card-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--color-accent), #0056cc);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
}

.card-content {
    color: rgba(245, 247, 250, 0.9);
}

/* Education Styles */
.education-degree {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.education-school {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.education-date {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(245, 247, 250, 0.7);
}

/* Certifications Styles */
.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-item:last-child {
    border-bottom: none;
}

.cert-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.cert-institution {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-accent);
}

/* Experience Styles */
.experience-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.job-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
    flex: 1;
}

.job-date {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-accent);
    background: rgba(0, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    margin: 0;
}

.company-info {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(245, 247, 250, 0.8);
    margin-bottom: 12px;
    font-style: italic;
}

.job-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-responsibilities li {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(245, 247, 250, 0.8);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.job-responsibilities li::before {
    content: '▸';
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Scroll Areas */
/*
.scroll-area {
    max-height: 48vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    padding-right: 8px;
}

.scroll-area::-webkit-scrollbar {
    width: 6px;
}

.scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.scroll-area::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}
*/

/* Floating CTA */
.floating-cta {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.floating-cta-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: white;
    background: var(--color-success);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.floating-cta-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.floating-cta-btn:focus {
    outline: 3px solid rgba(40, 167, 69, 0.5);
    outline-offset: 2px;
}

/* Resume Section Responsive Design */
@media (max-width: 1023px) {
    .resume-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scroll-area {
        max-height: 40vh;
    }
}

@media (max-width: 767px) {
    .resume {
        padding: 60px 0;
    }
    
    .resume .container {
        padding: 0 var(--margin-mobile);
    }
    
    .resume-header {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    
    .resume-header-right {
        display: flex;
        justify-content: center;
    }
    
    .download-resume-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        min-height: 44px;
    }
    
    .resume-title {
        font-size: clamp(32px, 8vw, var(--font-size-h2));
        text-align: center;
    }
    
    .resume-subtitle {
        text-align: center;
        font-size: 16px;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Show mobile tabs */
    .mobile-tabs {
        display: flex;
    }
    
    /* Hide all cards by default on mobile */
    .resume-card {
        display: none;
    }
    
    /* Show only the first card (Education) by default */
    .resume-card:first-of-type {
        display: block;
    }
    
    .scroll-area {
        max-height: auto;
        max-height: 50vh;
    }
    
    .floating-cta {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .resume {
        padding: 40px 0;
    }
    
    .resume-title {
        font-size: 28px;
    }
    
    .resume-subtitle {
        font-size: 15px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .summary-title {
        font-size: 24px;
    }
    
    .resume-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .download-resume-btn {
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* Quick responsive tweaks for Contact section */
@media (max-width: 1024px) {
    .contact .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-lead-button {
        display: inline-block;
        padding: 18px 32px;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .form-input,
    .form-select {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-lead-magnet {
        display: grid;
        gap: 12px;
        justify-items: center;
    }

    .contact-lead-button {
        width: 100%;
        max-width: 520px;
        text-align: center;
        padding: 16px 22px;
    }

    .contact-form-card {
        margin: 0 15px;
        padding: 22px 16px;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-input,
    .form-select {
        font-size: 16px; /* prevent iOS zoom */
        padding: 14px 14px;
    }

    .form-submit-btn {
        width: 100%;
        padding: 16px 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .contact-direct {
        margin: 0 15px;
        padding: 24px 16px;
    }
}

/* ===== FOOTER SECTION ===== */
.footer {
    background-color: #0A2540;
    color: #F5F7FA;
    padding: 80px 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Top CTA Row */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-headline {
    font-family: 'Kufam', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.footer-subtext {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 16px;
    color: #F5F7FA;
    opacity: 0.85;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.footer-btn,
.cta-btn {
    font-family: 'Futura', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #007BFF;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-btn:hover,
.cta-btn:hover {
    background-color: #339DFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid rgba(245, 247, 250, 0.2);
    margin: 20px 0;
}

/* Social Row */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-social-label {
    font-family: 'Kufam', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
}

.footer-social-inline {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-social-inline a,
.social-links a {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 15px;
    color: #F5F7FA;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-inline a:hover,
.social-links a:hover {
    color: #007BFF;
    transform: translateY(-1px);
}

.social-icon {
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
}

.footer-credits p {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 14px;
    color: #F5F7FA;
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.footer-copyright p {
    font-family: 'Futura', 'Arial', sans-serif;
    font-size: 13px;
    color: #F5F7FA;
    opacity: 0.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container { padding: 60px 20px; gap: 40px; }
    .footer-top { flex-direction: column; align-items: stretch; }
    .footer-top-right { display: flex; justify-content: flex-start; }
}

@media (max-width: 768px) {
    .footer { padding: 60px 0; }
    .footer-container { padding: 60px 20px; gap: 30px; }
    .footer-headline { font-size: 24px; margin-bottom: 12px; }
    .footer-top { flex-direction: column; align-items: stretch; }
    .footer-top-right { display: flex; justify-content: center; }
    .footer-btn { width: 100%; max-width: 280px; text-align: center; }
    .footer-social-row { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .footer { padding: 40px 0; }
    .footer-container { padding: 40px 20px; gap: 24px; }
    .footer-headline { font-size: 22px; }
    .footer-subtext { font-size: 14px; }
    .footer-btn { font-size: 15px; padding: 10px 20px; }
    .footer-credits p { font-size: 13px; }
}

/* Accessibility */
.footer-btn:focus,
.footer-social-inline a:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .footer-btn,
    .footer-contact-link,
    .footer-social-links a {
        transition: none;
    }
    
    .footer-btn:hover,
    .footer-social-links a:hover {
        transform: none;
    }
}