/* ==========================================================================
   DYNAMIC DESIGN SYSTEM - RAAAS INSPIRED PREMIUM THEME
   Signature Color Scheme: Navy / Teal / Cyan Accents (Completely Variable-Driven)
   ========================================================================== */

:root {
    /* Brand Palette variables */
    --primary-color: #1c2d3a;          /* Slate/Navy Blue */
    --primary-light: #2c4254;          /* Lighter Navy */
    --primary-dark: #121e27;           /* Deep Navy */
    --accent-color: #05a8aa;           /* Teal/Cyan */
    --accent-hover: #048c8e;           /* Darker Teal */
    --accent-glow: rgba(5, 168, 170, 0.15);
    --secondary-accent: #2374e1;       /* Action Blue */
    --secondary-hover: #1b5cbd;
    --whatsapp-green: #25d366;         /* WhatsApp brand color */
    
    /* Neutral & Background Variables */
    --bg-light: #f8fafc;               /* Light Gray-Blue */
    --bg-white: #ffffff;
    --bg-dark: #15222e;                /* Deep footer/aside background */
    --text-primary: #333333;           /* Standard readable body text */
    --text-muted: #64748b;             /* Subtitles and neutral labels */
    --text-light: #f1f5f9;             /* White/Off-white body text */
    
    /* Component Constants */
    --border-color: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 30px rgba(28, 45, 58, 0.08);
    --shadow-teal: 0 10px 20px rgba(5, 168, 170, 0.12);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Base & Reset --- */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

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

a:hover {
    color: var(--accent-hover);
}

/* --- Layout Elements --- */
.section-padding {
    padding: 80px 0;
}

.bg-alternate {
    background-color: var(--bg-white);
}

/* --- Header / Navigation --- */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-top {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 13px;
}

.header-top a {
    color: var(--text-light);
}

.header-top a:hover {
    color: var(--accent-color);
}

.navbar-brand img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand .brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-brand .brand-text h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-bottom: 2px;
}

.navbar-brand .brand-text span {
    line-height: 1.2;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color) !important;
    padding: 14px 11px !important;
    font-size: 14.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Dropdown Menu styling */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
}

.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
    padding-left: 25px;
}

