/* Base Styling & Variables */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy: #0B2545;
    --navy-light: #163a6b;
    --navy-dark: #051426;
    --gold: #D4AF37;
    --gold-light: #fbe69e;
    --gold-dark: #aa8920;
    --cyan: #00F3FF;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #333333;
    --text-muted: #666666;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
}


.animated-gradient-bg {
    background: linear-gradient(-45deg, var(--navy-dark), var(--navy), rgba(212, 175, 55, 0.15), var(--navy-dark));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100vw;
}

body {
    font-family: var(--font-main);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100vw;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-light { background-color: var(--light-gray); }
.bg-navy { background-color: var(--navy); }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-left { text-align: left !important; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

.shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.rounded-image { border-radius: 12px; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.divider.text-left { margin-left: 0; }
.divider.bg-gold { background-color: var(--gold); }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--navy);
    font-style: italic;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-dark);
}
.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212,175,55,0.6);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
}
.btn-navy:hover {
    background-color: var(--navy-light);
}

.btn-outline-navy {
    background-color: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(37,211,102,0.4);
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo img {
    height: 75px;
    object-fit: contain;
    transition: var(--transition);
}
header.scrolled .logo img { height: 60px; }

.company-name {
    display: none;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--gold);
}
.nav-links a.btn { color: var(--navy-dark); }
.nav-links a.btn:hover { color: var(--navy-dark); }

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden */
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Visible */
    }
    .nav-links a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--light-gray); }
    .nav-links a.btn { text-align: center; margin-left: 0 !important; margin-top: 10px; border:none; }
    .nav-toggle { display: block; }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8faff 0%, #e2ebf5 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; font-weight: 400; }
.hero-btns { display: flex; gap: 15px; }

.global-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-image { flex: 1; position: relative; }
.hero-image img { border: 8px solid white; }

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}
.floating-card i { font-size: 2rem; }
.floating-card h4 { font-size: 1rem; margin-bottom:0; }
.floating-card span { font-size: 0.8rem; color: var(--text-muted); }

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

@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; flex-wrap: wrap; }
    .floating-card { left: 10px; bottom: 10px; }
}

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

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(11, 37, 69, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212,175,55,0.15);
    border-color: var(--gold);
}
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; word-break: normal; hyphens: none; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.service-card { cursor: pointer; } /* Make them appear clickable */

/* Futuristic Services Icons */
.service-card .icon.icon-float,
.service-card .icon.icon-pulse,
.service-card .icon.icon-spin {
    font-size: 3rem;
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon i {
    background: linear-gradient(135deg, #00F3FF, #FF00FF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.4));
    transition: all 0.3s ease;
}

.service-card:hover .icon i {
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8));
    transform: scale(1.15);
}

.icon-float i { animation: svcFloat 3.5s ease-in-out infinite; }
.icon-pulse i { animation: svcPulse 2.5s infinite alternate; }
.icon-spin i { animation: svcSpin 6s linear infinite; }

@keyframes svcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes svcPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,243,255,0.4)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(255,0,255,0.7)); }
}
@keyframes svcSpin {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg) scale(1.1); filter: drop-shadow(0 0 15px rgba(212,175,55,0.6));}
    100% { transform: rotateY(360deg); }
}

.service-dropdown {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding-top: 0;
    margin-top: 0;
    border-top: 1px solid transparent;
}
.service-card:hover .service-dropdown,
.service-card.active .service-dropdown {
    max-height: 400px;
    opacity: 1;
    padding-top: 15px;
    margin-top: 15px;
    border-top-color: rgba(0,0,0,0.05);
}
.service-dropdown ul {
    text-align: left;
}
.service-dropdown li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.service-dropdown li i {
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 3px;
}

