html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* ADMISSION PAGE STYLES */

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    background-image: url('Images/pgg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(135, 206, 235, 0.85) 0%, 
        rgba(70, 130, 180, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Admission Overview */
.admission-overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.overview-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.overview-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.overview-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.overview-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Admission Process */
.admission-process {
    padding: 5rem 0;
    background: white;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transition: all 0.6s ease;
}

.timeline-item.aos-animate {
    opacity: 1;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
}

.step-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #87CEEB;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid #87CEEB;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.requirements-list li {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
    border-left: 3px solid #87CEEB;
}

.assessment-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.interview-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.topic-tag {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.decision-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.point-day {
    font-weight: 600;
    color: #4682B4;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.point-desc {
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Entrance Exam */
.entrance-exam {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.exam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.exam-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.exam-content.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.exam-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.exam-content p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.exam-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    min-width: 50px;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-text p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.exam-schedule {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exam-schedule h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #87CEEB;
}

.schedule-day {
    font-weight: 600;
    color: #2c3e50;
}

.schedule-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.exam-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.exam-visual.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.exam-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 2rem;
}

.component-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.component-item:last-child {
    border-bottom: none;
}

.component-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.component-details h5 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.component-details p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.duration {
    background: #87CEEB;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Application Form */
.application-form {
    padding: 5rem 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.form-container.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.admission-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
    background: white;
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

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

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(135, 206, 235, 0.4);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading {
    display: none;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 20px;
    color: #155724;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-message p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.next-steps {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
}

.next-steps h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(21, 87, 36, 0.1);
    position: relative;
    padding-left: 2rem;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.reset-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .exam-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item .timeline-content {
        text-align: left !important;
        border-left: 4px solid #87CEEB !important;
        border-right: none !important;
    }
    
    .timeline-marker {
        margin: 0 2rem 0 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-card {
        padding: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
        margin: 0 1rem 0 0;
    }
    
    .step-number {
        font-size: 1.2rem;
    }
    
    .decision-timeline {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 570px;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .exam-content h2 {
        font-size: 2.1rem;
        color: #2c3e50;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .admission-overview,
    .admission-process,
    .entrance-exam,
    .application-form {
        padding: 3rem 0;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .requirements-list {
        grid-template-columns: 1fr;
    }
    
    .interview-topics {
        justify-content: center;
    }
}

/* Header active state */
.header-nav a.active {
    color: #87CEEB;
    font-weight: bold;
}

.form-group .error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff6b6b;
}
