/* Custom Overrides for Bootstrap */
:root {
    /* Exact colors pulled from your uploaded logo */
    --brand-dark: #0c0e12; /* The deep navy/black from the logo background */
    --brand-cyan: #00cbf9; /* The light blue from the 'N' shape */
    --brand-yellow: #fcc201; /* The yellow from the arrow */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Universal Dark Background for Header, Hero, and Footer */
.custom-dark-bg {
    background-color: var(--brand-dark) !important;
}

/* * MAGIC TRICK: This makes the black background of your JPG logo disappear 
 * so the arrow and text look like they have a transparent background! 
 */
.logo-blend {
    mix-blend-mode: screen;
    object-fit: contain;
}

/* Extra padding for Hero */
.custom-hero {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

/* Custom Nav Links - Cyan Hover */
.custom-nav-link {
    color: #cccccc !important; 
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.custom-nav-link:hover {
    color: var(--brand-cyan) !important;
    text-shadow: 0px 0px 10px rgba(0, 203, 249, 0.4); /* Cyan glow */
}

/* Yellow Action Button */
.custom-btn {
    background-color: var(--brand-yellow);
    color: #000000 !important;
    border: 2px solid var(--brand-yellow);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.custom-btn:hover {
    background-color: transparent !important;
    color: var(--brand-yellow) !important;
    box-shadow: 0px 4px 15px rgba(252, 194, 1, 0.2); /* Yellow glow */
}

/* Cyan Text Utility */
.text-cyan {
    color: var(--brand-cyan) !important;
}
/* --- Premium Dark Service Cards --- */
.service-card {
    background-color: #11151c; /* Slightly lighter than the main dark bg to create depth */
    border: 1px solid #1f2937; /* Very subtle grey/blue border */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* The magic glow effect when hovered */
.service-card:hover {
    transform: translateY(-8px); /* Lifts the card up */
    border-color: var(--brand-cyan); /* Border turns cyan */
    box-shadow: 0 10px 25px rgba(0, 203, 249, 0.15); /* Cyan glow behind the card */
}

/* Custom Cyan Outline Button */
.btn-outline-cyan {
    color: var(--brand-cyan);
    border: 1px solid var(--brand-cyan);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-cyan:hover {
    background-color: var(--brand-cyan);
    color: #000000;
    box-shadow: 0px 4px 15px rgba(0, 203, 249, 0.4);
}
/* --- Modern Premium Dropdown --- */

/* 1. The Menu Container */
.dropdown-menu {
    background-color: #11151c !important; /* Matches your service cards */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Very subtle border */
    border-radius: 12px !important; /* Rounded modern corners */
    padding: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important; /* Deep shadow for "floating" effect */
    min-width: 280px;
    margin-top: 15px !important; /* Gap between header and menu */
}

/* 2. Individual Links */
.dropdown-item {
    color: #cccccc !important;
    padding: 10px 15px !important;
    border-radius: 8px !important; /* Rounded links */
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

/* 3. Hover State - Cyan Accent */
.dropdown-item:hover {
    background-color: rgba(0, 203, 249, 0.1) !important; /* Subtle cyan tint */
    color: var(--brand-cyan) !important; /* Text turns cyan */
    transform: translateX(5px); /* Elegant slide-right effect */
}

/* 4. The Divider Line */
.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 8px 0 !important;
}

/* 5. SMOOTH ANIMATION 
   This makes the menu fade in and slide up slightly when it opens 
*/
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu.show {
    animation: dropdownFade 0.3s ease forwards;
}
/* --- 6. Desktop Hover Dropdown --- */

/* Only apply hover effects on screens larger than 992px (Desktop/Laptops) */
@media (min-width: 992px) {
    /* Force the menu to display when the parent list item is hovered */
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: dropdownFade 0.3s ease forwards;
    }
    
    /* Create an invisible "bridge" over the gap so the menu doesn't disappear when the mouse moves down */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -20px; /* Covers the margin gap */
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
}
/* --- 7. Premium Hero Upgrades --- */
.custom-hero {
    position: relative;
    padding-top: 10rem !important; /* Made it a bit taller for a grander entrance */
    padding-bottom: 10rem !important;
    background-color: var(--brand-dark);
    
    /* Tech Grid Pattern - Creates a subtle blueprint/grid effect */
    background-image: 
        linear-gradient(rgba(71, 184, 210, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 203, 249, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: 1;
}

/* Fades the grid out at the edges so it blends perfectly into the solid dark background */
.custom-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 10%, var(--brand-dark) 85%);
    z-index: -1;
}

/* Subtle glowing orb behind the text */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 203, 249, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none; /* Ensures it doesn't block clicks */
}

/* Modern floating badge above the heading */
.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 203, 249, 0.3);
    color: var(--brand-cyan);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 203, 249, 0.1);
}
/* --- 8. Tech Stack & Feature Upgrades --- */
.tech-badge {
    transition: all 0.3s ease;
    cursor: default;
}

/* Lights up the button with cyan when the mouse moves over it */
.tech-badge:hover {
    background-color: rgba(0, 203, 249, 0.05) !important;
    border-color: var(--brand-cyan) !important;
    color: var(--brand-cyan) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 203, 249, 0.15);
}