/* Pricing Packages */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.pricing-card.popular { border-color: var(--gold); transform: scale(1.05); box-shadow: 0 20px 40px rgba(11,37,69,0.1); z-index: 2; }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: var(--navy-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.card-header { margin-bottom: 30px; }
.card-header h3 { font-size: 1.5rem; }

/* Animated Pricing Package Icons */
.pricing-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.pricing-icon-starter i { animation: rocketFloat 3s ease-in-out infinite; }
.pricing-icon-business i { animation: briefcaseBounce 4s ease-in-out infinite; }
.pricing-icon-premium i { color: #00F3FF; animation: lightningPulse 2s infinite; text-shadow: 0 0 10px rgba(0,243,255,0.6); }
.pricing-icon-elite i { animation: trophyShine 4s linear infinite; }

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 0 5px rgba(212,175,55,0.3)); }
    25% { transform: translateY(-12px) rotate(8deg) scale(1.1); filter: drop-shadow(0 10px 15px rgba(212,175,55,0.8)); }
    50% { transform: translateY(-18px) rotate(-5deg) scale(1.15); filter: drop-shadow(0 15px 25px rgba(212,175,55,1)); }
    75% { transform: translateY(-8px) rotate(5deg) scale(1.05); filter: drop-shadow(0 8px 12px rgba(212,175,55,0.6)); }
}
@keyframes briefcaseBounce {
    0%, 100% { transform: translateY(0) scale(1, 1); filter: drop-shadow(0 0 5px rgba(212,175,55,0.2)); }
    15% { transform: translateY(-20px) scale(0.9, 1.1); filter: drop-shadow(0 20px 15px rgba(212,175,55,0.6)); }
    30% { transform: translateY(0) scale(1.1, 0.9); }
    45% { transform: translateY(-10px) scale(0.95, 1.05); filter: drop-shadow(0 10px 8px rgba(212,175,55,0.4)); }
    60% { transform: translateY(0) scale(1, 1); }
}
@keyframes lightningPulse {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 8px rgba(0,243,255,0.6)); color: #00F3FF; }
    20% { transform: scale(1.3) rotate(-15deg); filter: drop-shadow(0 0 25px rgba(0,243,255,1)); color: #FFFFFF; }
    30% { transform: scale(1.1) rotate(5deg); filter: drop-shadow(0 0 15px rgba(0,243,255,0.8)); color: #00F3FF; }
    40% { transform: scale(1.4) rotate(-10deg); filter: drop-shadow(0 0 35px rgba(0,243,255,1)); color: #FFFFFF; }
    60% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 8px rgba(0,243,255,0.6)); color: #00F3FF; }
}
@keyframes trophyShine {
    0% { transform: rotateY(0deg) scale(1); filter: drop-shadow(0 0 5px rgba(212,175,55,0.4)); color: var(--gold); }
    25% { transform: rotateY(90deg) scale(1.15); filter: drop-shadow(0 0 20px rgba(255,215,0,0.8)); color: #FFD700; }
    50% { transform: rotateY(180deg) scale(1.2); filter: drop-shadow(0 0 30px rgba(255,255,255,0.9)); color: #FFFFFF; }
    75% { transform: rotateY(270deg) scale(1.15); filter: drop-shadow(0 0 20px rgba(255,215,0,0.8)); color: #FFD700; }
    100% { transform: rotateY(360deg) scale(1); filter: drop-shadow(0 0 5px rgba(212,175,55,0.4)); color: var(--gold); }
}
.card-header .price { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-top: 10px; }

.features { margin-bottom: 30px; text-align: left; }
.features li { margin-bottom: 12px; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.features li i { font-size: 0.9rem; color: #2ecc71; }
.features li.disabled { color: var(--text-muted); text-decoration: line-through; }
.features li.disabled i { color: #e74c3c; }

@media (max-width: 992px) {
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}

/* Advanced Solutions Toggle */
.advanced-solutions {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.toggle-header {
    background: var(--navy);
    color: var(--white);
    padding: 20px 30px;
    cursor: pointer;
    transition: var(--transition);
}
.toggle-header:hover { background: var(--navy-light); }
.toggle-header h3 { margin: 0; display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: 1.3rem;}
.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
    background: var(--light-gray);
}
.advanced-solutions.open .toggle-content { max-height: 800px; padding: 30px; }
.advanced-solutions.open .toggle-header i { transform: rotate(180deg); }

.custom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.c-card { background: white; padding: 20px; border-radius: 8px; text-align: center; }
.c-card i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; }
.c-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.c-card p { font-size: 0.9rem; color: var(--text-muted); margin:0; }

/* Split Layouts (Why Choose Us & Contact) */
.split-layout { display: flex; gap: 50px; align-items: center; }
.split-text, .split-image { flex: 1; }
.split-image img { width: 100%; object-fit: cover; }
.why-list li { margin-bottom: 20px; font-size: 1.1rem; display: flex; gap: 15px; align-items: flex-start; }
.why-list li i { color: var(--gold); font-size: 1.5rem; margin-top: 3px; }

@media (max-width: 768px) {
    .split-layout { flex-direction: column; }
}

/* Branding Bento Grid */
.branding-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    height: 520px;
}
.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}
.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.bento-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(11,37,69,0.95) 80%);
    padding: 25px 20px;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.15rem;
    opacity: 0;
    transition: all 0.4s ease;
}
.bento-item:hover img {
    transform: scale(1.08);
}
.bento-item:hover .bento-overlay {
    bottom: 0;
    opacity: 1;
}
@media (max-width: 768px) {
    .branding-bento { height: auto; }
    .bento-large { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4/3; }
    .bento-item { aspect-ratio: 1; }
}

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s ease;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(11,37,69,0.9));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-overlay h4 { color: white; margin-bottom: 5px; font-size: 1.3rem; }
.portfolio-overlay p { margin: 0; font-size: 0.9rem; color: var(--gold); font-weight: 500;}

/* Portfolio Filters */
.filter-btn {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}
.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11,37,69,0.3);
}

