@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* This is the single, corrected body rule */
body {
    font-family: 'Poppins', sans-serif;
    /* Background properties */
    background-image: url('bg-image.jpg');
    background-color: #e7f5ff; /* Fallback color */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /* Text and layout properties */
    color: #333;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    padding: 40px 20px 20px 20px; /* Adjusted bottom padding */
    min-height: 100vh;
    /* Flexbox properties for centering content */
    display: flex;
    flex-direction: column; /* Stack container and footer */
    align-items: center; /* Center items horizontally */
    /* Positioning for overlay */
    position: relative;
    z-index: 0;
    box-sizing: border-box;
}

/* Overlay to ensure text readability over the background image */
/* You might want to adjust the opacity (last value in rgba) if the image is too obscured */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(236, 240, 245, 0.85), rgba(210, 220, 235, 0.85)); /* Light blue/grey overlay */
    z-index: -1; /* Place overlay behind content */
}


.container {
    background-color: rgba(255, 255, 255, 0.97); /* Almost opaque white */
    padding: 45px 50px; /* Increased padding */
    border-radius: 16px; /* More rounded corners */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); /* Original shadow */
    max-width: 800px; /* Slightly wider */
    width: 100%;
    /* Removed backdrop-filter as it might not show well with overlay */
    border: 1px solid rgba(224, 230, 236, 0.6); /* Lighter border consistent with gradient */
    animation: slideInUp 0.6s ease-out; /* Entrance animation */
    position: relative; /* Ensure container is above the body::before overlay */
    z-index: 1;
    margin-bottom: auto; /* Pushes footer down if content is short */
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


h1 {
    color: #1a5f7a; /* Original Deep teal/blue */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 2.2rem; /* Larger title */
}

h2 {
    color: #0077b6; /* Original Professional blue */
    margin-top: 45px;
    border-bottom: 2px solid #dee2e6; /* Lighter border */
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 1.6rem;
}

h3 {
    color: #0096c7; /* Original Brighter accent blue */
    margin-top: 30px;
    font-weight: 500; /* Medium weight */
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 30px; /* More spacing */
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #495057; /* Original Grey text */
    font-size: 1.05rem;
}

select,
button {
    width: 100%;
    padding: 16px 20px; /* Generous padding */
    border: 1px solid #ced4da; /* Standard border */
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background-color: #fff; /* Ensure white background */
}

select {
    appearance: none;
    /* Original blue arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230077b6%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 12px;
    cursor: pointer;
}

select:focus,
button:focus {
    outline: none;
    border-color: #0077b6; /* Match accent blue */
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15); /* Subtle glow */
}

select:disabled {
    background-color: #e9ecef; /* Standard disabled color */
    cursor: not-allowed;
    opacity: 0.65;
}

button {
    /* Original Blue gradient */
    background: linear-gradient(135deg, #0077b6 0%, #005f8e 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-top: 15px;
    text-transform: uppercase; /* Uppercase text */
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
}

button:hover {
    background: linear-gradient(135deg, #005f8e 0%, #0077b6 100%);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.3);
    transform: translateY(-2px); /* Slight lift effect */
}

button:active {
    transform: translateY(0px); /* Press effect */
    box-shadow: 0 2px 10px rgba(0, 119, 182, 0.2);
}

.results-container {
    margin-top: 50px;
    padding: 35px 40px; /* More padding */
    background-color: #ffffff; /* White background for results */
    border: 1px solid #e9ecef; /* Lighter border */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Original shadow */
    animation: fadeInResult 0.7s ease-out;
}

@keyframes fadeInResult {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


#documents ul,
#interview-questions ul {
    list-style: none;
    padding-left: 5px; /* Minimal padding */
}

#documents li,
#interview-questions li {
    margin-bottom: 12px; /* More spacing */
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    color: #495057; /* Original text color */
}

/* Original Custom bullet points */
#documents li::before,
#interview-questions li::before {
    content: '➤'; /* Arrow symbol */
    color: #0096c7; /* Match H3 color */
    position: absolute;
    left: 0;
    top: 1px; /* Adjust vertical alignment */
    font-size: 1.2em;
    line-height: 1;
}

#process p {
    margin-top: 15px;
    background-color: #e7f5ff; /* Original Very light blue */
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #0077b6; /* Match button blue */
    font-size: 1rem;
    color: #333; /* Original text color */
}

/* Original Links in process details */
#process a, .container a {
    color: #005f8e;
    text-decoration: underline;
    font-weight: 500;
}

#process a:hover, .container a:hover {
    color: #003c5a;
}


