/* ========================================
   EstaGuide.co.uk - Professional CSS
   Brand Colors & Global Styles
   ======================================== */

:root {
    --primary-color: #1c3664;
    --secondary-color: #28af4b;
    --supporting-1: #c8ddf4;
    --supporting-2: #252525;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TOP BAR
   ======================================== */
.topbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.topbar-item i {
    color: var(--secondary-color);
}

.topbar-item a {
    color: var(--white);
}

.topbar-item a:hover {
    color: var(--secondary-color);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px var(--shadow-hover);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========================================
   HERO BANNER
   ======================================== */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7f 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(40, 175, 75, 0.2);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #229940;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 175, 75, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   COUNTRY SELECTOR SECTION
   ======================================== */
.country-selector-section {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.selector-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.selector-card h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.selector-card .subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.country-select-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.country-select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="%231c3664" d="M0 0l6 8 6-8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.country-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(40, 175, 75, 0.1);
}

.eligibility-result {
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: none;
    animation: slideDown 0.4s ease;
}

.eligibility-result.eligible {
    background-color: #e8f5e9;
    border: 2px solid var(--secondary-color);
    display: block;
}

.eligibility-result.not-eligible {
    background-color: #fff3e0;
    border: 2px solid #ff9800;
    display: block;
}

.eligibility-result.hidden {
    display: none;
}

.result-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.result-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-text {
    font-size: 15px;
    line-height: 1.6;
}

.eligible .result-title {
    color: var(--secondary-color);
}

.not-eligible .result-title {
    color: #f57c00;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text .highlight {
    color: var(--secondary-color);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badge i {
    font-size: 24px;
    color: var(--secondary-color);
}

.trust-badge .badge-text {
    font-size: 14px;
}

.badge-number {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* ========================================
   VWP COUNTRIES SECTION
   ======================================== */
.vwp-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.features-section .section-header h2 {
    color: var(--white);
}
.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.country-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
    border-color: var(--secondary-color);
}

.country-card .flag {
    font-size: 40px;
    margin-bottom: 10px;
}

.country-card .name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--supporting-1) 0%, var(--white) 100%);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.comparison-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.comparison-card.recommended {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(40, 175, 75, 0.2);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.comparison-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.comparison-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.comparison-card li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comparison-card li:last-child {
    border-bottom: none;
}

.comparison-card li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.comparison-card.basic li i {
    color: #ccc;
}

/* ========================================
   PROCESSING OPTIONS
   ======================================== */
.processing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.processing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.processing-card {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.processing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.processing-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #f8fff9 0%, var(--white) 100%);
}

.processing-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.processing-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.processing-time {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.processing-label {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7f 100%);
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    display: flex;
    gap: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 42px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-flag {
    font-size: 32px;
}

.author-info .name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
}

.author-info .location {
    font-size: 13px;
    color: var(--text-light);
}

.author-info .visa-type {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2px;
}

/* ========================================
   REQUIREMENTS SECTION
   ======================================== */
.requirements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--supporting-1) 0%, var(--white) 100%);
}

.requirements-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 40px auto 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.requirements-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.requirements-card .time-estimate {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 15px 0;
    padding-left: 35px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 60px 25px 25px;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7f 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 15px;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.contact-value {
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(40, 175, 75, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background-color: #e8f5e9;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    display: block;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--supporting-2);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-disclaimer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 38px;
    }
    
    .about-content,
    .comparison-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .processing-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 2px 0 10px var(--shadow);
        transition: left 0.3s ease;
        z-index: 2000;
        padding: 80px 0 30px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 30px;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 1999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero-banner {
        padding: 60px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .subtitle {
        font-size: 18px;
    }
    
    .selector-card {
        padding: 30px 20px;
    }
    
    .selector-card h2 {
        font-size: 26px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .selector-card {
        padding: 25px 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .country-card {
        padding: 15px;
    }
    
    .country-card .flag {
        font-size: 32px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid var(--secondary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   CAPTCHA
   ======================================== */
.captcha-group { margin-bottom: 20px; }

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.captcha-question {
    background: var(--primary-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    letter-spacing: 2px;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.captcha-equals {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.captcha-input {
    width: 90px !important;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 8px !important;
    flex-shrink: 0;
}

/* Remove number input arrows */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-input[type=number] { -moz-appearance: textfield; }

.captcha-refresh {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.captcha-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
}