/* Contact Form - Premium Navy/Gold Theme */
.form-box { 
    background: var(--navy); 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.4);
}
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--gold); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Form Mobile Responsiveness */
@media (max-width: 768px) {
    .form-box { padding: 30px 20px; }
}

.c-method { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 1.1rem; font-weight: 500; }
.c-method i { font-size: 1.5rem; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 80px 0;
    color: white;
}
.cta-banner h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }

/* Footer */
footer { background: var(--navy-dark); color: white; padding: 80px 0 20px; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 50px; }
.footer-brand p { color: #bbb; }
.footer-links h4, .footer-social h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-links a, .footer-social a {
    display: block; color: #bbb; margin-bottom: 10px; transition: var(--transition);
}
.footer-links a:hover, .footer-social a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #888; font-size: 0.9rem; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Moved to left to accommodate Chatbot on the right */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Chatbot Widget */
.codx-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(11,37,69,0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.codx-chat-btn.waving {
    animation: codxWave 6s infinite;
}
@keyframes codxWave {
    0%, 90% { transform: scale(1) rotate(0deg); box-shadow: 0 5px 20px rgba(11,37,69,0.3); }
    92% { transform: scale(1.15) rotate(15deg); box-shadow: 0 5px 25px rgba(212,175,55,0.4); }
    94% { transform: scale(1.15) rotate(-15deg); }
    96% { transform: scale(1.15) rotate(15deg); }
    98% { transform: scale(1.15) rotate(-15deg); }
    100% { transform: scale(1) rotate(0deg); box-shadow: 0 5px 20px rgba(11,37,69,0.3); }
}
.codx-chat-btn:hover {
    transform: scale(1.05) !important;
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 8px 30px rgba(212,175,55,0.6);
}
.codx-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}
.codx-chat-window.open {
    transform: scale(1);
    opacity: 1;
}
.codx-chat-header {
    background: var(--navy);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--gold);
}
.codx-chat-header h4 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 8px;}
.codx-chat-close { cursor: pointer; font-size: 1.2rem; transition: color 0.2s; }
.codx-chat-close:hover { color: var(--gold); }
.codx-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}
.chat-msg.bot {
    background: white;
    color: var(--navy);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.chat-msg.user {
    background: var(--navy);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-faq-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: white;
    border: 1px solid var(--gold);
    color: var(--navy);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 5px;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-faq-btn:hover { background: var(--navy); color: white; }
.codx-chat-input {
    padding: 15px;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 10px;
}
.codx-chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}
.codx-chat-input input:focus { border-color: var(--gold); }
.codx-chat-input button {
    background: var(--navy);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.codx-chat-input button:hover { background: var(--gold); color: var(--navy); transform: scale(1.05); }

/* Typing indicator */
.typing-dots { display: flex; gap: 4px; align-items: center; height: 20px; }
.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: chatBounce 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes chatBounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

@media (max-width: 480px) {
    .codx-chat-window { width: calc(100% - 40px); right: 20px; bottom: 100px; height: 60vh; }
    .codx-chat-btn { right: 20px; bottom: 20px; width: 55px; height: 55px; }
    .floating-whatsapp { left: 20px; bottom: 20px; width: 55px; height: 55px; }
}

/* Client Logo Marquee */
.client-carousel-wrap {
    background: #ffffff;
    padding: 35px 0 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    width: 100%;
}
.client-carousel-wrap h5 {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.logo-marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.logo-marquee-container::before,
.logo-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}
.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}
.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}
.logo-marquee {
    display: flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    min-width: 200%;
}
.logo-marquee img {
    height: 45px;
    margin: 0 45px;
    vertical-align: middle;
    filter: grayscale(100%) opacity(0.65);
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 180px;
}
.logo-marquee img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-marquee { animation: marquee 20s linear infinite; }
    .logo-marquee img { height: 35px; margin: 0 25px; max-width: 120px; }
    .logo-marquee-container::before, .logo-marquee-container::after { width: 50px; }
}

