/*
=====================================
  1. GLOBAL RESET & VARIABLES
=====================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    /* Primary Brand Colors */
    --main-color: #ff5e3a;
    /* Vibrant Red-Orange */
    --accent-color: #ff8c6a;
    /* Lighter Accent/Secondary */

    /* Background & Text Colors */
    --dark-color: #121212;
    /* Deep Black for Footer/Text */
    --light-bg: #f5f5f5;
    /* Off-White for body/sections */
    --white: #fff;
    --gray: #999;
    --text-dark: #222;
    /* Dark text for light backgrounds */

    /* Transitions (Faster/Snappier for better UX) */
    --transition: all 0.25s ease;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    background: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Make media elements responsive by default */
img,
video,
svg,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

/* Base link styling */
a {
    color: inherit;
}

/* Base button style (for general use) */
.btn {
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

main {
    padding-top: 0;
    /* Spacing below fixed header is handled by .spacer sections */
}


/* ======================================= */
/* 2. HEADER & NAVIGATION */
/* ======================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 10%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: none;
}

.btn,
.sidebar-link {
    touch-action: manipulation;
    min-height: 44px;
    /* Better tap area for mobile users */
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 3px solid var(--main-color);
    object-fit: cover;
}

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

.navbar {
    display: flex;
    gap: 30px;
}

.navbar a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

/* Underline effect */
.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--main-color);
    transition: all 0.3s ease-out;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.nav-btn {
    color: var(--main-color);
    border: 2px solid var(--main-color);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 15px;
}

.nav-btn:hover {
    background: var(--main-color);
    color: var(--dark-color);
}

/* ======================================= */
/* 2.5. SLIDE-OUT SIDEBAR STYLING (NEW & CREATIVE) */
/* ======================================= */
.menu-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--white);
    background: var(--main-color);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
    z-index: 1500;
    /* Highest Z-index to always be on top */
    transition: var(--transition);
    display: none;
    /* hidden on desktop */
}

.menu-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--accent-color);
    box-shadow: 0 6px 20px rgba(255, 94, 58, 0.5);
}

/* Sidebar structure: Hidden by default */
.sidebar-slide {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    /* Wider for bolder look */
    height: 100%;
    background: var(--dark-color);
    /* Dark, bold background */
    transform: translateX(-100%);
    /* Start completely off-screen */
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    /* Creative, snappy animation */
    z-index: 1200;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.7);
}

/* Active state: Slides into view (Controlled by JavaScript) */
.sidebar-slide.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header .logo {
    font-size: 2rem;
    font-weight: 900;
}

.sidebar-header i {
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-header i:hover {
    color: var(--main-color);
    transform: rotate(90deg);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 18px 10px;
    /* More vertical padding for bold look */
    color: var(--white);
    text-decoration: none;
    font-size: 1.15rem;
    /* Larger font */
    font-weight: 700;
    /* Bolder text */
    transition: var(--transition);
    border-radius: 8px;
    margin: 5px 0;
    touch-action: manipulation;
    min-height: 44px;
}

.sidebar-link i {
    font-size: 1.4rem;
    margin-right: 15px;
    color: var(--accent-color);
    width: 25px;
    text-align: center;
}

/* Hover and Active State */
.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--main-color);
}

/* Active Link (Highlight the current page) */
.sidebar-link.active {
    background: var(--main-color);
    color: var(--dark-color);
    /* Dark text on main-color background */
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.4);
}

.sidebar-link.active i {
    color: var(--dark-color);
}

/* Call-to-Action Button */
.sidebar-cta {
    text-align: center;
    padding: 18px 20px;
    margin-top: 50px;
    /* Push it down */
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.sidebar-cta:hover {
    background: var(--main-color);
    transform: scale(1.02);
}

.sidebar-cta i {
    margin-right: 10px;
}

/* ======================================= */
/* 3. HOME & HERO SECTION (Full Page Cover) - Padding Reset */
/* ======================================= */
@media (max-width: 600px) {
    .home {
        background-position: center top;
    }
}

.home {
    /* CRITICAL: Full Viewport Height */
    width: 100%;
    height: 100vh;
    min-height: 600px;

    background: url('hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    /* Padding is now standard since sidebar is hidden by default */
    padding: 100px 10% 50px;
}

.home::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 35%, rgba(0, 0, 0, 0.3));
    z-index: 0;
}

.home-text {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
    animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-text h4 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.home-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.home-text h1 span {
    color: var(--main-color);
}

.home-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.btn.hero-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(145deg, var(--main-color), var(--accent-color));
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(255, 94, 58, 0.6);
}

.btn.hero-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 94, 58, 0.9);
}

/* ======================================= */
/* 4. SECTION BASE & HEADINGS - Parallax Effect */
/* ======================================= */
@media (max-width: 768px) {
    .sidebar-slide {
        width: 80%;
    }
}

