
/* CSS Variables for Theme */
:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #ff8c42;
    --accent: #ffa566;
    --white: #ffffff;
    --light-bg: #fff5f0;
    --lighter-bg: #ffe8dc;
    --text-dark: #2c3e50;
    --text-gray: #5a6c7d;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-2: linear-gradient(135deg, #ff8c42 0%, #ffa566 100%);
    --shadow: 0 4px 6px rgba(255, 107, 53, 0.1);
    --shadow-lg: 0 10px 30px rgba(255, 107, 53, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.4rem 0;
    border-bottom: 2px solid var(--light-bg);
    box-shadow: var(--shadow);
}

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

nav {
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo-img {
    height: 95px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 600px;
    height: auto;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 640px) {
    .hero-logo {
        content: url('../images/header-logo-compact.png');
        max-width: 400px;
    }
}

.hero h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: var(--text-dark);
}

.hero h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.tag {
    background: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
}

/* Hero container centering */
.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Compact page-hero for sub-pages — replaces full-screen .hero */
.page-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 50%, #ffe8dc 100%);
    padding: 120px 0 3rem;
    text-align: center;
    border-bottom: 2px solid var(--lighter-bg);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out both;
}

.page-hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* .subtitle is an alias for .hero-subtitle used in sub-pages */
.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 4-column card grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Generic card */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--light-bg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.card a:hover {
    color: var(--primary-dark);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 1s both;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Core Competencies */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.competency-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--light-bg);
    transition: all 0.3s ease;
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.competency-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.competency-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.competency-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--light-bg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.6rem 0;
    color: var(--text-gray);
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* About Section */
#about {
    background: var(--light-bg);
    padding-top: 160px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    text-align: left;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    border: 2px solid var(--lighter-bg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 2px solid var(--light-bg);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--light-bg);
    transition: all 0.3s ease;
}

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

.solution-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.solution-content {
    padding: 2rem;
}

.solution-content h3 {
    margin-bottom: 1rem;
}

.solution-content p {
    color: var(--text-gray);
}

.solution-features {
    list-style: none;
    margin-top: 1rem;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Contact Section */
#contact {
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--lighter-bg);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-gray);
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--lighter-bg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--light-bg);
    border: 2px solid var(--lighter-bg);
    border-radius: 10px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

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

/* Footer */
footer {
    background: var(--text-dark);
    padding: 3rem 2rem 1rem;
    color: var(--white);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

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

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        max-width: 350px;
    }

    .trust-badges {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-tags {
        font-size: 0.85rem;
    }

    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        max-width: 280px;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

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

/* Section divider images */
.section-divider-mobile {
    display: none !important;
}

@media (max-width: 640px) {
    .section-divider-desktop {
        display: none !important;
    }
    .section-divider-mobile {
        display: inline-block !important;
    }
}

/* Customer Cards */
.customer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary) !important;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    content: "Chat with us on WhatsApp";
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* ========================================
MOBILE RESPONSIVENESS FIXES
======================================== */

/* Base mobile improvements */
@media (max-width: 968px) {
    /* Container padding */
    .container {
        padding: 0 1rem !important;
    }
    
    /* Navigation fixes */
    .nav-container,
    header > .container {
        padding: 0 1rem !important;
        flex-wrap: wrap;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--lighter-bg);
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        color: var(--primary);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Logo adjustments */
    .logo img {
        height: 80px !important;
    }

    .logo-text {
        font-size: 1.2rem !important;
    }

    /* Hero section */
    .hero {
        min-height: auto;
        padding: 100px 1rem 2rem !important;
    }

    .hero-logo {
        max-width: 90% !important;
        margin: 0 auto 1rem !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 0.5rem;
    }

    .hero-tags {
        gap: 0.5rem !important;
        justify-content: center;
    }

    .tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem !important;
    }

    .badge-number {
        font-size: 2rem !important;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* Section spacing */
    section {
        padding: 3rem 0 !important;
    }

    #about {
        padding-top: 100px !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
    }

    /* About section */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Tal Shany bio section */
    .about-content > div[style*="grid-template-columns: 200px 1fr"] {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .about-content img[alt*="Tal Shany"] {
        margin: 0 auto !important;
    }

    /* Competencies grid */
    .competencies-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    /* Why Choose section */
    .why-choose-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Solutions grid */
    .solutions-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Customers grid */
    .customers-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .customer-card {
        padding: 1.5rem !important;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Contact section */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* WhatsApp button */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }

    .whatsapp-float::before {
        display: none !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .tag {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .logo img {
        height: 70px !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    /* Tech stack grid */
    .tech-stack {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .tech-item {
        padding: 0.8rem !important;
        font-size: 0.85rem !important;
    }

    /* Make all grids single column on very small screens */
    .about-content > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Landscape mobile fix */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 120px 1rem 2rem !important;
    }
}

/* Fix for any inline styles that might override */
@media (max-width: 968px) {
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="display: grid"] {
        gap: 1.5rem !important;
    }
}

/* Form Messages Styling */
#form-messages {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#form-messages p {
    margin: 0;
}

#captcha {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.g-recaptcha {
    margin: 1rem 0;
}