/* ==================================
   NAVIGATION & SCROLL ENHANCEMENTS
   ================================== */
html { scroll-behavior: smooth; }

.nav-links a:not(.btn) {
    position: relative;
    padding-bottom: 5px;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after { width: 100%; }
.nav-links a.active:not(.btn) { color: var(--navy); }

@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 260px !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 100px !important;
        gap: 25px !important;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15) !important;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
        z-index: 999 !important;
    }
    .nav-links.active { right: 0 !important; }
    .nav-links a:not(.btn)::after { display: none !important; }
}

/* ==================================
   LIVE CONTACT BAR & MINI DASHBOARD
   ================================== */
.top-bar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
    color: white;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}
.top-dashboard {
    display: flex;
    align-items: center;
    gap: 15px;
}
.dash-separator { color: rgba(255,255,255,0.2); }
.map-pin {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: white;
    position: relative;
    padding-left: 12px;
}
.map-pin i {
    color: var(--gold);
    animation: pinBounce 2s infinite;
}
.pin-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pinPulse 2s infinite;
}
@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes pinPulse {
    0% { transform: scale(1) translateY(-50%); opacity: 0.8; }
    100% { transform: scale(3) translateY(-50%); opacity: 0; }
}
.top-contact {
    display: flex;
    gap: 12px;
    align-items: center;
}
.pulse-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    position: relative;
    animation: gentlePulse 2s infinite;
    transition: transform 0.3s;
}
.pulse-icon.bg-whatsapp { background: #25D366; }
.pulse-icon.bg-gold { background: var(--gold); }
.pulse-icon.bg-cyan { background: var(--cyan); color: var(--navy) !important; }
.pulse-icon:hover { transform: scale(1.15); }
@keyframes gentlePulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
header {
    top: 44px !important; /* Push below top bar */
}
header.scrolled {
    top: 0 !important; /* Jump back to top when scrolling */
}
@media (max-width: 768px) {
    .top-bar-wrapper { display: none !important; }
    header { top: 0 !important; }
}

/* ==================================
   FOOTER ENHANCEMENTS & LIVE CONTACT
   ================================== */
footer {
    position: relative;
    overflow: hidden;
}
.footer-overlay-contact {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 20;
}
.footer-contact-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.2);
    font-size: 1.3rem;
    position: relative;
    transition: all 0.3s ease;
    animation: gentlePulse 3s infinite;
}
.footer-contact-icon:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 5px 20px rgba(212,175,55,0.5);
}

