@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;600&display=swap');

:root {
    --deep-green: #010a07;
    --mid-green: #010a07;
    --dark-brown: #7a4830;
    --mid-brown: #9a6040;
    --light-beige: #d9bf9b;
    --features-bg: #162e20;
    --card-green: #2a5a3a;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--deep-green);
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.25); }
    50%       { box-shadow: 0 4px 28px rgba(217,191,155,0.5); }
}
@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== HERO SECTION ===== */
#hero {
    background-color: var(--deep-green);
    min-height: 580px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero-left {
    padding: 90px 60px 90px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: fadeSlideLeft 0.9s ease both;
}

.hero-left::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 30%;
    height: 40%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--light-beige), transparent);
    border-radius: 2px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-beige);
    margin-bottom: 16px;
    animation: fadeUp 0.8s ease 0.2s both;
}
.hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: var(--light-beige);
    display: inline-block;
}

.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.3rem;
    color: #fff;
    animation: fadeUp 0.9s ease 0.3s both;
}

/* FIXED: The gradient/shimmer now applies beautifully to the whole title */
.hero-left h1 {
    background: linear-gradient(90deg, #fff 20%, var(--light-beige) 50%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.hero-left p {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    max-width: 460px;
    animation: fadeUp 0.9s ease 0.4s both;
}

.hero-badges {
    display: flex;
    gap: 18px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.5s both;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
}
.hero-badge i {
    color: var(--light-beige);
    font-size: 0.85rem;
}

.btn-hero-wrap {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.6s both;
}

.btn-hero {
    background-color: var(--light-beige);
    color: #4a3020;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 13px 36px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulseGlow 2.5s ease-in-out infinite;
    transition: background 0.3s, transform 0.3s;
}
.btn-hero:hover {
    background-color: #c9af8b;
    color: #3a2010;
    transform: translateY(-3px);
}

.btn-hero-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 12px 32px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-3px);
}

/* Hero Right - Image Column */
.hero-right {
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: fadeSlideRight 1s ease 0.2s both;
}

.hero-right img {
    width: 100%;
    height: 100%;
    min-height: 580px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 6s ease;
}
.hero-right:hover img {
    transform: scale(1.04);
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, var(--deep-green), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-stat {
    position: absolute;
    bottom: 36px;
    left: 24px;
    background: rgba(10,30,20,0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217,191,155,0.3);
    border-radius: 16px;
    padding: 14px 20px;
    z-index: 3;
    animation: float 3.5s ease-in-out infinite;
}
.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-beige);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    margin-top: 3px;
}

/* ===== FEATURES ANIMATION ===== */
#features {
    animation: fadeUp 0.8s ease 0.3s both;
}
.feature-icon-wrap {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-item:hover .feature-icon-wrap {
    transform: scale(1.15);
    border-color: var(--light-beige);
}
.feature-item:hover .feature-icon-wrap i {
    color: var(--light-beige);
}

/* ===== CARDS ANIMATION ===== */
.col-lg-4:nth-child(1) .custom-card { animation: cardFadeUp 0.7s ease 0.1s both; }
.col-lg-4:nth-child(2) .custom-card { animation: cardFadeUp 0.7s ease 0.2s both; }
.col-lg-4:nth-child(3) .custom-card { animation: cardFadeUp 0.7s ease 0.3s both; }
.col-lg-4:nth-child(4) .custom-card { animation: cardFadeUp 0.7s ease 0.4s both; }
.col-lg-4:nth-child(5) .custom-card { animation: cardFadeUp 0.7s ease 0.5s both; }
.col-lg-4:nth-child(6) .custom-card { animation: cardFadeUp 0.7s ease 0.6s both; }
.col-lg-4:nth-child(7) .custom-card { animation: cardFadeUp 0.7s ease 0.7s both; }
.col-lg-4:nth-child(8) .custom-card { animation: cardFadeUp 0.7s ease 0.8s both; }
.col-lg-4:nth-child(9) .custom-card { animation: cardFadeUp 0.7s ease 0.9s both; }

.card-icon-circle {
    transition: transform 0.4s ease;
}
.custom-card:hover .card-icon-circle {
    transform: scale(1.18) rotate(8deg);
}

/* ===== FEATURES SECTION ===== */
#features {
    margin: 35px auto;
    width: 88%;
    max-width: 1080px;
    background-color: var(--features-bg);
    border-radius: 28px;
    padding: 55px 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.feature-item {
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}

.feature-icon-wrap {
    width: 54px;
    height: 54px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
}

.feature-item h6 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin: 0;
}

