/* =======================
Custom CSS Variables & Base Styles - ADVANCED DARK THEME (Unified)
======================== */
:root {
    /* Main Color Palette */
    --bg-dark-primary: #0A192F; /* Deepest blue-black */
    --bg-dark-secondary: #112240; /* Slightly lighter for alternating sections */
    --bg-dark-card: #1A2A40; /* Card backgrounds */
    --bg-dark-card-hover: #21324B; /* Card hover background */

    --color-primary: #00C4FF; /* Vibrant Blue */
    --color-primary-dark: #0099CC; /* Darker primary for hover */
    --color-accent: #FFD700; /* Gold/Yellow Accent */
    --color-accent-dark: #CCAA00;

    --text-light: #E6F0FF; /* Soft white for main text */
    --text-muted-light: #C8D7EE; /* BRIGHTER Muted light gray for secondary text */
    --border-dark: rgba(255, 255, 255, 0.1); /* Subtle white border for dark elements */
    --shadow-dark: rgba(0, 0, 0, 0.4); /* Stronger shadow for dark theme */
    --shadow-light-card: rgba(0, 0, 0, 0.2); /* Lighter shadow for cards on secondary dark bg */

    /* Font Families (Consistent with about.html) */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --section-padding-y: 6rem;
    --section-padding-y-lg: 9rem;

    /* Transition Speed */
    --transition-speed: 0.3s ease-in-out;
}

/* Global Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
    background-color: var(--bg-dark-primary);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
}

.display-3, .display-4, .display-5, .display-6 {
    color: var(--text-light);
}

.lead {
    font-weight: 400;
    color: var(--text-muted-light);
    font-size: 1.15rem;
}

/* Re-mapping Bootstrap colors to custom palette */
.bg-primary { background-color: var(--color-primary) !important; }
.text-primary { color: var(--color-primary) !important; }
.bg-dark { background-color: var(--bg-dark-primary) !important; }
.bg-light { background-color: var(--bg-dark-secondary) !important; }
/* Custom aliases for dark primary/secondary backgrounds for explicit control */
.bg-dark-primary-alt { background-color: var(--bg-dark-primary) !important; }
.bg-light-alt { background-color: var(--bg-dark-secondary) !important; }

/* Re-mapping Bootstrap bg-white to dark theme equivalent for consistency */
.bg-white { background-color: var(--bg-dark-primary) !important; }
.text-secondary { color: var(--text-muted-light) !important; }
.text-muted { color: var(--text-muted-light) !important; }
.text-white-50 { color: var(--text-muted-light) !important; }
.text-white-75 { color: var(--text-muted-light) !important; }

/* Custom Bootstrap Button Overrides */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--bg-dark-primary);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 196, 255, 0.3);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 196, 255, 0.4);
}
.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
}
.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--bg-dark-primary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 196, 255, 0.4);
}
.btn-warning {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--bg-dark-primary);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}
.btn-warning:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--bg-dark-primary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}
.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
}
.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--bg-dark-primary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Gradient & Animated Text/Badges */
.bg-primary-soft {
    background-color: rgba(0, 196, 255, 0.15);
    color: var(--color-primary) !important; /* !important to override Bootstrap's text-primary */
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

/* Section Header (Unified from index.css) */
.section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}
.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    filter: blur(40px);
    transition: all 0.7s ease-out;
    z-index: -1;
}
.section-header:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
    transform: translateX(-50%);
    transition: width 0.5s ease-out;
    z-index: -1;
}
.section-header:hover::after {
    width: 80%;
}
.section-header .display-6 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-top: 1rem;
    line-height: 1.3;
}


/* =======================
Header & Navbar (Unified Styling)
======================== */
header {
    position: relative;
    z-index: 1100;
}
.header-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.4s ease-in-out, backdrop-filter 0.4s ease-in-out, border-bottom 0.4s ease;
    background-color: var(--bg-dark-primary) !important;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}
