/* ---------------------------------------
   🌈 Color Variables
--------------------------------------- */
:root {
    --aqua: #1ccad8;
    --aqua-dark: #11998e;
    --accent: #f6c23e;
    --primary: var(--aqua);
    --secondary: var(--aqua-dark);
    --white: #fff;
    --dark: #233142;
}

/* ---------------------------------------
   🏫 Hero Section
--------------------------------------- */
.hero-section {
    position: relative;
    color: var(--white);
    padding: 120px 0 90px;
    border-radius: 0 0 32px 32px;
    text-align: center;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.85) 60%,
        rgba(0, 0, 0, 0.85) 100%
    );
    overflow: hidden;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    z-index: 0;
      background: linear-gradient(to right, #11998e, #3AAFF7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 0 15px;
}

.main-hostel-icon {
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 4px 18px rgba(17, 153, 142, 0.18);
    animation: iconPop 1.2s;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    animation: fadeInDown 1s;
}

.hero-highlight {
    display: inline-block;
    background: var(--accent);
    color: var(--aqua-dark);
    padding: 0 0.6em;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 0.5em;
    animation: colorPulse 2.2s infinite alternate;
}

.hero-section .lead {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2.5em;
    animation: fadeInUp 1.2s 0.3s backwards;
}

/* ---------------------------------------
   🎯 Hero Icon Boxes
--------------------------------------- */
.hero-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-icon-box {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(28, 202, 216, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-icon-box:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: 0 12px 32px rgba(28, 202, 216, 0.16);
    background: rgba(255, 255, 255, 0.22);
}

.hero-icon {
    font-size: 2.7rem;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(17, 153, 142, 0.23);
}

/* ---------------------------------------
   🔁 Animations
--------------------------------------- */
@keyframes iconPop {
    0% {
        transform: scale(0.7);
    }
    80% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes colorPulse {
    0% {
        background: var(--accent);
        color: var(--aqua-dark);
    }
    100% {
        background: var(--aqua);
        color: var(--white);
    }
}

/* ---------------------------------------
   📱 Responsive Layouts
--------------------------------------- */
@media (max-width: 767px) {
    .hero-section {
        padding: 70px 0 50px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-highlight {
        font-size: 1.1rem;
    }

    .hero-icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
        padding: 0 12px;
    }

    .hero-icon-box {
        width: 100%;
        max-width: 220px;
    }
}

/* ---------------------------------------
   🧾 Section Titles
--------------------------------------- */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 38px;
    text-align: center;
    color: var(--aqua-dark);
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 18px auto 0;
    opacity: 0.7;
    animation: fadeInUp 1s 0.2s backwards;
}

/* ---------------------------------------
   📦 Feature Boxes
--------------------------------------- */
.feature-icon {
    font-size: 2.5rem;
    color: var(--aqua);
    margin-bottom: 18px;
    transition: transform 0.3s, color 0.3s;
    animation: iconPop 1.2s;
}

.feature-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(28, 202, 216, 0.09);
    padding: 36px 20px 30px;
    margin-bottom: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.feature-box:hover .feature-icon {
    color: var(--aqua-dark);
    transform: scale(1.15) rotate(-8deg);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 12px 32px rgba(28, 202, 216, 0.13);
}

/* ---------------------------------------
   📞 Contact Cards
--------------------------------------- */
.contact-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(28, 202, 216, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 18px;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 32px rgba(28, 202, 216, 0.16);
}

/* ---------------------------------------
   📍 Footer Section
--------------------------------------- */
footer {
    background: var(--aqua-dark);
    color: var(--white);
    padding: 32px 0 18px;
    margin-top: 60px;
    border-radius: 24px 24px 0 0;
}

.social-icon {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0 12px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-icon:hover {
    color: var(--accent);
    transform: scale(1.18) rotate(-7deg);
}

/* ---------------------------------------
   🧠 Why Choose Us Section - Responsive
--------------------------------------- */
@media (max-width: 575.98px) {
    #why-gogarty .row > div {
        flex: 0 0 48%;
        max-width: 48%;
        margin: auto;
    }
}
