:root {
    --primary: #EFB90A;
    --primary-dark: #D6A309;
    --primary-light: #F8D34D;
    --primary-extra-light: #FDF1C9;
    --dark: #1A1A1A;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --success: #28A745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* === GUIDING NOTE: CHANGE 1 of 4 === */
/* This new rule prevents the page from scrolling in the background when the mobile menu is active. */
body.mobile-menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--dark);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 26, 26, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    text-decoration: none;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.logo-text span {
    color: var(--white);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.auth-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.login-btn {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.register-btn {
    background: var(--primary);
    color: var(--dark);
    border: 1px solid var(--primary);
}

.register-btn:hover {
    background: var(--primary-dark);
}

.mobile-menu {
    display: block;
    /* We now control visibility with opacity and visibility */
    position: fixed;
    /* Remove the hardcoded 'top' value. JS will handle it. */
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;

    /* Animation setup */
    transform: translateY(-100%);
    /* Start fully hidden above */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    /* Slide down to its correct position */
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.mobile-auth-buttons {
    display: none;
    margin-top: 20px;
    gap: 10px;
    flex-direction: column;
}

.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url('/assets/images/main.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 185, 10, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--dark);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 650px;
    margin: 15px auto 0;
    /* Standard spacing, no negative margins */
    line-height: 1.6;
    font-weight: 400;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.features {
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-card p {
    color: var(--medium-gray);
}

.stats {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('/assets/images/stats.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta {
    background-color: var(--primary-extra-light);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--medium-gray);
}

footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p,
.footer-column a {
    color: var(--light-gray);
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.faq-more-btn {
    display: block;
    margin: 40px auto 0;
    text-align: center;
    max-width: 200px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* --- NEW CSS FOR ADDED SECTIONS --- */

/* Service Partners Banner */
.service-partners {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
}

.partners-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

.partner-item {
    text-align: center;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s;
    text-decoration: none;
}

.partner-item:hover {
    opacity: 1;
}

.partner-item i {
    font-size: 2.5rem;
}

.partner-item img {
    height: 40px;
    filter: grayscale(100%) brightness(3);
    /* Makes logos appear white */
    transition: filter 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0) brightness(1);
    /* Reveal color on hover */
}

.partner-item span {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

/* =================================================================== */
/* === DYNAMIC TESTIMONIAL CAROUSEL STYLES (CORRECTED) === */
/* =================================================================== */

.testimonials {
    background-color: var(--primary-extra-light);
    position: relative;
    padding-top: 100px;
    padding-bottom: 120px;
    overflow: hidden;
    /* Prevent horizontal scrollbar during slide transition */
}

/* **FIX 4: Target the ID from the HTML** */
#testimonial-swiper.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* 
  ===================================================================
   ====> ADD THIS BLOCK <====
   This is the key fix. It forces the slides into a horizontal row.
   =================================================================== 
*/
.swiper-wrapper {
    display: flex;
    align-items: stretch;
    /* This ensures all slides have the same height */
}

.swiper-slide {
    display: flex;
    /* Helps with centering */
    justify-content: center;
    align-items: center;
    height: auto;
    /* Allow the slide to grow with the card inside */
    /* Let Swiper's slidesPerView control the width */
}

.testimonial-card {
    /* ... rest of your testimonial-card CSS ... */
    display: flex;
    /* This was already in your code, which is good! */
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    /* Make the card fill the slide for better alignment */
    min-height: 320px;
}

.swiper-slide {
    display: flex;
    /* Helps with centering */
    justify-content: center;
    align-items: center;
    /* Let Swiper's slidesPerView control the width */
}

.testimonial-card {
    width: 350px;
    /* Give the card a fixed width */
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-header {
    margin-top: -80px;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.testimonial-avatar-svg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: middle;
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
}

.testimonial-text::before,
.testimonial-text::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 1rem;
    position: absolute;
}

.testimonial-text::before {
    content: '\f10d';
    top: 0;
    left: -5px;
}

.testimonial-text::after {
    content: '\f10e';
    bottom: 0;
    right: -5px;
}

.testimonial-author {
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.testimonial-author span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 5px;
}

.testimonial-rating {
    margin-top: 15px;
    color: var(--primary);
}

/* Swiper navigation buttons (arrows) */
.swiper-button-next,
.swiper-button-prev {
    color: var(--dark-gray);
    transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--primary);
}

/* Ensure non-active slides are slightly faded for effect */
.swiper-slide {
    transition: opacity 0.4s;
}

.swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.blog-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.blog-card-content h3 a {
    text-decoration: none;
    color: var(--dark-gray);
    transition: color 0.3s;
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--medium-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: auto;
}

.blog-more-btn {
    display: block;
    margin: 40px auto 0;
    text-align: center;
    max-width: 200px;
}


/* =================================================================== */
/* === BLOG & SINGLE POST PAGE STYLES === */
/* =================================================================== */

/* --- General Styles for Top Page Headers (e.g., on blog pages) --- */
.page-header {
    background: linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.75)), url('/assets/images/stats.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 90px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 15px auto 0;
    opacity: 0.9;
    font-weight: 300;
}

/* --- Container for Blog Content --- */
.blog-container {
    padding: 100px 0;
}


/* =================================================================== */
/* === SINGLE POST PAGE (blog.php) SPECIFIC STYLES === */
/* =================================================================== */

/* --- Two-Column Layout: Main Content + Sidebar --- */
.single-post-container {
    display: flex;
    gap: 50px;
    /* Space between content and sidebar */
}

.post-content {
    flex: 3;
    /* Takes up 3/4 of the space */
    min-width: 0;
    /* Prevents flexbox overflow issues */
}

.post-sidebar {
    flex: 1;
    /* Takes up 1/4 of the space */
    min-width: 300px;
    /* Prevents sidebar from getting too narrow */
}

/* --- Styling the Main Article Content --- */
.post-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--dark-gray);
}

.post-meta {
    margin-bottom: 30px;
    color: var(--medium-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 25px;
}

.post-meta span i {
    color: var(--primary);
    margin-right: 8px;
}

.featured-image-container {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
    /* Removes bottom space under image */
}

/* --- Styling for the text that comes from the database editor --- */
.post-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    font-family: 'Orbitron', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark);
}

.post-body h2 {
    font-size: 2rem;
}

.post-body h3 {
    font-size: 1.6rem;
}

.post-body a {
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.post-body a:hover {
    color: var(--primary);
}

.post-body ul,
.post-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background-color: var(--primary-extra-light);
    border-left: 5px solid var(--primary);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}


/* =================================================================== */
/* === SIDEBAR STYLES === */
/* =================================================================== */

.sidebar-widget {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--dark-gray);
}

/* Styling for the Recent Posts list */
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 0;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    display: block;
    padding: 12px 5px;
    border-bottom: 1px solid #d1d1d1;
    transition: all 0.3s ease;
}

