:root {
    --primary-dark: #a1e3f9;
    --primary-medium: #a1e3f9;
    --primary-light: #a1e3f9;
    --primary-lightest: #a1e3f9;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    padding: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.apply-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: white;
    color: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium), var(--primary-light));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Increased top margin to fix spacing from navbar */
    margin-top: 140px;
    padding-top: 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-apply {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-circle {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-circle1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-circle2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.model-image {
    width: 600px;
    height: 650px;
    object-fit: cover;
    border-radius: 20px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-bg);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.about-logo .logo {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    padding: 10px;
    margin-bottom: 2rem;
}

.about-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Modern Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-bg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
}

.service-nav-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.service-nav-btn:hover {
    color: var(--white);
    background: var(--primary-lightest);
}

.service-nav-btn.active {
    color: var(--white);
    background: var(--primary-lightest);
}

.service-nav-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
}

.service-content {
    position: relative;
    min-height: 500px;
}

.service-info {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-info.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.service-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-lightest), var(--primary-light));
    padding: 2rem;
}

.service-details h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-details p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: white;
    padding: 8px;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-icon {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-form input,
.application-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.application-form input:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.application-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}
.error {
    color: red;
    font-size: 0.8em;
    margin-top: 2px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-apply {
        display: none;
    }

    /* Fix hero section for mobile */
    .hero {
        margin-top: 120px;
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .image-circle {
        width: 300px;
        height: 300px;
    }

    .image-circle1 {
        width: 250px;
        height: 250px;
    }

    .image-circle2 {
        width: 200px;
        height: 200px;
    }

    .model-image {
        width: 180px;
        height: 220px;
    }

    /* Hide services nav on mobile */
    .services-nav {
        display: none;
    }

    /* Show all service info in a column on mobile */
    .service-info {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 3rem;
        opacity: 1;
        transform: translateY(0);
    }

    .service-details h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .contact-item {
        justify-content: center;
    }

    .about-title,
    .faq-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 150px;
        padding-bottom: 80px;
        /* Add more bottom padding */
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        /* Add more space below title */
    }

    .hero-container {
        gap: 3rem;
        /* Increase gap between content and image */
    }

    .nav-container,
    .hero-container,
    .about-container,
    .services-container,
    .faq-container,
    .footer-container {
        padding: 0 1rem;
    }

    /* Make image circles bigger for mobile */
    .image-circle {
        width: 350px;
        height: 350px;
    }

    .image-circle1 {
        width: 320px;
        height: 320px;
    }

    .image-circle2 {
        width: 280px;
        height: 280px;
    }

    /* Make model image much bigger as requested */
    .model-image {
        width: 360px;
        height: 520px;
        object-fit: cover;
    }

    /* Ensure hero content has proper spacing */
    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 2.5rem;
    }
}

/* Add a new breakpoint for very small screens */
@media (max-width: 360px) {
    .image-circle {
        width: 300px;
        height: 300px;
    }

    .image-circle1 {
        width: 270px;
        height: 270px;
    }

    .image-circle2 {
        width: 240px;
        height: 240px;
    }

    .model-image {
        width: 220px;
        height: 280px;
    }
}