/* Premium City Page Styles */

:root {
    --city-bg: #f8f5f1;
    --city-surface: #fffdfb;
    --city-tint: #fbf3ef;
    --city-card: #ffffff;
    --city-text: #1f272b;
    --city-muted: #59606d;
    --city-border: rgba(161, 44, 47, 0.08);
    --city-shadow: 0 20px 50px rgba(24, 32, 56, 0.08);
    --city-shadow-hover: 0 26px 60px rgba(24, 32, 56, 0.13);
    --city-accent: #a12c2f;
    --city-accent-deep: #8b2327;
    --city-navy: #3125e0;
    --city-soft-gradient: linear-gradient(135deg, rgba(161, 44, 47, 0.07) 0%, rgba(255, 255, 255, 0.98) 100%);
    --city-gold-gradient: linear-gradient(135deg, #a12c2f 0%, #cf5b4a 100%);
    --city-blue-gradient: linear-gradient(135deg, #a12c2f 0%, #3125e0 100%);
}

body {
    background: var(--city-bg);
}

.location-section {
    position: relative;
}

.premium-section {
    padding: 88px 0;
}

.section-surface {
    background: var(--city-surface);
}

.section-tint {
    background: var(--city-tint);
}

.premium-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 88px;
    background:
        radial-gradient(circle at top left, rgba(255, 221, 117, 0.16), transparent 30%),
        radial-gradient(circle at right center, rgba(255, 255, 255, 0.16), transparent 24%),
        linear-gradient(135deg, #a12c2f 0%, #cf5b4a 45%, #3125e0 100%);
    animation: heroFadeIn 0.9s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.18) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.35) 100%);
}

