/* Root Variables - Brand Colors */
:root {
    --color-black: #111c22;
    --color-red: #eb0028;
    --color-white: #fcfaee;
    --color-gray: #4a5568;
    --color-light-gray: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(17, 28, 34, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 0, 31, 0.2);
    transition: var(--transition);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 70px;       /* adjust as needed */
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}



.navbar.scrolled {
    background-color: rgba(17, 28, 34, 0.98);
    box-shadow: 0 4px 20px rgba(184, 0, 31, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-decoded {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-white);
    opacity: 0.7;
    font-weight: 300;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-red);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-red);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    background: linear-gradient(135deg, var(--color-black) 0%, #1a2832 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(184, 0, 31, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(184, 0, 31, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.text-accent {
    color: var(--color-red);
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-white);
    opacity: 0.85;
    line-height: 1.8;
}

.cta-button {
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Lexend', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 0, 31, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-image {
    animation: fadeInRight 1s ease-out;
    width: 100%;
    max-width: 420px;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(226, 217, 217, 0.1) 0%, rgba(184, 0, 31, 0.05) 100%);
    border: 2px dashed rgba(184, 0, 31, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--color-white);
    opacity: 0.8;
}

.hero-img-placeholder {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--color-red);
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1rem;
    line-height: 1.6;
}

.image-placeholder small {
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave path {
    fill: var(--color-black);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-white);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-red);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto 3rem;
    color: var(--color-white);
    opacity: 0.9;
}

/* Vision Section */
.vision-section {
    background-color: #0d1418;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.vision-image .image-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vision-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-red);
    font-weight: 600;
}

.vision-solution-heading {
    margin-top: 2rem;
}

.vision-problem {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.problem-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(184, 0, 31, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--color-red);
}

.problem-item i {
    color: var(--color-red);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.problem-item p {
    line-height: 1.6;
    color: var(--color-white);
}

.vision-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-white);
    opacity: 0.9;
}

.vision-promise {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.promise-item i {
    color: var(--color-red);
    font-size: 1.25rem;
}

/* Offline Classes Section */
.offline-section {
    background-color: var(--color-black);
}

.offline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.offline-heading {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-red);
    font-weight: 600;
}

.offline-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-white);
    opacity: 0.9;
}

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

.feature-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(252, 250, 238, 0.03);
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(184, 0, 31, 0.08);
    transform: translateX(10px);
}

.feature-item i {
    color: var(--color-red);
    font-size: 2rem;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-white);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.8;
}

.offline-location {
    padding: 1.5rem;
    background-color: rgba(184, 0, 31, 0.1);
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-red);
}

.offline-location h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offline-location p {
    color: var(--color-white);
    line-height: 1.6;
}

.map-placeholder {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Online Lectures Section */
.online-section {
    background-color: #0d1418;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background-color: rgba(252, 250, 238, 0.03);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(184, 0, 31, 0.2);
}

.video-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0;
}

.video-placeholder i {
    font-size: 3rem;
}

.video-card h4 {
    padding: 1.25rem;
    font-size: 1.1rem;
    color: var(--color-white);
    text-align: center;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    background-color: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.youtube-link:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 0, 31, 0.4);
}

/* Contact Section */
.contact-section {
    background-color: var(--color-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(252, 250, 238, 0.03);
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(184, 0, 31, 0.08);
    transform: translateX(10px);
}

.contact-item i {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.contact-item a,
.contact-item p {
    color: var(--color-white);
    opacity: 0.9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-red);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Lexend', sans-serif;
    border: 2px solid rgba(252, 250, 238, 0.1);
    border-radius: 10px;
    background-color: rgba(252, 250, 238, 0.03);
    color: var(--color-white);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(252, 250, 238, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    background-color: rgba(252, 250, 238, 0.05);
}

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

/* Footer */
.footer {
    background-color: #0a0f13;
    padding: 2rem;
    border-top: 1px solid rgba(184, 0, 31, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--color-red);
    transform: translateY(-5px);
}

.copyright {
    color: var(--color-white);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    opacity: 0;
}

.scroll-top.show {
    display: flex;
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: rgba(17, 28, 34, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(184, 0, 31, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }
    
    .hero-content,
    .vision-content,
    .offline-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .offline-content {
        grid-template-columns: 1fr;
    }
    
    .offline-text {
        order: 1;
    }
    
    .offline-map {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-container {
        padding: 3rem 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-decoded {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .vision-heading,
    .offline-heading {
        font-size: 1.5rem;
    }
    
    .image-placeholder {
        padding: 2rem;
        min-height: 300px;
    }
    
    .hero-img-placeholder {
        min-height: 350px;
    }
    
    .map-placeholder {
        min-height: 350px;
    }
}
.map-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