/* Soft cyan box around the bullet point stars */
.feature-icon-box {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background-color: rgba(0, 203, 249, 0.08); /* Very soft cyan background */
    border: 1px solid rgba(0, 203, 249, 0.2);
    border-radius: 12px; /* App-like rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Rotates the star slightly when the user hovers over the feature text */
.feature-row:hover .feature-icon-box {
    transform: rotate(15deg) scale(1.05);
}
/* --- 9. Global Layout & Mobile Fixes --- */

/* 1. Kills the horizontal bottom scrollbar permanently */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* 2. Mobile Optimizations (Only applies to screens smaller than a tablet) */
@media (max-width: 768px) {
    /* Shrinks the massive top padding so the Hero doesn't take up the whole screen */
    .custom-hero {
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Shrinks the main heading so words don't get awkwardly broken */
    .display-3 {
        font-size: 2.5rem;
    }
    
    /* Reduces the massive desktop padding on the dark Tech Card 
       so your technology buttons aren't squished to death */
    .col-lg-6 .p-5 {
        padding: 2rem !important; 
    }
    
    /* Shrinks the feature icon boxes slightly to give text more breathing room */
    .feature-icon-box {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
}
/* --- 10. Floating Contact Buttons --- */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050; /* Ensures it stays above all other content */
    display: flex;
    flex-direction: column; /* Stacks the buttons vertically */
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

/* Hover Animation: Lifts up and scales slightly */
.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* WhatsApp Specific Styling */
.btn-whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
}
.btn-whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Call Specific Styling */
.btn-call {
    background-color: var(--brand-cyan);
    color: #000000; /* Dark icon for high contrast on the cyan background */
}
.btn-call:hover {
    box-shadow: 0 8px 25px rgba(0, 203, 249, 0.4);
    color: #000000;
}

/* Mobile Adjustments (Makes them slightly smaller so they don't block text on phones) */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
    }
    .float-btn svg {
        width: 24px;
        height: 24px;
    }
}
/* --- 11. HD Avatar Image Fixes --- */
.avatar-ring {
    width: 130px; /* Made them slightly larger for a more premium feel */
    height: 130px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: #1f2937; /* Dark placeholder color while image loads */
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Focuses the crop slightly higher toward the face */
    
    /* Forces the browser to render the image as sharply as possible */
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0); /* Hardware acceleration trick for smoother rendering */
}
/* --- 12. Footer Link Hover --- */
.custom-hover-cyan {
    transition: color 0.3s ease;
}
.custom-hover-cyan:hover {
    color: var(--brand-cyan) !important;
}
/* --- 13. High-End Contact Form Inputs --- */
.contact-form-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
}

