
:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2b4c7e;
    --accent-blue: #3182ce;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
    min-height: 100vh;
    color: #2d3748;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Update header styles */
.header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1999;
}

/* Remove any fade-in classes from header */
.header-wrapper, header {
    opacity: 1 !important;
    transform: none !important;
}

/* Optional: Add a smooth shadow when scrolling */
.header-wrapper {
    transition: box-shadow 0.3s ease;
}

.header-wrapper:not(:hover) {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header {
    height: 65px;
    padding: 10px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    flex-basis: 200px; /* Added fixed width for logo section */
}

.logo-img {
    width: 60px;
    height: 60px;
}

.org-name {
    color: #000000;
    font-size: 22px;
    font-weight: 500;
    margin-left: 12px;
    text-decoration: none;
    line-height: 45px;
}

.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 auto; /* Changed from margin: 0 20px */
    position: absolute; /* Added absolute positioning */
    left: 0; /* Position from left edge */
    right: 0; /* Position from right edge */
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #666666;
}

.register-btn {
    background-color: #000000;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease, background-color 0s, background-image 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
    display: inline-block;
    position: relative;
}

.register-btn:hover {
    background: linear-gradient(90deg, #2D7FF9 0%, #87B9FF 100%);
    transform: translateY(-2px);
}

/* Rest of the CSS remains the same */
.mobile-nav {
    display: none;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 45px;
    background: none;
    border: none;
    color: #000000;
    padding: 0 10px;
    flex-direction: row-reverse;
}

.menu-text {
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
}

.menu-icon-lines {
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-icon-lines span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    left: 0;
    transform-origin: center; /* Changed from left center */
}

.menu-icon-lines span:nth-child(1) {
    top: 0;
}

.menu-icon-lines span:nth-child(2) {
    top: 8px;
}

.menu-icon-lines span:nth-child(3) {
    top: 16px;
}

/* Updated animation styles */
.menu-icon.active .menu-icon-lines span:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* Updated transform */
    top: 0;
}

.menu-icon.active .menu-icon-lines span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .menu-icon-lines span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Updated transform */
    top: 16px;
}

.menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.menu-content.show {
    display: block;
}

.menu-content a {
    color: #000000;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.menu-content a:hover {
    background-color: #f5f5f5;
}

@media screen and (max-width: 1024px), (min-width: 1024px) and (max-zoom: 200%) {
    .desktop-nav,
    .register-btn,
    .org-name {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    header {
        padding: 10px 20px;
    }

    .menu-text {
        display: none;
    }

    .menu-icon {
        padding: 0;
        flex-direction: row;
    }

    .menu-content {
        display: none;
    }

    .menu-content.show {
        display: block;
    }
}

/* Animation keyframe for reveal effect */
@keyframes revealUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    contain: paint;
    padding: 40px 0 120px; /* Reduced top padding to shift everything up */
    z-index: 1;
}

/* Position the orb directly in the wrapper */
.register-page-wrapper::before {
    content: '';
    position: absolute;  /* Changed from fixed to absolute */
    width: 1450px;
    height: 1450px;
    top: 45%;
    left: 0;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(45, 127, 249, 0.3) 0%,
        rgba(135, 185, 255, 0.2) 35%, /* Spread out the gradient stops */
        rgba(135, 185, 255, 0.1) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}


/* Main content container */
.main-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    /* overflow: hidden;  remove or comment out */
    overflow: visible; /* ensure dropdown can pop above other elements */
    z-index: 1;
}

/* Left column - Program info */
.program-info {
    padding-top: 40px;
    position: relative;
    z-index: 1;  /* Ensure content stays above gradient */
}

