:root {
    --primary: #07192f;
    --secondary: #0066cc;
    --accent: #00d4ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border-color: #e2e8f0;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Ultra-Responsive & Premium Top Utility Bar --- */
.top-bar {
    background: linear-gradient(135deg, #040e1b, var(--primary));
    padding: 10px 0;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    font-weight: 500;
}

.top-info i {
    color: var(--accent);
    font-size: 0.85rem;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.top-links a:hover {
    color: var(--accent);
}

/* Mobile Polish for Top Utility Bar */
@media(max-width: 968px) {
    .top-bar {
        padding: 8px 0;
        font-size: 0.75rem;
    }
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .top-info {
        gap: 12px;
    }
    .top-info span {
        font-size: 0.73rem;
    }
    /* Hide extra links on smaller mobile devices to keep header ultra-clean, or stack nicely */
    .top-links {
        display: none; /* Keeps mobile header uncluttered; links remain easily accessible in the main menu/footer */
    }
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

/* --- Prominent Client Brand Logo Styling (Enlarged) --- */
.brand-logo-container {
    display: flex;
    align-items: center;
}
.client-brand-logo {
    height: 88px !important; /* Prominently enlarged for maximum visual clarity */
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-logo-box {
    margin-bottom: 18px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 36px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition);
}
.nav-menu a:hover {
    color: var(--secondary);
}
.btn-primary-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}
.btn-primary-outline:hover {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}

/* Mobile Toggle Icon */
.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
    background: var(--light);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}
.mobile-toggle:hover {
    background: var(--border-color);
}

/* Ultra-Premium Mobile Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 25, 47, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1600;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.active {
    right: 0;
}
.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-close {
    font-size: 1.25rem;
    color: var(--gray);
    cursor: pointer;
    background: var(--light);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.drawer-close:hover {
    background: var(--primary);
    color: var(--white);
}
.drawer-body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.drawer-nav {
    list-style: none;
}
.drawer-nav li {
    margin-bottom: 18px;
}
.drawer-nav > li > a {
    text-decoration: none;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    transition: var(--transition);
}
.drawer-nav > li > a i {
    color: var(--secondary);
    font-size: 1rem;
    width: 24px;
}
.drawer-nav > li > a:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

/* Mobile Accordion Submenu Styles */
.mobile-dropdown-item {
    margin-bottom: 14px;
}
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: var(--transition);
}
.mobile-dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 15px;
}
.mobile-dropdown-toggle span i {
    color: var(--secondary);
    width: 24px;
    text-align: center;
}
.mobile-dropdown-toggle .toggle-icon {
    font-size: 0.8rem;
    color: var(--gray);
    transition: var(--transition);
}
.mobile-dropdown-item.open .toggle-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}
.mobile-submenu {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin-top: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-dropdown-item.open .mobile-submenu {
    max-height: 1200px;
}
.mobile-submenu li {
    margin: 8px 0;
}
.mobile-submenu a {
    background: var(--white);
    padding: 10px 14px !important;
    border-radius: 8px;
    margin-bottom: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--gray) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-submenu a:hover {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border-color: var(--secondary);
    transform: translateX(4px);
}
.mobile-submenu .sub-category {
    background: var(--primary);
    color: var(--accent) !important;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin: 12px 0 8px 0;
    border-bottom: none !important;
}

.drawer-contact-info {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}
.drawer-contact-info p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.drawer-contact-info i {
    color: var(--secondary);
}

/* Hero Section */
.hero-section {
    padding: 140px 0;
    color: var(--white);
    text-align: left;
    position: relative;
}
.badge-tag {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 840px;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 680px;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
}
.hero-btns {
    display: flex;
    gap: 16px;
}
.btn-solid {
    background: linear-gradient(135deg, var(--secondary), #0051a8);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,102,204,0.3);
    transition: var(--transition);
}
.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,102,204,0.4);
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Stats Bar */
.stats-bar {
    background: var(--light);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}
.stat-item h3 {
    font-size: 2.4rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
}

/* Offerings Grid */
.offerings-section {
    padding: 100px 0;
}
.section-title {
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.solution-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(0,102,204,0.3);
}
.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.card-body {
    padding: 30px;
}
.card-body h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}
.card-body p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.read-more {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.read-more:hover {
    gap: 12px;
}

/* Divisions Section */
.divisions-section {
    background: var(--light);
    padding: 100px 0;
}
.flex-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}
.split-content p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.05rem;
}
.check-list {
    list-style: none;
}
.check-list li {
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
}
.check-list i {
    color: var(--secondary);
    font-size: 1.2rem;
}
.split-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Page Header */
.page-header {
    padding: 100px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Services Detailed */
.services-detailed {
    padding: 100px 0;
}
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.service-row.reverse {
    direction: rtl;
}
.service-row.reverse .service-text {
    direction: ltr;
}
.service-img img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.service-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}
.service-text p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Contact */
.contact-section {
    padding: 100px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
}
.contact-info-box h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}
.contact-info-box > p {
    color: var(--gray);
    margin-bottom: 35px;
    font-size: 1.05rem;
}
.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: var(--light);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.contact-detail-item h4 {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}
.contact-detail-item p {
    color: var(--gray);
    font-size: 0.98rem;
}
.contact-form-box {
    background: var(--light);
    padding: 45px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}
