@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* General Styles */
:root {
  --primary: #264653;
  --primary-light: #2A9D8F;
  --secondary: #E9C46A;
  --accent: #F4A261;
  --dark: #333333;
  --light: #ffffff;
  --gray-light: #e0ecec;
  --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #2A9D8F;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar Styles with Transparency */
header {
    background: rgba(38, 70, 83, 0.95); /* Semi-transparent background */
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Blur effect for transparency */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(38, 70, 83, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and Website Name */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and website name */
    position: relative;
    z-index: 1002;
}

.logo {
    width: 50px; /* Adjust logo size as needed */
    height: 50px; /* Adjust logo size as needed */
    border-radius: 20%; /* Optional: Makes the logo circular */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff; /* Ensure text color matches the navbar */
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.logo-container:hover h1::after {
    width: 100%;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none; /* Hide by default */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #e8e8e8;
    transition: var(--transition);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Increased spacing between navbar links */
}

.nav-links ul li {
    display: inline;
}

.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.nav-links ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
    opacity: 0;
}

.nav-links ul li a:hover {
    color: #2A9D8F;
    transform: translateY(-3px); /* Hover lift effect */
}

.nav-links ul li a:hover::before {
    width: 100%;
    opacity: 1;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    /* Show Hamburger Menu */
    .hamburger {
        display: flex; /* Show hamburger menu on smaller screens */
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hide Navigation Links by Default */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: linear-gradient(135deg, #264653 0%, #1a323b 100%);
        width: 80%;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
    }

    /* Show Navigation Links When Active */
    .nav-links.active {
        display: flex;
        right: 0;
    }

    /* Adjust Navigation Links for Mobile */
    .nav-links ul {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .nav-links ul li a {
        font-size: 1.2rem;
        padding: 10px 0;
    }
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(38, 70, 83, 0.2), rgba(38, 70, 83, 0.4)), url('/Assets/diego-jimenez-A-NVHPka9Rk-unsplash.jpg') no-repeat center center/cover;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 100px 0; /* Increased padding */
    margin-top: 80px; /* Added to account for fixed header */
}

.hero-content {
    max-width: 700px;
    background: rgba(38, 70, 83, 0.7); /* Semi-transparent overlay */
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Blur effect for overlay */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
    border-left: 4px solid var(--primary-light);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}



/* About Section - Enhanced */
.about-section {
    padding: 80px 0;
    background: #e0ecec;
    color: #264653;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #264653;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2A9D8F;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.about-section ul {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
    list-style-position: inside;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-section ul li strong {
    color: #2A9D8F;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 120px 0; /* Increased padding */
    color: #ffffff;
    background: linear-gradient(135deg, #264653 0%, #1a323b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info p i {
    color: var(--primary-light);
    font-size: 1.3rem;
    min-width: 24px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    margin-right: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-light);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    width: 100%;
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.submit-btn:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.4);
}

.map-container {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    height: 300px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-light);
    color: #ffffff;
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

/* Footer */
footer {
    background: #2f5b6d;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-section p, .about-section ul li {
        font-size: 1rem;
    }
}

@media(max-width: 1000px){
    .contact-form {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 992px) {
    .contact-form {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-group {
        margin-bottom: 15px;
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-group {
        margin-bottom: 10px;
        margin-right: 20px;
    }
}

/* ===== Animation Styles ===== */
/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide-up animation */
@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to elements */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.section-header,
.visa-intro h2,
.visa-process h2,
.contact-section h2,
.services-section h2,
.about-section h2 {
    animation: slideUp 0.8s ease-out;
}

.service-card,
.visa-card,
.step,
.contact-info,
.contact-form,
.map-container {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* Stagger animations for grid items */
.visa-grid .visa-card:nth-child(1) { animation-delay: 0.2s; }
.visa-grid .visa-card:nth-child(2) { animation-delay: 0.4s; }
.visa-grid .visa-card:nth-child(3) { animation-delay: 0.6s; }
.visa-grid .visa-card:nth-child(4) { animation-delay: 0.8s; }
.visa-grid .visa-card:nth-child(5) { animation-delay: 1.0s; }
.visa-grid .visa-card:nth-child(6) { animation-delay: 1.2s; }

.services-grid .service-card:nth-child(1) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.6s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.8s; }

.process-steps .step:nth-child(1) { animation-delay: 0.2s; }
.process-steps .step:nth-child(2) { animation-delay: 0.4s; }
.process-steps .step:nth-child(3) { animation-delay: 0.6s; }
.process-steps .step:nth-child(4) { animation-delay: 0.8s; }

/* Hover effects */
.service-card:hover,
.visa-card:hover,
.step:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Form success message */
.success-message {
    animation: fadeIn 0.5s ease-out;
}

.success-message i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: block;
}