/* ==========================================
   GRAVITY CLASSES PREMIUM STYLESHEET
   Designer Theme: Teal, Gold & Glassmorphism
   ========================================== */

/* Design Tokens & Variables */
:root {
    --primary-teal: #008b9b;
    --primary-teal-rgb: 0, 139, 155;
    --teal-glow: #00f0ff;
    --secondary-gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #c5a028;
    --gold-glow: #ffe89e;
    
    --bg-dark-1: #061517;
    --bg-dark-2: #0b2225;
    --bg-dark-3: #112d31;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.07);
    
    --text-white: #ffffff;
    --text-muted: #a3c2c6;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & scroll behavior */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark-1);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-1);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-dark-3);
    border-radius: 5px;
    border: 2px solid var(--bg-dark-1);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

/* Premium Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, span, li, input, select, textarea {
    font-family: var(--font-body);
    font-weight: 400;
}

.text-teal { color: var(--primary-teal); }
.text-teal-light { color: #5ce6f4; }
.text-gold { color: var(--secondary-gold); }
.text-gold-light { color: var(--gold-light); }
.text-muted-light { color: var(--text-muted); }

/* Global Layout Elements */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-subtitle {
    display: block;
    color: var(--secondary-gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-gold));
    margin-top: 1rem;
    border-radius: 2px;
}

/* Glassmorphism Generic Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 139, 155, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Glowing backgrounds */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}
.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-teal);
    top: 10%;
    right: -100px;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-gold);
    bottom: 15%;
    left: -150px;
}
.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-teal);
    top: 40%;
    left: 20%;
}
.orb-4 {
    width: 250px;
    height: 250px;
    background: var(--secondary-gold);
    bottom: 5%;
    right: 5%;
}

/* Top Info Bar */
.top-bar {
    background-color: #030a0b;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.top-bar a {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}
.top-bar a:hover {
    color: var(--secondary-gold);
}
.top-bar .top-tagline {
    color: var(--text-muted);
}
.top-bar .top-tagline strong {
    color: var(--text-white);
}

/* Responsive Sticky Navigation */
.navbar {
    background: rgba(6, 21, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
}
.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    background: rgba(3, 10, 11, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--secondary-gold);
}
.navbar-brand .brand-text {
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}
.navbar-brand .brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.05em;
}
.navbar-brand .brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-gold);
    letter-spacing: 0.15em;
}

.navbar-toggler-icon-custom {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}
.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after,
.navbar-toggler-icon-custom span {
    background-color: var(--text-white);
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: var(--transition-smooth);
}
.navbar-toggler-icon-custom::before { content: ""; top: 0; }
.navbar-toggler-icon-custom span { top: 8px; }
.navbar-toggler-icon-custom::after { content: ""; bottom: 0; }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::before {
    transform: rotate(45deg);
    top: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::after {
    transform: rotate(-45deg);
    bottom: 8px;
}

.navbar-toggler {
    border: none;
    padding: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-white);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-gold));
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Premium Buttons */
.btn-premium-gold {
    background: linear-gradient(135deg, var(--secondary-gold), var(--gold-dark));
    color: #030a0b;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 30px;
    padding: 0.65rem 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn-premium-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--secondary-gold));
    color: #030a0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.btn-premium-teal {
    background: linear-gradient(135deg, var(--primary-teal), #00b4c5);
    color: var(--text-white);
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 30px;
    padding: 0.65rem 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 139, 155, 0.2);
}
.btn-premium-teal:hover {
    background: linear-gradient(135deg, #00b4c5, #00d3e7);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 139, 155, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--secondary-gold);
    border: 2px solid var(--secondary-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 30px;
    padding: 0.65rem 1.5rem;
    transition: var(--transition-smooth);
}
.btn-outline-gold:hover {
    background: var(--secondary-gold);
    color: #030a0b;
    transform: translateY(-2px);
}

/* Badge and Info Cards */
.badge-pill {
    background: rgba(0, 139, 155, 0.08);
    border: 1px solid rgba(0, 139, 155, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}
.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5ce6f4;
}

/* Pulse animation for navbar indicator */
.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    background-color: var(--bg-dark-1);
    padding-top: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-logo-large {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 8px solid rgba(212, 175, 55, 0.85);
    box-shadow: 0 0 50px rgba(0, 139, 155, 0.3);
    position: relative;
    z-index: 3;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.logo-showcase-container {
    position: relative;
    display: inline-block;
    padding: 30px;
}

.logo-glow-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0,139,155,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.logo-orbit-ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.logo-orbit-ring.ring-1 {
    width: 360px;
    height: 360px;
    animation: rotateRing 25s linear infinite;
}
.logo-orbit-ring.ring-2 {
    width: 440px;
    height: 440px;
    animation: rotateRing 45s linear infinite reverse;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-info-card {
    position: absolute;
    bottom: -10px;
    right: -20px;
    z-index: 5;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, var(--secondary-gold), var(--gold-light));
}

.border-teal-muted {
    border-color: rgba(0, 139, 155, 0.15) !important;
}

/* About Section */
.about-accent-box {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-gold));
    top: 15px;
    left: 15px;
    z-index: 0;
    border-radius: 16px;
    opacity: 0.15;
}

/* Custom Accordion */
.accordion-custom .accordion-button {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
    border-radius: 8px !important;
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: none;
    transition: var(--transition-smooth);
}
.accordion-custom .accordion-button:not(.collapsed) {
    background-color: rgba(0, 139, 155, 0.08);
    color: var(--text-white);
    border-color: rgba(0, 139, 155, 0.2);
}
.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-custom .accordion-body {
    background: transparent;
    border: none;
}

/* Course Cards */
.bg-teal-darker {
    background-color: var(--bg-dark-2);
}

.course-card {
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
}

.course-banner-accent {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--teal-glow));
    position: absolute;
    top: 0;
    left: 0;
}
.course-banner-accent.banner-gold {
    background: linear-gradient(90deg, var(--secondary-gold), var(--gold-light));
}