/* ==================================
   GLOBAL RESPONSIVENESS & WCAG POLISH
   ================================== */

/* 1. Fluid Typography (Responsive Scaling) */
html {
    font-size: clamp(14px, 1vw + 10px, 18px);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem) !important; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.2; margin-bottom: 15px; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem) !important; line-height: 1.3; }
p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; }

/* 2. Touch-Friendly Accessibility (WCAG 44x44 target minimum) */
.btn, .nav-links a, .filter-btn, .pulse-icon, .social-links a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2.5 Footer Layout Overhaul */
.footer-top {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
    gap: 30px !important;
    align-items: start !important;
    text-align: left !important;
}
.footer-links, .footer-outreach, .footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
}
.footer-links h4, .footer-outreach h4, .footer-social h4 {
    margin-bottom: 20px !important;
    font-size: 1.25rem !important;
    color: #fff !important;
}
.footer-links a, .footer-social a {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    color: #bbb !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    min-height: auto !important;
    padding: 0 !important;
    text-align: left !important;
}
.footer-links a:hover, .footer-social a:hover {
    color: #D4A017 !important;
    padding-left: 5px !important;
}
.footer-outreach .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.btn { padding: 10px 24px; text-align: center; }
.nav-links a:not(.btn) { min-height: 44px; display: flex; align-items: center; }

/* 3. Smooth Layout Resizing Transitions */
.container, section, header, .service-card, .portfolio-item, .pricing-card {
    transition: all 0.4s ease-in-out;
}

/* 4. Fluid Grids & Device Context */
@media (max-width: 992px) {
    /* Tablet specific padding and dynamic grid reflowing */
    .services-grid, .portfolio-grid, .c-card, .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    /* Mobile core */
    .hero { padding: 180px 0 80px !important; }
    
    /* Footer stacking layout */
    .footer-top {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }
    .footer-brand { align-items: center; }
    .footer-brand img { margin: 0 auto; }
    .footer-overlay-contact { justify-content: center !important; }
    
    /* General Split flex directions */
    .split-layout { flex-direction: column !important; gap: 30px !important; }
    
    /* Contact Forms */
    .contact-grid { grid-template-columns: 1fr !important; }
    
    /* About Timelines */
    .timeline-item { flex-direction: column !important; text-align: center !important; }
    .timeline-year { margin: 0 auto 15px !important; }

    /* Enhance Slide-out Mobile Nav targets */
    .nav-links a {
        font-size: 1.25rem !important;
        padding: 5px 0 !important;
        min-height: 50px;
    }
}

/* 5. Custom Mobile Fixes from Audit */
@media (max-width: 768px) {
    /* Header Stacking Context Fix (Crucial for Chat Bubbles) */
    header#header { z-index: 100005 !important; }
    
    /* Hero fixes */
    .hero-text h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
    #home .hero-btns { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 15px !important; }
    #home .hero-btns a.btn { width: 100% !important; margin: 0 !important; display: flex !important; justify-content: center !important; }
    
    /* Floating Buttons scaling */
    .floating-whatsapp { width: 45px !important; height: 45px !important; font-size: 24px !important; bottom: 20px !important; left: 20px !important; z-index: 99 !important; }
    .codx-chat-btn { width: 45px !important; height: 45px !important; font-size: 20px !important; bottom: 20px !important; right: 20px !important; z-index: 99 !important; }
    .top-contact .pulse-icon { width: 36px !important; height: 36px !important; font-size: 16px !important; }
    
    /* Pricing & Section Paddings */
    .pricing-card .price { font-size: 1.8rem !important; }
    .section-padding { padding: 50px 0 !important; }
    .container { padding: 0 15px !important; }
    
    /* Nav-links alignment fix & Z-index fix */
    .nav-toggle { z-index: 100006 !important; }
    #nav-links { gap: 10px !important; width: 85% !important; border-radius: 0 !important; align-items: flex-start !important; z-index: 100004 !important; }
    #nav-links a:not(.btn) { justify-content: flex-start !important; padding-left: 30px !important; text-align: left !important; width: 100% !important; display: flex !important; }
    #nav-links .btn { 
        margin-left: 20px !important; 
        margin-top: 15px !important; 
        width: calc(100% - 40px) !important; 
        justify-content: center !important; 
        padding-left: 0 !important; 
        align-self: center !important; 
        text-align: center !important;
    }
}