/* Custom interactive input styling */
.custom-form-input {
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    color: #11151c !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

/* Elegant cyan glow when a user clicks to type */
.custom-form-input:focus {
    border-color: var(--brand-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 203, 249, 0.15) !important;
    transform: translateY(-2px);
}

/* Smooth transition for the submit button */
.btn-submit-glow {
    background-color: var(--brand-dark);
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit-glow:hover {
    background-color: var(--brand-cyan);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 203, 249, 0.3);
}
/* --- 14. Premium Dark Contact Form --- */
.contact-form-card-dark {
    background-color: #11151c;
    border: 1px solid #1f2937;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Dark mode inputs */
.custom-form-input-dark {
    background-color: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

/* Cyan glow when typing */
.custom-form-input-dark:focus {
    border-color: var(--brand-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 203, 249, 0.2) !important;
    background-color: rgba(255,255,255,0.06) !important;
    outline: none;
}

/* Fixes the placeholder text color */
.custom-form-input-dark::placeholder {
    color: #6c757d !important;
}

/* Fixes the dropdown menu background */
.custom-form-input-dark option {
    background-color: #11151c;
    color: #ffffff;
}

/* Dark mode contact info cards */
.contact-info-card-dark {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info-card-dark:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(0, 203, 249, 0.3);
}
/* --- 15. Premium Custom Dropdown (Glassmorphism) --- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: var(--brand-cyan);
    background: rgba(255, 255, 255, 0.06) !important;
}

.custom-select-trigger::after {
    content: '▼';
    font-size: 10px;
    color: var(--brand-cyan);
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #11151c; /* Midnight Dark */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 16px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.custom-option:hover {
    background: rgba(0, 203, 249, 0.1);
    color: var(--brand-cyan);
    padding-left: 20px; /* Modern slide-in effect */
}

/* Custom Scrollbar for the dropdown */
.custom-options::-webkit-scrollbar {
    width: 5px;
}
.custom-options::-webkit-scrollbar-thumb {
    background: var(--brand-cyan);
    border-radius: 10px;
}
/* --- 16. Multi-Level Nested Dropdowns --- */
/* --- 16. Premium Nested Dropdowns (Strict Hover Alignment) --- */
.dropdown-submenu {
    position: relative;
}

/* Desktop: Strictly Hover-Only (Forces hide when mouse leaves) */
@media (min-width: 992px) {
    /* 1. Force the submenu to hide by default */
    .dropdown-menu .dropdown-submenu .submenu {
        display: none !important;
        position: absolute;
        top: 0;
        right: 100%; /* Opens to the left */
        left: auto;
        margin-top: -8px;
        margin-right: 2px;
        min-width: 260px;
        box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
        z-index: 1050;
    }
    
    /* 2. Force it to show ONLY when the mouse is actively hovering */
    .dropdown-menu .dropdown-submenu:hover > .submenu {
        display: block !important;
        animation: fadeSlideLeft 0.2s ease-out forwards;
    }

    /* 3. Arrow Icon */
    .dropdown-submenu > a::after {
        content: '◀';
        font-size: 0.6rem;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--brand-cyan);
    }
}

/* Smooth fly-out animation */
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile: Click-to-open stacking */
@media (max-width: 991px) {
    .dropdown-submenu .submenu {
        display: none;
        position: relative;
        left: 0;
        top: 0;
        margin-left: 1rem;
        margin-bottom: 10px;
        background-color: rgba(255, 255, 255, 0.05) !important;
        width: calc(100% - 1rem);
        box-shadow: inset 2px 0 0 var(--brand-cyan);
    }
    .dropdown-submenu .submenu.show {
        display: block !important;
    }
    .dropdown-submenu > a::after {
        content: '▼';
        float: right;
        font-size: 0.7rem;
        margin-top: 5px;
        color: var(--brand-cyan);
    }
}
/* ==========================================================================
   HYBRID THEME: DARK HEADER/FOOTER, LIGHT CONTENT
   ========================================================================== */

/* 1. Force the middle sections to be light and text to be dark */
main, .flex-grow-1 {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* 2. Target dark backgrounds ONLY inside the middle content */
main .custom-dark-bg, 
main [style*="background-color: #0a0d14"], 
main [style*="background-color: #11151c"],
.flex-grow-1 .custom-dark-bg, 
.flex-grow-1 [style*="background-color: #0a0d14"], 
.flex-grow-1 [style*="background-color: #11151c"] {
    background-color: #ffffff !important;
}

/* 3. Flip text colors ONLY inside the middle content */
main .text-white, .flex-grow-1 .text-white { color: #0f172a !important; }
main .text-secondary, .flex-grow-1 .text-secondary { color: #475569 !important; }

/* 4. Borders & Cards inside the middle content */
main .border-secondary, .flex-grow-1 .border-secondary,
main .border-opacity-25, .flex-grow-1 .border-opacity-25,
main [style*="border: 1px solid #1f2937"], .flex-grow-1 [style*="border: 1px solid #1f2937"] {
    border-color: #e2e8f0 !important;
}

main .card, .flex-grow-1 .card,
main .stat-card, .flex-grow-1 .stat-card,
main .contact-form-card-dark, .flex-grow-1 .contact-form-card-dark,
main .contact-info-card-dark, .flex-grow-1 .contact-info-card-dark,
main .login-card, .flex-grow-1 .login-card,
main [style*="background-color: #11151c"], .flex-grow-1 [style*="background-color: #11151c"] {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* 5. Hero Sections (High Contrast Update) */
main .custom-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
}

/* Kills the ugly dark vignette shadow from the dark theme */
main .custom-hero::before {
    display: none !important;
}
main .hero-glow { opacity: 0.1 !important; }

/* FIX 1: High Contrast Subheadline */
main .custom-hero p.lead { 
    color: #1e293b !important; /* Deep, highly readable slate instead of light gray */
    font-weight: 500 !important; /* Makes the text slightly thicker so it stands out */
}

/* FIX 2: High Contrast Badge */
main .hero-badge {
    background-color: rgba(2, 132, 199, 0.1) !important;
    border-color: rgba(2, 132, 199, 0.4) !important;
    color: #0369a1 !important; /* Deep ocean blue for perfect legibility */
    font-weight: 800 !important; /* Makes the text bolder */
}

/* 5.5 Fix Invisible Buttons on Light Backgrounds */
main .btn-outline-light {
    color: #0f172a !important; 
    border-color: #cbd5e1 !important; 
}
main .btn-outline-light:hover {
    background-color: #f8fafc !important;
    color: var(--brand-cyan) !important;
    border-color: var(--brand-cyan) !important;
}

/* 5.5 Fix Invisible Buttons on Light Backgrounds */
main .btn-outline-light {
    color: #0f172a !important; /* Dark text */
    border-color: #cbd5e1 !important; /* Light gray border */
}
main .btn-outline-light:hover {
    background-color: #f8fafc !important;
    color: var(--brand-cyan) !important;
    border-color: var(--brand-cyan) !important;
}

/* 6. Forms & Inputs */
main .custom-input, main .custom-form-input-dark, main .secure-input,
.flex-grow-1 .custom-input, .flex-grow-1 .custom-form-input-dark, .flex-grow-1 .secure-input {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

main .custom-input:focus, main .custom-form-input-dark:focus, main .secure-input:focus,
.flex-grow-1 .custom-input:focus, .flex-grow-1 .custom-form-input-dark:focus, .flex-grow-1 .secure-input:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 203, 249, 0.1) !important;
}

main .custom-input::placeholder, main .custom-form-input-dark::placeholder,
.flex-grow-1 .custom-input::placeholder, .flex-grow-1 .custom-form-input-dark::placeholder { 
    color: #94a3b8 !important; 
}

/* 7. Admin Dashboard Tables */
.flex-grow-1 .table-dark-custom {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.flex-grow-1 .table-dark-custom tr { background-color: #ffffff !important; }
.flex-grow-1 .table-dark-custom tr:hover { background-color: #f8fafc !important; }
.flex-grow-1 .table-dark-custom th {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.flex-grow-1 .table-dark-custom td {
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 8. Fix Badges & Small Details */
main .badge.bg-dark, .flex-grow-1 .badge.bg-dark { 
    background-color: #f1f5f9 !important; color: #475569 !important; border-color: #cbd5e1 !important; 
}
main .tech-badge, .flex-grow-1 .tech-badge { 
    background-color: #ffffff !important; border-color: #e2e8f0 !important; color: #475569 !important; 
}
/* ==========================================================================
   PREMIUM HERO BUTTONS
   ========================================================================== */

/* Base styling for all three hero buttons */
.btn-hero {
    padding: 16px 32px !important;
    border-radius: 12px !important; /* Soft, modern app-like corners */
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

/* 1. GET A FREE QUOTE - Primary Action (Cyan Gradient) */
.btn-quote {
    background: linear-gradient(135deg, #00cbf9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}
.btn-quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.45) !important;
    color: #ffffff !important;
}

/* 2. Explore Services - Secondary Action (Yellow Gradient) */
.btn-explore {
    background: linear-gradient(135deg, #fcc201 0%, #d97706 100%) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2) !important;
}
.btn-explore:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(217, 119, 6, 0.35) !important;
    color: #000000 !important;
}

/* 3. View Our Work - Tertiary Action (Clean White Outline) */
.btn-work {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}
.btn-work:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    background-color: #f8fafc !important;
}
/* 3. GET A FREE QUOTE - High Contrast Slate */
.btn-work {
    background: linear-gradient(135deg, #334155 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2) !important;
}

.btn-work:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.4) !important;
    color: #ffffff !important;
}
/* ==========================================================================
   CONTACT FORM & DROPDOWN LIGHT THEME FIX
   ========================================================================== */

/* 1. Fix the Invisible Dropdown */
.custom-select-trigger {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important; /* Forces text to be dark */
}
.custom-select-trigger:hover {
    background-color: #ffffff !important;
    border-color: var(--brand-cyan) !important;
}
.custom-options {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}
.custom-option {
    color: #475569 !important;
}
.custom-option:hover {
    background-color: #f8fafc !important;
    color: var(--brand-cyan) !important;
}

/* 2. Force the Send Request Button Gradient */
.btn-submit-glow {
    background: linear-gradient(135deg, #00cbf9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}
.btn-submit-glow:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.4) !important;
    color: #ffffff !important;
}

/* 3. Force the Form Card Shadow & Top Border (Darker Shadow) */
.contact-form-card, .contact-form-card-dark {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid var(--brand-cyan) !important;
    /* We increased the shadow opacity from 0.1 to 0.4 and made the spread wider */
    box-shadow: 0 25px 50px -5px rgba(15, 23, 42, 0.4) !important; 
}
/* ==========================================================================
   WORD WRAP FIX (For long links or unbroken text in blogs)
   ========================================================================== */
.blog-content-wrap,
.blog-content-wrap p,
.blog-content-wrap span {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: pre-wrap !important; /* Preserves your line breaks but forces wrapping */
}
/* ==========================================
   Scroll to Top Floating Button
========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px; /* Keeps it perfectly aligned with your WhatsApp button */
    left: 30px;   /* Positions it on the bottom left */
    z-index: 1050;
    background-color: #0f172a; /* Adyficoo Dark Navy */
    color: #00cbf9; /* Adyficoo Cyan */
    border: 2px solid #00cbf9;
    border-radius: 50%; /* Perfect circle */
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    
    /* Hidden by default */
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px); /* Starts slightly lower for a pop-up effect */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
.scroll-to-top:hover {
    background-color: #00cbf9;
    color: #0f172a;
    transform: translateY(-5px); /* Lifts up slightly when hovered */
    box-shadow: 0 8px 20px rgba(0, 203, 249, 0.3);
}

/* This class is added by JS to make it visible */
.scroll-to-top.show-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* ==========================================
   Global Scroll Animations
========================================== */
.adyficoo-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

/* This class is added by JavaScript when the element is on screen */
.adyficoo-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ==========================================
   Service Pages Hero Background Overlay
========================================== */
.custom-hero:not(.text-white) {
    /* Changed 0.93 to 0.85 to make the background image more visible */
    background-image: linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.85)), url('../images/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important; 
    background-color: transparent !important;
}