/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; line-height: 1.6; overflow-x: hidden; background: #000000; color: #ffffff; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; font-weight: 400; letter-spacing: 0.02em; }
a { color: #FFD700; text-decoration: none; }

/* Site Brand */
.site-brand {
    position: fixed;
    top: 24px;
    left: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.1;
    text-align: left;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    z-index: 1001;
    cursor: pointer;
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}
.site-brand:hover {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

/* Cosmic Background */
.cosmic-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom right, #000000 0%, #0a0a0a 30%, #1a1a1a 60%, #2a2a2a 100%); z-index: -2; }
.cosmic-background::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at bottom right, rgba(255, 215, 0, 0.4) 0%, rgba(255, 140, 0, 0.3) 30%, rgba(255, 255, 255, 0.1) 70%); z-index: -1; }
.stars-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }

/* Keyframe Animations */
@keyframes twinkle { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 5px #FFD700); } 50% { filter: drop-shadow(0 0 20px #FFF700); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes rotateRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw-line { from { width: 0; } to { width: 100px; } }

/* Logo Styles */
.logo-wrapper { width: 66%; max-width: 450px; margin-bottom: -1rem; transform: scale(0.75); transition: transform 0.1s ease-out; overflow: visible; }
.logo-wrapper svg { width: 100%; height: auto; overflow: visible; }
.logo-wrapper svg .st0, .static-logo svg .st0 { fill: #FFD700; }
.logo-wrapper svg path { filter: drop-shadow(0 0 5px #FFD700) drop-shadow(0 0 12px #FFA500); }
.static-logo svg path { filter: drop-shadow(0 0 5px #FFD700); }
.ray { transform-origin: center; animation: expand 2.5s ease-in-out infinite alternate; }
.star { animation: logo-twinkle 2s ease-in-out infinite alternate; }
.static-logo { width: 80px; height: 80px; margin: 0 auto 1rem; }
.static-logo svg { transform: scale(1) !important; }
.static-logo .ray, .static-logo .star, .static-logo #goldGlow animate { animation: none !important; display: none !important; }
@keyframes expand { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes logo-twinkle { 0% { opacity: 0.6; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1.05); } }

/* Cosmic Navigation */
.cosmic-nav { position: fixed; top: 24px; right: 24px; z-index: 1000; }
.orb-button { position: relative; width: 64px; height: 64px; border: none; border-radius: 50%; background: rgba(255, 215, 0, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 2px solid rgba(255, 215, 0, 0.5); cursor: pointer; transition: all 0.5s ease; box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); animation: glow 4s ease-in-out infinite; }
.orb-button:hover { transform: scale(1.1); }
.orb-core { position: absolute; inset: 8px; border-radius: 50%; background: rgba(255, 215, 0, 0.3); transition: all 0.5s ease; }
.orb-button:hover .orb-core { background: rgba(255, 215, 0, 0.5); }
.orb-inner { position: absolute; inset: 4px; border-radius: 50%; background: rgba(255, 215, 0, 0.6); transition: all 0.3s ease; }
.orb-center { position: absolute; inset: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.orb-button:hover .orb-center { background: rgba(255, 255, 255, 1); }
.orb-sparkle { color: #D4AF37; font-size: 24px; animation: twinkle 3s ease-in-out infinite; }
.rotating-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 215, 0, 0.3); animation: rotateRing linear infinite; }
.ring-1 { inset: 0; animation-duration: 8s; }
.ring-2 { inset: 4px; border-color: rgba(255, 215, 0, 0.2); animation-duration: 12s; animation-direction: reverse; }
.orb-button.menu-open .rotating-ring { display: none; }
.orb-button.menu-open .orb-sparkle::after { content: '✦'; }

/* Dropdown Menu */
.dropdown-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 280px; background: rgba(20, 20, 20, 0.7); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); padding: 1rem; opacity: 0; transform: scale(0.95) translateY(-10px); transform-origin: top right; transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; z-index: 1001; }
.dropdown-menu.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }
.menu-item { display: flex; align-items: center; width: 100%; padding: 12px 16px; background: none; border: none; border-radius: 8px; color: rgba(255, 255, 255, 0.8); cursor: pointer; text-align: left; transition: background-color 0.3s ease, color 0.3s ease; opacity: 0; animation: fadeInDown 0.4s ease forwards; }
.menu-item:hover { background-color: rgba(255, 215, 0, 0.1); color: #FFD700; }
.menu-item.active { background-color: rgba(255, 215, 0, 0.2); color: #FFD700; font-weight: 500; }
.menu-icon { font-size: 1.2rem; margin-right: 1rem; }
.menu-text { font-family: 'Raleway', sans-serif; font-size: 1rem; }

/* Navigation Backdrop */
.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 10, 10, 0.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: all 0.5s ease; z-index: 999; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* Page Layout */
.page { min-height: 100vh; padding: 120px 24px 80px; display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; will-change: transform, opacity; }
.page.active { display: block; opacity: 1; transform: translateY(0); }
.page-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.page-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; color: #FFD700; text-align: center; margin-bottom: 4rem; animation: glow 4s ease-in-out infinite; }
.page-subtitle { font-size: 1.2rem; text-align: center; color: rgba(255, 255, 255, 0.8); max-width: 700px; margin: -2rem auto 4rem; line-height: 1.6; }

/* Content Components */
.content-island { padding: 2rem; margin: 2rem auto; max-width: 800px; border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 24px; background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); text-align: center; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.content-island.in-view { opacity: 1; transform: translateY(0); }
.content-island h3 { font-size: 1.8rem; color: #F4E197; margin-bottom: 1rem; }
.content-island p { color: rgba(255, 255, 255, 0.8); line-height: 1.7; }
.sub-title-block { margin: 4rem 0 2rem; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.sub-title-block.in-view { opacity: 1; transform: translateY(0); }
.sub-title-block h2, .sub-title-block h4 { font-size: 2.5rem; color: #FFD700; position: relative; display: inline-block; padding-bottom: 0.5rem; }
.sub-title-block h2::after, .sub-title-block h4::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; background: #FFD700; animation: draw-line 1s ease forwards; animation-play-state: paused; }
.sub-title-block.in-view h2::after, .sub-title-block.in-view h4::after { animation-play-state: running; }

/* Hero Section */
.hero-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 85vh; text-align: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 600; line-height: 1.1; margin-bottom: 2rem; }
.title-line { display: block; }
.title-line.golden { color: #FFD700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
.hero-subtitle { font-size: clamp(1.1rem, 3vw, 1.8rem); font-weight: 300; color: rgba(255, 255, 255, 0.9); line-height: 1.6; margin-bottom: 4rem; max-width: 800px; }
.subtitle-line { margin-bottom: 1.5rem; }
.hero-quote { font-size: clamp(1rem, 2.5vw, 1.5rem); font-style: italic; font-weight: 300; color: #F4E197; line-height: 1.6; margin-bottom: 5rem; max-width: 600px; text-shadow: 0 0 15px rgba(244, 225, 151, 0.5); animation: float 6s ease-in-out infinite; }

/* Service Offerings (Accordion) */
.offerings-container { display: flex; flex-direction: column; gap: 1.5rem; }
.service-accordion { border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 24px; background: rgba(255, 255, 255, 0.03); transition: background-color 0.3s ease; }
.service-accordion[open] { background: rgba(255, 255, 255, 0.05); }
.service-accordion summary { list-style: none; cursor: pointer; padding: 2rem; display: flex; justify-content: space-between; align-items: center; }
.service-accordion summary::-webkit-details-marker { display: none; }
.summary-header { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 0.5rem; margin-right: 1.5rem; }
.summary-header h3 { font-size: 1.8rem; color: #F4E197; margin: 0; }
.summary-hook { color: rgba(255, 255, 255, 0.7); font-style: italic; }
.accordion-icon { font-size: 2rem; color: #FFD700; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); flex-shrink: 0; }
.service-accordion[open] > summary .accordion-icon { transform: rotate(45deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 0.7s cubic-bezier(0.25, 1, 0.5, 1); }
.service-accordion[open] > .accordion-content { max-height: 100vh; }
.accordion-inner { padding: 0 2rem 2rem 2rem; text-align: center; }
.accordion-inner p { color: rgba(255, 255, 255, 0.85); line-height: 1.7; max-width: 700px; margin: 0 auto 1.5rem auto; text-align: left; }
.accordion-inner .cosmic-button { margin: 1rem 0.5rem 0; }
.accordion-inner .sub-title-block h4 { font-size: 1.5rem; color: #FFD700; text-align: left; }
.pricing-box { margin-top: 2rem; padding: 2rem; border-top: 1px solid rgba(255, 215, 0, 0.15); border-bottom: 1px solid rgba(255, 215, 0, 0.15); }
.pricing-item { display: flex; justify-content: space-between; max-width: 350px; margin: 0.5rem auto; font-size: 1.1rem; color: #F4E197; }
.location-note { margin-top: 1rem !important; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7) !important; text-align: center; }

/* Diploma Gallery & Modal */
.diploma-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.diploma-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 16px; padding: 1.5rem; text-align: center; color: #F4E197; cursor: pointer; transition: all 0.3s ease; }
.diploma-item:hover { background: rgba(255, 215, 0, 0.1); transform: translateY(-5px); }
.diploma-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.diploma-title { font-size: 1rem; font-family: 'Raleway', sans-serif; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s ease; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-close-button { position: absolute; top: 20px; right: 30px; background: none; border: none; font-size: 3rem; color: white; cursor: pointer; line-height: 1; }
.modal-content { max-width: 90vw; max-height: 90vh; }
.modal-content img, .modal-content iframe { display: block; width: 100%; height: 100%; max-width: 1200px; max-height: 80vh; border: 2px solid #FFD700; border-radius: 8px; }

/* Other Components */
.cosmic-button { position: relative; padding: 16px 40px; border: 2px solid #FFD700; border-radius: 50px; background: transparent; color: #FFD700; font-family: 'Raleway', sans-serif; font-weight: 500; letter-spacing: 0.05em; cursor: pointer; transition: all 0.5s ease; box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); overflow: hidden; display: inline-block; }
.cosmic-button:hover { background: rgba(255, 215, 0, 0.1); transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
.cosmic-button::before { content: ''; position: absolute; inset: 0; border-radius: 50px; background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.4) 50%, transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.cosmic-button:hover::before { opacity: 1; animation: shimmer 1.5s ease-in-out; }
.button-sparkle { margin-left: 12px; animation: twinkle 2s ease-in-out infinite; }
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.payment-card, .contact-card { padding: 2rem; border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 24px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: all 0.5s ease; text-align: center; box-shadow: 0 0 30px rgba(255, 215, 0, 0.1); }
.payment-card:hover, .contact-card:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 0 50px rgba(255, 215, 0, 0.3); }
.payment-card h4 { font-size: 1.5rem; color: #FFD700; margin-bottom: 1rem; }
.payment-price { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #FFD700; margin: 1rem 0; }
.payment-note { text-align: center; margin-top: 4rem; color: rgba(255, 255, 255, 0.6); }
.link-button { background: none; border: none; color: #FFD700; cursor: pointer; text-decoration: underline; font-size: 1rem; font-family: 'Raleway', sans-serif; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
.contact-form h3 { font-size: 2rem; color: #FFD700; margin-bottom: 2rem; text-align: center; }
.contact-form form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 1rem; border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 16px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #ffffff; font-family: 'Raleway', sans-serif; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2); }
.contact-card { margin-bottom: 2rem; }
.contact-card:last-child { margin-bottom: 0; }
.contact-card h4 { font-size: 1.5rem; color: #FFD700; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; text-align: left; }
.contact-icon { font-size: 1.5rem; color: #FFD700; margin-top: 4px; }
.contact-label { color: #F4E197; font-weight: 500; }
.form-success-message { display: none; padding: 2rem; margin-top: 1rem; border: 1px solid rgba(255, 215, 0, 0.4); border-radius: 16px; background: rgba(255, 215, 0, 0.1); text-align: center; color: #F4E197; }
.form-success-message p { line-height: 1.6; }

/* About Page Specifics */
.about-content { text-align: center; }
.about-image {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%; /* This makes the corners perfectly rounded into a circle */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    border: 4px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.2),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 0 15px rgba(255, 215, 0, 0.1); /* Inner glow */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 0 15px rgba(255, 215, 0, 0.1);
}
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; margin-bottom: 4rem; text-align: left; }
.about-section h3 { font-size: 2rem; color: #FFD700; margin-bottom: 1.5rem; }
.about-section p { color: rgba(255, 255, 255, 0.9); line-height: 1.6; margin-bottom: 1.5rem; }
.qualification { padding: 1rem; border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 16px; background: rgba(255, 255, 255, 0.05); margin-bottom: 1rem; }
.qual-title { color: #F4E197; font-weight: 500; }
.qual-detail { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.about-quote { padding: 2rem; border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 24px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); text-align: center; }

/* Footer */
.cosmic-footer { margin-top: 5rem; border-top: 1px solid rgba(255, 215, 0, 0.2); }
.footer-content { background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.footer-brand h3 { font-size: 1.5rem; color: #FFD700; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.6; }
.footer-nav h4, .footer-services h4, .footer-contact h4 { color: #F4E197; margin-bottom: 1rem; }
.footer-nav button { display: block; background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; cursor: pointer; margin-bottom: 0.5rem; transition: color 0.3s ease; padding: 0; text-align: left; }
.footer-nav button:hover { color: #FFD700; }
.footer-services div, .footer-contact div { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; border-top: 1px solid rgba(255, 215, 0, 0.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-copyright { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal button { background: none; border: none; color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; cursor: pointer; transition: color 0.3s ease; }
.footer-legal button:hover { color: #FFD700; }

/* Responsive Design */
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; text-align: center; } .static-logo { margin: 0 auto 1rem; } }
@media (max-width: 768px) {
    .site-brand { font-size: 1.2rem; top: 16px; left: 16px; }
    .cosmic-nav { top: 16px; right: 16px; }
    .orb-button { width: 56px; height: 56px; }
    .page-container { padding: 0 16px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .service-accordion summary { flex-direction: column; align-items: flex-start; }
    .accordion-icon { align-self: flex-end; margin-top: -2.5rem; }
    .summary-header { margin-right: 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-nav button { text-align: center; margin: 0.5rem auto; }
    .footer-services, .footer-contact { display: none; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
    .page { padding: 100px 16px 60px; }
    .payment-grid { grid-template-columns: 1fr; }
    .summary-header h3 { font-size: 1.5rem; }
}