/* ======================
    GLOBAL RESET
====================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif; 
    scroll-behavior:smooth;
}

body{
    background:#f4f6f9;
    color:#222;
    overflow-x: hidden;
}

/* ======================
    HEADER / NAV
====================== */
.top-header{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#0d3b87;
    padding:15px 50px;
    color:white;
    box-shadow:0 3px 10px rgba(0,0,0,0.2);
}

.logo{
    font-family: 'Silkscreen', sans-serif; 
    font-size:30px;
    font-weight:900;
    letter-spacing:2px;
}

nav a{
    color:white;
    text-decoration:none;
    margin:0 12px;
    font-weight:600;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:white;
    left:0;
    bottom:-4px;
    transition:.3s;
}

nav a:hover::after{ width:100%; }

.auth button{
    padding:8px 16px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    transition:.3s;
    font-family: 'VT323', monospace; 
    font-size: 18px;
}

.btn-light{ background:white; color:#0d3b87; }
.btn-light:hover{ transform:translateY(-2px); }
.btn-dark{ background:#06285f; color:white; }
.btn-dark:hover{ background:#041d44; }

/* ======================
    HERO
====================== */
.hero{
    height:75vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("assets/cam.jpg");
    background-size:cover;
    background-position:center;
}

.hero h1{
    font-family: 'Silkscreen', sans-serif;
    font-size:80px;
    letter-spacing:6px;
    text-shadow:0 4px 10px rgba(0,0,0,.3);
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp 1.2s ease forwards;
}

.hero p{
    font-family: 'VT323', monospace;
    font-size:24px;
    margin-top:10px;
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp 1.2s ease forwards;
    animation-delay:.4s;
}

@keyframes fadeUp{ to{ opacity:1; transform:translateY(0); } }

/* ======================
    THE RAINBOW SECTION 
====================== */
.rainbow-wrapper{
    display:grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.content-left {
    display: flex;
    flex-direction: column;
}

.welcome-text, .why, .tech-stack, .enroll {
    padding: 60px;
    flex: 1;
}

/* Backgrounds */
.welcome-text { background:#b6d2e4; }
.why { background:#ffd429; }
.tech-stack { background: #222; color: #7bed9f; }
.enroll { background: #ff7f27; color: white; }

/* Font Fixes: Headings */
.welcome-text h2, 
.why h2, 
.tech-stack h2, 
.enroll h2 {
    font-family: 'Silkscreen', sans-serif; 
    font-size: 28px;        
    margin-bottom: 20px;
    letter-spacing: -1px;   
}

/* Specific colors for existing headings */
.welcome-text h2 { color: #1565c0; }
.why h2 { color: #1f7a1f; }
.tech-stack h2 { color: white; }

/* Font Fixes: Paragraphs and Lists */
.welcome-text p, 
.why li, 
.tech-stack p, 
.enroll p {
    font-family: 'VT323', monospace; 
    font-size: 24px;       
    line-height: 1.2;
}
.enroll p {
    margin-bottom: 30px; 
}


.enroll .btn-dark {
    font-family: 'VT323', monospace;
    font-size: 22px; 
    padding: 12px 24px; 
    display: inline-block; 
}
/* Button Font Fix */
.enroll .btn-dark {
    font-family: 'VT323', monospace; 
    font-size: 20px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: #06285f;
    color: white;
    border-radius: 8px;
    transition: .3s;
}

.enroll .btn-dark:hover {
    background: #041d44;
    transform: translateY(-2px);
}

.why li {
    list-style-position: inside;
    margin-bottom: 10px;
}

.video-right {
    position: sticky;
    top: 60px; 
    height: calc(100vh - 60px); 
    overflow: hidden;
    background: #000;
}

.video-right img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* ======================
    SPECIALIZATION
====================== */
.specialization{
    background:#e5f1e3;
    padding:70px;
    text-align:center;
}

.specialization h2{
    font-family: 'Silkscreen', sans-serif;
    font-size:40px;
    margin-bottom:30px;
}

.spec-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:50px;
}

.card{ width:200px; transition:.3s; }
.card:hover{ transform:translateY(-8px); }

.circle{
    width:130px;
    height:130px;
    border-radius:50%;
    margin:auto;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.blue{background:#3498db;}
.yellow{background:#f1c40f;}
.purple{background:#a29bfe;}
.green{background:#7bed9f;}
.orange{background:#ff7f27;}

.card p{
    font-family: 'VT323', monospace;
    font-size: 20px;
    margin-top:15px;
}

/* ======================
    UNIFIED FOOTER
====================== */
.main-footer {
    background: #0d3b87;
    color: white;
    padding: 80px 10% 40px 10%; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-brand h1 {
    font-family: 'Silkscreen', sans-serif;
    font-size: 50px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: 'VT323', monospace;
    font-size: 20px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: 'Silkscreen', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffd429; 
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-column a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #7bed9f;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-family: 'VT323', monospace;
    font-size: 14px;
    opacity: 0.5;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        width: 100%;
        justify-content: space-around;
        gap: 20px;
    }
    .footer-brand { width: 100%; }
}

/* ======================
    RESPONSIVE
====================== */
@media(max-width:900px){
    .rainbow-wrapper{ grid-template-columns: 1fr; }

    /* Change this from ::after to .video-right */
    .video-right { height: 400px; } 

    .top-header{ flex-direction:column; gap:10px; }
    .footer-columns{ flex-direction:column; gap:30px; }
}