:root {
    --sky-blue: #A7D8F0;
    --soft-salmon: #FFA07A;
    --seafoam-green: #B8E0D2;
    --muted-terracotta: #E07A5F;
    --sand-beige: #F4E2D8;
    --text-dark: #2C3E50;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
}

.navbar .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 1rem;
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.3), rgba(44, 62, 80, 0.3)),
                url('/images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 8rem 0;
}

.blog-hero {
    min-height: 60vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background-color: white;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--muted-terracotta);
    margin-bottom: 1.5rem;
    display: block;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background-color: var(--sand-beige);
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--soft-salmon);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.process-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--soft-salmon);
    transform: translateY(-50%);
}

/* Trust Signals */
.trust-signal {
    border-left: 4px solid var(--seafoam-green);
    padding: 1.5rem 2rem;
    margin: 1rem 0;
    background: white;
    border-radius: 0 15px 15px 0;
    transition: all 0.3s ease;
}

.trust-signal:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* CTA Sections */
.cta-section {
    background-color: var(--sand-beige);
    padding: 6rem 0;
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--muted-terracotta);
    border-color: var(--muted-terracotta);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--soft-salmon);
    border-color: var(--soft-salmon);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.btn-secondary {
    background-color: var(--sky-blue);
    border-color: var(--sky-blue);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--soft-salmon);
    border-color: var(--soft-salmon);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.btn-tertiary {
    background-color: var(--soft-salmon);
    border-color: var(--soft-salmon);
    color:white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-tertiary:hover {
    background-color: var(--muted-terracotta);
    border-color: var(--muted-terracotta);
    color:white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-fourth {
    background-color: var(--seafoam-green);
    border-color: var(--seafoam-green);
    color:white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-fourth:hover {
    background-color: var(--sky-blue);
    border-color: var(--sky-blue);
    color:white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}


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

.footer h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--seafoam-green) !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-img {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-right: 2rem;
}

.timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--muted-terracotta);
}

.timeline-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--muted-terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-grow: 1;
}

/* Who It's For Section */
.who-for-section {
    background-color: var(--sand-beige);
    padding: 6rem 0;
}

.persona-card {
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    color: white;
    transition: transform 0.3s ease;
}

.d2-persona-card {
    background-color: var(--sky-blue);
    color:black
}

.d8-persona-card {
    background-color: var(--muted-terracotta);
}

.d7-persona-card {
    background-color: var(--soft-salmon);
}   

.persona-card:hover {
    transform: translateY(-10px);
}

.persona-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.persona-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.affiliate-card {
    color:black;
    border: 2px solid var(--muted-terracotta);
}

.visa-tag {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.75rem 2rem;
    border: 1px solid white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.visa-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.persona-card.nhr-card {
    background-color: var(--seafoam-green);
    color: black;
}

/* Why Us Section */
.why-us-section {
    background: white;
    padding: 6rem 0;
}

.why-us-content {
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--sand-beige);
    padding: 6rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: -3rem auto 1.5rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--muted-terracotta);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--muted-terracotta);
    font-weight: 600;
}

/* How to Apply Section */
.how-to-apply-section {
    background: white;
    padding: 6rem 0;
}

.apply-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--muted-terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-icon i {
    color: white;
    font-size: 1.5rem;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Timeline Cards */
.timeline-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--muted-terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(224, 122, 95, 0.3);
}

/* Why Choose List */
.why-choose-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.why-choose-list i {
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.why-choose-list strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

/* Requirements List */
.requirements-list {
    padding-right: 2rem;
}

.requirement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(224, 122, 95, 0.1);
}

.requirement-item:hover {
    transform: translateX(5px);
    border-color: var(--muted-terracotta);
}

.requirement-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.requirement-item h4 i {
    font-size: 1.2rem;
}

.requirement-item p {
    color: var(--text-muted);
    margin-bottom: 0;
    padding-left: 2rem;
}

/* Purpose Section */
.ideal-for-list {
    margin-top: 2rem;
}

.ideal-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.ideal-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .hero-section .col-lg-6:last-child {
        margin-top: 2rem;
    }

    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
    }
    
    
    
    .process-connector {
        display: none;
    }
    
    .benefit-card {
        margin-bottom: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-img {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .why-us-section .col-md-6:first-child {
        display: none;
    }
    
    .why-us-content {
        margin-top: 0;
        padding-left: 0 !important;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .apply-content {
        margin-bottom: 2rem;
    }

    .timeline-card {
        margin-bottom: 1rem;
    }
    
    .requirements-list {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

/* Programs Page Specific Styles */
.programs-page-hero {
    min-height: 60vh;
    background: var(--sand-beige);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.programs-page-hero .container {
    position: relative;
    z-index: 2;
}

.programs-page-hero h1 {
    color: black;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.programs-page-hero .lead {
    color: black;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.visa-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.visa-badge {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.visa-badge.d7-badge {
    background-color: var(--soft-salmon);
    color: white;
}

.visa-badge.d8-badge {
    background-color: var(--muted-terracotta);
    color: white;
}

.visa-badge.d2-badge {
    background-color: var(--sky-blue);
    color: black;
}

.visa-badge.nhr-badge {
    background-color: var(--seafoam-green);
    color: black;
}

.visa-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .programs-page-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }

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

    .programs-page-hero .lead {
        font-size: 1.2rem;
    }

    .visa-badges {
        flex-wrap: wrap;
    }

    .visa-badge {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* Timeline Horizontal */
.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--muted-terracotta);
    z-index: 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--sand-beige);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--muted-terracotta);
}

.timeline-step h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-step p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--sand-beige);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.program-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.program-header {
    background: var(--sand-beige);
    padding: 2rem;
    text-align: center;
}

.program-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-body {
    padding: 2rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.program-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.program-features i {
    color: var(--muted-terracotta);
}

.program-card.featured {
    border: 2px solid var(--muted-terracotta);
}

.program-card.featured2 {
    border: 2px solid var(--sky-blue);
}

.program-card.featured3 {
    border: 2px solid var(--soft-salmon);
}

.program-card.featured .program-header {
    background: var(--muted-terracotta);
    color: white;
}

.program-card.featured2 .program-header {
    background: var(--sky-blue);
    color: white;
}   

.program-card.featured3 .program-header {
    background: var(--soft-salmon);
    color: white;
}


.program-card.featured .program-tag {
    background: rgba(255,255,255,0.9);
}

.program-card.nhr-card {
    border: 2px solid var(--seafoam-green);
}

.program-card.nhr-card .program-header {
    background: var(--seafoam-green);
    color: white;
}


@media (max-width: 768px) {
    .timeline-horizontal {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-horizontal::before {
        display: none;
    }

    .program-card {
        margin-bottom: 2rem;
    }
}

/* GDPR Modal Styles */
#gdprModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#gdprModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#gdprModal .modal-title {
    color: var(--text-dark);
    font-weight: 600;
}

#gdprModal .modal-body {
    padding: 1.5rem;
    color: var(--text-dark);
}

#gdprModal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
}

#gdprModal .form-check-input:checked {
    background-color: var(--seafoam-green);
    border-color: var(--seafoam-green);
}

#gdprModal .form-check-input:disabled {
    background-color: var(--muted-terracotta);
    border-color: var(--muted-terracotta);
    opacity: 0.7;
}

#gdprModal .btn-secondary {
    background-color: var(--sand-beige);
    border-color: var(--sand-beige);
    color: var(--text-dark);
}

#gdprModal .btn-primary {
    background-color: var(--seafoam-green);
    border-color: var(--seafoam-green);
}

#gdprModal p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.9;
} 