/* --- VARIABLES & BASIC SETUP --- */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-600: #4b5563;
    --color-gray-800: #1f2937;
    --color-green-accent: #32cd32;
    /* LimeGreen */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: var(--color-white);
    color: var(--color-black);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    min-height: 100vh;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        opacity: 0;
        width: 0;
    }

    to {
        opacity: 1;
        width: 4rem;
        /* or 6rem for larger screens */
    }
}

@keyframes bounceSlow {

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

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* --- ANIMATION HELPER CLASSES --- */
.animate-section>* {
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-section.is-visible>* {
    opacity: 1;
}

.animate-section .pricing-card:nth-child(1) {
    transform: translateY(32px);
}

.animate-section .pricing-card:nth-child(2) {
    transform: translateY(32px);
    transition-delay: 200ms;
}

.animate-section.is-visible .pricing-card {
    transform: translateY(0);
}

.animate-section .section-title-pane {
    transform: translateX(-32px);
}

.animate-section.is-visible .section-title-pane {
    transform: translateX(0);
}

.animate-section .gallery-item,
.animate-section .facility-card,
.animate-section .testimonial-card {
    transform: translateY(32px);
}

.animate-section.is-visible .gallery-item,
.animate-section.is-visible .facility-card,
.animate-section.is-visible .testimonial-card {
    transform: translateY(0);
}

#location.animate-section .location-details {
    transform: translateY(32px);
}

#location.animate-section.is-visible .location-details {
    transform: translateY(0);
}

#location.animate-section .location-map {
    transform: translateX(32px);
    transition-delay: 300ms;
}

#location.animate-section.is-visible .location-map {
    transform: translateX(0);
}

#cta.animate-section>div {
    transform: translateY(32px);
}

#cta.animate-section.is-visible>div {
    transform: translateY(0);
}

/* Delay for list items */
.is-visible .gallery-item:nth-child(2) {
    transition-delay: 100ms;
}

.is-visible .gallery-item:nth-child(3) {
    transition-delay: 200ms;
}

.is-visible .gallery-item:nth-child(4) {
    transition-delay: 300ms;
}

