/* --- General Setup & Variables --- */
:root {
    --primary-blue: #005a9c;
    --primary-orange: #f58220;
    --white: #ffffff;
    --dark-text: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.coloured_heading{
    color:#f58220;
}
.btn.btn-primary {
	width: fit-content;
	padding: 10px 20px;
	background: #f58220;
	color: #fff;
}




/* Basic reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }
    a {
        text-decoration: none;
        color: inherit;
    }

    

    /* ===== Top Bar ===== */
    .top-bar {
        background: #005a9c;
        color: #fff;
        font-size: 14px;
        padding: 5px 0;
    }
    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .top-bar .contact-info a {
        color: #fff;
        margin-right: 10px;
        font-size: 16px;
    }
    .top-bar .phone-number {
        margin-left: 5px;
    }
    .top-bar .tagline {
        font-weight: bold;
    }
    /* UPDATED: Request a Call button style */
    .top-bar .btn-request-call {
        background: #fff;
        color: #007BFF;
        padding: 8px 12px;
        border-radius: 4px;
        font-weight: bold;
        transition: 0.3s;
        border: 1px solid #fff;
    }
    .top-bar .btn-request-call:hover {
        background: #f0f0f0;
    }


    /* ===== Main Navigation ===== */
    .main-nav {
        background: #ff6f00;
        padding: 10px 0;
        /* position: sticky is removed */
            z-index: 999;
            transition: box-shadow 0.3s ease;
    }
    /* NEW CLASS: This is applied by JavaScript on scroll */
        .main-nav.is-sticky {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }

    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .logo img {
	height: 60px;
	vertical-align: middle;
	padding: 5px;
	background: #fff;
	border-radius: 10px;
}
    
    nav.navigation {
        flex: 1;
        margin-left: 30px;
        position: relative;
    }
    nav ul.nav-links {
        list-style: none;
        display: flex;
        gap: 15px;
    }
    nav ul.nav-links li {
        position: relative;
    }
    /* UPDATED: Main nav link styles */
    nav ul.nav-links > li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	color: #fff;
	transition: 0.3s;
	text-underline-offset: 5px;
	font-size: 14px;
}
.sub-dropdown {
	list-style-type: none;
}
.dropdown-menu li {
	list-style-type: none;
}
    nav ul.nav-links > li > a:hover {
        background: none;
        color: #f1f1f1;
    }

    /* UPDATED: Dropdown styles */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #ff6f00; /* Orange background */
        min-width: 300px;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        flex-direction: column;
        padding: 5px 0;
    }
    .dropdown-menu li a {
        padding: 12px 20px;
        font-weight: normal;
        color: #fff; /* White text */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dropdown-menu li a:hover {
        background: #e06200; /* Darker orange on hover */
    }
    .sub-dropdown .dropdown-menu {
        top: 0;
        left: 100%;
        border-radius: 4px;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    
    /* Desktop hover functionality */
    @media (min-width: 993px) {
        nav ul.nav-links li.dropdown:hover > .dropdown-menu {
            display: flex;
        }
        nav ul.nav-links li.sub-dropdown:hover > .dropdown-menu {
            display: flex;
        }
    }

    /* Nav right */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .btn-pay img {
	height: 40px;
	vertical-align: middle;
	padding: 5px;
	background: #fff;
	border-radius: 8px;
}
    .hamburger-menu, .close-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 22px;
        color: #fff;
        cursor: pointer;
    }

    /* ===== Mobile ===== */
    @media(max-width: 992px) {
        .top-bar .tagline {
            display: none;
        }
        nav ul.nav-links {
            position: fixed;
            left: -280px;
            top: 0;
            height: 100%;
            width: 280px;
            background: #ff6f00;
            flex-direction: column;
            gap: 0;
            padding-top: 50px;
            transition: left 0.3s ease;
            overflow-y: auto;
            z-index: 1001;
        }
        nav ul.nav-links.active { left: 0; }
        nav ul.nav-links li a {
            padding: 15px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        /* Mobile main links still have underline */
         nav ul.nav-links > li > a {
            
            text-underline-offset: 5px;
         }

        /* Mobile dropdowns */
        .dropdown-menu {
            position: static;
            background: #e06200; /* Lighter orange for mobile submenus */
            box-shadow: none;
            border-radius: 0;
            min-width: 100%;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
            padding: 0;
        }
        .dropdown-menu.show { max-height: 1500px; }
        /* Remove underline from mobile dropdown items */
        .dropdown-menu li a {
            text-decoration: none;
        }
        .sub-dropdown .dropdown-menu a {
            padding-left: 40px;
            background-color: #ff6f00;
        }
        .hamburger-menu { display: block; }
        .close-menu-btn {
	display: block;
	position: absolute;
	top: -40px;
	right: 20px;
	font-size: 30px;
	z-index: 1002;
}
        nav ul.nav-links li.dropdown:hover > .dropdown-menu,
        nav ul.nav-links li.sub-dropdown:hover > .dropdown-menu {
            display: none;
        }
.container .tagline {
  display: block;
  order: 3;
}
.top-bar .container {
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  padding: 5px 0px;
}
    }



/* --- ================================== --- */
/* --- FOOTER SECTION (NEW GRID LAYOUT) --- */
/* --- ================================== --- */
.site-footer {
    background-color: #1a1a2e; /* Dark blue/purple background */
    color: #a9a9d0; /* Light, soft text color */
    padding: 60px 20px; /* Remove bottom padding */
    font-size: 14px;
    border-top: 1px solid #eee;
}

.site-footer a {
    color: #a9a9d0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: var(--primary-orange);
}

.site-footer .container {
    max-width: 1500px;
}

/* --- Combined Footer Grid --- */
/* This will contain both the initial widgets and the link lists */
.footer-top, .footer-links-grid {
    display: grid;
    /* Create a responsive grid that adjusts columns */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 30px;
    padding-bottom: 40px;
}

/* Remove the border between the two sections */
.footer-top {
    border-bottom: none;
}
.footer-links-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-widget .widget-title, .links-column h5 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
    background-color: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-widget p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}
