/* =====================================================
   DrivePro Driving School - Professional Styles
   Navy / White / Orange accent
   ===================================================== */

:root {
    --navy: #0a2540;
    --navy-dark: #061828;
    --navy-light: #1a3a5c;
    --orange: #ff6b00;
    --orange-hover: #e55f00;
    --orange-soft: #fff4eb;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --radius: 0.75rem;
    --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white) !important;
}

.brand-logo {
    max-height: 48px;
    width: auto;
    height: auto;
    max-width: 160px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--white);
}

.brand-name {
    letter-spacing: -0.02em;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline-accent {
    border: 2px solid var(--orange);
    color: var(--orange);
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-accent:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-navy {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

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

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-btns .btn {
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
}

/* ---------- Sections ---------- */
.section {
    padding: 4.5rem 0;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.bg-light-section {
    background: var(--gray-50);
}

/* ---------- Why Choose Us ---------- */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

/* ---------- Course Cards ---------- */
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-card .course-img {
    height: 160px;
    object-fit: cover;
    width: 100%;
    background: var(--gray-100);
}

.course-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1rem;
}

.course-card .card-body p {
    font-size: 0.92rem;
    color: var(--gray-500);
    flex: 1;
}

/* ---------- Instructor Cards ---------- */
.instructor-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    height: 100%;
}

.instructor-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--gray-100);
}

.instructor-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.instructor-card .availability {
    font-size: 0.85rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.instructor-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    height: 100%;
    box-shadow: var(--shadow);
}

.testimonial-card .stars {
    color: var(--orange);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.testimonial-card .author-title {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.sample-badge {
    font-size: 0.7rem;
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.accordion-button {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--orange-soft);
    color: var(--navy);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.2);
}

.accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 0.5rem;
    border-radius: var(--radius) !important;
    overflow: hidden;
}

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ---------- Contact ---------- */
.contact-info-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
}

.contact-info-card h5 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-info-item i {
    color: var(--orange);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.map-placeholder {
    background: var(--gray-200);
    border-radius: var(--radius);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ---------- Forms ---------- */
.form-control:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links a,
.footer-contact a,
.footer-legal {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal:hover {
    color: var(--orange);
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-hours {
    font-size: 0.9rem;
    white-space: pre-line;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--orange);
    color: var(--white);
}

.footer-bottom {
    font-size: 0.85rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem 0;
}

.page-header h1 {
    font-weight: 700;
    font-size: 1.85rem;
    margin: 0;
}

/* ---------- Auth pages ---------- */
.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

/* ---------- Student / Admin shared ---------- */
.dashboard-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.dashboard-stat .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
}

.dashboard-stat .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---------- Utilities ---------- */
.text-navy { color: var(--navy) !important; }
.text-orange { color: var(--orange) !important; }
.bg-navy { background: var(--navy) !important; }

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hero {
        padding: 3.5rem 0 3rem;
        text-align: center;
    }
    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
    .navbar-nav .btn-accent {
        margin-top: 0.5rem;
        display: inline-block;
        width: fit-content;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3rem 0;
    }
    .course-card .course-img {
        height: 140px;
    }
}

/* ========== Premium enhancements ========== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #061828 0%, #0a2540 45%, #1a3a5c 100%);
    padding: 4.5rem 0 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 40%, rgba(255, 107, 0, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 255, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.97), transparent);
    pointer-events: none;
}

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

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(90deg, #fff 0%, #ffe0c2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroTitleIn 0.8s ease both;
}

.hero .lead {
    color: rgba(255,255,255,0.88);
    font-size: 1.15rem;
    max-width: 32rem;
    animation: heroTitleIn 0.8s 0.1s ease both;
}

.hero-btns { animation: heroTitleIn 0.8s 0.2s ease both; }

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

/* Car showcase */
.car-showcase {
    position: relative;
    height: 280px;
    perspective: 800px;
}

.car-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-svg {
    width: min(100%, 340px);
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    position: absolute;
}

.car-svg.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: carFloat 4s ease-in-out infinite;
}