/* Footer and Disclaimer Styles */
footer {
    width: 100%;
    max-width: 800px; /* Match container width for alignment */
    margin-top: 30px; /* Space above footer */
    margin-bottom: 10px; /* Space below footer */
    padding: 0 20px; /* Horizontal padding */
    box-sizing: border-box;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

.disclaimer {
    font-size: 0.75em; /* Made text even smaller */
    color: #6c757d; /* Muted grey color */
    text-align: center;
    line-height: 1.5;
}

.footer-links {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
}

.footer-links a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: #1a5f7a;
    text-decoration: underline;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.nav-link {
    margin: 0 20px;
    padding: 10px 20px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0077b6;
    background-color: #e7f5ff;
}

/* Intro Section */
.intro-section {
    margin-bottom: 40px;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 30px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #0077b6;
}

.feature-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Visa Finder Section */
.visa-finder-section {
    margin: 40px 0;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #e7f5ff 0%, #f0f8ff 100%);
    border-radius: 12px;
    border: 1px solid #b3d9ff;
}

.visa-finder-section h2 {
    margin-top: 0;
    color: #1a5f7a;
}

.visa-finder-section p {
    color: #495057;
    font-size: 1.05rem;
}

/* Additional Content Styles */
.additional-content {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.content-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #0077b6;
}

.content-card p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

/* Popular Countries */
.popular-countries {
    margin: 50px 0;
    text-align: center;
}

.popular-countries h2 {
    margin-bottom: 20px;
    color: #1a5f7a;
}

.popular-countries p {
    color: #6c757d;
    margin-bottom: 30px;
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.country-tag {
    background: linear-gradient(135deg, #0077b6, #005f8e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.country-tag:hover {
    transform: translateY(-2px);
}

/* Help Section */
.help-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
    border: 1px solid #e9ecef;
}

.help-section h2 {
    margin-top: 0;
    color: #1a5f7a;
    font-size: 1.8rem;
    font-weight: 600;
}

.help-section p {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.help-link {
    background: linear-gradient(135deg, #0077b6, #005f8e);
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 119, 182, 0.2);
    border: 2px solid transparent;
}

.help-link:hover {
    background: linear-gradient(135deg, #005f8e, #0077b6);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
    color: #ffffff !important;
    text-decoration: none;
}

.help-link:visited {
    color: #ffffff !important;
}

.help-link:active {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        margin: 0;
    }
    
    .features-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .country-tags {
        justify-content: center;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
}

/* About Page Styles */
.about-intro,
.resources-intro,
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.mission-section,
.values-section,
.coverage-section,
.disclaimer-section,
.contact-cta {
    margin: 50px 0;
}

.values-grid,
.coverage-content,
.tips-grid,
.guides-grid,
.mistakes-content,
.strategies-grid,
.contact-grid,
.faq-grid,
.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.value-card,
.coverage-item,
.tip-card,
.guide-card,
.mistake-item,
.strategy-card,
.contact-card,
.faq-item,
.expectation-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover,
.coverage-item:hover,
.tip-card:hover,
.guide-card:hover,
.mistake-item:hover,
.strategy-card:hover,
.contact-card:hover,
.faq-item:hover,
.expectation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3,
.coverage-item h3,
.tip-card h3,
.guide-card h3,
.mistake-item h3,
.strategy-card h3,
.contact-card h3,
.faq-item h3,
.expectation-item h3 {
    margin: 0 0 15px 0;
    color: #0077b6;
    font-size: 1.2rem;
}

.value-card p,
.coverage-item p,
.tip-card p,
.guide-card p,
.mistake-item p,
.strategy-card p,
.contact-card p,
.faq-item p,
.expectation-item p {
    margin: 0 0 10px 0;
    color: #495057;
    line-height: 1.6;
}

.tip-card ul {
    margin: 0;
    padding-left: 20px;
}

.tip-card li {
    margin-bottom: 8px;
    color: #495057;
}

.guide-topics {
    margin-top: 15px;
}

.topic-tag {
    display: inline-block;
    background: #e7f5ff;
    color: #0077b6;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.disclaimer-box,
.notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.disclaimer-box ul,
.notice-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.disclaimer-box li,
.notice-box li {
    margin-bottom: 8px;
    color: #495057;
}

.cta-links,
.help-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cta-link {
    background: linear-gradient(135deg, #0077b6, #005f8e);
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: linear-gradient(135deg, #005f8e, #0077b6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}

.cta-link:visited {
    color: #ffffff !important;
}

.cta-link:active {
    color: #ffffff !important;
}

/* Contact Form Styles */
.contact-form-section {
    margin: 50px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0077b6;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #0077b6, #005f8e);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #005f8e, #0077b6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.contact-info {
    background: #e7f5ff;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
}

.response-time {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    color: #0077b6;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid #0077b6;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0077b6;
    color: white;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.link-category h3 {
    color: #0077b6;
    margin-bottom: 15px;
}

.link-category ul {
    list-style: none;
    padding: 0;
}

.link-category li {
    margin-bottom: 8px;
}

.link-category a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-category a:hover {
    color: #0077b6;
    text-decoration: underline;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .values-grid,
    .coverage-content,
    .tips-grid,
    .guides-grid,
    .mistakes-content,
    .strategies-grid,
    .contact-grid,
    .faq-grid,
    .expectation-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-links,
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Privacy Policy Styles */
.privacy-intro {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #0077b6;
}

.privacy-sections {
    margin: 30px 0;
}

.privacy-content {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.privacy-content h3 {
    color: #0077b6;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: #495057;
    line-height: 1.6;
}

.privacy-content strong {
    color: #0077b6;
    font-weight: 600;
}

.contact-info {
    background: #e7f5ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #b3d9ff;
}

.contact-info p {
    margin: 8px 0;
    color: #495057;
}

/* NOTE: The second 'body' rule that started around line 159 in the original file has been completely removed. */
/* The 'body' rule at the top of this file is the only one and contains the necessary styles. */