body {
    background-color: #ffffff !important;
    color: #111827 !important;
    color-scheme: light !important;
}

/* Canada-specific styles */
.canada-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background-image: url('../img/canada.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.canada-hero .hero-content {
    min-height: auto;
    padding: 0;
}

.canada-hero .hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.canada-hero .hero-subtitle {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 30px;
    line-height: 1.75;
    max-width: 600px;
}

/* Header Redesign */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-link-header {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-link-header:hover {
    transform: scale(1.1);
}

.icon-whatsapp {
    color: #22c55e;
    width: 20px;
    height: 20px;
}

.btn-header-cta {
    background-color: #2563eb;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-header-cta:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .header-contact {
        display: none !important;
    }
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
}

.feature-icon {
    color: #4ade80;
    width: 20px;
    height: 20px;
}

/* Hero Button */
.btn-hero-main {
    border-radius: 9999px;
    padding: 16px 40px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-main:hover {
    transform: scale(1.05);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d1d5db;
    font-size: 0.875rem;
}

.badge-icon-star {
    color: #facc15;
    fill: #facc15;
    width: 16px;
    height: 16px;
}

.badge-icon-shield {
    color: #60a5fa;
    width: 16px;
    height: 16px;
}

.badge-separator {
    color: #4b5563;
}

@media (max-width: 768px) {
    .header-right {
        display: none;
        /* Hide on mobile to avoid overcrowding, or handle with mobile menu */
    }

    .canada-hero {
        min-height: 500px;
        padding: 80px 0;
        text-align: center;
    }

    .hero-overlay {
        background: rgba(17, 24, 39, 0.7);
    }

    .canada-hero .hero-title {
        font-size: 36px;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .trust-badges {
        flex-direction: column;
        gap: 8px;
    }

    .badge-separator {
        display: none;
    }
}

.canada-hero h1 {
    color: #fff;
}

.canada-hero p {
    color: #fff;
}

.btn {
    text-decoration: none;
}

.destinations-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.destination-card-gallery {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.destination-card-gallery:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.destination-card-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card-gallery:hover img {
    transform: scale(1.1);
}

.destination-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.visa-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.visa-types-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .visa-types-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .visa-types-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Specific 3+2 layout for Europe */
.visa-types-grid-europe {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.visa-types-grid-europe .visa-type-card {
    grid-column: span 2;
}

.visa-types-grid-europe .visa-type-card:nth-child(4),
.visa-types-grid-europe .visa-type-card:nth-child(5) {
    grid-column: span 3;
}

@media (max-width: 1024px) {
    .visa-types-grid-europe {
        grid-template-columns: repeat(2, 1fr);
    }

    .visa-types-grid-europe .visa-type-card {
        grid-column: span 1;
    }

    .visa-types-grid-europe .visa-type-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .visa-types-grid-europe {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .visa-types-grid-europe .visa-type-card {
        grid-column: span 1 !important;
    }

    .visa-types-grid-europe .visa-type-card:nth-child(5) {
        grid-column: span 1 !important;
    }
}

.visa-type-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    /* border-top: 4px solid var(--primary-blue); */
    transition: all 0.3s ease;
}

.visa-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.visa-type-card h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.visa-type-card p {
    color: var(--text-gray);
    font-size: 15px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.document-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.document-card .card-content {
    flex: 1;
}

.document-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.document-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 26.5px;
    top: 55px;
    bottom: -30px;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
    transition: background-color 0.4s ease;
}

.process-step:last-child::after {
    display: none;
}

.process-step.line-active::after {
    background-color: #1a56db;
}

.step-number {
    position: relative;
    z-index: 2;
    width: 55px;
    height: 55px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    flex-grow: 1;
}

.step-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 12px;
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 20px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.process-step.active .step-number {
    background-color: #1a56db;
    color: #fff;
    box-shadow: 0 0 15px rgba(26, 86, 219, 0.4);
}

.process-step.active .step-card {
    border-color: #1a56db;
}

.info-box {
    background-color: #f8fbff;
    border-left: 4px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    padding: 30px;
    margin: 40px 0;
}

.info-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.info-box ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 18px;
}

/* --- Dreaming of Canada Section --- */
.dreaming-section {
    padding: 80px 0;
    background-color: var(--white);
}

.dreaming-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .dreaming-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.dreaming-image-col {
    position: relative;
}

.dreaming-img {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.5s ease;
    object-fit: cover;
}

@media (min-width: 768px) {
    .dreaming-img {
        height: 550px;
    }
}

.dreaming-img:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dreaming-title {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.dreaming-text {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.625;
}

.dreaming-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dreaming-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

/* --- Key Stats Grid Section --- */
.key-stats-section {
    background-color: #f9fafb;
    padding: 64px 0;
}

.key-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .key-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    width: 24px;
    height: 24px;
}

.bg-blue-light {
    background-color: #eff6ff;
}

.text-blue {
    color: #3b82f6;
}

.bg-green-light {
    background-color: #f0fdf4;
}

.text-green {
    color: #22c55e;
}

.bg-purple-light {
    background-color: #faf5ff;
}

.text-purple {
    color: #a855f7;
}

.bg-orange-light {
    background-color: #fff7ed;
}

.text-orange {
    color: #f97316;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-title {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 768px) {
    .canada-hero {
        padding: 80px 0 60px;
        min-height: 400px;
    }

    .destinations-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .destination-card-gallery {
        height: 220px;
    }

    .visa-types-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        left: 24px;
        top: 50px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.info-callout {
    background-color: #f8fbff;
    border: 1px solid #e1effe;
    border-left: 4px solid #1a56db;
    padding: 20px 24px;
    border-radius: 3px;
    max-width: 800px;
    margin: 30px auto;
}

.info-callout p {
    margin-bottom: 12px;
}

.info-callout p:last-child {
    margin-bottom: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 30px;
}

.category-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-card span {
    flex: 1;
    font-size: 18px;
}

.category-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.service-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 71, 171, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* .service-card:hover .service-icon-circle {
    background-color: #1a56db;
    border-color: #1a56db;
    transform: scale(1.1) rotate(5deg);
} */

.service-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* .service-card:hover .service-icon-img {
    filter: brightness(0) invert(1);
} */

.card-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.visa-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.visa-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto;
}

.processing-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    max-width: 800px;
    margin: 0 auto;
}

.processing-card ul {
    list-style: none;
    padding-left: 0;
}

.processing-card li {
    margin-bottom: 16px;
}

footer,
.footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding-top: 60px;
    padding-bottom: 40px;
    margin-top: 80px;
}

/* Responsive Enhancements */
@media (max-width: 1024px) {

    .documents-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Принудительно 1 колонка для всех сеток на мобильных */
    .documents-grid,
    .categories-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Убираем жесткую минимальную ширину у карточек, если она есть */
    .document-card,
    .category-card,
    .service-card {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Card inner paddings */
    .visa-type-card,
    .document-card,
    .category-card,
    .service-card,
    .step-card,
    .processing-card,
    .info-callout,
    .info-box {
        padding: 20px;
    }

    /* General section paddings */
    .services,
    .schengen-services,
    .dreaming-section,
    .key-stats-section {
        padding: 40px 15px;
    }

    /* Typography */
    .hero-title {
        font-size: 32px;
    }

    .dreaming-title,
    .schengen-title,
    .services-title {
        font-size: 26px;
    }

    /* Image Heights */
    .dreaming-img {
        height: 300px;
        max-height: 300px;
    }

    /* Process Steps Timeline */
    .process-step::after {
        display: none;
    }

    /* Marquee mobile adjustments */
    .marquee-card {
        width: 180px;
        height: 110px;
    }

    .marquee-card-title {
        font-size: 14px;
    }

    .marquee-container {
        gap: 10px;
        margin: 20px 0;
    }

    /* Inline style overrides */
    .mobile-title-adjust {
        font-size: 26px !important;
        margin-bottom: 25px !important;
    }

    .mobile-margin-adjust {
        margin: 30px auto !important;
    }
}

/* --- Europe Marquee Styles --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee-row {
    display: flex;
    width: fit-content;
    gap: 20px;
}

.marquee-track-left {
    display: flex;
    gap: 20px;
    animation: scroll-left 45s linear infinite;
}

.marquee-track-right {
    display: flex;
    gap: 20px;
    animation: scroll-right 45s linear infinite;
}

.marquee-row:hover .marquee-track-left,
.marquee-row:hover .marquee-track-right {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-50% - 10px));
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-card {
    position: relative;
    width: 250px;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.marquee-card:hover {
    transform: scale(1.05);
}

.marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.marquee-card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}