@keyframes carFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.car-road {
    position: absolute;
    bottom: 28px;
    left: 5%;
    right: 5%;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25) 20%, rgba(255,255,255,0.25) 80%, transparent);
    border-radius: 4px;
    overflow: hidden;
}

.car-road::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 40%;
    height: 2px;
    margin-top: -1px;
    background: repeating-linear-gradient(90deg, #ff6b00 0 16px, transparent 16px 28px);
    animation: roadMove 1.2s linear infinite;
}

@keyframes roadMove {
    from { transform: translateX(0); }
    to { transform: translateX(44px); }
}

.car-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.car-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: 0.25s;
}

.car-dot.active,
.car-dot:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.15);
}

/* Cards upgrade */
.course-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    background: #fff;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 37, 64, 0.16);
}

.course-card .course-img {
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.feature-card {
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: 0 12px 32px rgba(10, 37, 64, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange-soft), #fff);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--orange), #ff8c33);
    color: #fff;
    transform: scale(1.08);
}

.section-title {
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.btn-accent {
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn-accent:hover {
    box-shadow: 0 8px 28px rgba(255, 107, 0, 0.45);
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy-light));
    color: #fff;
    padding: 2rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.stat-item { text-align: center; padding: 0.5rem; }
.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
}
.stat-label { font-size: 0.85rem; opacity: 0.85; }

.testimonial-card {
    border-radius: 1rem;
    border: none;
    box-shadow: var(--shadow);
    transition: 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Smooth page */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    .car-svg.active { animation: none; }
    .car-road::after { animation: none; }
    .hero h1, .hero .lead, .hero-btns { animation: none; }
}

/* ===== Premium photo hero ===== */
.hero-premium {
    position: relative;
    min-height: 520px;
    padding: 0 !important;
    background: #061828 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-premium::before,
.hero-premium::after { display: none !important; }

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg,
        rgba(6, 24, 40, 0.92) 0%,
        rgba(10, 37, 64, 0.75) 45%,
        rgba(10, 37, 64, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
}

.min-vh-50 { min-height: 420px; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.45);
    color: #ffb366;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-premium h1 {
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    animation: none;
}

.hero-premium h1 .text-accent {
    color: #ff6b00;
    -webkit-text-fill-color: #ff6b00;
}

.hero-premium .lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 34rem;
    margin-bottom: 1.75rem;
    animation: none;
}

.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff;
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--navy);
}

.hero-trust {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.hero-trust i {
    color: var(--orange);
    margin-right: 0.35rem;
}

.hero-nav-dots {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.hero-nav-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: 0.25s;
}

.hero-nav-dots button.active {
    background: var(--orange);
    border-color: var(--orange);
    width: 32px;
    border-radius: 8px;
}

.stats-wrap {
    margin-top: -2.75rem;
    position: relative;
    z-index: 5;
    margin-bottom: 1rem;
}

.stats-bar {
    background: linear-gradient(135deg, #0a2540, #1a3a5c);
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.25);
    padding: 1.5rem 0.5rem;
}

.section {
    padding: 4rem 0;
}

.bg-light-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

@media (max-width: 991px) {
    .hero-premium { min-height: 460px; }
    .hero-content { padding: 4rem 0 3rem; }
}

/* Gallery mosaic */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(10, 37, 64, 0.1);
    background: #0a2540;
    aspect-ratio: 4/3;
}
.gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(6,24,40,0.85));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.9rem;
}
.gallery-item figcaption span {
    opacity: 0.85;
    font-size: 0.8rem;
}
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--wide { grid-column: span 1; }
}

.map-embed {
    width: 100%;
    max-width: 100%;
    background: #e8eef5;
}
.map-embed iframe {
    width: 100% !important;
    max-width: 100%;
    min-height: 360px;
}


/* Social login */
.oauth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
}
.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.oauth-divider span {
    padding: 0 0.75rem;
}
.btn-oauth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1rem;
}