.social-icons a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.links-widget ul, .links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.links-widget li, .links-column li {
    margin-bottom: 10px;
}
.links-column a {
    text-transform: capitalize;
}


.newsletter-form {
    display: flex;
    margin-top: 15px;
}
.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px 0 0 5px;
    color: var(--white);
    outline: none;
}
.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background-color: var(--primary-orange);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}


/* --- Sub-Footer --- */
.sub-footer {
	background-color: #111122;
	padding: 25px 0 60px 0px;
	text-align: center;
	color: #a9a9d0;
}
.sub-footer p {
    margin: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  width: 100%;
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(4,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}

@media only screen and (max-width:1024px){
    .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(2,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}
}

@media only screen and (max-width:768px){
    .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(1,1fr);
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(1,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}
}


/* --- ================================================ --- */
/* --- FLOATING CONTACT WIDGET (CORRECTED & FINAL)      --- */
/* --- ================================================ --- */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
}

.floating-contact-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact-widget li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: width 0.4s ease, border-radius 0.4s ease, background-color 0.3s ease;
    overflow: hidden;
}

.floating-contact-widget .whatsapp-float {
    background-color: #25D366;
}
.floating-contact-widget .whatsapp-float:hover {
    background-color: #128C7E;
}

/* The hover effect to expand the circle into a pill */
.floating-contact-widget li a:hover {
    width: 180px;
    border-radius: 30px;
    justify-content: flex-start; /* Aligns content to the left on hover */
}

/* Icon styling */
.floating-contact-widget li a i {
    font-size: 24px;
    text-align: center;
    margin-right: -16px;
}
.floating-contact-widget li a:hover i {
    font-size: 24px;
    text-align: center;
    margin-right: 10px !important;
    margin-left: 15px;
}

/* Text label styling (THE FIX IS HERE) */
.floating-contact-widget li a span {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    padding-right: 20px;

    /* --- FIX: HIDE TEXT BY DEFAULT --- */
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.2s ease;
}

/* --- FIX: REVEAL TEXT ON HOVER --- */
.floating-contact-widget li a:hover span {
    max-width: 120px; /* A value large enough to show the text */
    opacity: 1;
    transition-delay: 0.1s; /* Makes the animation smoother */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .floating-contact-widget {
        bottom: 20px;
        left: 20px;
    }
    .floating-contact-widget li a {
        width: 50px;
        height: 50px;
    }
    .floating-contact-widget li a i {
        font-size: 22px;
        width: 50px;
    }
    .floating-contact-widget li a:hover {
        width: 160px;
    }
     .floating-contact-widget li a span {
        font-size: 0.9rem;
    }
}