.sidebar-widget ul li:last-child a {
    border-bottom: none;
}

.sidebar-widget ul li a:hover {
    color: var(--primary);
    background-color: #e0e0e0;
    padding-left: 15px;
}

/* Styling for the social share icons in the sidebar */
.sidebar-widget .social-links {
    justify-content: flex-start;
    gap: 20px;
}

.sidebar-widget .social-links a {
    color: var(--dark-gray);
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-widget .social-links a:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}


/* =================================================================== */
/* === FLOATING WHATSAPP BUTTON === */
/* =================================================================== */

.whatsapp-float {
    position: fixed;
    /* Stays in the same place on the screen even when scrolling */
    width: 60px;
    height: 60px;
    bottom: 40px;
    /* 40px from the bottom */
    right: 35px;
    /* 40px from the right */
    background-color: #25D366;
    /* Official WhatsApp green */
    color: #FFF;
    /* White icon */
    border-radius: 45px;
    /* Makes it a circle */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    /* Adds a subtle drop shadow */
    z-index: 100;
    /* Ensures it's on top of other content */
    transition: transform 0.3s ease;
    /* Smooth hover effect */
}

/* Add a slight zoom effect when the user hovers over the button */
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Vertically center the icon inside the circle */
.whatsapp-float i {
    margin-top: 15px;
}