.header-sticky.scrolled {
    background-color: rgba(10, 25, 47, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 4px 20px var(--shadow-dark);
}
.navbar-brand-custom .logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.navbar-brand-custom:hover .logo-img {
    transform: scale(1.05);
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-light);
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.8rem;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Dropdown menu */
.dropdown-menu {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    box-shadow: 0 8px 25px var(--shadow-dark);
    padding: 0.8rem 0;
    border-radius: 0.75rem;
}
.dropdown-item {
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: var(--bg-dark-card-hover);
    color: var(--color-primary);
}
.dropdown-header {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem 0.3rem;
}
.dropdown-divider {
    border-top-color: var(--border-dark);
    margin: 0.5rem 0;
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: var(--border-dark);
    transition: all 0.3s ease;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23e6f0ff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'%3e%3cpath d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 196, 255, 0.25);
}


/* =======================
Service Detail Hero Section
======================== */
.service-detail-hero {
    background-image: linear-gradient(rgba(21, 67, 96, 0.85), rgba(26, 82, 118, 0.95)), url('../images/service-seo-hero.jpg'); /* New image for SEO hero */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh; /* Consistent height for service pages */
    padding-top: 8rem;
    padding-bottom: var(--section-padding-y);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: inset 0 -10px 30px rgba(0,0,0,0.4);
}
.service-detail-hero::before { /* Animated grid pattern */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,196,255,0.08)" stroke-width="0.5"/></pattern><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="url(%23smallGrid)"/><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,196,255,0.15)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: pulseGrid 20s infinite linear;
    z-index: 0;
    opacity: 0.4;
}
@keyframes pulseGrid {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
.service-detail-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}
.service-detail-hero p.lead {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--text-light) !important;
}
.service-detail-hero .badge {
    background-color: var(--color-accent) !important;
    color: var(--bg-dark-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* =======================
Service Introduction Section
======================== */
.service-intro-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background-color: var(--bg-dark-card);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 196, 255, 0.2);
    transition: all var(--transition-speed);
}
.service-intro-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--color-primary);
    color: var(--bg-dark-primary);
    box-shadow: 0 0 25px rgba(0, 196, 255, 0.5);
}
.service-intro-icon i {
    transition: transform 0.3s ease;
}
.service-intro-icon:hover i {
    transform: scale(1.1);
}
.service-intro-icon.text-primary { /* Specific override if needed for a different icon color */
    color: var(--color-primary);
}


/* =======================
Key Features / Benefits Section
======================== */
.feature-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 20px var(--shadow-dark);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: var(--bg-dark-card-hover);
    border-color: rgba(0, 196, 255, 0.4);
    box-shadow: 0 15px 40px var(--shadow-dark);
}
.feature-card::before { /* Animated radial glow */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}
.feature-card:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--color-primary); /* Default color for icons */
    transition: transform 0.3s ease, color 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
}
/* Specific icon colors */
.feature-icon.text-success { color: #28a745; }
.feature-icon.text-success:hover { color: #38c172; } /* Slightly lighter green on hover */

.feature-card h5 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.feature-card p.small {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =======================
Our Process Section (Service Specific)
======================== */
.service-process-steps {
    position: relative;
    padding: 2rem 0; /* Add padding for connector lines */
}
/* Connector lines between process steps */
.service-process-steps .col-lg-3:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 10px); /* Position at the right edge of the card */
    width: 80%; /* Length of the line */
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.6;
    display: block; /* Ensure it's displayed */
}

@media (max-width: 991.98px) {
    .service-process-steps .col-lg-3:not(:last-child)::after {
        display: none; /* Hide horizontal connector on smaller screens */
    }
    .service-process-steps .col-md-6:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -20px; /* Position below the card */
        left: 50%;
        width: 2px;
        height: 40px; /* Length of the vertical line */
        background: linear-gradient(0deg, var(--color-primary), var(--color-accent));
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.6;
        display: block; /* Show vertical connector on medium screens */
    }
    .service-process-steps .col-md-6:nth-child(even):not(:last-child)::after {
        display: none; /* Hide for even-numbered columns when it wraps */
    }
    .service-process-steps .col-md-6:nth-child(odd):nth-last-child(2)::after {
        display: block; /* Ensure the last odd column before the absolute last has a line */
    }
}
@media (max-width: 767.98px) {
    .service-process-steps .col-md-6:not(:last-child)::after {
        display: block !important; /* Always show vertical on single column */
    }
}