/* --- ================================== --- */
/* --- STICKY ENQUIRY BTN & POPUP (NEW) --- */
/* --- ================================== --- */

/* 1. The Sticky Button */
.sticky-enquiry-btn {
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: bottom right;
    
    background-color: #ff6f00;
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    z-index: 998;
    border-radius: 8px 8px 0 0;
    box-shadow: -5px -5px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sticky-enquiry-btn i {
    transform: rotate(90deg); /* Re-orient the icon */
}


/* Popup Overlay */
.sticky-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.sticky-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup Panel */
.sticky-popup-panel {
  background: #fff;
  border-radius: 12px;
  padding: 25px 22px;
  max-width: 440px; /* Smaller width to prevent overflow */
  width: 100%;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sticky-popup-overlay.active .sticky-popup-panel {
  transform: scale(1);
}

/* Close Button */
.sticky-popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  opacity: 0.7;
}

/* Headings */
.sticky-popup-panel h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 5px;
}
.sticky-popup-panel p {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Form Layout */
#sticky-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  margin-bottom: 4px;
  font-weight: 500;
  color: #333;
}

/* Input Styles */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 9px 10px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ff6f00;
  background: #fff;
  outline: none;
}

/* File Input (Compact) */
input[type="file"] {
    padding: 6px;
    background: #fff;
    font-size: 0.8rem;
    height: 100%;
}

/* Textarea */
#sticky-message {
  height: 70px;
  resize: none;
}

/* Button */
.btn-submit {
  background: #ff6f00;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 0;
  margin-top: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background: #e65f00;
}

/* Responsive: Single-column layout on mobile */
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }
  .sticky-popup-panel {
    max-width: 95%;
    padding: 20px;
  }
}





/* --- ================================================ --- */
/* --- UNIQUE BLOG POST BANNER SECTION                  --- */
/* --- ================================================ --- */
.blog-banner-section {
    /* Using the premium dark navy from your footer for a serious tone */
    background-color: #1a1a2e; 
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* This is crucial for the clip-path pane */
}

.blog-banner-section .container {
    position: relative;
    z-index: 2; /* Ensures text is above the image pane */
}

/* --- Text Content (Left Side) --- */
.banner-text-content {
    max-width: 80%; /* Prevents text from overlapping the image too much */
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #a9a9d0; /* Light text from your footer */
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumbs a:hover {
    color: var(--primary-orange);
}
.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}
.breadcrumbs .current {
    color: rgba(255, 255, 255, 0.7);
}

.post-title {
    font-size: 35px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.post-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #a9a9d0; /* Light text */
}

.post-metadata span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.post-metadata i {
    color: var(--primary-orange);
}

/* --- Slanted Image Pane (Right Side) --- */
.banner-image-pane {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%; /* Takes up just over half the screen */
    height: 100%;
    z-index: 1; /* Sits behind the container text */
    
    /* THE UNIQUE SLANT: This creates the diagonal cut */
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.banner-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Softens the image so it's not distracting */
    transition: opacity 0.3s ease;
}

.blog-banner-section:hover .banner-image-pane img {
    opacity: 0.6; /* Brings the image more into focus on hover */
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .banner-text-content {
        max-width: 100%; /* Allow text to use full width */
    }
    .banner-image-pane {
        width: 60%;
        opacity: 0.2; /* Fade it out more on smaller screens */
    }
}

@media (max-width: 768px) {
    .blog-banner-section {
        /* On mobile, remove bottom padding. The image will provide it. */
        padding: 60px 0 0 0;
    }
    
    .banner-text-content {
        text-align: center; /* Center text on mobile */
        padding-bottom: 40px; /* Space between text and image */
    }

    .post-metadata {
        justify-content: center; /* Center the metadata items */
        gap: 15px;
    }

    .banner-image-pane {
        position: relative; /* Un-pin the image */
        width: 100%;
        height: 250px;
        clip-path: none; /* Remove the slant */
    }

    .banner-image-pane img {
        opacity: 1; /* Make image fully visible */
    }
}