/* =================================================================== */
/* === UX-FOCUSED, MODERN CONTACT FORM SECTION STYLES === */
/* =================================================================== */

.contact-section {
    background-color: #f4f7f6;
    /* A softer, more modern light grey */
    padding: 100px 0;
}

/* This is the main card that holds everything */
.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    /* Softer, more modern corners */
    box-shadow: 0 20px 50px -10px rgba(42, 64, 84, 0.15);
    display: flex;
    overflow: hidden;
    /* Keeps children within the rounded corners */
}

/* --- Left Side: The "Branding" and Info Panel --- */
.contact-info {
    flex-basis: 40%;
    /* A rich gradient background for a premium feel */
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    color: #e0e0e0;
    /* A softer white */
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 2rem;
    /* Larger and more impactful */
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info p.intro-text {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 40px;
    flex-grow: 1;
    /* Pushes the social links to the bottom */
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    font-size: 1rem;
    font-weight: 500;
}

.contact-info .info-item i {
    color: var(--primary);
    font-size: 1.4rem;
    width: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-info .info-item:hover i {
    transform: scale(1.2);
}

.contact-info .info-item a {
    color: #e0e0e0;
    text-decoration: none;
    position: relative;
}

/* Underline effect on hover */
.contact-info .info-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.contact-info .info-item a:hover::after {
    width: 100%;
}

/* --- Right Side: The Interactive Form --- */
.contact-form-wrapper {
    flex-basis: 60%;
    padding: 60px 50px;
}

.contact-form-wrapper h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 35px;
}

/* Grouping input field with an icon */
.contact-form .input-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form .input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: color 0.3s;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 15px 15px 55px;
    /* Left padding for the icon */
    border: 2px solid #e9e9e9;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
}

/* Interaction: Change icon color and border on focus */
.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.contact-form .form-control:focus+i {
    color: var(--primary);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
    padding: 15px 20px;
    /* No icon in textarea */
}

/* The captcha now feels more integrated */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background-color: #f4f7f6;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.captcha-group label {
    font-weight: 700;
    color: var(--dark-gray);
}

.captcha-group .form-control {
    width: 100px;
    padding-left: 15px;
    /* No icon */
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    border-width: 2px;
}

/* --- Submit Button --- */
.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(239, 185, 10, 0.3);
}

/* --- Form Success/Error Message Styling --- */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
}

.form-message.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}