.process-step-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 20px var(--shadow-dark);
    position: relative;
    overflow: hidden;
    z-index: 1; /* Bring cards above connector lines */
}
.process-step-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: var(--bg-dark-card-hover);
    border-color: rgba(0, 196, 255, 0.4);
    box-shadow: 0 15px 40px var(--shadow-dark);
}
.process-step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--bg-dark-primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: all var(--transition-speed);
}
.process-step-card:hover .process-step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary); /* Default for process icons */
    transition: transform 0.3s ease;
}
.process-step-card:hover .process-icon {
    transform: scale(1.1);
}
/* Specific colors for process icons */
.process-icon.text-primary { color: var(--color-primary); }
.process-icon.text-success { color: #28a745; }
.process-icon.text-info { color: #17a2b8; }
.process-icon.text-warning { color: var(--color-accent); }

.process-step-card h5 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.process-step-card p.small {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =======================
Why Choose Us for this Service Section
======================== */
.service-why-us-list li {
    color: var(--text-muted-light);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
}
.service-why-us-list li i {
    color: var(--color-primary); /* Consistent primary color for icons */
    font-size: 1.1em;
    margin-top: 5px; /* Align icon with text */
    margin-right: 10px;
    flex-shrink: 0;
}
.service-why-us-list li strong {
    color: var(--text-light); /* Make key phrases stand out */
}
.service-why-us-list li i.text-success { color: #28a745; } /* Specific green for success checkmarks */

.img-fluid.rounded.shadow-lg {
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px var(--shadow-dark) !important;
    filter: brightness(0.85); /* Slightly muted */
    transition: transform 0.5s ease, filter 0.5s ease;
}
.img-fluid.rounded.shadow-lg:hover {
    transform: scale(1.03);
    filter: brightness(1);
}

/* =======================
Call to Action Section (Unified from index.css)
======================== */
.cta-section-new {
    background: linear-gradient(135deg, #0a1e3c 0%, #0A192F 100%);
    padding: var(--section-padding-y-lg) 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: inset 0 10px 30px var(--shadow-dark), inset 0 -10px 30px var(--shadow-dark);
}
.cta-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smallGridCta" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,196,255,0.08)" stroke-width="0.5"/></pattern><pattern id="gridCta" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="url(%23smallGridCta)"/><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,196,255,0.15)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23gridCta)"/></svg>');
    animation: pulseGrid 20s infinite linear;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.8;
    filter: blur(5px);
}
.cta-bg-elements .bg-circle {
    position: absolute;
    background: radial-gradient(circle, var(--color-primary) 0%, rgba(0, 196, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: cta-float 18s ease-in-out infinite alternate;
}
.cta-bg-elements .circle-1 { width: 150px; height: 150px; top: 10%; left: 15%; }
.cta-bg-elements .circle-2 { width: 200px; height: 200px; top: 70%; left: 80%; animation-delay: 2s; }
.cta-bg-elements .bg-icon {
    position: absolute;
    font-size: 9rem;
    color: rgba(0, 196, 255, 0.1);
    filter: blur(3px);
    animation: cta-rotate 25s linear infinite;
}
.cta-bg-elements .icon-1 { top: 20%; left: 5%; }
.cta-bg-elements .icon-2 { bottom: 10%; right: 10%; animation-delay: 5s; }

@keyframes cta-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, 20px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes cta-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-section-new h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.3;
    text-shadow: 0 5px 15px var(--shadow-dark);
}
.cta-section-new p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(230, 240, 255, 0.9);
}


/* =======================
Footer (Unified from index.css)
======================== */
.footer-section {
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.95));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-light);
    padding: var(--section-padding-y) 0 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}
.footer-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
    filter: blur(80px);
}
.footer-section * {
    position: relative;
    z-index: 1;
}
.footer-logo-link .footer-logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}
.footer-logo-link .footer-logo-img:hover {
    transform: scale(1.08) rotate(-2deg);
}
.footer-section p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.footer-section p:hover {
    color: var(--color-primary);
}
.footer-heading {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    position: relative;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.footer-heading:hover {
    color: var(--color-primary);
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 55px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #00c6ff);
    border-radius: 2px;
    animation: glowLine 3s infinite alternate;
}
@keyframes glowLine {
    from { box-shadow: 0 0 5px var(--color-primary); }
    to { box-shadow: 0 0 15px var(--color-primary); }
}
.footer-links li a,
.footer-contact-info li a,
.footer-contact-info span {
    color: var(--text-muted-light);
    text-decoration: none;
    transition: all 0.35s ease;
    font-size: 0.95rem;
    display: inline-block;
}
.footer-links li a:hover,
.footer-contact-info li a:hover {
    color: var(--color-primary);
    transform: translateX(6px);
    text-shadow: 0 0 10px rgba(0, 196, 255, 0.6);
}
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}
.footer-contact-info li i {
    font-size: 1.25rem;
    line-height: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
    margin-right: 10px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.footer-contact-info li:hover i {
    transform: scale(1.2) rotate(-5deg);
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 1.15rem;
    transition: all 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}
.social-icons a::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(120deg, var(--color-primary), #00c6ff);
    top: -100%;
    left: -100%;
    transform: rotate(45deg);
    transition: all 0.4s ease;
    z-index: 0;
}
.social-icons a:hover::before {
    top: 0;
    left: 0;
}
.social-icons a i {
    position: relative;
    z-index: 1;
}
.social-icons a:hover {
    color: var(--bg-dark-primary);
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 196, 255, 0.5);
}
.footer-copyright {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    margin-top: 2rem;
    text-align: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.footer-copyright:hover {
    opacity: 1;
}

/* =======================
Scroll Progress Indicator (Unified from index.css)
======================== */
#scroll-tracker {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 180px;
    background-color: rgba(0, 196, 255, 0.1);
    border-radius: 4px;
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid rgba(0, 196, 255, 0.2);
}
#scroll-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: -2px;
    transition: transform 0.05s linear;
    box-shadow: 0 0 10px var(--color-primary);
}
body.scrolled #scroll-tracker {
     opacity: 1;
}