/* ==================================
   3D Laptop Hero Animation
   ================================== */
@keyframes float3d {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-25px) rotateX(3deg) rotateY(3deg); }
}

/* ============================================
   ENHANCED 3D, GLOW & ANIMATION UPGRADES
   ============================================ */

/* 1. Gold Text Shimmer */
.text-gold {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #fff8dc, var(--gold), var(--gold-dark));
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s ease infinite;
    display: inline-block;
}
@keyframes goldShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* 2. Hero canvas container glow pulse */
#hero-canvas-container {
    animation: heroBorderGlow 6s ease-in-out infinite !important;
}
@keyframes heroBorderGlow {
    0%, 100% { box-shadow: 0 30px 60px rgba(11,37,69,0.4), 0 0 0 0 rgba(0,243,255,0); }
    50% { box-shadow: 0 30px 60px rgba(11,37,69,0.6), 0 0 60px 12px rgba(0,243,255,0.13); }
}

/* 3. Service card neon border glow on hover */
.service-card { position: relative; }
.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(0,243,255,0), rgba(212,175,55,0), rgba(255,0,255,0));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
    box-shadow: inset 0 0 0 1px rgba(0,243,255,0);
}
.service-card:hover::after {
    box-shadow: 0 0 20px rgba(0,243,255,0.4), 0 0 40px rgba(212,175,55,0.2);
    opacity: 1;
}

/* 4. Pricing card holographic shine sweep */
.pricing-card { overflow: hidden; }
.pricing-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -120%;
    width: 60%;
    height: 300%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
}
.pricing-card:hover::after {
    animation: cardShine 0.75s ease forwards;
}
@keyframes cardShine {
    0% { left: -120%; }
    100% { left: 220%; }
}

/* 5. Button shine sweep */
.btn-primary, .btn-whatsapp {
    position: relative;
    overflow: hidden;
}
.btn-primary::before, .btn-whatsapp::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 80%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
}
.btn-primary:hover::before, .btn-whatsapp:hover::before {
    animation: btnShine 0.6s ease;
}
@keyframes btnShine {
    0% { left: -150%; }
    100% { left: 250%; }
}

/* 6. Why Choose canvas cycling glow */
#why-choose-canvas-container {
    animation: whyBorderCycle 9s ease-in-out infinite !important;
}
@keyframes whyBorderCycle {
    0%, 100% { border-color: rgba(212,175,55,0.35); box-shadow: 0 10px 30px rgba(212,175,55,0.1); }
    33%  { border-color: rgba(0,243,255,0.55);    box-shadow: 0 10px 40px rgba(0,243,255,0.18); }
    66%  { border-color: rgba(255,0,255,0.45);    box-shadow: 0 10px 35px rgba(255,0,255,0.12); }
}

/* 7. Animated gradient top-border on services section */
#services.animated-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--gold), var(--cyan));
    background-size: 200% 100%;
    animation: borderFlow 4s ease infinite;
    z-index: 11;
}
@keyframes borderFlow {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 8. Testimonial card hover lift */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s !important;
}
.testimonial-card:hover {
    transform: translateY(-12px) scale(1.025) !important;
    box-shadow: 0 24px 55px rgba(212,175,55,0.22) !important;
}

/* 9. Bento item enhanced hover */
.bento-item {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s !important;
}
.bento-item:hover {
    transform: scale(1.045) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.42) !important;
    z-index: 5;
    position: relative;
}

