/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1E1E1E;
    background-color: #F3F1F1;
}

/* Theme Colors */
:root {
    --green-400: #1A8D7D;
    --green-500: #107869; /* base */
    --green-600: #0B5F53; /* darker for hover/gradient end */
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--green-500);
    color: #FFFFFF;
    padding: 12px 22px;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-weight: 800;
    text-align: center;
    border: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    filter: brightness(1.02);
    background-color: var(--green-600);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Unify light variant to same gradient look */
.btn-light {
    background-color: var(--green-400);
    color: #FFFFFF;
}

.btn-light:hover {
    filter: brightness(1.02);
    background-color: var(--green-500);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #081a31;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    color: #107869;
    font-size: 1.1em;
}

/* Top Bar */
.topbar {
    background-color: #0A4C86;
    color: white;
    padding: 10px 0;
    font-size: 0.9em;
}

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

.topbar .contact-info span {
    margin-right: 20px;
}

.topbar i {
    margin-right: 5px;
    color: #F8D452;
}

/* Sticky Header */
.sticky-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #0A4C86;
}

.logo img {
    height: 104px;
    width: auto;
    margin-right: 10px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #1E1E1E;
}

nav ul li a:hover, nav ul li a.active {
    color: #107869;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #107869;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0; /* increased height */
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 5em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 45px 0 26px;
}

.hero-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.hero-tags .tag i { color: #F8D452; }

/* Add more spacing between tags */
.hero-tags .tag + .tag { margin-left: 16px; }

/* Title highlights */
.hl-cities {
    color: #F8D452;
}

.swash-people {
    position: relative;
    display: inline-block;
}

.swash-people .swash-underline {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 18px;
    bottom: -25px;
    transform: scaleY(-1);
    transform-origin: 50% 50%;
}

.hero-form {
    flex: 1;
    max-width: 450px;
}

.hero-form .form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #F8D452;
}

.hero-form h3 {
    color: #081a31;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

.hero-form .form-group {
    margin-bottom: 15px;
}

.hero-form .form-group input,
.hero-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus {
    border-color: #107869;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 120, 105, 0.1);
}

.hero-form .btn {
    width: 100%;
    background-color: var(--green-500);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 12px;
}

.hero-form .btn:hover {
    background-color: var(--green-600);
}

/* Generic Section Spacing */
section {
    padding: 80px 0;
}

/* Headings baseline */
h1, h2, h3, h4, h5, h6,
.footer-brand-title,
.why-title,
.service-card h3,
.section-header h2 {
    font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.2;
}

/* Accessibility: focus styles */
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(10, 76, 134, 0.5);
    outline-offset: 2px;
}

/* Ensure button focus outline is green, not blue */
.btn:focus-visible {
    outline: 3px solid rgba(16, 120, 105, 0.5);
    outline-offset: 2px;
}

