/* CSS Variables */
:root {
    --background: hsl(220, 30%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(220, 25%, 12%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(195, 100%, 50%);
    --primary-foreground: hsl(220, 30%, 8%);
    --secondary: hsl(210, 100%, 60%);
    --muted: hsl(220, 20%, 20%);
    --muted-foreground: hsl(210, 20%, 70%);
    --border: hsl(220, 20%, 20%);
    --cyber-glow: hsl(195, 100%, 50%);
    --radius: 0.75rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
    overflow: visible;
}

.navbar.scrolled {
    background: hsla(220, 30%, 8%, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(220, 20%, 20%, 0.5);
    padding: 0.75rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo {
    width: 30px;
    height: 30px;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin: 0;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    position: relative;
    visibility: visible;
    opacity: 1;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    opacity: 1;
    visibility: visible;
}

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('./public/hero-forensics.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        hsla(220, 30%, 8%, 0.9) 0%, 
        hsla(220, 30%, 8%, 0.7) 50%, 
        var(--background) 100%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(hsla(195, 100%, 50%, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, hsla(195, 100%, 50%, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.radar-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid hsla(195, 100%, 50%, 0.2);
    border-radius: 50%;
    animation: radar 4s linear infinite;
}

.radar-1 {
    width: 600px;
    height: 600px;
}

.radar-2 {
    width: 400px;
    height: 400px;
    animation-delay: 1s;
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.5;
    animation: scanLine 3s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--primary-foreground);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer !important;
    transition: all 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
   
 

}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px hsla(195, 100%, 50%, 0.4);
}
.radar-container,
.radar-wave,
.scan-line,
.grid-overlay,
.hero-bg::after {
    pointer-events: none !important;
}


.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 12px;
    background: var(--primary);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: hsla(220, 25%, 12%, 0.5);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 64rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.value-icon {
    display: inline-block;
    padding: 1rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: hsla(195, 100%, 50%, 0.5);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.service-icon {
    display: inline-block;
    padding: 0.75rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.service-details {
    font-size: 0.875rem;
    color: hsla(210, 20%, 70%, 0.8);
    font-style: italic;
}

/* Icons */
.icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.value-icon .icon,
.service-icon .icon {
    filter: drop-shadow(0 0 8px var(--cyber-glow));
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    }
    50% {
        box-shadow: 0 0 30px hsla(195, 100%, 50%, 0.4);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes radar {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-10px);
    }
    70% {
        transform: translateX(-50%) translateY(-5px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.industry-icon {
    display: inline-block;
    padding: 0.75rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    background: hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.industry-stat {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Customers Grid */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.customer-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.customer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.customer-card.coming-soon {
    opacity: 0.6;
}

.customer-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.customer-icon {
    display: inline-block;
    padding: 1rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.customer-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.customer-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.testimonial {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial p {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--muted-foreground);
    margin: 0;
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.reason-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.reason-icon {
    display: inline-block;
    padding: 1rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-icon {
    background: hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.reason-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.reason-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Privacy Page Styles */
.privacy-content {
    max-width: 48rem;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    color: var(--foreground);
    font-size: 1.125rem;
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-section p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: var(--muted-foreground);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        padding: 0.5rem;
        margin-left: 0;
        margin-right: auto;
        align-items: center;
        justify-content: center;
        order: -1;
        z-index: 1002 !important;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: hsla(220, 30%, 8%, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border);
        z-index: 1000;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: 0.75rem 0;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-brand {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0;
        flex-shrink: 0;
        order: 1;
        padding-right: 0;
    }
    
    .mobile-menu-toggle {
        flex: 0 0 auto;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section {
        min-height: 90vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .industry-card {
        padding: 1.25rem;
    }
    
    .customers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .customer-card {
        padding: 1.5rem;
    }
    
    .customer-logo {
        width: 80px;
        height: 80px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .reason-card {
        padding: 1.25rem;
    }
    
    /* Contact Section - Stack Vertically on Mobile */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
        order: 1;
    }
    
    .contact-info {
        width: 100%;
        gap: 1rem;
        order: 2;
        display: flex;
        flex-direction: column;
    }
    
    .contact-card {
        padding: 1.25rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-card p {
        font-size: 0.875rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-icon {
        padding: 0.75rem;
        flex-shrink: 0;
    }
    
    .contact-icon .icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .map-card {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        order: 3;
    }
    
    .map-card iframe {
        height: 200px;
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-hero.btn-full {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card {
        padding: 1.25rem;
    }
    
    /* Footer Mobile Styles */
    .footer {
        padding: 2.5rem 0;
    }
    
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .footer-logo {
        width: 40px;
        height: 40px;
        margin: 0 auto 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        font-size: 0.8125rem;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-section li {
        margin-bottom: 0;
    }
    
    .footer-section a {
        font-size: 0.8125rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.875rem;
    }
    
    .social-link {
        padding: 0.625rem;
    }
    
    .social-link .icon {
        width: 1.125rem;
        height: 1.125rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .case-study-card {
        padding: 1.5rem;
    }
    
    .case-study-details h3 {
        font-size: 1.25rem;
    }
    
    .case-study-header {
        margin-bottom: 2rem;
    }
    
    .case-study-cta {
        margin-top: 2rem;
    }
    
    .map-card {
        padding: 1rem;
    }
    
    .map-card iframe {
        height: 250px;
    }
    
    /* Contact Section Mobile Improvements */
    #contact.section {
        padding: 3rem 0;
    }
    
    #contact .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    #contact .section-title {
        margin-bottom: 1.5rem;
    }
    
    #contact .section-description {
        margin-bottom: 2rem;
        padding: 0;
    }
    
    /* Ensure contact grid stacks vertically on mobile */
    #contact .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.8125rem;
    }
    
    .tag {
        font-size: 0.6875rem;
        padding: 0.2rem 0.6rem;
    }
    
    .case-study-tags {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 0.8125rem;
    }
    
    .btn-hero {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .service-card,
    .value-card,
    .industry-card,
    .reason-card,
    .blog-card {
        padding: 1rem;
    }
    
    /* Blog Section - Small Mobile (320px) */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }
    
    .blog-card {
        padding: 0.875rem;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
    
    .blog-category {
        font-size: 0.6875rem;
        margin-bottom: 0.75rem;
    }
    
    .blog-icon {
        padding: 0.625rem;
        margin-bottom: 0.75rem;
    }
    
    .blog-icon .icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1rem;
        margin-bottom: 0.625rem;
        line-height: 1.3;
    }
    
    .blog-excerpt,
    .blog-full {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }
    
    .blog-toggle {
        font-size: 0.75rem;
        padding-top: 0.375rem;
    }
    
    .contact-form-card {
        padding: 1.25rem;
    }
    
    .contact-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .contact-icon {
        padding: 0.625rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
    }
    
    .contact-card p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .map-card {
        padding: 0.75rem;
    }
    
    .map-card iframe {
        height: 200px;
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }
    
    .customer-card {
        padding: 1.25rem;
    }
    
    /* Contact Section Small Mobile Improvements */
    #contact.section {
        padding: 2.5rem 0;
    }
    
    #contact .container {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    #contact .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    #contact .section-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    /* Stack vertically on small mobile */
    #contact .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }
    
    .contact-form-card {
        padding: 0.875rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-card {
        padding: 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 0.8125rem;
    }
    
    .contact-card p {
        font-size: 0.6875rem;
        line-height: 1.3;
    }
    
    .contact-icon {
        padding: 0.4rem;
        min-width: 2.25rem;
    }
    
    .contact-icon .icon {
        width: 1rem;
        height: 1rem;
    }
    
    .map-card {
        padding: 0.5rem;
    }
    
    .map-card iframe {
        height: 140px;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .btn-hero.btn-full {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .case-study-card {
        padding: 1.25rem;
    }
    
    .case-study-details h3 {
        font-size: 1.125rem;
    }
    
    .logo {
        width: 25px;
        height: 25px;
    }
    
    .brand-text {
        font-size: 1.125rem;
    }
    
    .navbar .container {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    .nav-brand {
        margin-left: auto;
        padding-right: 0;
    }
    
    .mobile-menu-toggle {
        padding: 0.4rem;
        z-index: 1002 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
        background: var(--primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Footer Small Mobile Styles */
    .footer {
        padding: 2rem 0;
    }
    
    .footer .container {
        padding: 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section {
        margin-bottom: 1.25rem;
    }
    
    .footer-logo {
        width: 35px;
        height: 35px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.9375rem;
    }
    
    .footer-section p {
        font-size: 0.75rem;
    }
    
    .footer-section a {
        font-size: 0.75rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 0.5rem;
    }
    
    .social-link .icon {
        width: 1rem;
        height: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Blog Section - Extra Small Mobile (320px) */
    @media (max-width: 360px) {
        .blog-grid {
            gap: 1rem;
        }
        
        .blog-card {
            padding: 0.75rem;
        }
        
        .blog-category {
            font-size: 0.625rem;
            margin-bottom: 0.625rem;
        }
        
        .blog-icon {
            padding: 0.5rem;
            margin-bottom: 0.625rem;
        }
        
        .blog-icon .icon {
            width: 1.25rem;
            height: 1.25rem;
        }
        
        .blog-card h3 {
            font-size: 0.9375rem;
            margin-bottom: 0.5rem;
            line-height: 1.25;
        }
        
        .blog-excerpt,
        .blog-full {
            font-size: 0.6875rem;
            margin-bottom: 0.625rem;
            line-height: 1.4;
        }
        
        .blog-toggle {
            font-size: 0.6875rem;
            padding-top: 0.25rem;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        .section-description {
            font-size: 0.8125rem;
        }
    }
}

/* Case Study Styles */
.case-study-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-study-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.case-study-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.case-study-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.case-study-icon .icon {
    padding: 1rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 0.5rem;
    width: 3rem;
    height: 3rem;
}

.case-study-type {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-details h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.case-study-card:hover .case-study-details h3 {
    color: var(--primary);
}

.client-info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.case-study-section {
    margin-bottom: 1.5rem;
}

.case-study-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.case-study-section p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.case-study-section ul {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding-left: 1rem;
    margin-bottom: 0.75rem;
}

.case-study-section li {
    margin-bottom: 0.5rem;
}

.results-list {
    font-size: 0.875rem;
    color: var(--foreground);
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: hsla(195, 100%, 50%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-study-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.project-duration {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.case-study-cta {
    text-align: center;
    margin-top: 3rem;
}

.case-study-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.icon-inline {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}



.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.5), 0 0 40px hsla(195, 100%, 50%, 0.3);
}

.blog-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: fit-content;
    max-width: fit-content;
    padding: 0.75rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.blog-icon .icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.blog-card:hover .blog-icon {
    background: hsla(195, 100%, 50%, 0.2);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-excerpt,
.blog-full {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}



.blog-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 0.5rem;
}

.blog-toggle:hover {
    text-decoration: underline;
}

/* Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(195, 100%, 50%, 0.2);
}

.btn-full {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.contact-icon {
    padding: 0.75rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.map-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 0 10px hsla(195, 100%, 50%, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.map-card iframe {
    width: 100%;
    border-radius: var(--radius);
    box-sizing: border-box;
}

/* Footer Styles */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 0 20px hsla(195, 100%, 50%, 0.4);
}

.social-link .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .case-study-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .case-study-icon {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .case-study-logo {
        width: 80px;
        height: 80px;
    }
}

/* Mobile menu overlay */
@media (max-width: 768px) {
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}