/* ===== CARDS SECTION ===== */
#cards-section {
    width: 88%;
    max-width: 1080px;
    margin: 0 auto 70px auto;
}

.custom-card {
    border-radius: 22px;
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.card-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.custom-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    /* FIXED: Forces all card headings to align perfectly in a straight line */
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card p {
    font-size: 0.73rem;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* Card colors - dark green theme */
.bg-card-green   { background-color: #2d6e44; }
.bg-card-brown1  { background-color: #8a5535; }
.bg-card-brown2  { background-color: #6a3c22; }
.bg-card-beige   { background-color: var(--light-beige); color: #4a3020; }
.bg-card-beige p { color: #5a4030; opacity: 1; }
.bg-card-beige h5 { color: #3a2010; }

.icon-green  { background: rgba(255,255,255,0.18); color: #fff; }
.icon-brown1 { background: rgba(255,255,255,0.18); color: #fff; }
.icon-brown2 { background: rgba(255,255,255,0.18); color: #fff; }
.icon-beige  { background: rgba(90,64,48,0.12); color: #5a4030; }

/* ===== ACTION BUTTONS inside cards ===== */
.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    width: 100%;
}

.btn-wa {
    background: #25D366;
    color: #fff;
}
.btn-wa:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }

.btn-call-now {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-call-now:hover { background: rgba(255,255,255,0.35); color: #fff; transform: translateY(-2px); }

.btn-explore {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-explore:hover { background: rgba(255,255,255,0.3); color: #fff; transform: translateY(-2px); }

.btn-explore-beige {
    background: rgba(90,64,48,0.15);
    color: #4a3020;
    border: 1.5px solid rgba(90,64,48,0.3);
}
.btn-explore-beige:hover { background: rgba(90,64,48,0.3); color: #3a2010; transform: translateY(-2px); }

/* ===== ENQUIRY FORM CARD ===== */
.enquiry-card { text-align: left; }
.enquiry-card h5 { text-align: center; }

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}

.eq-input {
    width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(90,64,48,0.25);
    background: rgba(255,255,255,0.65);
    color: #4a3020;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.eq-input:focus { border-color: var(--mid-brown); background: rgba(255,255,255,0.9); }
.eq-input::placeholder { color: #9a7860; }
.eq-input option { color: #4a3020; background: #fff; }

.eq-submit {
    background: var(--dark-brown);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.eq-submit:hover { background: #6a3820; transform: translateY(-2px); }

/* Section Title */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}
.section-title span {
    color: var(--light-beige);
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content-wrapper {
    max-width: 920px;
    margin: 0 auto 40px auto;
    text-align: center;
    animation: fadeUp 0.8s ease 0.2s both;
}

.seo-content-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(217,191,155,0.15);
    border-radius: 20px;
    padding: 28px 34px;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.seo-content-box:hover {
    border-color: rgba(217,191,155,0.35);
    transform: translateY(-2px);
}

.seo-content-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.seo-content-box h3 span {
    color: var(--light-beige);
}

.seo-content-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== RESPONSIVE & MOBILE FIXES ===== */
@media (max-width: 768px) {
    .hero-left {
        padding: 40px 30px;
    }
    .hero-left h1 {
        font-size: 2.2rem;
    }
    .hero-right img {
        min-height: 300px;
    }
    .feature-item:not(:last-child)::after {
        display: none;
    }
    .seo-content-box h3 {
        font-size: 1.2rem;
    }
    .seo-content-box p {
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    
    /* FIXED: Mobile card text is now brighter and easier to read */
    .custom-card p {
        opacity: 1;
        color: rgba(255,255,255,0.9);
        font-size: 0.85rem;
    }
    .bg-card-beige p {
        color: #3a2010;
    }
}

 /* This forces all card descriptions to take up the exact same height, so buttons align perfectly! */
        .custom-card p {
            min-height: 120px; /* Adjust this number slightly if your text gets cut off */
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* Mobile adjustment for paragraph height */
        @media (max-width: 768px) {
            .custom-card p {
                min-height: 130px;
            }
        }

       .custom-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card p {
    min-height: 110px;
    line-height: 1.6;
}

.card-action-btn {
    margin-top: auto;
}
