/* =============================================
   GANI House Renovation & Interior - style.css
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #334155;
    background: #fff;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
    background-color: #3b8a84;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    height: 80px;
}

/* --- Logo --- */
.site-logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 29px;
    letter-spacing: 0.3px;
    transition: opacity 0.25s ease;
}

.site-logo a:hover {
    opacity: 0.85;
}

/* --- Navigation --- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 26px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease;
}

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

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

.main-nav ul li a:hover {
    color: #e0f2f1;
}

.main-nav ul li.active a {
    font-weight: 500;
    color: #ffffff;
}

/* --- Mobile Hamburger --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =============================================
   HERO SLIDER
   ============================================= */
#hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

/* --- Slides wrapper --- */
.slider-track {
    position: relative;
    height: 100%;
}

/* --- Single slide --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Start off-screen to the LEFT */
    transform: translateX(-100%);
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Active slide — centre stage */
.slide.active {
    transform: translateX(0);
}

/* Exiting slide — leaves to the RIGHT */
.slide.exit {
    transform: translateX(100%);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 0s;
}

/* Slow zoom-in (Ken Burns) on the active slide */
.slide.active img {
    animation: zoomIn 6s ease-in-out forwards;
}

@keyframes zoomIn {
    from { transform: scale(1.0); }
    to   { transform: scale(1.12); }
}

/* Teal #428B84 colour overlay on each slide */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(66, 139, 132, 0.50);
}

/* --- Slide content (text + button) --- */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    max-width: 700px;
}

.slide-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 55px;
    font-weight: 600;
    color: #ffffff;
    line-height: 77px;
    margin-bottom: 14px;
    animation: slideUp 0.9s ease both;
}

.slide-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    line-height: 30px;
    margin-bottom: 32px;
    animation: slideUp 1.1s ease both;
}

.slide-content .btn-contact {
    display: inline-block;
    background-color: #3b8a84;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 34px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    animation: slideUp 1.3s ease both;
    width: fit-content;
}

.slide-content .btn-contact:hover {
    background-color: #2e706a;
    box-shadow: 0 6px 20px rgba(59, 138, 132, 0.45);
    transform: translateY(-2px);
}

/* --- Slider Navigation Dots --- */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 0;
}

.slider-dots button.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* --- Prev / Next arrows --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(59,138,132,0.75);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 40px;
        line-height: 56px;
    }

    #hero-slider {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    /* Hamburger visible */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #2e706a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .main-nav.open {
        max-height: 300px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        padding: 12px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav ul li a::after {
        display: none;
    }

    .slide-content {
        padding: 0 65px;
        max-width: 100%;
    }

    .slide-content h1 {
        font-size: 30px;
        line-height: 44px;
    }

    .slide-content p {
        font-size: 15px;
    }

    #hero-slider {
        height: 380px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .site-logo a {
        font-size: 17px;
    }

    #hero-slider {
        height: 320px;
    }

    .slide-content h1 {
        font-size: 24px;
        line-height: 36px;
    }
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background-color: #3b8a84;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* --- Main footer grid --- */
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.4fr 1.4fr;
    gap: 40px;
}

/* --- Column headings --- */
.footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 18px;
}