/* --- ================================================ --- */
/* --- BLOG BODY SECTION (SIDEBAR & CONTENT)            --- */
/* --- ================================================ --- */
.blog-body-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light BG */
}

.blog-body-grid {
    display: grid;
    grid-template-columns: 1fr 370px; /* Sidebar width and main content */
    gap: 20px;
    align-items: flex-start; /* Important for sticky sidebar */
}

/* --- Left Column: STICKY SIDEBAR --- */
.blog-sidebar {
    position: sticky;
    top: 120px; /* Adjust based on your sticky header's height */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-orange);
    display: inline-block;
}

.author-bio {
    text-align: center;
}
.author-bio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.author-bio h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.author-bio p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.category-list, .recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.category-list a, .recent-posts-list a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.category-list a:hover, .recent-posts-list a:hover {
    color: var(--primary-orange);
}
.recent-posts-list a {
    display: flex;
    align-items: center;
    gap: 15px;
}
.recent-posts-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.recent-posts-list span {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Right Column: MAIN BLOG CONTENT --- */
.blog-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.featured-content-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.blog-content h2, .blog-content h3 {
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark-text);
    scroll-margin-top: 120px; /* Prevents TOC links from hiding under sticky header */
}
.blog-content h2 { font-size: 1.8rem; }
.blog-content h3 { font-size: 1.5rem; }

/* Unique Intro Text with Drop Cap */
.intro-text::first-letter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-orange);
    float: left;
    margin-right: 15px;
    line-height: 0.8;
    margin-top: 10px;
}

/* Unique Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-orange);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}
.toc-title {
    margin-top: unset !important;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.table-of-contents ul {
    list-style: none;
    padding: 0; margin: 0;
    counter-reset: toc-counter;
}
.table-of-contents li {
    margin-bottom: 10px;
    counter-increment: toc-counter;
}
.table-of-contents li:last-child { margin-bottom: 0; }
.table-of-contents a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
}
.table-of-contents a::before {
    content: counter(toc-counter) ". ";
    color: var(--primary-orange);
    font-weight: 700;
}

/* Unique Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}
.column-image img {
    width: 100%;
    border-radius: 8px;
}
.column-text ul {
    margin-top: 15px;
    padding-left: 20px;
}

/* Unique Blockquote */
blockquote {
    margin: 40px 0;
    padding: 20px 20px 20px 50px;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-orange);
    background: #f8f9fa;
    position: relative;
}
blockquote::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(0, 90, 156, 0.1);
    position: absolute;
    top: 5px;
    left: 10px;
    line-height: 1;
}

/* Unique Key Takeaways Box */
.key-takeaways {
    background: rgba(245, 130, 32, 0.07);
    border-left: 4px solid var(--primary-orange);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}
.key-takeaways h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.key-takeaways h4 i { color: var(--primary-orange); }
.key-takeaways p { margin-bottom: 0; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .blog-body-grid {
        grid-template-columns: 1fr; /* Stack sidebar and content */
    }
    .blog-sidebar {
        position: static; /* Un-stick the sidebar */
        order: 2; /* Move sidebar below the content */
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr; /* Stack the inner 2-col layout */
    }
    .blog-content {
        padding: 25px;
    }
}





/* --- ================================================ --- */
/* --- RELATED POSTS SECTION (ASYMMETRICAL SPOTLIGHT)   --- */
/* --- ================================================ --- */
.related-posts-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
}
.related-posts-section .container {
	flex-direction: column;
}

.related-posts-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.related-posts-section .section-header h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.related-posts-section .section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* The Asymmetrical Grid */
.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Left column is 1.5x wider */
    gap: 30px;
    align-items: center; /* Make columns equal height */
    justify-content:center;
}

/* Left Column: Featured Post */
.featured-post-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns content overlay to the bottom */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
    min-height: 450px;
}

.featured-post-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.featured-post-card:hover img {
    transform: scale(1.05);
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
}

