:root {
    --primary: #1E88E5;
    --primary-light: #E7F8FE;
    --primary-dark: #1D4383;
    --accent: #1D4383;
    --light: #F5F5F5;
    --dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    overflow-x: hidden;
}

.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.wave-divider {
    display: block;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    transform: rotate(180deg);
}

.header {
    background-color: white;
    padding: 10px 5%;  /* Reduced from 20px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;  /* Increased from 45px */
}

.logo-text {
    margin-left: 10px;
}

.logo-text h1 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text span {
    color: var(--primary);
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.apply-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px 20px;  /* Reduced from 12px 25px */
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}


/* Navbar Styles */
.nav-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 60px 20px 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 99;
        flex-direction: column;
        justify-content: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .hamburger {
        display: block;
        z-index: 100;
    }
    
    .apply-btn {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 3%;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .nav-container {
        width: 85%;
        padding: 60px 15px 20px;
    }

    .nav-links {
        margin-top: 20px;
        gap: 10px;
    }

    .nav-links a {
        width: 100%;
        padding: 12px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}

/* Active state for hamburger */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Active state for mobile navigation */
.nav-container.active {
    right: 0;
}