/* Animate hero title and description separately */
.hero-title {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-description {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Animate registration form */
.register-form {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* Animate form elements in sequence */
.register-form h2 {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.name-fields {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.form-group {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: calc(0.9s + var(--delay, 0s));
}

.form-group:nth-child(3) { --delay: 0.1s; }
.form-group:nth-child(4) { --delay: 0.2s; }
.form-group:nth-child(5) { --delay: 0.3s; }
.form-group:nth-child(6) { --delay: 0.4s; }

.btn-submit {
    opacity: 0;
    animation: revealUp 0.8s ease-out forwards;
    animation-delay: 1.4s;
}

.hero {
    background: none;
    padding: 20px 0;
    text-align: left;
    color: #2D3748;
}

.hero-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

/* Right column - Registration form */
.register-form-container {
    margin: 0;
    padding: 20px 0;
    position: relative;
}

.register-form {
    background-color: #FFFFFF;
    padding: 40px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1),
                0 -2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
    /* transform: translateY(0);  <-- remove this */
}

.register-form h2 {
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    /* color: */
    font-size: 1.8em;
}

/* Two-column layout for name fields */
.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.name-fields .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2D3748;
    font-size: 0.95em;
}

/* Base styling for input and textarea */
/* Base styling for input and textarea */
.form-group input,
.form-group textarea,
.grade-display {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0; /* Neutral border */
    border-radius: 12px;
    font-size: 0.95em;
    transition: border-color 0.3s ease; /* Smooth transition for border */
    background: #FFFFFF;
    box-sizing: border-box; /* Include padding and border in dimensions */
}

/* Hover effect */
.form-group input:hover,
.form-group textarea:hover {
    border-color: #CBD5E0; /* Light gray border on hover */
}

/* Focus effect with same blue as the contact page */
.form-group input:focus,
.form-group textarea:focus {
    outline: none; /* Remove default browser outline */
    border-color: #2D7FF9; /* Same blue as the contact page */
    box-shadow: none; /* Ensure no additional shadow effect */
}



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

.btn-submit {
    background-color: #000000;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease, background-color 0s, background-image 0.3s ease;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: linear-gradient(90deg, #2D7FF9 0%, #87B9FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 127, 249, 0.3);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Course selector styles */
.course-selector {
    position: relative;
}

.course-modal-content {
    max-width: 700px;
    width: 90%;
}

.course-options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.course-option {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-option h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #2D3748;
}

.course-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.course-option:hover .course-details,
.course-option.touch-expanded .course-details {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.course-details p {
    margin: 0 0 10px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.course-option:hover {
    border-color: #2D7FF9;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 127, 249, 0.1);
}

.course-option.selected {
    background: #ebf5ff;
    border-color: #2D7FF9;
    box-shadow: 0 4px 12px rgba(45, 127, 249, 0.2);
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .course-option {
        position: relative;
    }
    
    .course-option::after {
        content: "Tap to expand";
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 0.8em;
        color: #718096;
        background: rgba(247, 250, 252, 0.8);
        padding: 2px 8px;
        border-radius: 4px;
        opacity: 0.8;
    }
    
    .course-option.touch-expanded::after {
        content: "Tap to select";
    }
    
    .course-details {
        /* Don't show on hover for mobile */
        max-height: 0;
        opacity: 0;
    }
    
    .course-option.touch-expanded .course-details {
        max-height: 300px;
        opacity: 1;
        margin-top: 10px;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px auto;
    }

    .hero {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .program-info {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-description {
        font-size: 1.1em;
    }

    .register-form {
        padding: 30px 20px;
    }

    .name-fields {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btn-submit {
        padding: 14px 28px;
        font-size: 1em;
    }
}

/* Modal Styles */
.grade-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.grade-modal.show {
    display: flex;
}

.grade-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.grade-modal-content h3 {
    margin: 0 0 20px 0;
    text-align: center;
    color: #2D3748; /* Changed to black text color */
    font-size: 1.2em;
}

.grade-options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.grade-option {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-weight: 500;
}

.grade-option:hover {
    border-color: var(--accent-blue);
    background: #f0f7ff;
}

.grade-option.selected {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.other-grade-container {
    margin-top: 15px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
}

.other-grade-container label {
    display: block;
    margin-bottom: 8px;
}

.other-grade-container input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.cancel-btn, .confirm-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

.confirm-btn {
    background-color: #000000; /* Black by default */
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease, background-color 0s, background-image 0.3s ease;
}

.cancel-btn:hover {
    background: #e2e8f0;
}

.confirm-btn:hover {
    background: linear-gradient(90deg, #2D7FF9 0%, #87B9FF 100%); /* Blue gradient on hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 127, 249, 0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .register-form {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-description {
        font-size: 1em;
        padding: 0 20px;
    }
}

.notification-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 1rem;
    pointer-events: none;
}

.notification {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: auto;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.notification-content svg:first-child {
    color: #10B981;
    flex-shrink: 0;
}

.notification-text {
    flex-grow: 1;
}

.notification-text h4 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1.1em;
}

.notification-text p {
    margin: 0 0 0.5rem 0;
    color: #4B5563;
}

.notification-text ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #4B5563;
}

.notification-text li {
    margin: 0.25rem 0;
}

.notification-close {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #6B7280;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #1F2937;
}

/* Footer Styles */
.footer-section {
    position: relative;
    background: none;  /* Changed from #002147 to white */
    padding: 120px 0 60px;  /* Increased padding top and bottom */
    color: black;  /* Changed from white to black */
    overflow: hidden;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-sizing: border-box;
    margin-top: -200px;
}

/* Container inside the footer */
.footer-container {
    max-width: 100%;  /* Changed from 1800px to use full width */
    margin: 0 auto;
    padding: 0 120px;  /* Increased padding to maintain some margins */
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    background: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;  /* Changed from center to space-between */
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 120px;  /* Increased gap from 60px */
}


/* Social Media Section */
.footer-social {
    flex: 1;
    max-width: 600px;  /* Increased from 400px */
}

/* Header styles for sections */
.footer-social h3,
.footer-nav h3 {
    font-size: 28px;  /* Increased from 24px */
    margin-bottom: 40px;  /* Increased from 30px */
    color: black;
}


.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;  /* Changed to slightly darker shade of white */
    border-radius: 12px;
    text-decoration: none;
    color: black;
    transition: transform 0.3s ease;
    border: none;  /* Removed border */
}


.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-link span {
    flex: 1;
    font-size: 16px;
}

.arrow-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateX(5px);  /* Removed background color change */
}

.social-link:hover .arrow-icon {
    transform: rotate(-45deg); /* Changed to rotate upwards */
}

/* Divider */
.footer-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.2);  /* Changed from rgba(255, 255, 255, 0.2) to black */
    align-self: stretch;
}

/* Navigation Section */
.footer-nav {
    flex: 1;
    max-width: 600px;  /* Increased from 400px */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Changed to 2 columns */
    gap: 25px 40px;  /* Increased gap, different values for row/column */
}


.footer-links a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;  /* Increased from default */
}

.footer-links a:hover {
    color: black;  /* Changed from white to black */
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 60px;  /* Increased from 40px */
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;  /* Increased from default */
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        padding: 80px 0 40px;  /* Adjusted for mobile */
    }
    
    .footer-links {
        grid-template-columns: 1fr;  /* Single column on mobile */
        gap: 20px;
    }
    
    .footer-social h3,
    .footer-nav h3 {
        font-size: 24px;  /* Slightly smaller on mobile */
        margin-bottom: 30px;
    }
    
    .footer-links a {
        font-size: 18px;  /* Slightly smaller on mobile */
    }
}


