/* ============ HOMEPAGE SPECIFIC STYLING ============ */

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background-color: var(--blue-dark);
}

.hero img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ============ HERO BACKGROUND CAROUSEL ============ */
.hero-carousel-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* transition: opacity 1.5s ease-in-out, transform 6s ease-out; */
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(14, 42, 92, 0.75) 0%, rgba(14, 42, 92, 0.55) 45%, rgba(14, 42, 92, 0.9) 100%);*/
    z-index: 1;
}

.hero .wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 auto 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero .group-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    margin-top: 12px;
}

.hero .qbe {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: var(--gold);
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.hero p.tagline {
    max-width: 560px;
    margin: 16px auto 0;
    color: #dbe4f4;
    font-size: 1.05rem;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.scroll-ind {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    opacity: 0.8;
    font-size: 1.4rem;
}

/* ============ STATS BAND ============ */
.stats-band {
    background: var(--blue);
    color: #fff;
    padding: 52px 0;
}

.stats-band .wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.stat .num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--gold);
}

.stat .label {
    font-size: 0.78rem;
    color: #cfd9ec;
    margin-top: 6px;
    letter-spacing: 0.03em;
}

/* ============ TRUST BADGES ============ */
.trust-badges {
    background: #F5F7FA;
    padding: 36px 0;
}

.trust-badges .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--blue-dark);
}

.badge i {
    color: var(--emerald);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============ WHY CHOOSE US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.icon-card {
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 12px;
    padding: 28px 22px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -16px rgba(23, 59, 122, 0.25);
    border-color: transparent;
}

.icon-card .ic {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--blue-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icon-card .ic i {
    font-size: 1.4rem;
    color: var(--blue);
}

.icon-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--blue-dark);
}

.icon-card p {
    font-size: 0.86rem;
    color: #66707F;
    margin-top: 6px;
    line-height: 1.5;
}

/* ============ ABOUT SECTION ============ */
.about-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.about-media .tag {
    position: absolute;
    bottom: -20px;
    right: -15px;
    background: var(--gold);
    color: var(--blue-dark);
    padding: 14px 20px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.about-copy h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    margin-top: 10px;
}

.about-copy p {
    color: #66707F;
    margin-top: 16px;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.about-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.about-list li i {
    color: var(--emerald);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============ TRUST SECTION ============ */
.trust-section {
    background: var(--blue-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.trust-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 162, 39, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    z-index: 1;
}

.trust-section .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 56px;
    align-items: center;
    z-index: 2;
}

.trust-section .badge-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gold);
    padding: 18px;
    line-height: 1.3;
}

.trust-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin-top: 8px;
}

.trust-section p {
    color: #c7d2e6;
    margin-top: 14px;
    max-width: 56ch;
}

.trust-stats {
    display: flex;
    gap: 36px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-stats div strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
}

.trust-stats div span {
    font-size: 0.76rem;
    color: #aab8d4;
}

/* ============ LEADERSHIP ============ */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.leader-card {
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.leader-card:hover {
    box-shadow: 0 16px 32px -16px rgba(23, 59, 122, 0.25);
    border-color: transparent;
}

.leader-card img {
    /* aspect-ratio: 1/1; */
    object-fit: cover;
    width: 100%;
}

.leader-card .body {
    padding: 20px;
}

.leader-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.98rem;
    color: var(--blue-dark);
}

.leader-card .role {
    font-size: 0.76rem;
    color: var(--emerald);
    font-weight: 600;
    margin-top: 2px;
}

.leader-card q {
    display: block;
    font-size: 0.82rem;
    color: #66707F;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.4;
}

.leader-card a {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
}

/* ============ BRANCHES SECTION ============ */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.branch-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    color: #fff;
}

.branch-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(14, 42, 92, 0.92) 100%);
    z-index: 1;
}

.branch-card .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 2;
}

.branch-card h3 {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
}

.branch-card .loc {
    font-size: 0.76rem;
    color: #cfd9ec;
    margin-top: 2px;
}

.branch-card a {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold);
}

/* ============ ACHIEVEMENT HIGHLIGHT SLIDER ============ */
#achievement-highlight {
    padding: 80px 0;
    background: #ffffff;
}

.achievement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.achievement-slider-container {
    position: relative;
    max-width: 400px;
    margin: 0px 100px;
    width: 100%;
}

.achievement-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(23, 59, 122, 0.12);
    border: 8px solid #ffffff;
    background: #ffffff;
    aspect-ratio: 5/6;
}

.achievement-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.achievement-slide.active {
    display: block;
    animation: achievementFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(23, 59, 122, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 4px;
}

.slider-arrow.next {
    right: 4px;
}

/* Dots Pagination */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--blue) !important;
    width: 26px !important;
    border-radius: 5px !important;
}

/* .achievement-text-content {
    padding-left: 20px;
} */

@keyframes achievementFade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============ BEYOND ACADEMICS MARQUEE ============ */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-left {
    animation: marqueeLeft 35s linear infinite;
}

.marquee-right {
    animation: marqueeRight 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-card {
    flex-shrink: 0;
    width: 320px;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(23, 59, 122, 0.08);
    background: #ffffff;
    border: 4px solid #ffffff;
}

.marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.marquee-card:hover img {
    transform: scale(1.04);
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ============ FACILITIES ============ */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.facility-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E6E9EF;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(23, 59, 122, 0.25);
    border-color: transparent;
}

.facility-card img {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}

.facility-card .body {
    padding: 18px 20px;
}

.facility-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--blue-dark);
}

.facility-card p {
    font-size: 0.85rem;
    color: #66707F;
    margin-top: 6px;
    line-height: 1.5;
}

