*{margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background: #e0dddd;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}


.container {width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
     gap: 2rem; /* Gap between logo-section and details-part */
}


header {
     background: #AFEEEE;
    color: #ae0808;
    padding: 1.2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: flex;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2.5rem;
    margin-right: 15rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo, #logoLeft {
    height: 180px;
    width: 160px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    cursor: pointer;
}


.contact-sticker {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    padding: 0.8rem;
 
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0; /* GAP BETWEEN HEADER & CONTACT */
}

.contact-sticker span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-part {
    text-align: center;
    gap: 1.5rem; 
}




.contact-top {
    display: inline-block;
    margin-left: 0;
    width: 225px;
}

.contact-top img {
    width: 60px;
    height: 55px;
    vertical-align: middle;
    margin-right: 1px;
}

/* Marquee */
.marquee-container {
    background: #010645;
    padding: .3rem;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0rem 0; /* Consistent spacing */
}

.news-marquee, #newsMarquee {
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    padding: 04.rem 0;
    
    font-weight: 500;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.news-marquee:hover, #newsMarquee:hover {
    animation-play-state: paused;
}

/* Banner */
.banner-images {
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
}

.banner-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52,152,219,0.3), rgba(231,76,60,0.3));
    z-index: 1;
}

.banner-container {
    background: #ffffff;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 4px;
    border: 1px solid #051a48;
    padding: 2px;
    display: flex;
    gap: 2px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.banner-container img,
.banner-images img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.banner-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px rgba(0,0,0,0.4);
}

/* Main Content */
.main-content,
main {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Universal Section Styles */
.rules-section, 
.intro-section, 
.structure-section, 
.cabinet-grid-section,
.form-section,
.policy-overview, 
.tabs-section, 
.schedule, 
.faq,
section.prospectus-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    margin-bottom: 3rem;
    background: rgba(255,255,255,0.95);
    
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.rules-section.animate,
.intro-section.animate, 
.structure-section.animate, 
.cabinet-grid-section.animate,
.form-section.animate,
.policy-overview.animate, 
.tabs-section.animate, 
.schedule.animate, 
.faq.animate {
    opacity: 1;
    transform: translateY(0);
}

.policy-overview::before, 
.tabs-section::before, 
.schedule::before, 
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12);
}

/* Section Headers */
.policy-overview h2, 
.tabs-section h2, 
.schedule h2, 
.faq h2,
.procedure-section h3,
.payment-section h3,
.cabinet-grid-section h3 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-weight: 800;
}

.policy-overview h2::after, 
.tabs-section h2::after, 
.schedule h2::after, 
.faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 3px;
}

/* Prospectus Headers */
#welcome h2,
#background h2,
#approach h2,
#facilities h2,
.cta-section h2,
.prospectus-section h2 {
    color: #8a0707;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-align: left;
    font-weight: bold;
}

/* Cards & Grids */
.rules-grid,
.structure-grid,
.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rule-card,
.structure-card {
    background: #7FFFD4;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    position: relative;
}

.rule-card:hover,
.structure-card:hover {
    transform: translateY(-5px);
}

.rule-card h3,
.structure-card h4 {
    color: #ff005d;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.position-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Cabinet Members */
.cabinet-member {
    background: #00CED1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cabinet-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.member-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cabinet-member:hover .member-photo img {
    transform: scale(1.05);
}

.house-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
    min-width: 60px;
    text-align: center;
}