/* Reveal the menu toggle on tablets/phones */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
}

/* Improve hero scaling and background behavior on small screens */
@media (max-width: 900px) {
    .home {
        min-height: 480px;
        padding: 80px 5% 40px;
        justify-content: center;
        text-align: center;
    }

    .home::before {
        /* Avoid fixed background on mobile for performance */
        background-attachment: scroll;
    }

    .home-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .home {
        min-height: 420px;
        padding: 60px 4% 30px;
    }

    .home-text h1 {
        font-size: 2.25rem;
    }

    /* Reduce heavy parallax and fixed attachments on small devices */
    section::before,
    .core-values,
    .about,
    .review {
        background-attachment: scroll;
        transform: none;
        filter: none;
    }
}

section {
    /* Padding is now standard since sidebar is hidden by default */
    padding: 0px 10%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1500px;
}

section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    /* Use fixed attachment for better parallax effect */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('section-bg.jpg') center fixed no-repeat;
    background-size: cover;
    z-index: -1;
    /* Adjusted Z translation for a more pronounced parallax/depth */
    transform: translateZ(-100px) scale(1.2);
    filter: blur(3px);
}

/* Specific section overrides for non-parallax backgrounds */
.core-values,
.about,
.services,
.plans,
.review {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Spacer utility: creates vertical space below fixed header without any overlay */
.spacer {
    height: 100px;
    padding-left: 10%;
    padding-right: 10%;
    background: var(--dark-color);
}

.spacer::before {
    display: none;
}

@media (max-width: 600px) {
    .spacer {
        height: 80px;
    }
}

main {
    padding-top: 0;
}

.main-text {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.main-text h2 {
    font-size: 3rem;
    color: var(--white);
    /* Ensure heading is white across dark sections */
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: capitalize;
}

.main-text h2 strong {
    color: var(--main-color);
}

.main-text p {
    color: #ddd;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======================================= */
/* 5. CORE VALUES SECTION (Dark Theme Unified) */
/* ======================================= */
.core-values {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('hero-bg.jpg') center/cover no-repeat fixed;
    color: var(--white);
    padding: 120px 10%;
    position: relative;
}

.core-values .main-text h2 {
    color: var(--white);
}

.core-values .main-text p {
    color: #ddd;
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.value-box {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Optional: Subtle definition for the box itself */
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
}

.value-box hr {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.value-img {
    flex: 1;
    min-width: 300px;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.value-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.value-text {
    flex: 1;
    max-width: 550px;
}

.value-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 15px;
}

.value-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ccc;
}

.value-text ul {
    margin-bottom: 25px;
}

.value-text ul li {
    font-size: 1rem;
    line-height: 2;
    color: #fff;
    font-weight: 500;
}

.value-text ul li i {
    color: var(--main-color);
    margin-right: 8px;
}

/* Reversing the layout for the second box */
.value-box.image-first {
    flex-direction: row-reverse;
}

/* ======================================= */
/* 6. SERVICES SECTION */
/* ======================================= */
.services {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-content .box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    color: var(--white);
    border-radius: 18px;
    text-align: center;
    padding: 45px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateZ(0);
    transition: var(--transition);
}

.service-content .box:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(255, 94, 58, 0.3);
    border-color: var(--main-color);
}

.service-content .box i {
    font-size: 3.2rem;
    color: var(--main-color);
    margin-bottom: 20px;
}

.service-content .box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
}

.service-content .box p {
    color: #ccc;
    line-height: 1.7;
}

/* ======================================= */
/* 7. ABOUT SECTION */
/* ======================================= */
.about {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    background: url('aboutusmain.png') center fixed no-repeat;
    background-size: cover;
    color: #fff;
    padding-top: 120px;
    padding-bottom: 80px;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.aboutback {
    width: 100%;

}

.about-img {
    flex: 1 1 450px;
    min-height: 450px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-text {
    flex: 1 1 450px;
    position: relative;
    z-index: 1;
}

.about-text h1 {
    color: var(--main-color);
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2rem;
    color: #c5c5c5;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-text ul li {
    margin-bottom: 12px;
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
}

.about-text ul li i {
    color: var(--main-color);
    margin-right: 10px;
}

/* ======================================= */
/* 8. PLANS SECTION (Pricing) */
/* ======================================= */
.plans {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.plans::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.plan-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    text-align: center;
    padding: 40px 30px;
    color: var(--white);
    transform: translateZ(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(255, 94, 58, 0.4);
    border-color: var(--accent-color);
}

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

.card .price {
    font-size: 3.2rem;
    color: var(--main-color);
    font-weight: 900;
    margin-bottom: 20px;
}

.card .price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.card ul {
    text-align: left;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.card ul li {
    margin: 12px 0;
    color: #ddd;
    font-size: 1.05rem;
}

.card ul li i {
    color: var(--main-color);
    margin-right: 10px;
}

.plan-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--main-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
}

.plan-btn:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.card.popular {
    transform: scale(1.07);
    border: 4px solid var(--main-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(255, 94, 58, 0.6);
}

.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background: var(--main-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ======================================= */
/* 9. REVIEWS SECTION (Testimonials) */
/* ======================================= */
.review {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('hero-bg.jpg') center/cover no-repeat fixed;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.review::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.review-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.review-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px;
    max-width: 450px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #fff;
    transition: var(--transition);
}

.review-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.review-box i {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 15px;
}

.review-box p {
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.review-box .rating {
    color: gold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-box h3 {
    font-size: 1.2rem;
    color: var(--main-color);
    text-align: right;
    font-weight: 700;
}

/* ======================================= */
/* 10. FOOTER & COPYRIGHT */
/* ======================================= */
.footer {
    background: var(--dark-color);
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 70px 10% 30px;
}

.footer .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    margin-bottom: 20px;
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-box .logo {
    margin-bottom: 20px;
}

.footer-box p {
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-box ul li a {
    color: #aaa;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-box ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #333;
    text-align: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 12px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--main-color);
    transform: translateY(-3px) scale(1.1);
}

.copyright {
    background: #0b0b0b;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ======================================= */
/* 11. RESPONSIVE DESIGN */
/* ======================================= */
@media (max-width: 1200px) {

    header,
    section,
    .footer,
    .copyright {
        padding-left: 5%;
        padding-right: 5%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {

    /* Show hamburger menu on tablets and phones */
    .menu-toggle {
        display: block;
    }

    /* Hide desktop navbar on tablets and phones */
    .navbar {
        display: none;
    }

    .home-text h1 {
        font-size: 3.5rem;
    }

    .about,
    .core-values {
        flex-direction: column;
        gap: 40px;
    }

    .about-img,
    .about-text {
        flex-basis: 100%;
    }

    /* Responsive changes for the Core Values section */
    .value-box,
    .value-box.image-first {
        flex-direction: column;
        text-align: center;
    }

    .value-img {
        width: 100%;
        height: 300px;
        max-width: 500px;
    }

    .value-text {
        text-align: center;
    }

    .value-text ul {
        text-align: left;
        display: inline-block;
    }

    /* Plans section responsive on tablets */
    .plan-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }

    .card {
        padding: 35px 25px;
    }

    .card.popular {
        transform: scale(1.04);
    }

}

@media (max-width: 600px) {
    header {
        padding: 12px 5%;
    }

    /* Hide top navbar links on smaller screens */
    .navbar {
        display: none;
    }

    .home {
        padding: 100px 5% 50px;
        justify-content: center;
        text-align: center;
    }

    .home-text {
        max-width: 100%;
    }

    .home-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    /* Hide the top-right CTA to avoid overlap with the hamburger on very small screens */
    .nav-btn {
        display: none;
    }

    .home-text p {
        font-size: 1rem;
        text-align: center;
    }

    .home::before {
        background: rgba(0, 0, 0, 0.85);
    }

    .sidebar-slide {
        width: 100%;
        max-width: 360px;
    }

    .menu-toggle {
        right: 12px;
    }

    /* Adjust section padding for mobile */

    .main-text h2 {
        font-size: 2rem;
    }

    .about-img {
        min-height: 300px;
    }

    .footer {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    /* Optimize hero section scaling on small screens */
    .home {
        background-position: center top;
    }

    /* Ensure smooth full-width sidebar for small phones */
    .sidebar-slide {
        width: 100%;
        max-width: 360px;
    }

    /* Plans section fully responsive on mobile */
    .plan-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        padding: 30px 20px;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .card .price {
        font-size: 2.5rem;
    }

    .card ul li {
        font-size: 0.95rem;
    }

    .card.popular {
        transform: scale(1);
    }

    .best-value {
        font-size: 0.85rem;
        padding: 5px 15px;
    }

}

/* ========================= */
/* CONTACT PAGE STYLES */
/* ========================= */

.contact-hero {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px;

}

.contact-section {
    background: var(--dark-color);
    color: var(--white);
    padding: 100px 10%;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #ccc;
}

.contact-info p i {
    color: var(--main-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-form {
    flex: 1.2;
    min-width: 320px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);

}

.contact-form .input-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.map {
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive layout */
@media (max-width: 900px) {
    .contact-section {
        padding: 80px 5%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 100%;
    }

    .contact-hero {
        height: 50vh;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 60px 5%;
    }

    .contact-form {
        padding: 25px 20px;
        min-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .contact-form .input-group {
        flex-direction: column;
        gap: 0;
    }

    .main-text h2 {
        font-size: 2rem;
    }

    .main-text p {
        font-size: 1rem;
    }
}