/* 10. Why-choose list item hover nudge */
.why-list li {
    transition: transform 0.3s ease;
}
.why-list li:hover {
    transform: translateX(8px);
}
.why-list li:hover i {
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.9));
}

/* 11. Floating WhatsApp gentle float */
@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-7px) scale(1.04); }
}
.floating-whatsapp {
    animation: whatsappFloat 3.5s ease-in-out infinite !important;
}

/* 12. CTA banner radial glow overlay */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, #001e46 100%) !important;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(0,243,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* 13. Browser mockup golden glow on hover */
.browser-mockup:hover {
    box-shadow: 0 28px 65px rgba(0,0,0,0.25), 0 0 35px rgba(212,175,55,0.18) !important;
}

/* 14. Section-title subtle underline wave */
.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    border-radius: 2px;
    margin: 10px auto 0;
    transition: width 0.8s ease;
}
.section-header:hover .section-title::after,
.aos-animate .section-title::after {
    width: 80px;
}

/* 15. AOS data-aos-easing upgrade handled in script; add zoom helpers */
[data-aos="zoom-in-up"] {
    transform: translateY(40px) scale(0.9);
    opacity: 0;
    transition-property: transform, opacity;
}
[data-aos="zoom-in-up"].aos-animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}
[data-aos="flip-up"] {
    transform: perspective(600px) rotateX(-60deg);
    opacity: 0;
    transition-property: transform, opacity;
}
[data-aos="flip-up"].aos-animate {
    transform: perspective(600px) rotateX(0deg);
    opacity: 1;
}

/* 16. 3D card tilt — JS-driven, CSS enables perspective */
.service-card, .pricing-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease, box-shadow 0.3s ease !important;
}
.service-card.tilt-active, .pricing-card.tilt-active {
    transition: none !important;
}

/* 17. Glowing nav active indicator */
.nav-links a.active:not(.btn) {
    color: var(--gold) !important;
}
.nav-links a.active:not(.btn)::after {
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    width: 100%;
}

/* 18. Top-bar counter gradient */
.counter {
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* 19. Enterprise grid cards hover glow — override inline styles */
#advanced-solutions [style*="background:rgba(255,255,255,0.04)"] {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
#advanced-solutions [style*="background:rgba(255,255,255,0.04)"]:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 35px rgba(0,243,255,0.15) !important;
}

/* 20. Scroll progress shimmer on logo marquee */
.logo-marquee img {
    transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.logo-marquee img:hover {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 8px rgba(212,175,55,0.5)) !important;
    transform: scale(1.12) !important;
}

@media (max-width: 992px) {
    .laptop-3d-wrapper img {
        width: 100% !important;
        margin-left: 0 !important;
        transform: rotateX(0) rotateY(0) !important;
    }
}

