/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #ed0009;
    --primary-dark: #c70008;
    --text-dark: #333;
    --text-gray: #4f4f4f;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover {
    background: #ccc;
    transform: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 180px;
    padding: 8px 0;
    margin-top: 10px;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    text-transform: none;
    color: var(--text-dark);
}

.nav-dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 50%;
    left: 30%;
    opacity: 0.08;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(237, 0, 9, 0.15);
    border: 1px solid rgba(237, 0, 9, 0.3);
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 3rem;
}

.btn-large {
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 350px;
    text-align: left;
}

.hero-card .card-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}

.hero-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.hero-card .card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card .card-list li {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.hero-card .card-list li:first-child {
    border-top: none;
}

.hero-card .inline-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-style: italic;
    transition: var(--transition);
}

.hero-card .inline-link:hover {
    color: white;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.pricing-badge.best-value {
    background: #22c55e;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.pricing-body .btn {
    width: 100%;
    text-align: center;
}

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

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

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Cost Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-inputs {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.calc-input-group {
    margin-bottom: 25px;
}

.calc-input-group:last-child {
    margin-bottom: 0;
}

.calc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.calc-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.toggle-group {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover {
    border-color: var(--primary-color);
}

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

.calc-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.calc-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.package-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.package-radio {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.package-radio:hover {
    border-color: var(--primary-color);
    background: #fafafa;
}

.package-radio.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.1));
}

.package-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
    background: white;
}

.package-radio:hover input[type="radio"] {
    border-color: #999;
}

.package-radio input[type="radio"]:checked {
    border-color: var(--primary-color);
    border-width: 5px;
}

.package-radio .radio-label {
    flex: 1;
    font-weight: 500;
    border: none;
    padding: 0;
    background: none;
}

.package-radio .radio-price {
    font-weight: 600;
    color: var(--primary-color);
    border: none;
    padding: 0;
    background: none;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.toggle-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cost-breakdown {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.cost-breakdown h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cost-table tr:last-child td {
    border-bottom: none;
}

.cost-amount {
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}

.subtotal-row td {
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    border-bottom: none;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
}

.total-amount {
    font-size: 1.5rem;
}

.cost-failure {
    background: #fef2f2;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #fecaca;
}

.cost-failure h3 {
    color: #dc2626;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.failure-warning {
    font-size: 0.9rem;
    color: #991b1b;
    margin-bottom: 15px;
}

.failure-table td {
    padding: 8px 0;
    border-bottom: 1px solid #fecaca;
}

.failure-total {
    background: #dc2626;
    margin-top: 15px;
}

.failure-consequences {
    margin-top: 20px;
    padding: 15px;
    background: #fef2f2;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.failure-consequences p {
    margin: 0 0 10px 0;
    color: #991b1b;
}

.failure-consequences ul {
    margin: 0;
    padding-left: 20px;
    color: #7f1d1d;
}

.failure-consequences li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.failure-consequences li:last-child {
    margin-bottom: 0;
}

.calculator-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.calculator-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .toggle-group {
        flex-direction: column;
    }

    .toggle-btn {
        text-align: center;
    }
}

/* Optician Map Section */
.optician-map {
    padding: 100px 0;
    background: var(--bg-light);
}

.map-link-container {
    text-align: center;
    margin: 40px 0;
}

.map-link-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.map-link-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(237, 0, 9, 0.3);
}

.map-link-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.map-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    margin: 15px 0 0;
}

.about-text h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.about-text .subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--text-dark);
}

.about-text .btn {
    margin-top: 1rem;
}

.about-text .credentials {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.about-text .credentials p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.about-text .credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-text .credentials li {
    color: var(--text-light);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.about-text .credentials li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-text .credentials a {
    color: var(--primary-color);
    text-decoration: none;
}

.about-text .credentials a:hover {
    text-decoration: underline;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Video Section */
.video-section {
    padding: 100px 0;
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.video-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--primary-color);
    margin-bottom: 1rem;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Country-Specific Guides in Blog Section */
.subsection-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.blog-grid.country-guides {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-card.country-card {
    text-align: center;
    padding: 1.5rem;
}

.blog-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.country-card .blog-content {
    padding: 0;
}

.country-card .blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.country-card .blog-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Resource Cards */
.blog-grid.resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.blog-card.resource-card {
    text-align: center;
    padding: 1.5rem;
}

.resource-card .blog-content {
    padding: 0;
}

.resource-card .blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.resource-card .blog-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(237, 0, 9, 0.1);
}

.contact-form .btn {
    width: 100%;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer .last-updated {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* Blog Date Styling */
.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Wizard Section */
.wizard-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.wizard-section .section-title {
    color: white;
}

.wizard-section .section-title::after {
    background: white;
}

.wizard-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.step-content {
    padding-left: 55px;
}

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

.wizard-container .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.wizard-container .form-group select,
.wizard-container .form-group input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.wizard-container .form-group select:focus,
.wizard-container .form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 400;
}

.radio-label:hover {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.radio-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(237, 0, 9, 0.05);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-wrapper input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.autocomplete-wrapper input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.autocomplete-wrapper input[type="text"].has-value {
    border-color: #22c55e;
    background: #f0fff4;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.autocomplete-results.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: #f8f9fa;
}

.autocomplete-item .country-name {
    font-weight: 500;
    color: var(--text-dark);
}

.autocomplete-item .country-status {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.autocomplete-item .country-status.full {
    color: #22c55e;
}

.autocomplete-item .country-status.partial {
    color: #f59e0b;
}

.autocomplete-item .country-status.none {
    color: var(--primary-color);
}

.wizard-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background: #e0e0e0;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #d0d0d0;
}

/* Results Styles */
.results-container {
    margin-bottom: 30px;
}

.result-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.result-card.urgent {
    background: #fff3f3;
    border-left: 4px solid var(--primary-color);
}

.result-card.success {
    background: #f0fff4;
    border-left: 4px solid #22c55e;
}

.result-card.warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
}

.result-card.info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.result-card h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-card h4 .icon {
    font-size: 1.3rem;
}

.result-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.result-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.result-card li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.result-card a {
    color: var(--primary-color);
    text-decoration: underline;
}

.result-card a:hover {
    text-decoration: none;
}

.result-card a.btn-small {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.result-card a.btn-small:hover {
    color: white;
}

.highlight-requirement {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0;
}

.highlight-requirement strong {
    color: #b45309;
}

.deadline-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.deadline-display.expired {
    color: #f59e0b;
}

.deadline-display.warning {
    color: #f59e0b;
}

.deadline-display.safe {
    color: #22c55e;
}

.deadline-display.tolerance {
    color: #f59e0b;
}

.days-remaining {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.checklist {
    list-style: none;
    padding: 0;
}

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

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

.checklist .check-icon {
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.cta-box h4 {
    color: white;
    margin-bottom: 10px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
}

.cta-box .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2rem; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Mobile dropdown */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        display: none;
        padding: 10px 0 0;
        margin-top: 0;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.mobile-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu li a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat {
        text-align: center;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }

    .wizard-container {
        padding: 25px;
    }

    .step-content {
        padding-left: 0;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .wizard-buttons {
        flex-direction: column;
    }

    .wizard-buttons .btn {
        width: 100%;
    }
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-item.active .faq-icon {
    color: white;
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    background: white;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

/* Source Notes */
.source-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.source-note a {
    color: var(--primary-color);
}

.source-note a:hover {
    text-decoration: underline;
}