/* --- Theme Buttons (Re-design inspired) --- */
.theme-btn-2, .theme-btn-3, .theme-btn-4, .theme-btn-6 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn-2 {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.theme-btn-2:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.theme-btn-3 {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.theme-btn-3:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.theme-btn-4 {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.theme-btn-4:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.theme-btn-6 {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-size: 12px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.theme-btn-6:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.full-btn {
    display: block;
    width: 100%;
}

/* --- Hero Banner --- */
.hero-slider-wrap {
    position: relative;
    background-color: var(--primary-color);
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-slider-wrap .carousel, 
.hero-slider-wrap .carousel-inner, 
.hero-slider-wrap .carousel-item {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0; left: 0;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transform: scale(1);
    transition: transform 6s var(--ease-in-out);
}

.carousel-item.active .hero-slide-bg {
    transform: scale(1.08);
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
    max-width: 800px;
}

.hero-slide-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 10px;
    line-height: 1.25;
}

.hero-slide-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* --- Section Titles --- */
.section-title-wrap {
    margin-bottom: 50px;
}

.section-title-wrap h2 {
    font-size: 36px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.section-title-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title-wrap.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title-wrap span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

/* --- Services Grid --- */
.service-premium-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-teal);
    border-color: rgba(5, 168, 170, 0.3);
}

.service-premium-card .card-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
}

.service-premium-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-premium-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-premium-card p {
    font-size: 14px;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* --- Why Choose Us Section --- */
.why-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Free Consultation Form --- */
.consultation-form-wrap {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    border: 1px solid var(--border-color);
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* --- Testimonials --- */
.testimonial-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    margin: 15px;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 80px;
    font-family: serif;
    color: rgba(5, 168, 170, 0.15);
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-author h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Recent Blogs Grid --- */
.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-card-body h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px 0;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
    color: var(--accent-color);
}

.footer-widget h4 {
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 1.5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links-list li a::before {
    content: "\F285"; /* Bootstrap Icon arrow */
    font-family: "bootstrap-icons";
    font-size: 11px;
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-links-list li a:hover::before {
    transform: translateX(4px);
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 4px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* --- Floating Widgets --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.floating-whatsapp a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.floating-whatsapp a:hover {
    transform: scale(1.08) rotate(10deg);
}

.floating-assistance {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.assistance-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(28, 45, 58, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.assistance-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Modal Consultation Popup */
.assistance-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 1000;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.assistance-modal.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.assistance-modal-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 20px;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assistance-modal-header h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 0;
}

.assistance-modal-header button {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 18px;
    cursor: pointer;
}

.assistance-modal-body {
    padding: 25px;
}

/* --- Service Sidebar Layout --- */
.service-sidebar {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links li a {
    display: block;
    padding: 12px 18px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li.active a {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding-left: 22px;
}

/* --- Timeline Methodology --- */
.timeline-wrap {
    position: relative;
    padding: 20px 0;
}

.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 31px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
}

.timeline-badge {
    position: absolute;
    left: 15px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Accordion FAQ --- */
.accordion-custom-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-custom-header {
    width: 100%;
    padding: 18px 25px;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-custom-header::after {
    content: "\F282"; /* Bootstrap Icon Chevron Down */
    font-family: "bootstrap-icons";
    font-size: 14px;
    transition: var(--transition);
}

.accordion-custom-header.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom-header.active::after {
    transform: rotate(180deg);
}

.accordion-custom-body {
    padding: 20px 25px;
    display: none;
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Breadcrumb Banner --- */
.inner-banner-wrap {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.inner-banner-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(28, 45, 58, 0.8);
    z-index: 1;
}

.inner-banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.inner-banner-content {
    position: relative;
    z-index: 2;
}

.inner-banner-content h1 {
    color: var(--bg-white);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumb-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-list span {
    color: var(--accent-color);
}

/* --- Marquee --- */
.scrolling-marquee-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 10px 0;
}

.marquee-label {
    background-color: var(--accent-color);
    color: var(--bg-white);
    font-weight: 700;
    padding: 8px 20px;
    margin-right: 15px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-transform: uppercase;
}

.scrolling-marquee-bar marquee {
    color: var(--text-light);
}

.scrolling-marquee-bar marquee a {
    color: var(--text-light);
    font-weight: 600;
}

.scrolling-marquee-bar marquee a:hover {
    color: var(--accent-color);
}

/* Responsive Overrides & App-like Feel */
@media (max-width: 991.98px) {
    /* --- Navbar mobile --- */
    .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid var(--border-color);
        white-space: normal;
    }
    .dropdown-menu {
        background-color: var(--bg-white);
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }
    /* Navbar brand: keep logo+text on one row, don't overflow */
    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-brand {
        max-width: calc(100% - 65px); /* leave room for toggler */
        overflow: hidden;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0;
        flex-shrink: 1;
    }
    .navbar-brand img {
        max-height: 42px;
        width: auto;
        flex-shrink: 0;
    }
    .navbar-brand .brand-text {
        min-width: 0;
        flex-shrink: 1;
    }
    .navbar-brand .brand-text h1 {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 !important;
    }
    .navbar-brand .brand-text span {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block !important;
        margin: 0 !important;
    }
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        padding: 4px 8px;
        font-size: 1rem;
    }
    /* --- Banner mobile --- */
    .hero-slider-wrap {
        height: 240px;
    }
    .hero-slide-content h2 {
        font-size: 22px;
        line-height: 1.25;
    }
    .section-title-wrap h2 {
        font-size: 28px;
    }
    .consultation-form-wrap {
        padding: 30px 20px;
    }
    /* --- Footer mobile --- */
    .site-footer {
        padding: 60px 0 24px 0;
    }
    .footer-widget {
        margin-bottom: 8px;
    }
    .footer-contact-info p {
        font-size: 13.5px;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-contact-info a {
        color: rgba(255,255,255,0.75);
        word-break: break-all;
    }
    .footer-contact-info a:hover {
        color: var(--accent-color);
    }
    .footer-social-icons {
        flex-wrap: wrap;
        gap: 8px;
    }
    /* Floating buttons */
    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
    }
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .floating-assistance {
        bottom: 20px;
        right: 20px;
    }
    .assistance-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    .assistance-modal {
        bottom: 85px;
        right: 20px;
        width: 320px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-wrap {
        height: 200px;
    }
    .hero-slide-content h2 {
        font-size: 18px;
    }
    .hero-slide-content p {
        display: none; /* hide subtitle on small screens for cleaner look */
    }
    .section-padding {
        padding: 60px 0;
    }
    .inner-banner-wrap {
        padding: 60px 0;
    }
    .inner-banner-content h1 {
        font-size: 28px;
    }
    .service-premium-card {
        padding: 24px;
    }
    /* Mobile app-like card shadows and microinteractions */
    .service-premium-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }
}

/* ============================================================
   SERVICE IMAGE CARDS — Premium Full-Bleed Image Style
   ============================================================ */
.svc-section {
    background: var(--bg-light);
}

.svc-img-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 340px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.svc-img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 45, 58, 0.18);
}

/* Image layer */
.svc-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.svc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-img-card:hover .svc-img {
    transform: scale(1.09);
}

/* Neutral dark overlay so text stays readable — no colour tint */
.svc-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18,30,39,0.88) 0%, rgba(18,30,39,0.35) 55%, rgba(18,30,39,0.10) 100%);
    transition: background 0.4s ease;
}

.svc-img-card:hover .svc-img-overlay {
    background: linear-gradient(to top, rgba(18,30,39,0.92) 0%, rgba(18,30,39,0.45) 60%, rgba(18,30,39,0.15) 100%);
}

/* Content layer sits above image */
.svc-img-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    color: #fff;
    z-index: 2;
}

/* Floating icon badge top-right */
.svc-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.svc-img-card:hover .svc-icon-badge {
    background: rgba(255,255,255,0.30);
    transform: rotate(8deg) scale(1.08);
}

.svc-img-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.svc-img-card:hover .svc-img-title {
    transform: translateY(-3px);
}

.svc-img-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 14px 0;
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.svc-img-card:hover .svc-img-desc {
    max-height: 80px;
    opacity: 1;
}

.svc-img-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1.5px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: border-color 0.3s ease, gap 0.3s ease;
    width: fit-content;
}

.svc-img-card:hover .svc-img-link {
    border-color: #fff;
    gap: 10px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .svc-img-card { height: 300px; }
    .svc-img-desc { max-height: 60px; opacity: 1; } /* always visible on tablet */
}

@media (max-width: 575.98px) {
    .svc-img-card { height: 260px; }
    .svc-img-title { font-size: 18px; }
}

/* Subheading with custom colors (like yellow from CMS) */
.logo-subtext {
    font-size: 12px;
    color: var(--text-muted);
}
.logo-subtext p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
}
.logo-subtext span {
    font-size: inherit !important;
}
.site-footer .logo-subtext {
    color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 991.98px) {
    .logo-subtext, .logo-subtext p, .logo-subtext span {
        font-size: 11px !important;
    }
}

/* Contact page interactive hover link */
.hover-accent-link {
    transition: var(--transition);
}
.hover-accent-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

/* ============================================================
   OLD LAYOUT RETROFIT — Styles to map old templates to modern flex grid
   ============================================================ */
#topline {
    display: none !important;
}
#pagewraper {
    width: 100% !important;
    max-width: 100% !important;
    background-color: var(--bg-light);
}
#mainpage {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    max-width: 1320px !important; /* Matches Bootstrap container-lg */
    gap: 3rem !important; /* Spacing between left content and sidebar widgets */
    padding-top: 50px !important;
    padding-bottom: 80px !important;
    width: 100% !important;
}
#leftbar {
    flex: 0 0 auto !important;
    width: calc(66.666667% - 1.5rem) !important; /* Matches col-lg-8 with gap offset */
}
#leftcontent {
    background-color: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
    padding: 40px !important;
    height: 100% !important;
}
#leftcontent h1.heading2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: var(--primary-color) !important;
    position: relative !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--border-color) !important;
}
.sidebar-widgets-wrap {
    flex: 0 0 auto !important;
    width: calc(33.333333% - 1.5rem) !important; /* Matches col-lg-4 with gap offset */
}
#dropshadow, #dropshadow2 {
    display: none !important;
}

