/* 1. Import Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* 2. Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #111;
    line-height: 1.5;
}

/* 3. Container like Bootstrap */
.container {
    max-width: 1272px;
    margin: 0 auto;
    padding: 0 15px;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* 4. Sticky header */
header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
}

header .logo {
    height: 72px;
}

header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

/* 5. Gradient button */
.btn-gradient {
    display: inline-block;
    background: linear-gradient(90deg, #0EACE1 0%, #C3D834 100%);
    border-radius: 1000px;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* .btn-gradient {
    display: none;
} */

/* 2) entry animation */
.btn-gradient.animate-in {
    display: inline-block;
    /* or block */
    animation:
        pop-in 0.5s ease-out forwards,
        /* pop-in once */
        bounce 1.2s 0.6s ease-out infinite;
    /* gentle bounce after */
}

.video-container {
    position: relative;
}

/* Play/Pause button styling */
.video-control {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control .icon {
    width: 24px;
    height: 24px;
    fill: #000;
}

/* Optional hover effect */
.video-control:hover {
    background: #f5f5f5;
}

#playBtn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    text-align: center;
}

.btn-gradient.play-button {
    display: block;
}


/* 3) keyframes for pop-in */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    60% {
        opacity: 1;
        transform: scale(1.2) translateY(-10px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* 4) keyframes for bounce */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 6. Hero (home) */

.vh-height {
    min-height: 75vh;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
}

.video-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.video-container {
    /* makes it scale with its parent, up to a max-width if you like */
    width: 100%;
    max-height: 788px;
    max-width: 444px;
    /* or whatever limit you need */
    /* force square */
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or "contain" if you’d rather see letter-boxed video */
    display: block;
    border-radius: 5px;
}

/* 2. Two‐column flex layout */
.heading-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 60px 0;
    /* adjust vertical spacing as needed */
}

/* 3. Column widths */
.heading-left,
.heading-right {
    flex: 1 1 45%;
    /* base width ~45% each */
    max-width: 45%;
}

.heading-left {
    margin-right: 5%;
    /* gutter */
}

/* 4. Typography */
.heading-left h2 {
    font-size: 2.25rem;
    /* ~36px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.heading-left .subtitle,
.heading-right p {
    font-size: 1rem;
    /* ~16px */
    color: #333;
    line-height: 1.5;
}

/* 5. Responsive breakpoint */
@media (max-width: 767px) {
    .heading-section {
        padding: 20px;
    }

    .heading-left,
    .heading-right {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0 0 20px;
        /* stacked spacing */
    }
}

/* 1. grey full-width wrapper */
.image-section {
    background-color: #f5f5f5;
    padding: 80px 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* 2. constrain to 1272px + center */
.image-container {
    max-width: 1272px;
    margin: 0 auto;
    padding: 0 15px;
    /* same side-padding as rest of site */
}

/* 2. square-ish “card” for the video */
.image-card {
    width: 100%;
    aspect-ratio: 1269 / 640;
    /* optional styling: */
    background: #000;
    /* shows behind the video while loading */
    border-radius: 16px;
    overflow: hidden;
}

/* 3. make the video fill it */
.image-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cover crops to fill; use “contain” to letterbox */
    display: block;
}

/* 4. fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 1) {
    .image-card {
        position: relative;
        /* padding-top = (626/1269)*100 ≈ 49.33% */
        padding-top: 49.33%;
    }

    .image-card video {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* 5. optional mobile tweak */
@media (max-width: 768px) {
    .image-card {
        border-radius: 12px;
    }
}

/* 4. responsive image */
.image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* covers the card fully */
}

/* 5. tablet/mobile fallback (if you want smaller padding) */
@media (max-width: 767px) {
    .image-section {
        padding: 20px 0;
    }
}


/* 8. Thank-you page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1rem;
}

/* 9. Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #000;
}

footer a {
    color: #0EACE1;
    text-decoration: none;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* distance from right edge */
    display: flex;
    align-items: center;
    /* WhatsApp green */
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 1000;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
    margin-right: 8px;
    display: block;
}

.whatsapp-button:hover {
    /* darker on hover */
    transform: translateY(-2px);
}