.premium-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.premium-hero h6 {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.premium-hero h2 {
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.06;
    font-weight: 700;
    margin-bottom: 20px;
}

.location-hero-copy {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 42px;
}

.stat-item {
    min-width: 160px;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.stat-item div:first-child {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-item div:last-child {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.premium-card,
.course-box,
.feature-card,
.service-card,
.testimonial-card,
.college-card,
.process-step,
.infrastructure-card,
.career-card {
    background: var(--city-card);
    border: 1px solid var(--city-border);
    border-radius: 28px;
    box-shadow: var(--city-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.premium-card:hover,
.course-box:hover,
.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.college-card:hover,
.process-step:hover,
.infrastructure-card:hover,
.career-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--city-shadow-hover);
    border-color: rgba(161, 44, 47, 0.18);
}

.location-overview,
.quick-facts-card {
    height: 100%;
    padding: 36px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--city-accent-deep);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--city-gold-gradient);
    box-shadow: 0 14px 30px rgba(200, 141, 66, 0.24);
    flex-shrink: 0;
}

.location-overview h2,
.section-header h2,
.top-colleges h2,
.premium-cta h2 {
    color: var(--city-text);
    line-height: 1.15;
}

.location-overview h2 {
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
    margin-bottom: 18px;
}

.location-overview .lead,
.location-overview p,
.top-colleges p,
.premium-accordion-body .content,
.testimonial-content p,
.service-card p,
.feature-card p,
.course-box p,
.process-step p,
.infrastructure-card p,
.career-card p {
    color: var(--city-muted);
    line-height: 1.8;
}

.premium-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.benefit-item {
    padding: 22px 20px;
    border-radius: 22px;
    background: var(--city-soft-gradient);
    border: 1px solid rgba(161, 44, 47, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--city-accent);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(161, 44, 47, 0.10);
    flex-shrink: 0;
}

.benefit-item h6 {
    color: var(--city-text);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    align-self: center;
}

.benefit-item p {
    margin-bottom: 0;
    color: var(--city-muted);
    width: 100%;
}

.premium-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.premium-card-header h4 {
    margin: 0;
    color: var(--city-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.facts-list {
    display: grid;
    gap: 16px;
}

.location-quick-fact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: #fcf7f5;
    border: 1px solid rgba(161, 44, 47, 0.05);
}

.location-quick-fact-item .label {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(161, 44, 47, 0.10);
    color: var(--city-accent);
    flex-shrink: 0;
}

.meta-label {
    display: block;
    color: var(--city-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.location-quick-fact-item .value {
    display: block;
    color: var(--city-text);
    font-weight: 600;
    line-height: 1.6;
}

.quick-facts-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.location-contact-btn,
.location-outline-btn {
    min-width: 150px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: none;
}

.location-contact-btn {
    border-color: var(--city-accent);
    background: var(--city-gold-gradient);
}

.location-outline-btn {
    color: var(--city-accent);
    border-color: rgba(161, 44, 47, 0.24);
    background: transparent;
}

.location-outline-btn:hover,
.location-outline-btn:focus {
    color: #fff;
    background: var(--city-gold-gradient);
    border-color: transparent;
}

.section-header {
    margin-bottom: 24px;
}

.section-header div:first-child {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    background: var(--city-gold-gradient);
    box-shadow: 0 14px 28px rgba(161, 44, 47, 0.20);
}

.section-header h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    margin-bottom: 14px;
    font-weight: 700;
}

.section-header p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--city-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.courses-in-city .course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.course-box,
.feature-card,
.service-card,
.college-card,
.process-step,
.testimonial-card,
.infrastructure-card,
.career-card {
    position: relative;
    overflow: hidden;
}

.course-box {
    padding: 34px 30px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.course-box::before,
.feature-card::before,
.service-card::before,
.process-step::before,
.testimonial-card::before,
.infrastructure-card::before,
.career-card::before,
.college-card::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: var(--city-gold-gradient);
    opacity: 0.95;
}

.course-icon,
.card-icon,
.service-icon,
.testimonial-badge {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 22px;
    background: var(--city-blue-gradient);
    box-shadow: 0 16px 30px rgba(36, 54, 77, 0.18);
}

.course-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.course-box:nth-child(2) .course-icon,
.feature-card:nth-child(2) .card-icon,
.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #3e5977 0%, #755427 100%);
}

.course-box:nth-child(3) .course-icon,
.feature-card:nth-child(3) .card-icon,
.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #4d6c8e 0%, #29425e 100%);
}

.course-box:nth-child(4) .course-icon,
.feature-card:nth-child(4) .card-icon,
.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #8f6631 0%, #c99452 100%);
}

.feature-card,
.service-card,
.college-card,
.process-step,
.testimonial-card,
.infrastructure-card,
.career-card {
    padding: 32px;
    height: 100%;
}

.feature-card h5,
.service-card h5,
.course-box h5,
.college-card h5,
.process-step h5,
.infrastructure-card h5,
.career-card h5 {
    color: var(--city-text);
    font-size: 1.22rem;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 14px;
}

.course-box h5 {
    margin: 0;
    flex: 1;
    align-self: center;
}

.course-box p {
    width: 100%;
    margin-top: 4px;
}

.card-hover-effect,
.service-hover-effect,
.course-hover-overlay {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.05), rgba(49, 37, 224, 0.05));
    opacity: 0;
}

.feature-card:hover .card-hover-effect {
    opacity: 1;
}

.service-hover-effect {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(161, 44, 47, 0.08);
}

.service-card:hover .service-hover-effect {
    transform: scale(1.08);
}

.course-hover-overlay {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.92), rgba(49, 37, 224, 0.88));
    opacity: 0;
}

.course-box:hover .course-hover-overlay {
    opacity: 1;
}

.course-hover-overlay div {
    color: #fff;
}