.category-tag {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.featured-post-card h3 {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.featured-post-card:hover h3 {
    color: var(--primary-orange);
}

.featured-post-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Right Column: Secondary Post Stack */
.secondary-posts-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.secondary-post-card {
    display: flex;
    gap: 20px;
    background-color: #2a2a3e; /* Lighter dark */
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.secondary-post-card:hover {
    transform: translateY(-5px);
    background-color: #3b3b5c;
}

.secondary-post-card img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.secondary-post-card .card-content h4 {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.secondary-post-card:hover .card-content h4 {
    color: var(--primary-orange);
}

.secondary-post-card .card-content span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: 1fr; /* Stack columns */
    }
}





/* --- ================================================ --- */
/* --- RELATED PAGES SECTION (CONTENT JOURNEY LAYOUT)   --- */
/* --- ================================================ --- */
.related-pages-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-pages-section .container {
    flex-direction: column;
}

/* Section Header */
.related-pages-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.related-pages-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.related-pages-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.related-pages-section .section-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* List */
.related-pages-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}

/* Vertical Line */
.related-pages-list::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 44px;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

/* Items */
.related-pages-list li {
    position: relative;
}

/* Item Inner */
.related-pages-list a {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 25px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.related-pages-list li:hover a {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Icon */
.page-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(245, 130, 32, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.related-pages-list li:hover .page-icon {
    transform: scale(1.1);
}

.page-icon i {
    font-size: 24px;
    color: var(--primary-orange);
}

/* Text */
.page-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-pages-list li:hover .page-info h4 {
    color: var(--primary-orange);
}

.page-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* =======================
    RESPONSIVE BREAKPOINTS
   ======================= */

/* Tablets */
@media (max-width: 992px) {
    .related-pages-list {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
    }

    .related-pages-list::before {
        left: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .related-pages-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-pages-list::before {
        display: none; /* Hide vertical line for mobile */
    }

    .related-pages-list a {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .page-info h4 {
        font-size: 1.1rem;
    }
    
    .page-icon {
        width: 50px;
        height: 50px;
    }

    .page-icon i {
        font-size: 20px;
    }
}



/* --- ==================================================== --- */
/* --- UNIQUE DARK FAQ SECTION V4 (GLASS ACCORDION)         --- */
/* --- ==================================================== --- */
.faq-section-v4 {
    padding: 80px 0;
    background-color: #1a1a2e;
    overflow: hidden; /* Ensures no weird overflows */
}

.faq-section-v4 .container {
	flex-direction: column;
}

.faq-section-v4 .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.faq-section-v4 .section-header h2 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-section-v4 .section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* --- Tab Navigation --- */
/* Wrapper for mobile horizontal scrolling */
.faq-tabs-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 10px; /* Space for scrollbar */
    margin-bottom: 30px;
}

/* Hide scrollbar visually */
.faq-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.faq-tabs-nav-v4 {
    display: flex;
    justify-content: center;
    gap: 15px;
    white-space: nowrap; /* Prevents tabs from wrapping */
    width: max-content; /* Allows the container to be wider than the screen */
    margin: 0 auto; /* Center the tabs on desktop */
}

.faq-tab-btn-v4 {
    padding: 10px 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid #2a2a3e;
    transition: all 0.3s ease;
}
.faq-tab-btn-v4:hover {
    color: var(--white);
    border-color: var(--primary-orange);
}
.faq-tab-btn-v4.active {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

/* --- Tab Panels & Accordion --- */
.faq-panels-container-v4 {
    max-width: 800px;
    margin: 0 auto;
}

.faq-tab-panel-v4 {
    display: none;
}
.faq-tab-panel-v4.active {
    display: block;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* The Glass Card Item */
.faq-item-v4 {
    background: rgba(42, 42, 62, 0.7); /* The "glass" background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden; /* Crucial for max-height animation */
    transition: background-color 0.3s ease;
}
.faq-item-v4:hover {
    background: rgba(59, 59, 92, 0.8);
}

.faq-question-v4 {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

/* The + / x icon */
.faq-question-v4::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}
.faq-item-v4.active .faq-question-v4::after {
    transform: rotate(45deg);
}

/* The Answer Panel */
.faq-answer-v4 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer-v4 p {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.faq-item-v4.active .faq-answer-v4 {
    max-height: 200px; /* Adjust if answers are very long */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .faq-section-v4 {
        padding: 60px 0;
    }
    /* On mobile, make tabs align left to feel more natural for scrolling */
    .faq-tabs-nav-v4 {
        justify-content: flex-start;
        margin: 0;
        padding: 0 15px; /* Add some padding to the sides */
    }
    .faq-panels-container-v4 {
        padding: 0 15px; /* Match padding */
    }
}




/* --- ================================================ --- */
/* --- NEW "FLOATING OVERLAP" CONTACT (LIGHT BG)        --- */
/* --- ================================================ --- */
.contact-overlap-section {
    padding: 80px 0;
    background-color: var(--bg-light); /* Light grey BG */
    overflow: hidden;
}

.contact-overlap-section .container {
    max-width: 1100px;
    flex-direction: column;
}

.contact-overlap-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.contact-overlap-section .section-header h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
}
.contact-overlap-section .section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* The Main Overlap Grid */
.contact-overlap-grid {
    display: grid;
    /* Asymmetrical: 2 parts form, 1 part info */
    grid-template-columns: 1.5fr 1fr; 
    align-items: center; /* Vertically centers the panels */
    position: relative;
}

/* Left Column: Form Panel */
.contact-form-panel-light {
    background: var(--white);
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 5; /* Sits behind the info panel */
}
.contact-form-panel-light h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
}
.form-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-form-panel-light .form-group {
    margin-bottom: 20px;
}
.contact-form-panel-light label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}
.contact-form-panel-light input,
.contact-form-panel-light select,
.contact-form-panel-light textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}
.contact-form-panel-light select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.contact-form-panel-light input:focus,
.contact-form-panel-light select:focus,
.contact-form-panel-light textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 111, 33, 0.1);
}
.contact-form-panel-light textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form-panel-light .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    border: navajowhite;
}

/* Right Column: Info Panel */
.contact-info-panel-dark {
    background-color: #1a1a2e;
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10; /* Sits on top */
    /* This creates the overlap */
    margin-left: 20px; 
}
.contact-info-panel-dark h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}
.contact-info-panel-dark > p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: rgba(245, 130, 32, 0.1);
    color: var(--primary-orange);
}
.info-text h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}
.info-text a, .info-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.info-text a:hover {
    color: var(--primary-orange);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-overlap-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 0;
    }
    .contact-info-panel-dark {
        margin-left: 0; /* Remove overlap */
        border-radius: 0 0 16px 16px;
    }
    .contact-form-panel-light {
        border-radius: 16px 16px 0 0;
    }
}
@media (max-width: 576px) {
    .contact-form-panel-light {
        padding: 30px 25px;
    }
    .form-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info-panel-dark {
        padding: 30px 25px;
    }
}




