/**
 * Country Page Styles
 * Separate CSS file for easy modification of country page designs
 */

/* ──────────────────────────────────────────────────────────── */
/* HERO SECTION */
/* ──────────────────────────────────────────────────────────── */

.country-hero {
    background: linear-gradient(135deg, #050d1a 0%, #0d1e38 50%, #1a3a52 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
    color: #fff;
}

.country-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.country-hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.country-hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 30px 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffa500, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 20px 0;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 28px;
    font-weight: 900;
    color: #ffa500;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* ──────────────────────────────────────────────────────────── */
/* FORM STYLING */
/* ──────────────────────────────────────────────────────────── */

.hero-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-header {
    margin-bottom: 30px;
}

.form-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 13px;
    margin-bottom: 8px;
}

.form-label i {
    margin-right: 6px;
    color: var(--primary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    color: #333;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-submit {
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    text-align: center;
}

.form-note i {
    margin-right: 4px;
}

/* ──────────────────────────────────────────────────────────── */
/* ABOUT SECTION */
/* ──────────────────────────────────────────────────────────── */

.about-buttons {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-image {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list i {
    color: var(--primary);
    margin-right: 10px;
}

/* ──────────────────────────────────────────────────────────── */
/* GRID LAYOUTS */
/* ──────────────────────────────────────────────────────────── */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card-grid-item {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

.card-grid-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* ──────────────────────────────────────────────────────────── */
/* CITIES GRID */
/* ──────────────────────────────────────────────────────────── */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
    margin-top: 40px;
}

.city-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    width: 100%;
}

.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    color: var(--primary);
    background: #fff;
}

/* ──────────────────────────────────────────────────────────── */
/* PROCESS STEPS */
/* ──────────────────────────────────────────────────────────── */

.bg-dark .process-step {
    position: relative;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bg-dark .process-step:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.process-step h4 {
    font-size: 16px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 8px;
}

.bg-dark .process-step h4 {
    color: #fff;
}

.process-step p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.bg-dark .process-step p {
    color: rgba(255, 255, 255, 0.9);
}

.process-num {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ──────────────────────────────────────────────────────────── */
/* REVIEWS SECTION */
/* ──────────────────────────────────────────────────────────── */

.reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.reviews-rating-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.reviews-rating-stars {
    font-size: 24px;
    color: #ffa500;
    margin-top: 12px;
    letter-spacing: 2px;
}

.reviews-rating-label {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 8px;
    font-weight: 500;
}

.review-card {
    padding: 30px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

.review-avatar.avatar-primary {
    background: var(--primary);
}

.review-avatar.avatar-secondary {
    background: var(--secondary);
}

.review-avatar.avatar-accent {
    background: var(--accent);
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 4px;
}

.review-title {
    font-size: 12px;
    color: var(--text-dim);
}

.review-stars {
    font-size: 14px;
    color: #ffa500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.review-text {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 14px;
}

/* ──────────────────────────────────────────────────────────── */
/* CTA SECTION */
/* ──────────────────────────────────────────────────────────── */

.cta-section {
    background: linear-gradient(135deg, var(--dark2) 0%, var(--primary) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.cta-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 0;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn.btn-secondary {
    color: #fff;
    border-color: #fff;
}

/* ──────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN */
/* ──────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .city-card {
        padding: 12px;
        font-size: 13px;
    }

    .btn.btn-lg {
        width: 100%;
    }

    .hero-form {
        padding: 30px 20px;
    }

    .country-hero {
        padding: 60px 0 !important;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }

    .hero-stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cities-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .city-card {
        padding: 12px;
        font-size: 13px;
        min-height: 45px;
    }

    .process-num {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .process-step {
        padding: 20px !important;
    }

    .hero-form {
        padding: 20px 15px;
    }

    .country-hero {
        padding: 40px 0 !important;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-text {
        font-size: 14px;
    }

    .form-title {
        font-size: 18px;
    }
}
