/* ==========================================================================
   Global Variables & Base Styles
   ========================================================================== */
:root {
    --deep-teal: #0B3B46;
    --teal: #2F6D78;
    --light-teal: #8FB3BA;
    --white: #ffffff;
    --muted: #6e7a7c;
    --radius: 12px;
    --max-width: 1100px;
    --container-pad: 24px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--white), #fbfcfc);
    color: var(--deep-teal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    font-size: 16px;
}

/* ==========================================================================
   Layout & Typography
   ========================================================================== */
.container {
    width: calc(100% - (var(--container-pad) * 2));
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-pad) 0;
}

.section {
    padding: 40px 0;
    background: transparent;
}

.grid {
    display: grid;
    gap: 12px;
}

.lead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1rem;
}

.muted {
    color: var(--muted);
}

body, .muted{
    color: #334155;
}

h1, h2, h3, h4, a, .logo {
    color: var(--deep-teal);
}

.small-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 12px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(11, 59, 70, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.brand .logo {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--deep-teal);
    letter-spacing: -0.2px;
}

.brand .logo-accent {
    color: var(--teal);
}

.tag {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav a {
    color: var(--deep-teal);
    text-decoration: none;
    font-weight: 600;
    padding: 8px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav a:hover::after{
    width: calc(100% + 16px);                           /* Makes the underline slightly shorter than the text */
}


/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 600;
    background: transparent;
    text-decoration: none;
}

.btn, .cta{
    transition: transform 0.15s ease-out, background-color 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-in-out;
}

.btn:hover, .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(11, 59, 70, 0.1);
}

.btn-primary {
    background: var(--deep-teal);
    color: var(--white);
    border-color: var(--deep-teal);
}
.btn-primary:hover {
    background: var(--teal);
    border-color: var(--deep-teal);
}

.btn-outline {
    border-color: var(--deep-teal);
    color: var(--deep-teal);
    background: transparent;
}

.cta {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.cta:hover {
    background: var(--teal);
}

.link-more {
    background: none;
    border: none;
    color: var(--teal);
    cursor: pointer;
    padding: 6px;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--light-teal) 0%, rgba(143, 179, 186, 0.08) 100%);
    border-radius: 0 0 20px 20px;
}

.hero-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.hero-copy {
    flex: 1;
}

.hero-copy h2 {
    margin: 0 0 12px;
    font-size: 2rem;
    color: var(--deep-teal);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-media img {
    max-width: 320px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: opacity 0.1s ease-in-out;
}

/* ==========================================================================
   Cards (Services & Pricing)
   ========================================================================== */
.services-grid,
.pricing-grid {
    /* Flex for horizontal scrolling */
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 18px;
    padding-bottom: 1rem;                                           /* Space for focus ring/shadows */
}

/* Service Card*/
.card {                 
    background: linear-gradient(180deg, var(--light-teal), #deffff, var(--white));
    padding: 18px;
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(11, 59, 70, 0.06);
    /* Ensures cards don't shrink */
    flex: 0 0 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card {
    background: linear-gradient(180deg, var(--light-teal), #deffff, var(--white));
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(11, 59, 70, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* MODIFIED: Ensures cards don't shrink */
    flex: 0 0 280px;
    max-width: 280px;
    height: 400px;                                                      /* Fixed height for uniformity */
    justify-content: space-between;                                     /* Distributes space evenly */
}

/* Price highlight inside pricing cards */
.price-card .price{
    display: inline-block;
    white-space: nowrap;                                                    /* ✅ Prevents breaking into two lines */
    background: radial-gradient(180deg, var(--muted), var(--deep-teal));
    border: 2px solid #e2e6f0;
    padding: 4px 16px;
    border-radius: 64px;
    font-weight: 700;
    font-size: 1.2rem;                                                                  /* Default font size (desktop) */
    color: #2c3e50;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 5px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;                                                    /* ✅ Ensure it doesn’t overflow the card */
    text-overflow: ellipsis;                                            /* ✅ Add ellipsis if it ever gets too long */
    overflow: hidden;                                                   /* ✅ Hide overflow */
}

.price-card .price:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card:hover,
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(11, 59, 70, 0.12);                 /* Slightly more pronounced shadow on hover */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.services .card h4,
.price-card h4 {
    margin: 0;
    color: var(--teal);
}

.services .card p,
.price-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* Push 'More' button to the bottom of the service card */
.services .card .link-more {
    margin-top: auto;
    align-self: flex-start;
}

.price-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-teal);
    margin: 0;
}

.per {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}

/* ==========================================================================
   Horizontal Scroller
   ========================================================================== */
.scroller {
    position: relative;
}

.scroller-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Hides the scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.scroller-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--deep-teal);
    border: 1px solid rgba(11, 59, 70, 0.1);
    box-shadow: 0 4px 12px rgba(11, 59, 70, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.arrow:hover {
    background-color: var(--deep-teal);
    color: var(--white);
}

.arrow.prev {
    left: -22px;
}

.arrow.next {
    right: -22px;
}

.arrow.hidden {
    display: none;
}


/* ==========================================================================
   Contact & Footer
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.contact-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(11, 59, 70, 0.08);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(47, 109, 120, 0.12);
}

.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.site-footer {
    padding: 18px 0;
    border-top: 1px solid rgba(11, 59, 70, 0.06);
    background: var(--white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   Modal & Overlay
   ========================================================================== */
.overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 7, 0.5);
    z-index: 200;
    padding: 20px;
}

.overlay.active {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 720px;
    background: var(--white);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 40px 80px rgba(11, 59, 70, 0.12);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal h4 {
    margin: 0 0 12px;
    color: var(--deep-teal);
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    max-height: 80vh;
}

.modal-body img.enlarged {
    max-width: none;
    max-height: none;
    transform: scale(1.5);
    /* width: auto;
    height: auto; */
    cursor: zoom-out;
}

.modal-body {
    color: var(--muted);
    margin-bottom: 16px;
    /* ADDED: Ensures long price list is scrollable */
    max-height: 80vh;
    overflow-y: auto;
    text-align: center; /* center the image */
}

.modal-price {
    font-weight: 700;
    margin: 0 0 10px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: var(--muted);
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;                           /* Pushes actions to the bottom */
}

/* ==========================================================================
   NEW: Detailed Pricing Modal Styles
   ========================================================================== */
.pricing-details-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: block;
}

.pricing-details-table {
    font-size: 0.95rem;
}

.pricing-category {
    margin-bottom: 2rem;
}

.pricing-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 0.25rem;
}
.pricing-category-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-table-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 1rem;
    font-weight: 700;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.pricing-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}
.pricing-table-row:last-child {
    border-bottom: none;
}

.pricing-pkg {
    font-weight: 600;
    color: var(--teal);
}


/* ==========================================================================
   Accessibility & Media Queries
   ========================================================================== */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid rgba(47, 109, 120, 0.12);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero h2 {
        font-size: 1.4rem;
    }

    .modal {
        padding: 16px;
        border-radius: 12px;
    }
    .pricing-table-header, .pricing-table-row {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-features {
        display: none;                                                          /* Hide features on smallest screens to prevent clutter */
    }
}

@media (max-width: 768px){
    .price-card .price{
        font-size: 1rem;                                                                /* Slightly smaller for tablets/small screens */
        padding: 6px 12px;
    }
}

@media(max-width: 480px){
    .price-card .price{
        font-size: 0.9rem;                                                                                          /* Even smaller on very small screens */                                                   /* Even smaller for very small screens */
        padding: 5px 10px;
    }
}