/* --- Brand column --- */
.footer-brand p.footer-tagline {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 26px;
    margin-top: 10px;
    margin-bottom: 24px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.footer-social a.social-fb  { background-color: #1877f2; }
.footer-social a.social-tw  { background-color: #1da1f2; }
.footer-social a.social-yt  { background-color: #ff0000; }

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    display: block;
}

/* --- Quick Links column --- */
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 26px;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* --- Contact column --- */
.footer-contact .contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.footer-contact .contact-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.footer-contact .contact-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.footer-contact .contact-info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-contact .contact-info p,
.footer-contact .contact-info a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 22px;
}

.footer-contact .contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Google Map column --- */
.footer-map .map-embed {
    width: 100%;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.footer-map .map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- Footer bottom bar --- */
.footer-bottom {
    background-color: #2e706a;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 16px 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 26px;
}

.footer-bottom p a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-bottom p a:hover {
    opacity: 0.8;
}

/* =============================================
   FOOTER RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
    }

    .footer-bottom {
        padding: 14px 20px;
    }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    color: #073741;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* About Slider */
.about-image-col {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 570px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-slide.active {
    opacity: 1;
    z-index: 1;
}

/* About Content */
.about-content-col {
    padding: 0 20px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subtitle-small {
    font-size: 14px;
    font-weight: 600;
    color: #073741;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-subtitle-large {
    font-size: 25px;
    font-weight: 600;
    color: #073741;
    margin-bottom: 12px;
}

.about-content-col p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 28px;
}

.btn-primary {
    display: inline-block;
    align-self: flex-start;
    background-color: #428B84;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #316d67;
}

/* Responsive */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-col {
        height: 400px;
        order: 2;
    }
    .about-content-col {
        padding-right: 0;
        order: 1;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    .about-subtitle-large {
        font-size: 24px;
    }
    .about-section {
        padding: 50px 0;
    }
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    background-color: #3BAB9D;
    padding: 45px 0;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-number {
    font-size: 69px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.1;
}

.stat-label {
    font-size: 19px;
    font-weight: 500;
    color: #000000;
    text-transform: none;
    letter-spacing: normal;
}

/* Responsive Stats */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

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

.service-card {
    background-color: #ffffff;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.45);
    text-align: center;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

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

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

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #073741;
    margin: 20px 0 10px;
}

/* Responsive Services */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .service-card img {
        height: 350px;
    }
}
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(rgba(59, 171, 157, 0.5), rgba(59, 171, 157, 0.5)), url('../img/homebg.jpg') center/cover fixed no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
}

.cta-container {
    margin: 0 auto;
    padding: 0 15px; /* Just standard container padding */
}

.cta-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.cta-title {
    font-size: 50px;
    font-weight: 600;
    margin: 10px 0 20px; /* Increased bottom margin slightly */
    line-height: 1.2;
}

.cta-text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 35px;
    padding: 0 100px;
}

.btn-cta {
    display: inline-block;
    background-color: #073741;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #052c34;
    color: #ffffff;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta-title {
        font-size: 35px;
    }
    .cta-text {
        padding: 0 20px;
    }
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section {
    padding: 80px 0 0;
    background-color: #ffffff;
}

.gallery-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-title {
    font-size: 50px;
    font-weight: 600;
    color: #073741;
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 365px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Responsive Gallery */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   TESTIMONIAL SECTION
   ============================================= */
.testimonial-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.testimonial-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-title {
    font-size: 50px;
    font-weight: 700;
    color: #073741;
    text-align: center;
    margin-bottom: 25px;
}

.testimonial-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #073741;
    text-align: center;
    padding: 0 100px;
    margin: 0 auto 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    position: relative;
    margin-bottom: 15px;
}

/* Overall block */
.testimonial-overall {
    padding: 20px 0;
    font-family: "Trustindex Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.4em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    row-gap: unset !important;
    column-gap: unset !important;
}

.overall-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.overall-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.overall-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    margin: 0;
}

.stars {
    color: #ffb400;
    font-size: 20px;
    margin-bottom: 10px;
}

.overall-count {
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
}

.btn-review {
    display: inline-block;
    padding: 9.5px 17.5px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-review:hover {
    background-color: #f5f5f5;
}

/* Testimonial Cards */
.carousel-wrapper {
    position: relative;
    min-width: 0;
}

.carousel-viewport {
    overflow: hidden;
    padding-bottom: 10px; /* Space for shadow if any */
}

.carousel-track {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background-color: #F4F4F4;
    border-radius: 12px;
    padding: 20px;
}

.t-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.t-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 18px;
    object-fit: cover;
}

.t-user-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 3px 0;
}

.t-user-info span {
    font-size: 12px;
    color: #888888;
}

.g-icon {
    width: 20px;
    height: 20px;
}