.form-message.error {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

/* === GUIDING NOTE: CHANGE 2 of 4 === */
/* I am adding the new animated icon styles here, outside of any media query. */
/* This will define the button and its animation, and hide it by default on desktops. */
.mobile-menu-btn {
    display: none; /* This is the fix for the icon showing on laptops. */
    position: relative;
    z-index: 1002;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn .bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-btn.active .bar1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar2 {
    opacity: 0;
}

.mobile-menu-btn.active .bar3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text,
    .about-image {
        flex: none;
        width: 100%;
    }
    .about-image {
        margin-top: 30px;
        order: -1;
    }
    .auth-buttons {
        margin-left: 10px;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .feature-card {
        padding: 30px 20px;
    }
    /* Styles from blog responsive section */
    .single-post-container {
        flex-direction: column;
    }
    .post-sidebar {
        min-width: 100%;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    /* === GUIDING NOTE: CHANGE 3 of 4 === */
    /* This original rule is now what correctly shows our new animated button on mobile. */
    /* The duplicate rule that was here has been removed to avoid confusion. */
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu {
        display: block;
    }
    .mobile-auth-buttons {
        display: flex;
    }
    .auth-buttons {
        display: none;
    }
    .hero {
        min-height: 600px;
        padding-top: 70px;
    }
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 0;
    }
    .section {
        padding: 70px 0;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .stats {
        padding: 60px 0;
    }
    .stat-item h3 {
        font-size: 3rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .service-partners {
        padding: 10px 0;
    }
    .partner-item i {
        font-size: 2rem;
    }
    .partner-item img {
        height: 30px;
    }
    /* Styles from blog responsive section */
    .page-header {
        padding: 140px 0 70px 0;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .page-header p {
        font-size: 1rem;
    }
    .blog-container {
        padding: 70px 0;
    }
    .post-content h1 {
        font-size: 2.2rem;
    }
}

/* === GUIDING NOTE: CHANGE 4 of 4 === */
/* I am adding this media query from your original code that was previously missed. It is untouched. */
@media (max-width: 767px) {
    #testimonial-swiper.swiper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 20px;
    }
    .hero {
        min-height: 500px;
    }
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .about-text h3 {
        font-size: 1.5rem;
    }
    .stat-item h3 {
        font-size: 2.5rem;
    }
    .stat-item p {
        font-size: 1rem;
    }
    .feature-card h3 {
        font-size: 1.3rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Styles from blog responsive section */
    .post-content h1 {
        font-size: 1.8rem;
    }
    .post-body {
        font-size: 1rem;
    }
    /* Styles from contact responsive section */
    .contact-info,
    .contact-form-wrapper {
        padding: 40px 25px;
    }
    .contact-info h3,
    .contact-form-wrapper h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .logo-text {
        font-size: 18px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}





/* =========================================
   FOOTER CONTACT INFO ALIGNMENT FIX
============================================ */
.footer-column .contact-item {
  display: flex; /* Aligns icon and text in a row */
  align-items: flex-start; /* Aligns to the top if text wraps */
  margin-bottom: 12px; /* Space between each contact line */
  line-height: 1.5; /* Improves readability */
}

/* We target the icon directly inside our new container */
.footer-column .contact-item i {
  margin-right: 12px; /* Space between icon and text */
  margin-top: 4px;    /* Pushes icon down slightly for better visual alignment */
  width: 16px;        /* Gives all icons a consistent width */
  text-align: center; /* Centers the icon in its space */
  flex-shrink: 0;     /* Prevents icon from shrinking on small screens */
}

/* This overrides the old "display: block" rule specifically for links inside our new item */
.footer-column .contact-item a,
.footer-column .contact-item span {
    display: inline; /* Allows the link/text to sit next to the icon */
    margin-bottom: 0; /* Resets the old margin */
}


/* =================================================================== */
/* === STYLES FOR PRICING PAGE === */
/* =================================================================== */

.pricing-hero {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('/assets/images/price.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
        
.pricing-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.pricing-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.pricing-section {
    padding: 80px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card-header {
    background-color: var(--primary);
    color: var(--dark);
    padding: 25px;
    text-align: center;
}

.pricing-card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Makes body grow to fill space */
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item strong {
    color: var(--dark-gray);
}

.price-item span {
    font-weight: 600;
    color: var(--primary-dark);
    text-align: right;
}

.price-note {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 10px;
    font-style: italic;
}

.highlight-box {
    background-color: var(--primary-extra-light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.pricing-card .btn {
    margin-top: auto; /* Pushes button to the bottom */
}


/* =================================================================== */
/* === STYLES FOR FAQS PAGE === */
/* =================================================================== */

.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: var(--primary-extra-light);
}

.faq-question.active {
    background-color: var(--primary);
    color: var(--dark);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    padding-right: 20px;
}

.faq-answer p {
    margin-bottom: 25px;
}
.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer ul {
    margin: 25px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.price-highlight {
    font-weight: 700;
    color: var(--primary-dark);
}


/* =================================================================== */
/* === RESPONSIVE STYLES FOR NEW SECTIONS === */
/* =================================================================== */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
}
        
@media (max-width: 576px) {
    .pricing-hero {
        padding: 100px 0 60px;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-item span {
        margin-top: 5px;
        text-align: left;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* =================================================================== */
/* === FIX: Section Title Underline Spacing === */
/* =================================================================== */

/*
  This targets any h2 inside a .section-title.
  Adding padding-bottom creates space BELOW the text but INSIDE the h2's
  box, giving the absolute-positioned yellow line a place to live
  that is independent of the paragraph below it.
*/
.section-title h2 {
    padding-bottom: 5px; /* Adjust this value if you want more/less space */
}

/* 
  We can slightly reduce the top margin on the paragraph now,
  as the h2's padding is creating most of the needed space.
  This makes the total spacing more consistent.
*/
.section-title p {
    margin-top: 15px;
}