/* ============================================
   Homepage Specific Styles
   ============================================ */

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--creamDark) 50%, var(--sageLight) 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(114, 47, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.heroContainer {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.heroContent {
    animation: fadeInUp 0.8s ease-out;
}

.heroBadge {
    display: inline-block;
    background-color: var(--sageLight);
    color: var(--sage);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid var(--sage);
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--burgundy);
}

.hero p {
    font-size: 1.15rem;
    color: var(--charcoalLight);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.heroButtons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.heroImage {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.heroImageMain {
    width: 100%;
    height: 450px;
    background: url('/images/heroImage.jpg') center center / cover no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    box-shadow: 0 25px 60px rgba(114, 47, 55, 0.25);
    position: relative;
    overflow: hidden;
}

.heroImageMain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.heroStatCard {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.heroStatCard.card1 {
    bottom: -20px;
    left: -30px;
}

.heroStatCard.card2 {
    top: 20px;
    right: -20px;
    animation-delay: -1.5s;
}

.statNumber {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burgundy);
}

.statLabel {
    font-size: 0.85rem;
    color: var(--charcoalLight);
}

/* === Trust Bar === */
.trustBar {
    background-color: var(--white);
    padding: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trustContainer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trustItem {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--charcoalLight);
    font-size: 0.95rem;
}

.trustIcon {
    width: 40px;
    height: 40px;
    background-color: var(--sageLight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
}

/* === Services Section === */
.services {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.servicesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.serviceCard {
    background-color: var(--cream);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.serviceCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(114, 47, 55, 0.12);
    border-color: var(--burgundy);
}

.serviceIcon {
    width: 100%;
    height: 140px;
    background-color: var(--creamDark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    overflow: hidden;
}

.serviceIcon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serviceCard h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.serviceCard p {
    font-size: 0.95rem;
    color: var(--charcoalLight);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* === About Section === */
.about {
    padding: 6rem 2rem;
    background-color: var(--cream);
}

.aboutContainer {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.aboutImage {
    position: relative;
}

.aboutImageMain {
    width: 100%;
    height: 500px;
    background: url('/images/egoProfile.jpg') center top / cover no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 0 25px 60px rgba(122, 139, 122, 0.2);
}

.aboutAccent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--burgundy);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 15px 40px rgba(114, 47, 55, 0.3);
}

.aboutAccent .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.aboutAccent .label {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.3;
}

.aboutContent h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.aboutContent h2 span {
    color: var(--burgundy);
}

.aboutContent > p {
    font-size: 1.05rem;
    color: var(--charcoalLight);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.credentials {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.credentials h4 {
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.credentialItem {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.credentialItem svg {
    color: var(--sage);
    flex-shrink: 0;
}

.awardBadge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, #D4B972 100%);
    color: var(--charcoal);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* === Values Section === */
.values {
    padding: 6rem 2rem;
    background-color: var(--burgundy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.values .sectionContainer .sectionHeader h2 {
    color: var(--white);
}

.values .sectionContainer .sectionHeader p {
    color: rgba(255,255,255,0.8);
}

.valuesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.valueCard {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.valueCard:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.valueIcon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.valueCard h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.valueCard p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* === Homepage Responsive === */
@media (max-width: 1024px) {
    .heroContainer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .heroButtons {
        justify-content: center;
    }

    .heroImage {
        display: none;
    }

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

    .aboutContainer {
        grid-template-columns: 1fr;
    }

    .aboutImage {
        order: 2;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .servicesGrid,
    .valuesGrid {
        grid-template-columns: 1fr;
    }

    .credentialsList {
        grid-template-columns: 1fr;
    }
}