.small-stars {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 11px 0;
}

.verified-icon {
    width: 15px;
    height: 15px;
    margin-left: 7px;
}

.t-text {
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 15px;
}

.t-readmore {
    font-size: 13.5px;
    color: #888888;
    text-decoration: none;
}

.more-text {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.more-text.expanded {
    max-height: 600px; /* large enough to contain all text */
}

/* Slider Arrow */
.ti-prev, .ti-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.ti-prev {
    left: -15px;
}
.ti-next {
    right: -15px;
}
.ti-prev svg, .ti-next svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.t-readmore:hover {
    text-decoration: underline;
}

/* Responsive Testimonials */
@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.page-header {
    position: relative;
    height: 265px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(122, 189, 179, 0.55); /* Matches lighter, semi-transparent teal */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #073741;
    font-weight: 700;
    margin: 0;
    z-index: 1;
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.services-container {
    max-width: 1440px;
    margin: 0 150px;
    padding: 50px 0;
}

@media (max-width: 1200px) {
    .services-container {
        margin: 0 auto;
        padding: 50px 30px;
    }
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.service-row:last-child {
    margin-bottom: 40px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col {
    flex: 1;
    max-width: 535px;
}

.service-img {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-text-col {
    flex: 1;
    margin: 0 10px 0 20px;
    padding: 10px;
}

.service-text-col h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    color: #073741;
    font-weight: 600;
    margin-bottom: 24px;
}

.service-text-col p {
    font-size: 16px;
    line-height: 1.6;
    color: #073741;
    margin-bottom: 28px;
}

@media (max-width: 991px) {
    .service-row {
        gap: 20px;
    }
    .service-image-col {
        flex: 0 0 40%;
    }
}

@media (max-width: 767px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        margin-bottom: 50px;
    }
    .service-image-col {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-heading {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    color: #073741;
    font-weight: 600;
    margin-bottom: 40px;
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 365px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-video-item video {
    width: 100%;
    height: 267px;
    background-color: #000;
    display: block;
}

@media (max-width: 991px) {
    .gallery-photos-grid, .gallery-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-photos-grid, .gallery-videos-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: flex;
    gap: 40px;
}

.contact-form-wrapper, .contact-map-wrapper {
    flex: 1;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #334155;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

.form-group input {
    height: 40px;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #428b84; /* Matches theme teal */
}

.submit-btn {
    width: 100%;
    background-color: #428b84; /* Matches header/footer teal */
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #316d67;
}

.contact-map-wrapper {
    height: 550px;
}

@media (max-width: 991px) {
    .contact-grid {
        flex-direction: column;
    }
    .contact-map-wrapper {
        height: 400px;
        margin-top: 20px;
    }
}

/* =============================================
   COMPREHENSIVE RESPONSIVE REFINEMENTS
   ============================================= */
@media (max-width: 991px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
    .about-content-col {
        padding: 0 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-container {
        padding: 40px 10px;
    }
    .service-image-col {
        flex: 0 0 349px;
        max-width: 349px;
    }
    .service-img {
        height: 500px;
    }
    .service-text-col {
        flex: 0 0 369px;
        max-width: 369px;
        margin: 0 10px 0 20px;
        padding: 10px;
    }
    .service-text-col p {
        font-size: 14.6px;
    }
    .service-text-col h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
    .page-header h1 {
        font-size: 35px;
        text-align: center;
        padding: 0 15px;
    }
    .gallery-title, .testimonial-title, .section-title {
        font-size: 35px;
        margin-bottom: 25px;
    }
    .services-container {
        padding: 40px 15px;
    }
    .service-img {
        height: auto;
    }
    .service-text-col h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .contact-form {
        padding: 20px;
    }
    .testimonial-desc {
        padding: 0 15px;
        margin-bottom: 40px;
    }
    .service-text-col {
        margin: 0;
        padding: 0;
    }
    .gallery-heading {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .contact-map-wrapper {
        height: 300px;
    }
}