/* About Section */
.about-section {
    background: #FDFDFD;
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image { position: relative; display: inline-block; }
.about-image img {
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
}
.about-image:before,
.about-image:after {
    content: "";
    position: absolute;
    border: 4px solid #0A4C86; /* primary frame */
    border-radius: 16px;
    width: 92%;
    height: 92%;
    z-index: 1;
}
.about-image:before {
    top: -18px;
    left: -18px;
    border-color: #F8D452; /* accent frame */
}
.about-image:after {
    bottom: -18px;
    right: -18px;
}

.about-text h3 {
    color: #081a31;
    margin-bottom: 12px;
    font-size: 1.6em;
}

.about-text p {
    color: #334155;
    margin-bottom: 14px;
}

/* Services Section */
.services-section {
    background: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.service-card {
    background: #081a31;
    border-radius: 14px;
    overflow: visible; /* allow CTA to overlap */
    border: 1px solid #081a31;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(10,76,134,0.15);
}

.service-media {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.service-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F8D452;
    color: #23272F;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 999px;
}

.service-badge-alt { background: #107869; color: #fff; }

.service-body {
    padding: 18px 18px 60px; /* extra bottom space for floating CTA */
    flex: 1;
}

.service-card h3 {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.service-card p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-link {
    position: absolute;
    right: 16px;
    bottom: -14px; /* overlap outside the card */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px; /* smaller */
    border-radius: 10px;
    background-color: #FFFFFF; /* requested white bg */
    color: #0A4C86;
    border: 2px solid #F8D452;
    font-weight: 700;
    font-size: 0.9rem; /* slightly smaller text */
    box-shadow: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.service-link i { color: inherit; }

.service-link:hover {
    transform: translateY(-2px);
    background-color: #F8D452;
    color: #23272F;
}

.service-link:focus-visible {
    outline: 3px solid rgba(248, 212, 82, 0.6);
    outline-offset: 2px;
}

/* Gallery Section */
/* Gallery Section */
.gallery-section { background: #F8FAFC; }

/* New viewer layout */
.gallery-viewer { display: grid; gap: 14px; }
.gallery-main { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.gallery-main img { display: block; width: 100%; height: clamp(240px, 48vw, 520px); object-fit: cover; cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background 0.2s ease; }
.gallery-nav:hover { background: rgba(0,0,0,0.55); }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.gallery-thumbs-wrap { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; gap: 10px; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.thumbs-nav { display: none; }

.thumb { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); scroll-snap-align: start; }
.thumb img { display: block; width: 100%; height: 84px; object-fit: cover; opacity: 0.6; transition: opacity 0.2s ease, transform 0.2s ease; }
.thumb.is-active img { opacity: 1; transform: scale(1.02); }

@media (max-width: 768px) {
    .gallery-thumbs { grid-auto-columns: 34%; }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(90deg, #0A4C86 0%, #107869 100%);
    color: #fff;
    text-align: left;
}

.cta-content h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.cta-content p {
    margin-bottom: 20px;
    color: #E2E8F0;
}

.cta-content {
    max-width: 780px;
}

.btn.btn-light {
    border-color: #fff;
}

.btn.btn-light:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Contact Section */
.contact-section {
    background: #FFFFFF;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: #0A4C86;
    margin-bottom: 10px;
}

.contact-info p {
    color: #475569;
}

/* Match contact form to hero form */
.contact-form .form-container {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #F8D452;
}

.contact-form h3 {
    color: #081a31;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

/* Primary info box */
.primary-box {
    background: #081a31; /* primary */
    color: #FFFFFF;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    border-left: 6px solid #F8D452; /* accent */
    margin-bottom: 16px;
}

.primary-box p { margin: 0; color: #FFFFFF; }
.primary-box p + p { margin-top: 10px; }
.primary-box h3 { color: #FFFFFF; }

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: #334155;
}

.info-item i {
    color: #107869;
}

.social-links a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #0A4C86;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: #0A4C86;
    color: #fff;
}

.contact-form form .form-group { margin-bottom: 15px; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #107869;
    box-shadow: 0 0 0 3px rgba(16, 120, 105, 0.12);
    outline: none;
}

.contact-form .btn {
    width: 100%;
    background-color: var(--green-500);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 12px;
}

.contact-form .btn:hover { background-color: var(--green-600); }

/* Footer */
.footer {
    background: #23272F;
    color: #E6F0FA;
    padding: 40px 0 16px; /* more compact */
}

/* Widen footer container slightly beyond default */
.footer .container {
    max-width: 1320px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 24px; /* tighter */
}

.footer-brand-title {
    color: #F8D452;
    margin-bottom: 8px;
}

.footer-description {
    color: #CBD5E1;
    margin-bottom: 10px;
}

.footer h4 {
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer a {
    color: #E6F0FA;
    opacity: 0.9;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer a:hover {
    color: #FFFFFF;
    opacity: 1;
}

.footer ul li { margin: 6px 0; }

.footer-contact-list { list-style: none; }

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #CBD5E1;
}

.contact-row i { color: #F8D452; }

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 14px;
    text-align: center;
    color: #CDE0F5;
}

/* Footer Social */
.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 8px;
    background: #323844;
    color: #E6F0FA;
    transition: background 0.2s ease;
}

.footer-social a:hover { background: #3f4756; }

/* Footer Subscribe */
.subscribe-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.footer-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #3a4250;
    background: #323844;
    color: #E6F0FA;
}

.footer-input::placeholder { color: #A1A8B3; }

.footer-subscribe-btn {
    background-color: var(--green-500);
    color: #FFFFFF;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.footer-subscribe-btn:hover {
    filter: brightness(1.02);
    background-color: var(--green-600);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    nav ul li { margin-left: 18px; }
}

@media (max-width: 992px) {
    .hero { padding: 70px 0; }
    .hero-flex { flex-direction: column; gap: 28px; }
    .hero-content { text-align: center; }
    .hero-tags { justify-content: center; }
    .hero-content h1 { font-size: 3em; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-form { width: 100%; max-width: 560px; }

    .about-content { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .topbar .container { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 768px) {
    section { padding: 64px 0; }

    .sticky-header .container { position: relative; }
    .sticky-header { padding: 8px 0; }
    .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: none; background: transparent; color: #0A4C86; border-radius: 8px; cursor: pointer; touch-action: manipulation; }
    .menu-toggle:focus { outline: 2px solid #107869; outline-offset: 2px; }
    .sticky-header nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,0.12); border-radius: 12px; overflow: hidden; max-height: 0; opacity: 0; transform: translateY(-8px); transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease; z-index: 1100; }
    .sticky-header nav.open { max-height: 380px; opacity: 1; transform: translateY(0); }
    nav ul { flex-direction: column; padding: 10px 16px; }
    nav ul li { margin: 8px 0; }
    .logo a { font-size: 1.15em; }
    .logo img { height: 72px; }
    .cta-button { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.4em; }
    .hero-tags { justify-content: center; }
}

@media (max-width: 480px) {
    .topbar .hours-info { display: none; }
    .btn { padding: 10px 16px; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-figure { position: relative; max-width: 90vw; max-height: 85vh; }
.lightbox-image { display: block; max-width: 100%; max-height: 75vh; border-radius: 8px; }
.lightbox-caption { color: #E2E8F0; text-align: center; margin-top: 10px; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* Prevent background scroll when lightbox open */
body.lightbox-open { overflow: hidden; }

/* Why Choose Us */
.why-section { background: #FFFFFF; }
.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.why-title {
    color: #081a31;
    font-size: 2em;
    margin-bottom: 14px;
}
.feature { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin: 28px 0; }
.feature-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(90deg, #107869 0%, #0A4C86 100%);
    color: #fff; display: grid; place-items: center; font-size: 1.1rem;
}
.feature-body h3 { color: #0A4C86; margin-bottom: 6px; font-size: 1.1rem; }
.feature-body p {
    color: #475569;
    font-weight: 300; /* lighter weight */
    font-size: 0.95rem; /* slightly smaller */
    line-height: 1.6;
}
.why-media img {}

@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; }
}
