/*
 * Radha Sakthi - IT Consulting & Software Development
 * Color Palette inspired by Peacock Feathers:
 * - Deep Blue: #1a237e, #283593
 * - Teal/Turquoise: #00897b, #009688
 * - Gold/Yellow: #ffc107, #ffb300
 * - Emerald Green: #2e7d32, #388e3c
 * - Royal Blue: #1a73e8, #1565c0
 */

/* CSS Variables */
:root {
    /* Primary Colors - Peacock Inspired */
    --deep-blue: #1a237e;
    --royal-blue: #1a73e8;
    --teal: #00897b;
    --turquoise: #009688;
    --gold: #ffc107;
    --amber: #ffb300;
    --emerald: #2e7d32;
    --green: #388e3c;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --near-black: #1a1a2e;

    /* Gradients */
    --gradient-peacock: linear-gradient(135deg, #1a237e 0%, #00897b 50%, #ffc107 100%);
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #00897b 100%);
    --gradient-gold: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #1a237e 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--near-black);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--gray);
    margin-bottom: 1rem;
}

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

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.btn-secondary:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--white);
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(0, 137, 123, 0.1) 100%);
    color: var(--teal);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(255, 193, 7, 0.2);
    color: var(--gold);
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--dark-gray);
    border-radius: 50px;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal-blue);
    background: rgba(26, 115, 232, 0.08);
}

.nav-link.cta-btn {
    background: var(--gradient-primary);
    color: var(--white);
    margin-left: 16px;
}

.nav-link.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Mobile menu backdrop (hidden on desktop) */
.nav-backdrop {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 50%, #fff8e1 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 137, 123, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.peacock-decoration {
    position: absolute;
    width: 400px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 137, 123, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.peacock-decoration.left {
    left: -200px;
    top: 20%;
    transform: rotate(-15deg);
}

.peacock-decoration.right {
    right: -200px;
    bottom: 10%;
    transform: rotate(15deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-peacock);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-circle {
    width: 400px;
    height: 400px;
    position: relative;
}

.peacock-eye-svg {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--light-gray);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-peacock);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--teal);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--royal-blue);
    font-weight: 500;
}

.service-link::after {
    content: '\2192';
    transition: var(--transition-normal);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.image-frame {
    position: relative;
    background: var(--gradient-peacock);
    border-radius: 24px;
    padding: 40px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.peacock-pattern {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 193, 7, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(0, 137, 123, 0.3) 0%, transparent 30%);
}

.about-stats {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text .section-title {
    margin-bottom: 24px;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--teal);
    flex-shrink: 0;
}

.feature span {
    font-weight: 500;
    color: var(--dark-gray);
}

/* Expertise Section */
.expertise {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 137, 123, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-normal);
}

.tech-category:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.tech-category h3 {
    color: var(--gold);
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.875rem;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.tech-item:hover {
    background: var(--gradient-primary);
}

/* Why Choose Us Section */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.reason-card {
    text-align: center;
    padding: 40px 30px;
}

.reason-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-peacock);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.reason-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.reason-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 24px;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(0, 137, 123, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--dark-gray);
}

.contact-text p {
    color: var(--gray);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 137, 123, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--near-black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

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

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .feature-circle {
        width: 300px;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    html {
        font-size: 15px;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        padding: 10px;
        margin: -10px;
    }

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

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

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

    .nav-link {
        padding: 14px 20px;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-link.cta-btn {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
    }

    /* Mobile menu backdrop */
    .nav-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 999;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .hero-visual {
        display: flex;
        margin-top: 40px;
    }

    .feature-circle {
        width: 200px;
        height: 200px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }

    /* Tech Grid Mobile */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-category {
        padding: 24px;
    }

    /* Reasons Mobile */
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reason-card {
        padding: 30px 24px;
    }

    /* About Mobile */
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .image-frame {
        min-height: 380px;
    }

    /* Contact Mobile */
    .contact-wrapper {
        display: block;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero Mobile Small */
    .hero {
        padding: 100px 0 50px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .feature-circle {
        width: 160px;
        height: 160px;
    }

    /* Cards Mobile Small */
    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .reason-card {
        padding: 24px 20px;
    }

    .reason-number {
        font-size: 2.5rem;
    }

    /* About Stats Mobile */
    .image-frame {
        padding: 24px;
        min-height: 320px;
    }

    .stat {
        padding: 16px;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    /* Tech Items Mobile */
    .tech-category {
        padding: 20px;
    }

    .tech-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Contact Mobile Small */
    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Footer Mobile Small */
    .footer {
        padding: 50px 0 24px;
    }

    .footer-content {
        padding-bottom: 40px;
    }

    /* Buttons Touch Targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }

    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    /* Links Touch Targets */
    .service-link,
    .footer-column a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .tech-category:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-primary:active {
        transform: scale(0.98);
    }

    .nav-link.cta-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Landscape phone */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-visual {
        display: none;
    }

    .nav-menu {
        width: 50%;
        max-width: 280px;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .footer-bottom {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
}

/* Selection Color */
::selection {
    background: rgba(0, 137, 123, 0.2);
    color: var(--near-black);
}
