/* Header */
header {
    background: var(--primary);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: height 0.3s ease;
}

#header.scrolled .logo-img {
    height: 40px;
}

/* Navigation styles */
#nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav li {
    margin-left: 30px;
}

#nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

#nav a:hover {
    color: var(--accent);
}

#nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

#nav a:hover::after {
    width: 100%;
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    padding: 5px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    outline: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(0) rotate(0);
}

.menu-toggle span:nth-child(2) {
    opacity: 1;
}

.menu-toggle span:nth-child(3) {
    transform: translateY(0) rotate(0);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.caymlandform_wrapper {
    width: 100%;
    margin: 10px auto;
}

option {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    border: 2px solid #dddddd;
    background: #313143;
    padding: 10px;
    transition: 0.4s;
}

/* Footer Styles */
footer {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-column p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Responsive styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary);
        padding: 80px 25px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    #nav.active {
        right: 0;
    }
    
    #nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    #nav li {
        margin: 15px 0;
    }
    
    #nav a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 40px !important;
    }
}

@media (max-width: 576px) {
    header {
        padding: 10px 0;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    #nav {
        width: 85%;
        padding: 70px 20px 30px;
    }
    
    .logo-img {
        height: 35px !important;
    }
    
    header.scrolled .logo-img {
        height: 32px !important;
    }
}