.bg-teal-soft {
    background-color: rgba(0, 139, 155, 0.1);
}
.bg-gold-soft {
    background-color: rgba(212, 175, 55, 0.1);
}

.course-title {
    font-size: 1.65rem;
    font-weight: 800;
}

.course-features-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.subject-tag {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 600;
    transition: var(--transition-smooth);
}
.course-card:hover .subject-tag {
    background-color: rgba(0, 139, 155, 0.05);
    border-color: rgba(0, 139, 155, 0.15);
}

.medium-highlight-banner {
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Prep cards */
.prep-card {
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.prep-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.prep-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-red-soft { background-color: rgba(220, 53, 69, 0.12); }
.bg-purple-soft { background-color: rgba(111, 66, 193, 0.12); }
.bg-blue-soft { background-color: rgba(13, 110, 253, 0.12); }

.text-purple { color: #af85f8; }

/* Why choose us */
.why-card {
    transition: var(--transition-smooth);
}
.why-card:hover {
    background-color: rgba(0, 139, 155, 0.04);
    border-color: rgba(0, 139, 155, 0.2);
    transform: translateX(4px);
}

.italic {
    font-style: italic;
}

/* Contacts & Form */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-input {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-white) !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
}
.premium-input:focus {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-teal);
    box-shadow: 0 0 10px rgba(0, 139, 155, 0.25);
}
.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.premium-check:checked {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

/* Modal styling */
.border-gold {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* Footer Section */
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--secondary-gold);
    padding-left: 4px;
}

.footer-contact-list li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: start;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-teal);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 139, 155, 0.4);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background-color: var(--secondary-gold);
    color: #030a0b;
    transform: translateY(-3px);
}

/* Media Queries for Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3rem;
    }
    .hero-logo-large {
        width: 200px;
        height: 200px;
    }
    .logo-showcase-container {
        padding: 10px;
    }
    .logo-glow-halo {
        width: 240px;
        height: 240px;
    }
    .logo-orbit-ring.ring-1 {
        width: 250px;
        height: 250px;
    }
    .logo-orbit-ring.ring-2 {
        width: 310px;
        height: 310px;
    }
    .floating-info-card {
        right: 0;
        bottom: 0;
    }
    .navbar-collapse {
        background: var(--bg-dark-2);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid var(--border-glass);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }
    .navbar-nav .nav-link::after {
        left: 0;
        transform: none;
        bottom: 4px;
    }
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 40px;
    }
}

/* Mobile Responsive Footer Adjustments */
@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
        padding-top: 3.5rem;
    }
    .footer-section .col-md-4 {
        margin-bottom: 2rem;
    }
    .footer-section .col-md-4:last-child {
        margin-bottom: 0;
    }
    .footer-section a.d-flex {
        justify-content: center;
        margin-bottom: 1rem !important;
    }
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }
    .footer-section hr {
        margin: 1.5rem 0 !important;
    }
}