.house-badge.Neptune { background: #0213cb; }
.house-badge.Venus { background: #ffdd03; }
.house-badge.Uranus { background: #04f200; }
.house-badge.Jupiter { background: #fc001d; }

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.position {
    display: block;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.class-grade {
    color: #666;
    font-size: 0.95rem;
}

/* Special Sections */
.procedure-section {
    background: #def8f8;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.procedure-section h3 {
    color: #2e4dff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 3rem;
}

.procedure-list {
    list-style-position: inside;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.procedure-list li {
    margin-bottom: 1rem;
}

.payment-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cta-section {
    text-align: center;
    background: #ffefd5;
    color: rgb(3, 3, 28);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

section.prospectus-section {
    background: rgba(195, 203, 202, 0.822);
    margin: 2rem 0;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    border: 2px solid #dee2e6;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-color: #3498db;
}

.tab-btn.active,
.tab-btn.active:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #3498db;
    box-shadow: 0 12px 35px rgba(52,152,219,0.4);
    transform: translateY(-3px);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.6s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content ul li {
    padding: 1rem 0 1rem 3rem;
    font-size: 1.15rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.tab-content ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea,
input,
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    transform: scale(1.02);
}

.error {
    color: #e74c3c;
    font-size: 0.9rem;
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.error.show {
    opacity: 1;
}

/* Buttons */
.submit-btn,
.pay-btn,
.download-btn {
    padding: 1.5rem;
    background: #1507b0;
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(21, 7, 176, 0.3);
    
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.download-btn {
    padding: 0.8rem 2rem;
    min-width: 280px;
    width: auto;
}

.download-btn::before {
    content: '📥';
    margin-right: 0.8rem;
    font-size: 1.4rem;
    display: inline-block;
}

.submit-btn:hover,
.pay-btn:hover:not(:disabled),
.download-btn:hover {
    background: #04104a;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 7, 176, 0.4);
    color: white;
    text-decoration: none;
}

.submit-btn:active,
.download-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 7, 176, 0.3);
}

.pay-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Tables */
.table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow-x: auto;
}

.fee-table,
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.fee-table th,
table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.fee-table td,
table td {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.fee-table tr:hover,
table tbody tr:hover {
    background: linear-gradient(135deg, rgba(52,152,219,0.15), rgba(231,76,60,0.15));
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.fee-table tr:last-child td {
    border-bottom: none;
}

/* Payment Methods */
.amount-display {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    display: none;
}

.payment-methods {
    margin: 25px 0;
}

.method-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}

.method-options {
    display: flex;
    gap: 15px;
}

.method-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.method-option:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.payment-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Content Styling */
.policy-overview p {
    font-size: 1.2rem;
    text-align: center;
    color: #555;
    line-height: 1.8;
    background: linear-gradient(135deg, rgba(52,152,219,0.1), rgba(231,76,60,0.1));
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
    margin: 0 auto;
    max-width: 800px;
}

.schedule p {
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(46,204,113,0.1), rgba(39,174,96,0.1));
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px dashed #27ae60;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 auto;
    max-width: 800px;
}

#welcome p,
#background p,
#approach p,
#facilities p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

#background ul,
#approach ul,
#facilities ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Accordion */
.faq .accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq .accordion-item {
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.accordion-header {
    width: 100%;
    padding: 1.8rem 2rem;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #fff;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.accordion-header::after {
    content: '▼';
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    transform: translateX(5px);
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.accordion-content.active {
    max-height: 300px;
    padding: 2rem;
}

.accordion-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

.accordion-content p::before {
    content: 'ℹ️';
    position: absolute;
    left: 0;
    font-size: 1.4rem;
}

/* Tooltip Modal */
.tooltip-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.tooltip-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-tooltip {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close-tooltip:hover {
    color: #333;
}

#tooltipInfo h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

#tooltipInfo .house {
    font-weight: bold;
    color: #e91e63;
}

/* Footer */
.footer {
    background: #07003f;
    color: white;
    text-align: center;
    padding: .6rem 0;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 1s ease-out;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .logo, #logoLeft {
        height: 120px;
        width: 110px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rules-grid,
    .structure-grid,
    .cabinet-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 350px;
    }
    
    .method-options {
        flex-direction: column;
    }
    
    .banner-container img,
    .banner-images img {
        height: 250px;
    }
    
    .submit-btn,
    .download-btn {
        width: 100%;
    }
    
    main,
    .main-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-overview, 
    .tabs-section, 
    .schedule, 
    .faq,
    section.prospectus-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .logo, #logoLeft {
        height: 90px;
        width: 80px;
    }
    
    main,
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .policy-overview, 
    .tabs-section, 
    .schedule, 
    .faq,
    section.prospectus-section {
        padding: 1.5rem;
    }
    
    .news-marquee, #newsMarquee {
        font-size: 1rem;
    }
}