/* === Compact, Responsive Home Contact Form === */
#home-contact-form {
  max-width: 650px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

/* Two-column layout */
#home-contact-form .form-row-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

#home-contact-form .form-group {
  flex: 1;
  margin-bottom: 12px;
}

#home-contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-text);
}

/* Inputs, Selects, and Textarea */
#home-contact-form input,
#home-contact-form textarea,
#home-contact-form select {
  width: 100%;
  padding: 5px 6px;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#home-contact-form input:focus,
#home-contact-form textarea:focus,
#home-contact-form select:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 2px rgba(245, 111, 33, 0.15);
}

#home-contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- Dropdown Styling --- */
#home-contact-form select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  background-size: 16px;
  cursor: pointer;
}

#home-contact-form select option {
  color: #000;
  background: #fff;
}

/* --- Country Code + Phone --- */
.phone-flex {
  display: flex;
  gap: 6px;
}

#home-country-code {
  flex: 0 0 30%;
  text-align: center;
  padding: 5px;
}

#home-phone {
  flex: 1;
}

/* --- File Input Styled Like Other Fields --- */
.file-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: #666;
  font-size: 0.95rem;
  cursor: pointer;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  top: 0;
  left: 0;
}

.file-input-wrapper:hover {
  border-color: var(--primary-orange);
  background: #fafafa;
}

/* Placeholder text for file input */
.file-placeholder {
  pointer-events: none;
  flex: 1;
}

/* --- Button --- */
#home-contact-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  background-color: var(--primary-orange);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

#home-contact-form .btn-primary:hover {
  background-color: #f8702a;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  #home-contact-form .form-row-2 {
    flex-direction: column;
  }

  #home-country-code {
    flex: 0 0 35%;
  }

  .file-input-wrapper {
    font-size: 0.9rem;
  }
}