.is-visible .gallery-item:nth-child(5) {
    transition-delay: 400ms;
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    animation: bounceSlow 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-button img {
    width: 64px;
    height: 64px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* --- HEADER --- */
.header {
    border-bottom: 4px solid var(--color-black);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 40;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.header-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    min-height: 60px;
}

.header-title-container {
    grid-column: span 8;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.header-title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.header-contact-container {
    grid-column: span 4;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-contact-label {
    font-size: 0.75rem;
    font-weight: 700;
}

.header-contact-number {
    font-size: 0.875rem;
    font-weight: 900;
}

/* --- HERO SECTION --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    padding-top: 60px;
}

.hero-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tag {
    display: inline-block;
    background-color: var(--color-green-accent);
    color: var(--color-black);
    padding: 0.5rem 0.75rem;
    font-weight: 900;
    font-size: 0.75rem;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.025em;
}

.divider {
    height: 4px;
    background-color: var(--color-black);
    width: 4rem;
}

.hero-description {
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gray-800);
}

.btn-secondary {
    border: 2px solid var(--color-black);
    color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.hero-image-container {
    background-color: var(--color-black);
    padding: 1rem;
    display: flex;
    align-items: center;
    order: 1;
    min-height: 40vh;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* Animations for elements on page load */
.animate-on-load,
.animate-on-load-width,
.animate-on-load-left {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease, width 0.5s ease;
}

body.loaded .animate-on-load {
    animation: slideUp 0.8s forwards;
    animation-delay: var(--anim-delay);
}

body.loaded .animate-on-load-width {
    animation: expandWidth 0.5s forwards;
    animation-delay: var(--anim-delay);
}

body.loaded .animate-on-load-left {
    animation: slideLeft 0.8s forwards;
    animation-delay: var(--anim-delay);
}

/* --- GENERAL SECTION STYLES --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.text-center {
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-heading-small {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
}

.section-subheading {
    font-size: 1.125rem;
    font-weight: 700;
    max-width: 56rem;
    margin: 0 auto;
}

.section-subheading.large {
    font-size: 1.25rem;
}

.divider-accent {
    width: 3rem;
    height: 4px;
    background-color: var(--color-green-accent);
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-us {
    border-top: 4px solid var(--color-black);
    background-color: var(--color-green-accent);
    color: var(--color-black);
}

/* --- PRICING SECTION --- */
.pricing-section {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 4px solid var(--color-black);
}

.pricing-card {
    padding: 2rem;
    border-bottom: 4px solid var(--color-black);
}

.pricing-card.dark {
    background-color: var(--color-black);
    color: var(--color-white);
    border-bottom: none;
}

.pricing-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 900;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 900;
}

.pricing-per {
    font-size: 1.125rem;
    font-weight: 700;
}

.pricing-description {
    font-size: 1rem;
}

/* --- GALLERY & FACILITIES COMMON PANE LAYOUT --- */
.gallery-section,
.facilities-section,
.testimonials-section,
.location-section {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 4px solid var(--color-black);
}

.section-title-pane {
    padding: 2rem;
    border-bottom: 4px solid var(--color-black);
}

.pane-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pane-description {
    font-size: 1rem;
    font-weight: 500;
}

/* --- GALLERY SECTION --- */
.gallery-grid-pane {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border: 2px solid var(--color-black);
    cursor: pointer;
    transition: border-color 0.5s;
}

.gallery-item:hover,
.gallery-item.active {
    border-color: var(--color-green-accent);
}

.gallery-item img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    display: block;
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
}

/* --- FACILITIES SECTION --- */
.facilities-grid-pane {
    padding: 2rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.facility-card {
    border: 2px solid var(--color-black);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.3s;
}

.facility-card:hover {
    border-color: var(--color-green-accent);
}

.facility-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.facility-title {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

/* --- TARGET AUDIENCE SECTION --- */
.target-audience {
    border-top: 4px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.target-audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.text-white {
    color: var(--color-white);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid-pane {
    padding: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    border: 2px solid var(--color-black);
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.testimonial-card:hover {
    border-color: var(--color-green-accent);
}

.rating {
    color: var(--color-green-accent);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cite {
    border-top: 1px solid var(--color-black);
    padding-top: 1rem;
}

.name {
    font-size: 0.875rem;
    font-weight: 900;
}

.role {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

/* --- LOCATION SECTION --- */
.location-details {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 2rem;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-icon {
    font-size: 2rem;
}

.location-title {
    font-size: 1.25rem;
    font-weight: 900;
}

.address {
    font-weight: 700;
}

.contact-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
}

.contact-links a:hover {
    color: var(--color-green-accent);
}

.location-map {
    min-height: 400px;
}

.location-map iframe {
    filter: grayscale(100%) contrast(120%);
}

/* --- CTA SECTION --- */
.cta-section {
    border-top: 4px solid var(--color-black);
    background-color: var(--color-green-accent);
    color: var(--color-black);
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    width: 100%;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

.cta-whatsapp {
    margin-top: 2rem;
}

.btn-outline {
    display: inline-block;
    border: 4px solid var(--color-black);
    padding: 1rem 2rem;
    font-weight: 900;
    color: var(--color-black);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* --- FOOTER --- */
.footer {
    border-top: 4px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright {
    border-top: 1px solid var(--color-white);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* --- RESPONSIVE STYLES (TABLET & UP) --- */
@media (min-width: 768px) {
    .header-grid {
        min-height: 80px;
    }

    .header-title-container {
        padding: 0 2rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-contact-label {
        font-size: 0.875rem;
    }

    .header-contact-number {
        font-size: 1.125rem;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-content {
        padding: 4rem;
    }

    .tag {
        font-size: 0.875rem;
    }

    .hero-heading {
        font-size: 4rem;
    }

    .divider {
        width: 6rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-image-container {
        padding: 2rem;
    }

    .section-container {
        padding: 4rem;
    }

    .section-heading {
        font-size: 3rem;
    }

    .section-subheading {
        font-size: 1.25rem;
    }

    .pricing-section {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card {
        border-bottom: none;
        border-right: 4px solid var(--color-black);
    }

    .pricing-card.dark {
        border-right: none;
    }

    .pricing-card {
        padding: 4rem;
    }

    .pricing-amount {
        font-size: 4rem;
    }

    .section-title-pane,
    .gallery-grid-pane,
    .facilities-grid-pane,
    .testimonials-grid-pane {
        padding: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .target-audience-grid {
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-details {
        padding: 4rem;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .btn-large {
        width: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- RESPONSIVE STYLES (DESKTOP & UP) --- */
@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: repeat(12, 1fr);
    }

    .hero-content {
        grid-column: span 7;
        order: 1;
    }

    .hero-image-container {
        grid-column: span 5;
        order: 2;
        min-height: auto;
    }

    .hero-heading {
        font-size: 4.5rem;
    }

    .gallery-section,
    .facilities-section,
    .testimonials-section {
        grid-template-columns: repeat(12, 1fr);
    }

    .section-title-pane {
        grid-column: span 4;
        border-right: 4px solid var(--color-black);
        border-bottom: none;
    }

    .gallery-grid-pane,
    .facilities-grid-pane,
    .testimonials-grid-pane {
        grid-column: span 8;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .target-audience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-section {
        grid-template-columns: repeat(5, 1fr);
    }

    .location-details {
        grid-column: span 2;
    }

    .location-map {
        grid-column: span 3;
        min-height: 500px;
    }
}