body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding-top: 80px;
    /* Account for fixed navbar */
}

/* Navbar Styles */
.navbar {
    background-color: #fff;
    color: black;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1%;
}

/* Logo Styles */
.logo {
    width: 40px;
    height: 35px;
    border-radius: 15px;
    margin-right: 2rem;
}

.logo:hover {
    color: #ddd;
    transition: color 0.3s ease;
}

.logo-text {
    font-size: 15px;
    margin-bottom: 10%;
    margin-left: 1%;
    font-weight: 600;
    color: black;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f19292;
}

/* Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Hamburger Animation to Cross */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background-color: black;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 5%;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f19292;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 3px 20px;
    }

    .nav-container {
        height: 40px;
    }

    .nav-logo {
        margin-top: 5%;
    }

    body {
        padding-top: 60px;
    }

    .mobile-menu {
        top: 60px;
        margin: 0 2%;
        z-index: 1001;
        /* Ensure this is also set in media query */
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-logo {
        margin-top: 5%;
    }

    .mobile-menu {
        margin: 0 1%;
        padding: 1.5rem;
    }

    .mobile-nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 20px 20px;
    }

    .nav-logo {
        margin-bottom: 3%;
    }

    .mobile-menu {
        border-radius: 0 0 50% 50%;
        padding: 4rem;
    }

    .mobile-nav-links li {
        margin: 0.8rem 0;
    }

    .mobile-nav-links a {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* Large screens */
@media screen and (min-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        gap: 3rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

@media (orientation: landscape) {
    .nav-links {
        top: 60px;
    }
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
    min-height: 100vh;
    align-content: center;
}

.hero-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section h2 {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.form-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #3498db;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    background: #e3f2fd;
    border-color: #2980b9;
}

.attachments-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.recaptcha-notice {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: #3498db;
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* Tablet Portrait */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .container {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .container {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 30px;
        align-items: start;
    }

    .hero-section {
        padding: 30px;
    }

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

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 30px;
    }
}

/* Desktop */
@media screen and (min-width: 1025px) {
    .container {
        grid-template-columns: 1fr 1fr;
        padding: 40px;
        gap: 50px;
        align-items: start;
    }

    .hero-section {
        padding: 50px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }

    .hero-section h2 {
        font-size: 2.2rem;
    }

    .form-section {
        padding: 50px;
    }

    .submit-btn {
        width: auto;
        min-width: 200px;
        align-self: center;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .container {
        padding: 15px;
        gap: 25px;
    }

    .hero-section,
    .form-section {
        padding: 25px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .container {
        padding: 10px;
        gap: 20px;
    }

    .hero-section,
    .form-section {
        padding: 20px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* Large Desktop */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
        gap: 60px;
    }

    .hero-section h1 {
        font-size: 4.5rem;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }
}

/* Ultra-wide screens */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    .hero-section,
    .form-section {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}