/* Sleek Modern Design for OET Center - Pastel American Flag Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibri', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Pastel American Flag Color Palette */
:root {
    --pastel-blue: #6EC6FF;
    --pastel-red: #FF8A80;
    --pastel-white: #FFFFFF;
    --dark-blue: #1E3A5F;
    --accent-red: #E57373;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 0; /* Top and bottom padding = 10px */
}

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

.logo a {
    display: block;
}

.logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
}

/* Login and Apply Now get higher weight */
.nav-menu .login-link,
.nav-menu .apply-link {
    font-weight: 600;
}

.nav-menu a:hover {
    color: var(--pastel-blue);
}

/* Special Login & Apply buttons */
.nav-menu .login-link {
    color: var(--dark-blue);
    border: 2px solid var(--pastel-blue);
    padding: 8px 18px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-menu .login-link:hover {
    background-color: var(--pastel-blue);
    color: white;
    border-color: var(--pastel-blue);
}

.nav-menu .apply-link {
    background: linear-gradient(135deg, var(--pastel-red), #ff6b6b);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 138, 128, 0.4);
    transition: all 0.3s ease;
}

.nav-menu .apply-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 138, 128, 0.5);
}

/* Dropdowns */
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    border-radius: 10px;
    padding: 8px 0;
    top: 100%;
    left: 0;
    z-index: 1001;
    border: 1px solid #eee;
}

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

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: #444;
}

.dropdown-menu li a:hover {
    background-color: #f0f7ff;
    color: var(--pastel-blue);
}

/* Remove bullets from all dropdown submenus (desktop + mobile) */
.dropdown-menu,
.dropdown-menu ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

/* Submenu Separators (Desktop) */
.dropdown-menu .separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 6px 15px;
}

/* Normal arrows for dropdowns */
.arrow {
    font-size: 0.75em;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Hero with Slider */
.hero {
    height: 30vh; /* Slightly reduced height */
    min-height: 480px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
    background-attachment: scroll;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    text-align: center;
}

/* Auto-sliding Info */
.slider-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 38, 55, 0.55), rgba(55, 38, 10, 0.45));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}

.slide h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 12px; /* Moved closer to slider */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background-color: white;
    border: 2px solid #ffffff;
    transform: scale(1.15);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 50px;
    color: var(--dark-blue);
    position: relative;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--pastel-blue), var(--pastel-red));
    margin: 18px auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-bottom: 40px !important;
    padding: 0 20% !important;
    text-align: center;
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.column {
    background: white;
    padding: 38px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border-top: 5px solid var(--pastel-blue);
}

.column:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.column h3 {
    font-size: 1.55rem;
    margin-bottom: 18px;
    color: var(--dark-blue);
}

.column p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-blue), #4A90D9);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 198, 255, 0.3);
}

/* Bigger Apply Now button on billboard */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-red), #ff6b6b);
    color: white !important;
    padding: 16px 42px !important;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 138, 128, 0.4);
    transition: all 0.3s ease;
    z-index: 3;
    position: inherit;
    margin-top:-200px ;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 138, 128, 0.5);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 198, 255, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--pastel-blue);
    padding: 11px 28px;
    text-decoration: none;
    border: 2px solid var(--pastel-blue);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--pastel-blue);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: #e0e7f0;
    padding: 65px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.icon {
    font-family: Webdings, 'Segoe UI Symbol', sans-serif;
    font-size: 1.35rem;
    width: 28px;
    color: var(--pastel-blue);
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-top: 7px;
}

.quick-links h4 {
    color: var(--pastel-blue);
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.quick-links ul {
    list-style: none;
}

.quick-links a {
    color: #c5d4e8;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.95rem;
    color: #a8b8d0;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: white;
        flex-direction: column;
        align-items: center; /* Center menu items */
        padding: 20px 0;
        transition: left 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
        list-style: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: auto;
        text-align: center;
    }
    
    .nav-menu a {
        display: inline-block;
        padding: 14px 25px;
        font-size: 1.15rem;
    }
    
    /* Login and Apply should remain normal size and centered on mobile */
    .nav-menu .login-link,
    .nav-menu .apply-link {
        width: auto;
        padding: 12px 28px;
        margin: 8px 0;
    }
    
    .dropdown-menu {
        padding-left: 0 !important;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu li a {
        padding: 10px 25px;
        font-size: 1.05rem;
    }
    
    /* Remove bullets on mobile */
    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .columns {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Collapsible Submenus - Smooth */
    .dropdown .dropdown-menu {
        position: static;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: #f8f9fa;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }
    
    .dropdown.open .dropdown-menu {
        max-height: 300px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* Hide separators on mobile */
    .dropdown-menu .separator {
        display: none;
    }
}