/* CSS Reset and Core Variables */
:root {
    /* Base Typography & Layout */
    --font-primary: 'Outfit', sans-serif;
    --transition-fast: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Mode Variables (Default) --- */
body.dark-mode {
    --bg-main: #070B13;
    --bg-secondary: #0A0F1D;
    --bg-card: rgba(14, 23, 38, 0.7);
    --bg-card-hover: rgba(14, 23, 38, 0.9);
    --bg-nav: rgba(7, 11, 19, 0.85);
    
    --primary-blue: #0056b3;
    --neon-blue: #00a8ff;
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
    
    --border-color: rgba(0, 168, 255, 0.2);
    --border-hover: rgba(0, 168, 255, 0.6);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 168, 255, 0.2);
    --shadow-glow-hover: 0 0 30px rgba(0, 168, 255, 0.5);
    
    --hex-pattern: url("data:image/svg+xml,%3Csvg width='60' height='103.9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 103.9L0 51.95 30 0l30 51.95z' fill-opacity='0.02' stroke='%2300a8ff' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
}

/* --- Light Mode Variables --- */
body.light-mode {
    --bg-main: #f4f7f6;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-nav: rgba(255, 255, 255, 0.9);
    
    --primary-blue: #004494; /* slightly darker for better contrast on white */
    --neon-blue: #0077ff;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    
    --border-color: rgba(0, 119, 255, 0.15);
    --border-hover: rgba(0, 119, 255, 0.4);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 119, 255, 0.1);
    --shadow-glow-hover: 0 15px 35px rgba(0, 119, 255, 0.25);
    
    --hex-pattern: url("data:image/svg+xml,%3Csvg width='60' height='103.9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 103.9L0 51.95 30 0l30 51.95z' fill-opacity='0.05' stroke='%230077ff' stroke-opacity='0.1' fill='none'/%3E%3C/svg%3E");
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 1.05rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section-padding {
    padding: 100px 0;
}

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

.text-gradient {
    background: linear-gradient(90deg, var(--neon-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
    color: #fff !important; /* Always white on primary btn */
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
}

.btn-outline:hover {
    background: rgba(0, 119, 255, 0.1);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Changed on scroll via JS */
    transition: var(--transition-slow);
    padding: 20px 0;
}

.navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    animation: rotateSlow 20s linear infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

body.dark-mode .icon-moon { display: none; }
body.light-mode .icon-sun { display: none; }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.animated-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 168, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
    animation: pulseGradient 15s ease-in-out infinite alternate;
}

body.light-mode .animated-gradient {
    background: radial-gradient(circle at center, rgba(0, 119, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
}

.hex-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hex-pattern);
    background-size: 60px 103.9px;
    opacity: 1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    background: var(--bg-main);
}

.services .section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.card-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 168, 255, 0.06), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover .card-glow-bg {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.service-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 25px;
    background: rgba(0, 168, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
}

body.light-mode .service-features {
    background: rgba(0, 0, 0, 0.03);
}

.service-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li span {
    color: var(--text-main);
    font-weight: 500;
}

.service-features li strong {
    color: var(--neon-blue);
    font-weight: 700;
}

/* Articles Section */
.articles {
    background: var(--bg-main);
}

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

.article-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    align-items: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-slow);
}

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

.article-card.reverse-layout {
    grid-template-columns: 1.2fr 1fr;
}

.article-card.reverse-layout .article-image {
    order: 2;
}

.article-card.reverse-layout .article-content {
    order: 1;
}

.article-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

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

.article-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-blue);
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.article-content ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.article-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.article-content ul li::before {
    content: "•";
    color: var(--neon-blue);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.article-content ul li strong {
    color: var(--text-main);
}

.article-content h4 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.article-content a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.article-content a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .article-card, .article-card.reverse-layout {
        grid-template-columns: 1fr;
    }
    
    .article-card.reverse-layout .article-image {
        order: 1;
    }
    
    .article-card.reverse-layout .article-content {
        order: 2;
    }
    
    .article-image {
        min-height: 250px;
    }
}

/* Why Us Section */
.why-us {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.why-us-content {
    text-align: center;
}

.why-us-content p {
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
    text-align: left;
}

.benefit-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0,168,255,0.2), rgba(0,86,179,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--neon-blue);
}

.benefit-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Team Section */
.team {
    background: var(--bg-main);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 20px 25px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-hover);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* Icon-based avatar */
.team-avatar.team-avatar-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(0, 168, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-size: 2.8rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.team-card:hover .team-avatar.team-avatar-icon {
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
    transform: scale(1.06);
}

/* Photo-based avatar */
.team-avatar.team-avatar-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.25);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.team-avatar.team-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .team-avatar.team-avatar-photo {
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
    border-color: #00e5ff;
    transform: scale(1.05);
}

.team-card:hover .team-avatar.team-avatar-photo img {
    transform: scale(1.08);
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.team-role {
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
}

/* Contact info inside card */
.team-contact {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.team-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    transition: var(--transition-fast);
    word-break: break-all;
}

.team-contact-link:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    background: rgba(0, 168, 255, 0.08);
}

/* Footer */
.footer {
    background: var(--bg-main);
    padding-top: 80px;
    position: relative;
}

.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-about p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 350px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--neon-blue);
    color: #fff;
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.footer ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--neon-blue);
    padding-left: 8px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact ul li i {
    color: var(--neon-blue);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact ul li a:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--neon-blue);
    text-decoration: none;
}

/* Animations */
@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGradient {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(2%, 2%); }
    100% { transform: scale(1) translate(-2%, -2%); }
}

.pulse-btn {
    animation: pulseShadow 2s infinite;
}

@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 168, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}

/* Scroll Reveals */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-call { display: none; }
    
    .menu-toggle {
        display: block;
        margin-left: 15px;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-nav);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px;
        box-shadow: 0 15px 25px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        gap: 20px;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero { padding-top: 120px; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    .section-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Fix grid overflows on mobile */
    .services-grid, .benefits-grid, .team-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Adjust logo text for mobile */
    .logo { font-size: 1.1rem; flex-wrap: wrap; gap: 5px; }
    .logo span { line-height: 1.2; }
}

@media (max-width: 480px) {
    .logo { font-size: 0.95rem; }
    .logo-icon { font-size: 1.3rem; }
    .hero h1 { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* SVG Article Image Fix */
.email-marketing-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0f1e;
    border-radius: 12px;
    overflow: hidden;
    min-height: 250px;
}

.email-marketing-svg img {
    width: 100%;
    height: 100%;
    display: block;
}