/* 6. Comprehensive Responsiveness Fixes */
@media (max-width: 768px) {
    /* Hide top dashboard bar on mobile to save space */
    .top-dashboard {
        display: none !important;
    }
    .top-contact {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .top-bar-wrapper .container {
        justify-content: center !important;
    }
    
    /* Fix Hero Typography */
    .hero-text p {
        font-size: 1rem !important;
    }
    .section-title {
        font-size: 2rem !important;
    }
    
    /* Fix Horizontal Overflow in Grids */
    .services-grid, 
    .pricing-grid, 
    .portfolio-grid, 
    .custom-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix Timeline in About page */
    .timeline-flex {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .hide-mobile {
        display: none !important;
    }
    
    /* Fix Floating WhatsApp overlap with footer elements */
    .floating-whatsapp {
        bottom: 80px !important; 
        left: 20px !important;
    }
    
    /* Padding adjustments for mobile */
    .contact-form {
        padding: 20px !important;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE FIXES
   ============================================ */

/* --- Canvas Container Heights (override inline style="height:Xpx") --- */
@media (max-width: 992px) {
    #hero-canvas-container    { height: 420px !important; }
    #why-choose-canvas-container { height: 340px !important; }
}
@media (max-width: 768px) {
    #hero-canvas-container    { height: 300px !important; border-radius: 20px !important; }
    #why-choose-canvas-container { height: 270px !important; }
}
@media (max-width: 480px) {
    #hero-canvas-container    { height: 230px !important; border-radius: 14px !important; }
    #why-choose-canvas-container { height: 220px !important; }
}

/* --- Testimonial Cards — shrink on small phones --- */
@media (max-width: 600px) {
    .testimonial-card { flex: 0 0 min(320px, 80vw) !important; }
}
@media (max-width: 400px) {
    .testimonial-card { flex: 0 0 calc(100vw - 60px) !important; }
    .testimonial-slider-container { gap: 12px !important; padding: 0 10px 20px !important; }
}

/* --- Glow Blobs — prevent horizontal overflow on mobile --- */
@media (max-width: 768px) {
    .glow-blob { width: 240px !important; height: 240px !important; opacity: 0.6; }
}

/* --- Services Grid — 2 cols on tablet, 1 on small mobile --- */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr !important; }
}

/* --- Pricing Grid — 2 cols on tablet, 1 col on mobile --- */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr !important; }
    .pricing-card.popular { transform: scale(1) !important; }
}

/* --- Portfolio Grid — 1 col on small screens --- */
@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr !important; }
}

/* --- Footer — 2 cols on tablet, 1 col on mobile --- */
@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
}
@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr !important; text-align: center !important; }
    .footer-links a, .footer-social a { text-align: center !important; }
    .footer-overlay-contact { justify-content: center !important; }
}

/* --- Split layout — stack on tablet too --- */
@media (max-width: 992px) {
    .split-layout { flex-direction: column !important; gap: 40px !important; }
    .split-text, .split-image { width: 100% !important; }
}

/* --- Advanced Solutions grid --- */
@media (max-width: 768px) {
    .custom-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .custom-grid { grid-template-columns: 1fr !important; }
    .toggle-header h3 { font-size: 1.1rem !important; }
    .toggle-content { padding: 0 15px !important; }
    .advanced-solutions.open .toggle-content { padding: 20px 15px !important; }
}

/* --- Hero section small phone tweaks --- */
@media (max-width: 480px) {
    .hero { padding: 130px 0 60px !important; }
    .hero-btns { flex-direction: column !important; width: 100% !important; }
    .hero-btns .btn { width: 100% !important; justify-content: center !important; }
    .floating-card {
        left: 0 !important;
        bottom: -10px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem;
    }
    .floating-card i { font-size: 1.4rem !important; }
    .floating-card h4 { font-size: 0.9rem !important; }
}

/* --- CTA Banner --- */
@media (max-width: 768px) {
    .cta-banner { padding: 60px 0 !important; }
    .cta-banner h2 { font-size: 1.8rem !important; }
}
@media (max-width: 480px) {
    .cta-banner { padding: 50px 0 !important; }
    .cta-banner h2 { font-size: 1.5rem !important; }
}

/* --- Contact info centering on mobile --- */
@media (max-width: 992px) {
    .contact-info { text-align: center !important; }
    .c-method { justify-content: center !important; }
    .footer-overlay-contact { justify-content: center !important; }
}

/* --- Branding section heading font size --- */
@media (max-width: 768px) {
    #branding h2.section-title { font-size: 2rem !important; }
}

/* --- Section title underline centered on mobile --- */
@media (max-width: 768px) {
    .section-title::after { margin: 10px auto 0 !important; }
}

/* --- Disable 3D card tilt on touch devices (no hover) --- */
@media (hover: none) {
    .service-card, .pricing-card {
        transform: none !important;
    }
    .service-card:hover, .pricing-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 15px 35px rgba(212,175,55,0.15) !important;
    }
}

/* --- General small phone padding --- */
@media (max-width: 480px) {
    .section-padding { padding: 40px 0 !important; }
    .container { padding: 0 14px !important; }
    h2 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
}
