/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: white;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    flex: 0 0 auto;
    margin-left: -15px;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.contact-button {
    flex: 0 0 auto;
    margin-left: 20px;
}

.contact-btn {
    background-color: #3b735f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #3b735f;
}

/* Navigation Styling */
.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav {
    width: auto;
}

nav ul,
.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li,
.main-nav ul li {
    margin: 0;
}

nav ul li a,
.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    white-space: nowrap;
}

nav ul li a:hover,
.main-nav ul li a:hover {
    color: #d4af37;
}

/* Hero Section */
.hero {
    background-image: url('Images/Contact us.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 72px;
    color: #d4af37; /* Gold color */
    margin-bottom: 20px;
}

.hero p {
    font-size: 26px;
    color: white;
    line-height: 1.4;
}

/* Form Styles */
.contact-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin: 0 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #d4af37; /* Gold color */
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    background-color: #dcdcdc; /* Light gray */
    border: none;
    border-radius: 3px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Interest Section */
.interest-section {
    margin: 30px 10px;
}

.interest-section p {
    color: #d4af37; /* Gold color */
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 15px;
}

.checkbox input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #3b735f;
}

.checkbox label {
    color: white;
    margin-bottom: 0;
}

/* Math Captcha */
.math-captcha {
    margin: 30px 10px;
}

.math-captcha p:first-child {
    color: #d4af37; /* Gold color */
    font-weight: bold;
    margin-bottom: 5px;
}

.captcha-desc {
    margin-bottom: 15px;
}

.captcha-input {
    display: flex;
    align-items: center;
}

.captcha-input label {
    margin-right: 10px;
    margin-bottom: 0;
}

.captcha-input input {
    width: 100px;
}

/* Submit Button */
.form-submit {
    margin-top: 30px;
    text-align: center;
}

button[type="submit"] {
    background-color: #2e8b57; /* Sea green color */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #3aa76d; /* Lighter green on hover */
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    border: 1px solid #333;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #333;
    color: #d4af37;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Make sure the dropdown arrow changes color on hover too */
.dropdown:hover .dropbtn, .dropdown:hover .dropdown-arrow {
    color: #d4af37;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 8px;
    z-index: 101;
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #e0e0e0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #e0e0e0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.menu-toggle.active .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        justify-content: flex-end;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: #1a1a1a;
        padding: 80px 20px 20px;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 576px) {
    /* Header adjustments already handled in common CSS */
    
    /* Hero section */
    .hero {
        height: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    /* Form elements */
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        margin: 0 0 15px 0;
    }
    
    /* Interest section */
    .interest-section {
        margin: 20px 0;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Submit button */
    .form-submit button {
        width: 100%;
        padding: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 992px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-wrap: wrap;
    }
    
    .form-group {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
} 