:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --hover-color: #3b82f6;
    --section-padding: 100px 0;
}

/* General Styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-color) !important;
    text-shadow: none;
}

.navbar-brand img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .navbar-brand img {
    filter: none;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--dark-color) !important;
    text-shadow: none;
}

.nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(37, 99, 235, 0.1);
}

.login-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    margin-left: 1rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar.scrolled .navbar-collapse {
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .login-btn {
        margin: 0.5rem 0;
        text-align: center;
        display: block;
    }
}

.hero {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.05" width="100" height="100"/><path d="M0 0l100 100M100 0L0 100" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="0.5"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
}

.hero>.container {
    position: relative;
    z-index: 2;
}

.hero h1,h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 25px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.25);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(245, 158, 11, 0.3);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.programs {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.program-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.program-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.program-list li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.about {
    padding: var(--section-padding);
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0) 50%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.feature-item {
    background: rgba(248, 250, 252, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    margin: 0;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: white;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.05" width="100" height="100"/><path d="M0 0l100 100M100 0L0 100" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="0.5"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-title {
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
    text-align: center;
}

.info-item h4 {
    color: white;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.contact-form .form-select {
    background-color: rgba(30, 41, 59, 0.8) !important;
}

.contact-form .form-select option {
    background-color: #1e293b;
    color: white;
    padding: 10px;
}

.contact-form .form-select:focus option:checked,
.contact-form .form-select option:checked {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: white;
}

.contact-form .form-select option:hover,
.contact-form .form-select option:focus {
    background-color: #2563eb;
    color: white;
}

@-moz-document url-prefix() {
    .contact-form .form-select {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .contact-form .form-select option {
        background-color: #1e293b;
        color: white;
    }
}

.contact-form .btn-primary {
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Media Queries */
@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    section {
        width: 100%;
        overflow: hidden;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar.scrolled .navbar-collapse {
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .login-btn {
        margin: 0.5rem 0;
        text-align: center;
        display: block;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2rem;
    }

    .program-card {
        margin-bottom: 1.5rem;
    }

    .contact-form,
    .contact-info {
        margin: 1rem 0;
    }

    .col-lg-6,
    .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer h4 {
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: #f59e0b;
    transform: translateX(5px);
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-3px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .program-card {
        margin-bottom: rem;
    }

    .contact-info {
        margin-bottom: 3rem;
    }
}

/* Animations */
.btn {
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* AOS Animation Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos][data-aos][data-aos-duration="400"] {
    transition-duration: 400ms;
}

[data-aos][data-aos][data-aos-delay="100"] {
    transition-delay: 0s;
}

.aos-animate[data-aos][data-aos][data-aos-delay="100"] {
    transition-delay: 100ms;
}