.course-hover-overlay div:first-child {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.course-hover-overlay p {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.premium-accordion {
    overflow: hidden;
}

.premium-accordion-item + .premium-accordion-item {
    border-top: 1px solid rgba(161, 44, 47, 0.08);
}

.premium-accordion-head {
    position: relative;
    padding: 24px 70px 24px 28px;
    background: #fff;
    cursor: pointer;
}

.premium-accordion-head:hover,
.premium-accordion-head.is-open {
    background: #fff7f4;
}

.premium-accordion-head span:first-child {
    display: block;
    color: var(--city-text);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.6;
}

.premium-accordion-head .icon {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: rgba(161, 44, 47, 0.10);
}

.premium-accordion-head .icon i {
    color: var(--city-accent);
}

.premium-accordion-head.is-open .icon {
    transform: translateY(-50%) rotate(90deg);
}

.premium-accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    background: #fff;
    transition: max-height 300ms ease, padding 300ms ease;
}

.premium-accordion-body.show {
    max-height: 700px;
    padding: 0 28px 24px;
}

.premium-accordion-body .content {
    padding-top: 16px;
}

.top-colleges .college-card {
    min-height: 100%;
}

.top-colleges .college-card h5 i,
.infrastructure-card h5 i,
.career-card h5 i {
    color: var(--city-accent-deep);
    margin-right: 8px;
}

.admission-process .process-step {
    min-height: 100%;
}

.admission-process .step-number {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    background: var(--city-gold-gradient);
    box-shadow: 0 16px 30px rgba(200, 141, 66, 0.24);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.testimonial-badge {
    margin-bottom: 0;
    border-radius: 50%;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(161, 44, 47, 0.08);
}

.testimonial-author h6 {
    margin-bottom: 6px;
    color: var(--city-text);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--city-muted);
}

.premium-cta {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background: linear-gradient(135deg, #8f2a2d 0%, #6f2c2d 100%);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 44px 44px;
}

.premium-cta .container {
    position: relative;
    z-index: 2;
}

.premium-cta-panel {
    padding: 48px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.cta-content div:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-content div:first-child span,
.premium-cta h2,
.premium-cta p,
.cta-feature span,
.contact-info p:last-child {
    color: #fff;
}

.premium-cta h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.7rem);
    margin-bottom: 16px;
}

.premium-cta p {
    max-width: 620px;
    line-height: 1.8;
    opacity: 0.88;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 24px;
}

.cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.cta-feature div:first-child {
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.premium-cta-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    color: var(--city-navy);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.15);
}

.premium-cta-btn:hover,
.premium-cta-btn:focus {
    transform: translateY(-2px);
    color: var(--city-navy);
}

.contact-info {
    text-align: center;
    margin-top: 8px;
}

.contact-info p:first-child {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

@media (max-width: 1199px) {
    .premium-section {
        padding: 76px 0;
    }

    .location-overview,
    .quick-facts-card,
    .feature-card,
    .service-card,
    .college-card,
    .process-step,
    .testimonial-card,
    .infrastructure-card,
    .career-card {
        padding: 28px;
    }
}

@media (max-width: 991px) {
    .premium-hero {
        padding: 104px 0 74px;
    }

    .premium-benefits,
    .courses-in-city .course-grid {
        grid-template-columns: 1fr;
    }

    .quick-facts-actions {
        flex-direction: column;
    }

    .location-contact-btn,
    .location-outline-btn {
        width: 100%;
    }

    .premium-cta-panel {
        padding: 36px;
    }

    .cta-buttons {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .premium-section,
    .premium-cta {
        padding: 64px 0;
    }

    .premium-hero {
        padding: 92px 0 62px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-item {
        min-width: 0;
    }

    .location-overview,
    .quick-facts-card,
    .feature-card,
    .service-card,
    .course-box,
    .college-card,
    .process-step,
    .testimonial-card,
    .infrastructure-card,
    .career-card,
    .premium-cta-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .section-header div:first-child,
    .section-icon-circle,
    .course-icon,
    .card-icon,
    .service-icon,
    .testimonial-badge {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 1.25rem;
    }

    .premium-accordion-head {
        padding: 22px 62px 22px 22px;
    }

    .premium-accordion-body {
        padding: 0 22px 22px;
    }

    .cta-features {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {
    .hero-badge {
        width: 100%;
        padding-inline: 16px;
    }

    .hero-badge span {
        justify-content: center;
        text-align: center;
    }

    .premium-hero h6 {
        font-size: 0.88rem;
        letter-spacing: 0.12em;
    }

    .location-hero-copy,
    .section-header p,
    .premium-cta p {
        font-size: 0.98rem;
    }

    .section-kicker {
        gap: 10px;
        font-size: 0.82rem;
    }

    .location-quick-fact-item {
        padding: 16px;
    }

    .faq-section .section-header {
        margin-bottom: 18px;
    }

    .faq-section .section-header div:first-child {
        display: inline-flex;
        margin: 0 auto 30px;
        position: relative;
        z-index: 1;
    }

    .faq-section .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        max-width: 260px;
        margin-top: 0 !important;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 0;
    }

    .faq-section .section-header p {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}