/* =======================
WhatsApp Floating Button (Unified from index.css)
======================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 35px;
    right: 35px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* =======================
Responsive Adjustments (Unified from index.css)
======================== */
@media (max-width: 1200px) {
    .service-detail-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
    .service-detail-hero p.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }
    .section-header .display-6 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
    .cta-section-new h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
    .cta-section-new p.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); }
}

@media (max-width: 991.98px) {
    header .header-sticky { background-color: rgba(10, 25, 47, 0.95) !important; backdrop-filter: blur(15px); }
    .navbar-brand-custom .logo-img { filter: brightness(0) invert(1); }
    .navbar-nav { background-color: var(--bg-dark-card); padding: 1rem 0; border-radius: 0.75rem; border: 1px solid var(--border-dark); margin-top: 1rem; }
    .navbar-nav .nav-link { padding: 0.8rem 1.5rem; }
    .navbar-nav .nav-link::after { width: 0 !important; }
    
    .service-detail-hero { min-height: 45vh; padding-top: 6rem; padding-bottom: 3rem; background-attachment: scroll; }
    .service-detail-hero::before { opacity: 0.2; }

    .section-header { margin-bottom: 3rem; }
    .section-header::before, .section-header::after { display: none; }

    .service-intro-icon { width: 80px; height: 80px; font-size: 2.5rem; }
    .service-intro-icon:hover { transform: scale(1.05) rotate(3deg); }

    .feature-card { padding: 2rem; }
    .feature-icon { font-size: 2.8rem; }

    .service-process-steps { padding: 1rem 0; }
    .service-process-steps .col-md-6:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -20px; /* Position below the card */
        left: 50%;
        width: 2px;
        height: 40px; /* Length of the vertical line */
        background: linear-gradient(0deg, var(--color-primary), var(--color-accent));
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.6;
        display: block; /* Show vertical connector on medium screens */
    }
    .service-process-steps .col-md-6:nth-child(even):not(:last-child)::after {
        display: none; /* Hide for even-numbered columns when it wraps */
    }
    .service-process-steps .col-md-6:nth-child(odd):nth-last-child(2)::after {
        display: block; /* Ensure the last odd column before the absolute last has a line */
    }
    .process-step-card { padding: 2rem; }
    .process-step-number { width: 50px; height: 50px; font-size: 1.5rem; margin-bottom: 1rem; }
    .process-icon { font-size: 2rem; margin-bottom: 0.8rem; }

    .service-why-us-list li { font-size: 0.95rem; }
    .img-fluid.rounded.shadow-lg { margin-top: 2.5rem; }

    .cta-section-new { padding-top: 5rem; padding-bottom: 5rem; }
    .cta-section-new::before { opacity: 0.2; }
    .cta-bg-elements { display: none; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-section .col-md-6, .footer-section .col-lg-3 { text-align: center; }
    .footer-contact-info li { justify-content: center; }
    .social-icons { justify-content: center; }
    #scroll-tracker { right: 15px; height: 120px; width: 6px; }
    #scroll-dot { width: 10px; height: 10px; left: -2px;}
    .whatsapp-float { width: 55px; height: 55px; bottom: 25px; right: 25px; font-size: 28px; }
}
@media (max-width: 767.98px) {
    .service-process-steps .col-md-6:not(:last-child)::after {
        display: block !important; /* Always show vertical on single column */
    }
}
@media (max-width: 575.98px) {
    .service-detail-hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .service-detail-hero p.lead { font-size: clamp(0.9rem, 3.5vw, 1.1rem); }
    .btn-lg { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .section-header .display-6 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .footer-logo-link .footer-logo-img { height: 45px; }

    .service-intro-icon { width: 70px; height: 70px; font-size: 2rem; margin-bottom: 1.5rem; }
    .service-intro-icon:hover { transform: none; } /* Disable some animations for tiny screens */

    .feature-card { padding: 1.8rem; }
    .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
    .feature-card h5 { font-size: 1.2rem; }
    .feature-card p.small { font-size: 0.85rem; }

    .process-step-card { padding: 1.8rem; }
    .process-step-number { width: 45px; height: 45px; font-size: 1.3rem; margin-bottom: 0.8rem; }
    .process-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .process-step-card h5 { font-size: 1.2rem; }
    .process-step-card p.small { font-size: 0.85rem; }

    .service-why-us-list li { font-size: 0.9rem; margin-bottom: 0.8rem !important; }

    #scroll-tracker { display: none; } /* Hide on smallest screens if too cluttered */
}