.facility-card a {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
}

/* ============ ACHIEVEMENTS ============ */
.achieve-band {
    background: var(--emerald-tint);
}

.achieve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center;
}

.achieve-grid .num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--emerald);
}

.achieve-grid .label {
    font-size: 0.82rem;
    color: #66707F;
    margin-top: 4px;
}

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item .cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
    z-index: 2;
}

/* ============ NEWS ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    border: 1px solid #E6E9EF;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.news-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.news-card img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.news-card .body {
    padding: 18px 20px;
}

.news-card .date {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    margin-top: 6px;
    color: var(--blue-dark);
}

/* ============ TESTIMONIALS SLIDER ============ */
.testi-wrap {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testi-slide {
    display: none;
}

.testi-slide.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.testi-slide img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testi-slide q {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--blue-dark);
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
}

.testi-slide .who {
    display: block;
    margin-top: 14px;
    font-size: 0.82rem;
    color: #66707F;
    font-weight: 600;
}

.testi-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.testi-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E6E9EF;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.15s ease;
}

.testi-dot.active {
    background: var(--gold);
}

/* ============ ADMISSIONS Journey ============ */
.admit-band {
    background: var(--blue);
    color: #fff;
}

.admit-band .section-head h2 {
    color: #fff;
}

.admit-band .section-head p {
    color: #c7d2e6;
}

.admit-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.admit-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px 18px;
    transition: transform 0.2s;
}

.admit-step:hover {
    transform: translateY(-3px);
}

.admit-step .n {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.3rem;
}

.admit-step h3 {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.94rem;
    margin-top: 8px;
}

.admit-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ============ CONTACT HOME ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.contact-info i {
    font-size: 1.25rem;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-map {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #F5F7FA;
    border: 1px solid #E6E9EF;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #E6E9EF;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: #fff;
    color: var(--text);
    transition: border-color 0.15s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
}

/* ============ MOBILE MEDIA QUERIES ============ */

@media (max-width: 1000px) {

    .why-grid,
    .leader-grid,
    .branch-grid,
    .facility-grid,
    .gallery-grid,
    .news-grid,
    .achieve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-split,
    .trust-section .wrap,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-band .wrap {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }

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

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

@media (max-width: 700px) {

    .why-grid,
    .leader-grid,
    .branch-grid,
    .facility-grid,
    .gallery-grid,
    .news-grid,
    .achieve-grid,
    .about-list,
    .form-row {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: 20px 0;
    }
}
/* ============ WHY CHOOSE US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.icon-card {
    position: relative;
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 16px;
    padding: 32px 26px 28px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1),
                box-shadow 0.35s cubic-bezier(.22,1,.36,1),
                border-color 0.35s ease;
}

/* Cycle through the site's existing brand accents — no new colors introduced */
.why-grid .icon-card:nth-child(3n+1) { --accent: var(--blue);   --accent-tint: var(--blue-tint); }
.why-grid .icon-card:nth-child(3n+2) { --accent: var(--gold);   --accent-tint: rgba(201, 162, 39, 0.12); }
.why-grid .icon-card:nth-child(3n+3) { --accent: var(--emerald);--accent-tint: var(--emerald-tint); }

/* Callback to the dot-pattern texture used in .trust-section, tinted to each card's accent */
.icon-card::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(circle, var(--accent) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.icon-card:hover::before {
    opacity: 0.12;
}

/* Accent bar draws in along the top edge on hover */
.icon-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent);
    transition: width 0.45s cubic-bezier(.22,1,.36,1);
}

.icon-card:hover::after {
    width: 100%;
}

.icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -18px rgba(23, 59, 122, 0.22);
    border-color: transparent;
}

.icon-card .ic {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.4s ease,
                transform 0.5s cubic-bezier(.34,1.56,.64,1);
}

.icon-card .ic i {
    font-size: 1.4rem;
    color: var(--accent);
    transition: color 0.4s ease;
}

.icon-card:hover .ic {
    background: var(--accent);
    transform: scale(1.08) rotate(-6deg);
}

.icon-card:hover .ic i {
    color: #fff;
}

.icon-card h3 {
    position: relative;
    z-index: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--blue-dark);
    transition: color 0.3s ease;
}

.icon-card:hover h3 {
    color: var(--accent);
}

.icon-card p {
    position: relative;
    z-index: 1;
    font-size: 0.86rem;
    color: #66707F;
    margin-top: 6px;
    line-height: 1.5;
}


.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.lightbox.active{
    display:flex;
}

#lightbox-image{
    max-width:90%;
    max-height:85vh;
    border-radius:12px;
    box-shadow:0 15px 45px rgba(0,0,0,.5);
    animation:zoom .3s ease;
}

@keyframes zoom{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:30px;
    color:#fff;
    font-size:42px;
    cursor:pointer;
    user-select:none;
}

.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-size:30px;
    cursor:pointer;
    transition:.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover{
    background:#ffffff;
    color:#000;
}

.lightbox-prev{
    left:30px;
}

.lightbox-next{
    right:30px;
}

#lightbox-caption{
    position:absolute;
    bottom:30px;
    color:#fff;
    font-size:18px;
    text-align:center;
    width:100%;
}

.gallery-lightbox-img{
    cursor:pointer;
    transition:.3s;
}

.gallery-lightbox-img:hover{
    transform:scale(1.05);
}

@media(max-width:768px){

.lightbox-prev,
.lightbox-next{
    width:45px;
    height:45px;
    font-size:22px;
}

.lightbox-prev{
    left:10px;
}

.lightbox-next{
    right:10px;
}

#lightbox-image{
    max-width:95%;
}

}