.call-now-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* change to right:20px if you prefer bottom-right */
    display: flex;
    align-items: center;
    background-color: #739549;
    /* your brand color */
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    background-position: center;
    background-size: 35px 35px;
    background-repeat: no-repeat;
    transition: transform 0.2s ease, background-color 0.2s ease;
    background-color: #02abe3;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTI3LjAxMzU1LDIzLjQ4ODU5bC0xLjc1MywxLjc1MzA1YTUuMDAxLDUuMDAxLDAsMCwxLTUuMTk5MjgsMS4xODI0M2MtMS45NzE5My0uNjkzNzItNC44NzMzNS0yLjM2NDM4LTguNDM4NDgtNS45Mjk1UzYuMzg3LDE0LjAyOCw1LjY5MzMsMTIuMDU2MTVBNS4wMDA3OCw1LjAwMDc4LDAsMCwxLDYuODc1NzMsNi44NTY4N0w4LjYyODc4LDUuMTAzNzZhMSwxLDAsMCwxLDEuNDE0MzEuMDAwMTJsMi44MjgsMi44Mjg4QTEsMSwwLDAsMSwxMi44NzEsOS4zNDY4TDExLjA2NDcsMTEuMTUzYTEuMDAzOCwxLjAwMzgsMCwwLDAtLjA4MjEsMS4zMjE3MSw0MC43NDI3OCw0MC43NDI3OCwwLDAsMCw0LjA3NjI0LDQuNTgzNzQsNDAuNzQxNDMsNDAuNzQxNDMsMCwwLDAsNC41ODM3NCw0LjA3NjIzLDEuMDAzNzksMS4wMDM3OSwwLDAsMCwxLjMyMTcxLS4wODIwOWwxLjgwNjIyLTEuODA2MjdhMSwxLDAsMCwxLDEuNDE0MTItLjAwMDEybDIuODI4OCwyLjgyOEExLjAwMDA3LDEuMDAwMDcsMCwwLDEsMjcuMDEzNTUsMjMuNDg4NTlaIiBmaWxsPSIjZmZmZmZmIi8+PC9zdmc+');
}

.call-now-button span {
    webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    width: auto;
    background: linear-gradient(90deg, #0EACE1 0%, #C3D834 100%);
    border-radius: 8px;
    position: absolute;
    border-radius: 2px;
    padding: 6px 8px;
    font-size: 15px;
    font-weight: 700;
    color: #ECECEC;
    top: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    word-break: keep-all;
    line-height: 1em;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 4px;
    left: 68px;
    font-weight: 600;
    margin-top: -2px;
}

.call-now-button:hover {
    background-color: #a9cf38;
    /* darker on hover */
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.left-panel {
    background: #00AEEF;
    color: white;
    padding: 30px;
    flex: 1;
}

.left-panel h3 {
    margin-top: 0;
    font-size: 26px;
}

.left-panel p a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    line-height: 28px;
}

.spacer {
    height: 50px;
}

.right-panel {
    flex: 1;
    background-color: #fff;
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.right-panel input,
.right-panel textarea {
    width: 48%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    font-size: 16px;
    font-family: inherit;
    color: #000;
}

.right-panel textarea {
    width: 100%;
    min-height: 80px;
    resize: vertical;
}

.right-panel input:focus,
.right-panel textarea:focus {
    outline: none;
    border-bottom: 1px solid #00AEEF;
}

.right-panel button {
    margin-top: 20px;
    padding: 12px 32px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, #00AEEF, #93C92C);
    color: white;
    font-weight: 600;
    font-size: 16px;
    align-self: flex-end;
    cursor: pointer;
    transition: background 0.3s ease;
}


.right-panel button:hover {
    background: linear-gradient(to right, #0096d3, #7fbf1c);
}

.right-panel .justify-end {
    display: flex;
    justify-content: end;
    width: 100%;
}

section.form-section.container {
    padding-bottom: 100px;
}

/* Mobile tweak */
@media (max-width: 480px) {
    .call-now-button {
        bottom: 15px;
        left: 15px;
        padding: 10px 14px 10px 42px;
        font-size: 0.9rem;
    }

    .call-now-button {
        background-position: 12px center;
    }
}


@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .whatsapp-button img {
        margin-right: 6px;
    }
}


/* 10. Responsive */
@media (max-width: 767px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-text,
    .hero-media {
        padding: 0;
    }

    .hero-media {
        order: 1;
    }

    .hero-text {
        order: 2;
    }

    .video-container video {
        border-radius: 0px
    }

    .hero-text {
        margin-top: 30px;
        min-height: 50vh;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .image-card {
        aspect-ratio: 1 / 1;
    }

    .heading-left h2 {
        font-size: 2rem;
    }

    .thank-you {
        padding: 20px;
    }

    img.thank-you-image {
        margin: 0 auto;
        display: block;
        max-width: 180px;
    }

    .thank-you h1 {
        line-height: 2.5rem;
    }

    footer {
        padding-bottom: 100px;
    }

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

    .left-panel,
    .right-panel {
        flex: 1 1 100%;
        padding: 24px 20px;
    }

    .right-panel {
        flex-direction: column;
        gap: 16px;
    }

    .right-panel input,
    .right-panel textarea {
        width: 100%;
    }

    .right-panel button {
        align-self: stretch;
        width: 100%;
        text-align: center;
    }

    .left-panel h3 {
        font-size: 20px;
    }

    .left-panel p,
    .left-panel a {
        font-size: 14px;
        line-height: 1.5;
    }

    .right-panel .justify-end {
        justify-content: start;
    }

    .right-panel button {
        width: auto;
    }
}