* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-text {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-name {
    color: #ff6b35;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-phone {
    margin: 0 2rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.phone-link:hover {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.phone-icon {
    font-size: 1.2rem;
}

.phone-number {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cars" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><text x="20" y="25" text-anchor="middle" fill="rgba(255,255,255,0.05)" font-size="16">🚗</text></pattern></defs><rect width="100" height="100" fill="url(%23cars)"/></svg>') repeat;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Advantages Section */
.advantages {
    padding: 4rem 0;
    background: #f8f9fa;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-card li:before {
    content: "✓ ";
    color: #ff6b35;
    font-weight: bold;
}

/* Calculator Section */
.calculator {
    padding: 4rem 0;
    background: #f8f9fa;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.calculation-result {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.result-value {
    font-weight: bold;
    color: #2c5aa0;
}

#calculate-btn {
    width: 100%;
    font-size: 1.1rem;
}

/* Process Section */
.process {
    padding: 4rem 0;
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    padding: 0.5rem 0;
}

.about-text li:before {
    content: "✓ ";
    color: #ff6b35;
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c5aa0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    color: #2c5aa0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* SEO Content Styles */
.seo-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.seo-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.seo-content-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.seo-article {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.seo-article h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.seo-article p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.seo-article ul {
    padding-left: 1.5rem;
}

.seo-article li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Video Section Styles */
.video-section {
    padding: 4rem 0;
    background: white;
}

.video-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-description h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.video-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.video-description ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.video-description li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Image optimizations */
.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .seo-content-grid {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        margin-bottom: 1rem;
    }
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 404 Error Page Styles */
.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.helpful-links {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.helpful-links h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.link-item a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.link-item a:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    font-weight: 600;
}

.regional-offices {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.regional-offices h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.city-link {
    display: block;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.city-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    padding-top: 80px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-content a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.mobile-nav-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    /* Fix header phone display */
    .header-phone {
        margin: 0 1rem;
    }

    .phone-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .phone-number {
        font-size: 0.85rem;
        letter-spacing: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
        overflow-x: hidden;
    }

    /* Fix navbar container on mobile */
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    /* Prevent text wrapping issues */
    .logo {
        flex-shrink: 0;
        max-width: calc(100% - 200px);
    }

    .logo-text {
        font-size: 1.2rem;
        padding: 8px 12px;
        letter-spacing: 1px;
    }

    .logo-name {
        font-size: 1rem;
    }

    /* 404 Mobile Styles */
    .error-number {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .helpful-links, .regional-offices {
        padding: 1.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Regional pages specific styles */
.region-hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    padding: 3rem 0;
}

.region-hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.region-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.region-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.region-stats .stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-width: 140px;
}

.region-stats .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.region-stats .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* Regions grid on main page */
.regions {
    padding: 4rem 0;
    background: #f8f9fa;
}

.regions h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.region-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
    color: #333;
    text-decoration: none;
}

.region-card h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.region-card p {
    color: #666;
    margin-bottom: 1rem;
}

.region-card span {
    color: #ff6b35;
    font-weight: 600;
}

/* Offices section */
.offices {
    padding: 4rem 0;
    background: white;
}

.offices h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.office-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.office-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.office-card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.office-card strong {
    color: #333;
}

.office-card a {
    color: #2c5aa0;
    text-decoration: none;
}

.office-card a:hover {
    color: #ff6b35;
}

/* Application section */
.application {
    padding: 4rem 0;
    background: #f8f9fa;
}

.application h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.application-info h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.application-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.application-info li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 20px;
}

.application-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.application-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input,
.form-row select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.application-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
}

.application-form-container textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-checkbox {
    margin: 1.5rem 0;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.form-checkbox a {
    color: #2c5aa0;
    text-decoration: none;
}

.form-checkbox a:hover {
    color: #ff6b35;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
}

/* Contact features */
.contact-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.feature span {
    font-size: 1.2rem;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: #f8f9fa;
    color: #2c5aa0;
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 5px 5px;
}

.dropdown-menu li:first-child a {
    border-radius: 5px 5px 0 0;
}

/* Responsive adjustments for regional pages */
@media (max-width: 768px) {
    .region-stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .regions-grid {
        grid-template-columns: 1fr;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .application-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .region-hero-content h1 {
        font-size: 1.8rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        min-width: auto;
    }

    .dropdown-menu a {
        padding: 8px 0;
        border-bottom: 1px solid #e0e0e0;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile improvements */
    .navbar .container {
        padding: 0 10px;
    }

    .header-phone {
        margin: 0 0.5rem;
    }

    .phone-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .phone-number {
        font-size: 0.75rem;
    }

    .logo {
        max-width: calc(100% - 140px);
    }

    .logo-text {
        font-size: 1rem;
        padding: 6px 8px;
        letter-spacing: 0.5px;
    }

    .logo-name {
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .advantages h2,
    .services h2,
    .calculator h2,
    .process h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
    }
}

/* Form info styles */
.form-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #2c5aa0;
}

.form-info p {
    margin-bottom: 0.5rem;
    color: #2c5aa0;
    font-weight: 600;
}

.form-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-info li {
    padding: 0.2rem 0;
    color: #666;
}

/* Detailed info section */
.detailed-info {
    padding: 4rem 0;
    background: white;
}

.detailed-info h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.info-block {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid #2c5aa0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-block h3 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.info-block p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

.info-block ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.info-block li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.info-block li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* FAQ section */
.faq {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.7;
    color: #555;
}

/* Testimonials section */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    color: #444;
    position: relative;
}

.testimonial-content p:before {
    content: """;
    font-size: 3rem;
    color: #ff6b35;
    position: absolute;
    left: -10px;
    top: -10px;
    line-height: 1;
}

.testimonial-author strong {
    color: #2c5aa0;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.3rem;
}

/* Enhanced about section */
.about-text h3 {
    color: #2c5aa0;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* Trust indicators */
.trust-indicators {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.trust-indicators h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.trust-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.trust-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certificates */
.certificates {
    margin-top: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.certificates h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.certificates p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.certificates-list {
    list-style: none;
    padding: 0;
}

.certificates-list li {
    padding: 0.8rem 0;
    color: #2c3e50;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
}

.certificates-list li:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        padding: 1.5rem;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trust-stat {
        padding: 1rem;
    }

    .trust-number {
        font-size: 1.8rem;
    }
}

/* Legal footer section styles */
.footer-legal {
    margin-top: 2rem;
    border-top: 1px solid #555;
    padding-top: 2rem;
}

.legal-notice {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.legal-notice h4 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.legal-notice p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #ddd;
    font-size: 0.95rem;
}

.legal-notice p strong {
    color: #fff;
}

.partners-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.partner {
    background: #333;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #444;
}

.partner strong {
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

.partner small {
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.4;
}

.legal-notice .warning {
    background: #3d2914;
    border: 1px solid #ff6b35;
    padding: 1rem;
    border-radius: 6px;
    color: #ffcc99;
    font-size: 0.9rem;
}

.legal-notice .warning strong {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .legal-notice {
        padding: 1.5rem;
    }

    .partners-info {
        grid-template-columns: 1fr;
    }

    .legal-notice h4 {
        font-size: 1.1rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem 1.5rem;
}

.calculation-details {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ff6b35;
}

.calculation-details h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.calculation-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.calculation-details strong {
    color: #333;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-form input[type="text"],
.modal-form input[type="tel"] {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modal-form input[type="text"]:focus,
.modal-form input[type="tel"]:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.modal-form .form-checkbox {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-form .form-checkbox input[type="checkbox"] {
    margin: 0;
    width: auto;
    flex-shrink: 0;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b, #d4501f);
}

.modal-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem 1rem;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 90, 160, 0.95);
    backdrop-filter: blur(10px);
    border-top: 3px solid #ffd700;
    padding: 15px;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: white;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-content a:hover {
    color: #ffed4a;
    text-decoration: none;
}

.cookie-btn {
    background: #ffd700;
    color: #1e3d72;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.cookie-btn:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.cookie-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-notice {
        padding: 12px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-content p {
        font-size: 0.9rem;
        min-width: auto;
    }

    .cookie-btn {
        width: 100%;
        max-width: 200px;
        padding: 14px 20px;
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.privacy-content h1 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.last-updated {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.privacy-section {
    margin-bottom: 35px;
}

.privacy-section h2 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #ffd700;
    font-weight: 600;
}

.privacy-section p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.privacy-section li::marker {
    color: #2c5aa0;
}

.privacy-section strong {
    color: #2c5aa0;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: #495057;
}

.contact-info a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1e3d72;
    text-decoration: underline;
}

.back-to-site {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.back-to-site .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 80px 0 40px;
    }

    .privacy-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .privacy-content h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-section p {
        text-align: left;
    }
}