/* Tablet & Mobile responsive */
@media (max-width: 991.98px) {
    #mainpage {
        flex-direction: column !important;
        gap: 2rem !important;
        padding-top: 30px !important;
        padding-bottom: 60px !important;
    }
    #leftbar, .sidebar-widgets-wrap {
        width: 100% !important;
    }
    #leftcontent {
        padding: 24px !important;
    }
    #leftcontent h1.heading2 {
        font-size: 22px !important;
    }
}

/* Dynamic Brand Title Color (Deep Navy default, inherits custom color if set in admin panel) */
.logo-title {
    color: var(--primary-color);
}
.logo-title a {
    color: inherit !important;
}

/* ============================================================
   LEGACY TABLE RETROFIT — Styles to override inline colors with signature theme
   ============================================================ */
#leftcontent table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    border: 1px solid var(--border-color) !important;
}
#leftcontent td {
    padding: 14px 20px !important;
    border: 1px solid var(--border-color) !important;
    font-size: 14.5px !important;
    vertical-align: middle !important;
}
/* Heading row (bgcolor="#669966") overrides to Navy */
#leftcontent td[bgcolor="#669966"] {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: 1px solid var(--primary-color) !important;
}
#leftcontent td[bgcolor="#669966"] b, 
#leftcontent td[bgcolor="#669966"] strong {
    color: #ffffff !important;
}
/* Normal rows (bgcolor="#E6EBEB") overrides to light bg with Teal hover tint */
#leftcontent td[bgcolor="#E6EBEB"] {
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
    transition: background 0.3s !important;
}
#leftcontent td[bgcolor="#E6EBEB"]:hover {
    background-color: rgba(5, 168, 170, 0.06) !important;
}
#leftcontent td[bgcolor="#E6EBEB"] a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.3s !important;
}
#leftcontent td[bgcolor="#E6EBEB"] a:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}