.contact-form-box h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--dark);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    background: var(--white);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 25px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    margin-bottom: 24px;
}
.footer-logo h2 {
    color: var(--white);
}
.footer-col p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 22px;
}
.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 22px;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: var(--white);
    padding-left: 4px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Responsive Media Queries */
@media(max-width: 968px) {
    .grid-3, .flex-split, .contact-grid, .footer-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .nav-menu, .header-cta {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .service-row, .service-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .client-brand-logo {
        height: 64px !important;
    }
}

/* Navigation Dropdown Styling (Desktop) */
.nav-menu ul li {
    position: relative;
}
.nav-menu ul li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}
.nav-menu ul li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Dropdown Containers with Glassmorphism Background */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(7, 25, 47, 0.18) !important;
    border: 1px solid rgba(0, 102, 204, 0.15) !important;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    backdrop-filter: blur(10px);
}
.nav-menu ul li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Products Mega Menu (Multi-column) */
.products-dropdown {
    width: 620px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    left: -150px;
    padding: 30px !important;
}
.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}
.dropdown-col:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.06);
    border-color: rgba(0, 102, 204, 0.2);
}
.dropdown-category {
    font-size: 0.8rem !important;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary) !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent) !important;
    padding-bottom: 6px !important;
}
.dropdown-menu a {
    font-size: 0.885rem !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.dropdown-menu a:hover {
    background: rgba(0, 102, 204, 0.08) !important;
    color: var(--secondary) !important;
    transform: translateX(6px);
}

/* Projects Dropdown Menu (Single Column) */
.projects-dropdown {
    width: 280px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px !important;
    border-radius: 14px !important;
}
.projects-dropdown a {
    padding: 10px 14px !important;
    border-radius: 8px;
    margin-bottom: 4px;
}
.projects-dropdown a i {
    color: var(--secondary);
    width: 18px;
}
.projects-dropdown a:hover {
    background: rgba(0, 102, 204, 0.08) !important;
}

/* --- Ultra-Premium Floating Contact Widget --- */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* WhatsApp Floating Style with Pulse Animation */
.whatsapp-btn {
    background: #25d366;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-btn:hover {
    background: #20ba5a;
}

/* Call Floating Style */
.call-btn {
    background: var(--secondary);
    animation: pulse-call 2s infinite;
}
.call-btn:hover {
    background: #0051a8;
}

/* Tooltip Text Hover Effect */
.floating-btn .tooltip-text {
    visibility: hidden;
    width: 130px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 6px 0;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.floating-btn .tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary);
}

.floating-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Pulse Keyframes */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

/* Responsive adjustment for mobile screens */
@media(max-width: 768px) {
    .floating-contact-widget {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .floating-btn .tooltip-text {
        display: none; 
    }
}

/* --- Ultra-Premium Welcome Entry Popup --- */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 25, 47, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none; /* Changed from default flex to none to control via JS safely */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-popup-box {
    background: var(--white);
    width: 90%;
    max-width: 680px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-popup-overlay.active .welcome-popup-box {
    transform: translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 35px 30px;
    text-align: center;
}

.popup-header h3 {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 8px;
    opacity: 0.9;
}

.popup-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.popup-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--light);
}

.popup-option-col {
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.popup-option-col:first-child {
    border-right: 1px solid var(--border-color);
    background: var(--white);
}

.popup-option-col p {
    font-size: 0.98rem;
    color: var(--dark);
}

.popup-action-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 102, 204, 0.08);
    transition: var(--transition);
}

.popup-action-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

@media(max-width: 768px) {
    .popup-options-grid {
        grid-template-columns: 1fr;
    }
    .popup-option-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .popup-header h2 {
        font-size: 1.4rem;
    }
}
/* --- Ultra-Premium Footer Styling --- */
.main-footer {
    background: linear-gradient(135deg, #040e1b, var(--primary));
    color: var(--white);
    padding: 90px 0 30px 0;
    position: relative;
    border-top: 3px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-logo {
    height: 64px !important;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Elegantly transforms logo to clean white for dark footer */
}

.footer-about-text {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-item strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    font-size: 0.88rem;
    color: #64748b;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Footer Styling for Mobile Devices */
@media(max-width: 968px) {
    .main-footer {
        padding: 60px 0 20px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* --- Ultra-Premium Image Hover Zoom & Lightbox Window --- */
.solution-card img, .service-img img, .split-image img, .card-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.solution-card:hover .card-img, 
.service-img img:hover, 
.split-image img:hover {
    transform: scale(1.06);
}

.solution-card {
    overflow: hidden; /* Keeps zoom contained neatly inside cards */
}

.service-img, .split-image {
    overflow: hidden;
    border-radius: 14px;
}

/* Lightbox Modal Window Backdrop */
.image-lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(7, 25, 47, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

/* Lightbox Content Image */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: zoomInLightbox 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInLightbox {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Lightbox Close Button */
.lightbox-close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

@media(max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    .lightbox-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 35px;
    }
}
/* --- Global Screen Overflow Protection --- */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

box-sizing, * {
    box-sizing: border-box;
}

/* --- Perfectly Fitted Ultra-Premium Mobile Navigation Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw; /* Never overflows phone screen width */
    height: 100%;
    background: var(--white);
    z-index: 1600;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* Fix mobile submenu width containment inside drawer */
.mobile-submenu {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
}

.mobile-submenu a {
    word-break: break-word;
    white-space: normal;
}