:root {
    --primary-color: #1C4125;
    --secondary-color: #68A79E;
    --text-color: #333333;
    --bg-light: #ffffff;
    --accent-color: #68A79E;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
    z-index: 999;
}

.nav-links>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links>li>a {
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-color);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    display: block;
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #444;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: #f9fdfc;
    color: var(--secondary-color);
    padding-left: 1.8rem;
}

.book-btn {
    display: inline-block;
    /* Keeping existing class for button */
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f9fdfc 0%, #eaf4f2 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(104, 167, 158, 0.1);
    border: 1px solid rgba(104, 167, 158, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 32px 0 rgba(104, 167, 158, 0.2);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Service Areas */
.service-areas {
    padding: 6rem 0;
    background-color: #fcfcfc;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-tag {
    background: #fff;
    border: 1px solid #eee;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 6rem 0 2rem;
    width: 100%;
}

footer .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 4rem;
    align-items: start;
    width: 100%;
}

@media (max-width: 1400px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-links li {
    margin-bottom: 0.8rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .book-btn {
        display: none;
        /* Hide primary book button from header on mobile, move to menu or footer */
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        border-top: 1px solid #f0f0f0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: 15px 0 30px rgba(0, 0, 0, 0.05);
        gap: 0;
        overflow-y: auto;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links>li {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-links>li>a {
        padding: 1.2rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    /* Mobile Dropdown styles */
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        background: #fcfcfc;
        display: none;
        border-left: 3px solid var(--secondary-color);
        margin: 0;
    }

    /* Override hover and hidden states when active */
    .nav-links li:hover .dropdown {
        display: none;
    }

    .nav-links li.active>.dropdown {
        display: block !important;
        margin-bottom: 1rem;
    }

    .dropdown li a {
        padding: 0.8rem 1.5rem;
        border: none;
        font-size: 1rem;
        color: #666;
    }

    .nav-links li.active>a i {
        transform: rotate(180deg);
    }

    .nav-links li>a i {
        transition: transform 0.3s ease;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* General Fixes for 2-column layouts found in inline styles */
    .content-section>.container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Fix for image boxes */
    .img-box {
        height: 300px !important;
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 2rem;
    }

    /* Fix for order in grids (text first, image second usually preferred on mobile) */
    .content-section>.container>div {
        display: flex !important;
        flex-direction: column;
    }

    .content-section .img-box {
        order: -1;
        /* Image first? or text first? User usually prefers image first or text first. Let's stack naturally. */
        width: 100%;
    }

    /* Adjust padding for sections */
    .content-section {
        padding: 4rem 0 !important;
    }

    /* Service Areas Sidebar */
    .service-grid {
        grid-template-columns: 1fr !important;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
    }
}

/* Responsive Grid Utility */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .grid-2-col>div {
        width: 100% !important;
    }

    /* Also ensure images stack nicely */
    .grid-2-col .img-box {
        margin-top: 2rem !important;
        margin-left: 0 !important;
        height: 300px !important;
    }
}

/* Sidebar Layout (2fr 1fr) */
.sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Testimonials Slider */
.testimonials-section {
    padding: 6rem 0;
    background: #fdfdfd;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 2rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    scroll-snap-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(104, 167, 158, 0.1);
}

.testimonial-content {
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Slider Controls */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonials-section {
        padding: 4rem 0;
    }
}