/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background 0.6s ease, color 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

html
{
    scroll-behavior: smooth;
}

/* CSS VARIABLES */
:root {
    /* Background gradients */
    --light-bg: linear-gradient(135deg, #ff6a00, #ffbb33);
    --dark-bg: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
    
    /* Card gradients */
    --light-card: linear-gradient(135deg, #1a1a2e, #16213e);
    --dark-card: linear-gradient(135deg, #ff6600, #ff9500);
    
    /* Hamburger menu color for Light Mode */
    --hamburger-color: #111;
}

/* LIGHT THEME (Default) */
.page-container {
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
    color: #111;
    min-height: 100vh;
    text-align: center;
    transition: all 0.6s ease;
}

/* HEADER - STICKY NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #ff6600;
}

/* LOGO */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #994400;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* HIDE THE CHECKBOX */
#menu-toggle {
    display: none;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6600;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: rgb(1, 1, 109);
}

/* THEME TOGGLE BUTTON */
.theme-btn {
    width: 55px;
    height: 28px;
    background: #111;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid #ff6600;
}

.theme-btn .sun, .theme-btn .moon {
    font-size: 16px;
    color: #ff8800;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--hamburger-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* MOBILE NAVIGATION */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        flex-direction: column;
        padding: 0 2rem;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    /* SHOW MENU WHEN CHECKBOX IS CHECKED */
    #menu-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }

    /* Animate Hamburger into Cross */
    #menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* HERO SECTION */
.hero {
    padding: 8rem 2rem 5rem;
    color: #111;
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    overflow: hidden;
    border-right: 4px solid #ff6600;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { 
        width: 0; 
    }
    to { 
        width: 100%; 
    }
}

@keyframes blink {
    from, to { 
        border-color: transparent; 
    }
    50% { 
        border-color: #ff6600; 
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { 
        opacity: 1; 
    }
}

/* Gradient text for light mode - DARKER */
.gradient-text {
    background: linear-gradient(135deg, #cc5500, #994400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background: #111;
    color: #ff9500;
    border: 2px solid #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
}

/* FEATURES SECTION */
.features {
    padding: 4rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111;
}

.features h2 span.gradient-text {
    background: linear-gradient(135deg, #cc5500, #994400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features > p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #222;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
    padding: 2rem 0;
}

.card {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    padding: 2rem 1,5rem;
    border-radius: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    border: 2px solid #ffd700;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    color: #fff;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.card p {
    color: #f2f2f2;
}

.course-img {
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: linear-gradient(135deg, #ff6600, #ff9500);
}

/* COURSES SECTION */
.courses {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
    transition: all 0.6s ease;
}

.courses h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.courses > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #222;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
    padding: 2rem 0;
}

/* Card Structure */
.course-card {
    width: 300px;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.course-card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Front & Back */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    backface-visibility: hidden;
    overflow: hidden;
    transition: all 0.6s ease;
}

/* FRONT (Light Mode) - YELLOW GRADIENT */
.card-front {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #111;
    border: 3px solid #16213e;
}

/* TAG COLORS */
.tag {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag.popular { 
    background: #ff3b30; 
}
.tag.trending { 
    background: #ff9500; 
}
.tag.new { 
    background: #34c759; 
}
.tag.featured { 
    background: #007aff; 
}
.tag.live { 
    background: #30d158; 
}

.course-info {
    padding: 1rem;
}

.course-info h3 {
    color: #111;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.course-info p {
    font-size: 0.85rem;
    color: #222;
    margin-bottom: 1rem;
}

.level {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* BACK (Light Mode) */
.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0b0b12, #16213e);
    color: #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
    border: 3px solid #0a1b2d;
}

.card-back h3 {
    font-size: 1.1rem;
    color: #ff9500;
    margin-bottom: 0.8rem;
    text-align: center;
}

.card-back ul {
    list-style-position: inside;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: left;
    padding-left: 0;
    margin-bottom: 1rem;
}

.card-back ul li {
    margin-bottom: 0.3rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-wrap: break-word;
    line-height: 1.4;
}

.card-back .coming-soon {
    margin-top: auto;
    text-align: center;
    font-weight: 700;
    color: #ff6600;
    font-size: 0.9rem;
}

/* CAREER GUIDANCE SECTION */
.career {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
    transition: all 0.6s ease;
}

.career h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.career > p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #222;
}

.career-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
    padding: 2rem 0;
}

.career-card {
    width: 280px;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.career-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.career-card:hover .card-inner {
    transform: rotateY(180deg);
}

.career-card .card-front,
.career-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    backface-visibility: hidden;
    overflow: hidden;
}

/* YELLOW GRADIENT FOR CAREER CARDS IN LIGHT MODE */
.career-card .card-front {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #111;
    border: 3px solid #16213e;
}

.career-card .card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0b0b12, #16213e);
    color: #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
    border: 3px solid #0a1b2d;
}

.career-img {
    position: relative;
    height: 150px;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.career-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-info {
    padding: 1rem;
}

.career-info h3 {
    color: #111;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.career-info p {
    font-size: 0.85rem;
    color: #222;
}

/* ENROLL SECTION */
.enroll-section {
    padding: 4rem 2rem;
    background: transparent;
    overflow: hidden;
}

.feature-carousel {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    background: linear-gradient(135deg, #ff6600, #ff66b2);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    border: 3px solid #ffd700;
    margin-bottom: 3rem;
}

@keyframes scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.feature-carousel .group {
    display: flex;
    gap: 1rem;
}

.feature-carousel .card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
    box-shadow: none;
}

.feature-carousel .card i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-carousel .card span {
    font-weight: 600;
    color: #fff;
}

.wrap {
    text-align: center;
}

.wrap .button {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.wrap .button:hover {
    background: #111;
    color: #ff9500;
    border: 2px solid #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
}

/* INSTRUCTORS SECTION */
.instructors {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
}

.instructors h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
}

.instructors > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #222;
}

.coder-army {
    text-align: center;
    margin-bottom: 2rem auto;
}

.coder-army img {
    max-width: 100%;
    /* Scale it */
    width: min (400px, 90vw);
    height: auto;
    display: inline-block;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.5));
    transition: transform 0.3s ease-in-out;
}

/* Hover */
.coder-army img.hover {
    transform: scale(1.05);
}

/* LOGO STYLING */
.coder-army img.logo {
    filter: 
    drop-shadow(2px 0 0 #ff8104)
    drop-shadow(-2px 0 0 #ffffff)
    drop-shadow(0 2px 0 #03ab03);

}

/* Add tricolor effect using CSS filter */
.tricolor-logo {
    filter: 
        drop-shadow(2px 0 0 #ff8104)
        drop-shadow(-2px 0 0 rgb(255, 255, 255))
        drop-shadow(0 2px 0 rgb(3, 171, 3));
}

/* Mission Vision Layout */
.objective-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

/* STRIKE */
.strike img {
    width: 350px;
    max-width: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Table */
.mission-vision {
    width: 350px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-vision table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #ff6600, #ff9500);
}

.mission-vision th, td {
    padding: 1rem;
    text-align: left;
    font-size: 1.05rem;
    color: #222;
    vertical-align: middle;
}

.mission-vision th {
    width: 25%;
    background: rgb(65, 65, 245);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-right: 2px solid #fff;
}

.mission-vision td {
    background: #fffaf0;
    line-height: 1.5;
}

.mission-vision tr:nth-child(even) td {
    background: #fff3e0;
}

.instructor-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.instructor-card {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    padding: 2rem;
    border-radius: 15px;
    width: 450px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    border: 2px solid #ffd700;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
    border: 2px solid #ffd700;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.instructor-image {
    flex-shrink: 0;
}

.instructor-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff9500;
}

.instructor-info {
    text-align: left;
}

.instructor-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.instructor-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.instructor-tags .tag {
    position: static;
    font-size: 0.7rem;
    padding: 4px 8px;
}

.tag.founder { 
    background: #ff3b30; 
}
.tag.cofounder { 
    background: #007aff; 
}
.tag.ex { 
    background: #34c759; 
}

.instructor-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 149, 0, 0.2);
    color: #f2f2f2;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid #ffd700;
}

.instructor-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #f2f2f2;
    margin-bottom: 1rem;
}

.instructor-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* CONTACT SECTION */
#contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ff6a00, #ffbb33);
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
}

.contact-header h2 span {
    background: linear-gradient(135deg, #cc5500, #994400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6600;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border-radius: 10px;
    border: 2px solid #ff6600;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.btn-send {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-send:hover {
    background: #111;
    color: #ff9500;
    border: 2px solid #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
}

.contact-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* SOCIALS SECTION */
#socials {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

#socials h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
}

#socials p {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6600, #ff9500);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4);
}

.social-icons a svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    color: #fff;
    padding: 3rem 2rem 1rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #007aff, #00d4ff) 1;
    box-shadow: 0 -5px 20px rgba(0, 122, 255, 0.3);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
    margin-bottom: 1rem;
    color: #ff9500;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #ddd;
}

.footer-col ul {
    list-style: none; 
    padding: 0;      
    margin: 0;      
}

.footer-section ul li,
.footer-col ul li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

.footer-section a,
.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-col a:hover {
    color: #ff9500;
}

.social-icons-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.social-icons-footer .social-row {
    display: flex;
    gap: 10px;
}

.footer-section .icon {
    width: 40px;
    height: 40px;
    background: #ff6600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-section .icon:hover {
    background: #ff9500;
    transform: translateY(-3px);
}

.footer-section .icon i {
    color: #fff;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom p:last-child span {
    color: red;
}

.footer-bottom .heart-emoji {
    color: red;
}

/* DARK MODE */
#theme-toggle:checked ~ .page-container {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
    color: #f2f2f2;
}

/* Dark mode Hamburger menu */
#theme-toggle:checked ~ .page-container #hamburger {
    --hamburger-color: #ff8800;
}

/* Dark mode navbar */
#theme-toggle:checked ~ .page-container .navbar {
    background: rgba(17, 17, 17, 0.95);
    border-bottom: 2px solid #ff7a00;
}

#theme-toggle:checked ~ .page-container .logo {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .nav-links a {
    color: #fff;
}

#theme-toggle:checked ~ .page-container .nav-links a:hover {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .nav-links a::after {
    background: #ff7a00;
}

#theme-toggle:checked ~ .page-container .gradient-text {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#theme-toggle:checked ~ .page-container .hero {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .hero-title {
    border-right-color: #ff9500;
}

#theme-toggle:checked ~ .page-container h1,
#theme-toggle:checked ~ .page-container h2,
#theme-toggle:checked ~ .page-container h3,
#theme-toggle:checked ~ .page-container p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .btn {
    background: transparent;
    border: 2px solid #ff7a00;
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .btn:hover {
    background: #ff7a00;
    color: #000;
    box-shadow: 0 0 20px #ff7a00;
}

/* Dark Mode - Feature Cards */
#theme-toggle:checked ~ .page-container .features .card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
}

#theme-toggle:checked ~ .page-container .features .card:hover {
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
}

#theme-toggle:checked ~ .page-container .features .card h3 {
    color: #ff9500;
}

#theme-toggle:checked ~ .page-container .features .card p {
    color: #f2f2f2;
}

/* Dark Mode - Course Cards */
#theme-toggle:checked ~ .page-container .courses {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
}

#theme-toggle:checked ~ .page-container .courses h2 {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .courses > p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .card-front {
    background: linear-gradient(135deg, #0b0b12, #16213e);
    border: 3px solid #ff7a00;
}

#theme-toggle:checked ~ .page-container .course-info h3 {
    color: #ff9500;
}

#theme-toggle:checked ~ .page-container .course-info p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .card-back {
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    border: 3px solid #ffaa00;
}

#theme-toggle:checked ~ .page-container .card-back h3 {
    color: #fff;
}

#theme-toggle:checked ~ .page-container .card-back .coming-soon {
    color: #fff;
}

/* Dark Mode - Career Section */
#theme-toggle:checked ~ .page-container .career {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
}

#theme-toggle:checked ~ .page-container .career h2 {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .career > p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .career-card .card-front {
    background: linear-gradient(135deg, #0b0b12, #16213e);
    border: 3px solid #ff7a00;
}

#theme-toggle:checked ~ .page-container .career-info h3 {
    color: #ff9500;
}

#theme-toggle:checked ~ .page-container .career-info p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .career-card .card-back {
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    border: 3px solid #ffaa00;
}

#theme-toggle:checked ~ .page-container .career-card .card-back h3 {
    color: #fff;
}

#theme-toggle:checked ~ .page-container .career-card .card-back .coming-soon {
    color: #fff;
}

/* Dark Mode - Enroll Section */
#theme-toggle:checked ~ .page-container .feature-carousel {
    background: linear-gradient(135deg, #0b0b12, #16213e);
    border: 3px solid #ff7a00;
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.6);
}

#theme-toggle:checked ~ .page-container .wrap .button {
    background: transparent;
    border: 2px solid #ff7a00;
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .wrap .button:hover {
    background: #ff7a00;
    color: #000;
    box-shadow: 0 0 20px #ff7a00;
}

/* Dark Mode - Instructors Section (REVERSED - NOW ORANGE) */
#theme-toggle:checked ~ .page-container .instructors {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
}

#theme-toggle:checked ~ .page-container .instructors h2 {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .instructors > p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .instructor-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
}

#theme-toggle:checked ~ .page-container .instructor-card:hover {
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
}

#theme-toggle:checked ~ .page-container .instructor-info h3 {
    color: #ff9500;
}

#theme-toggle:checked ~ .page-container .instructor-info p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid #fff;
}

/* Dark Mode - Contact Section */
#theme-toggle:checked ~ .page-container #contact-section {
    background: linear-gradient(135deg, #0b0b12 0%, #0a1b2d 100%);
}

#theme-toggle:checked ~ .page-container .contact-header h2 {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .contact-header h2 span {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#theme-toggle:checked ~ .page-container .contact-header p {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .input-group label {
    color: #f2f2f2;
}

#theme-toggle:checked ~ .page-container .input-wrapper input,
#theme-toggle:checked ~ .page-container .input-wrapper textarea {
    background: rgba(255, 255, 255, 0.1);
    color: #f2f2f2;
    border-color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .btn-send {
    background: transparent;
    border: 2px solid #ff7a00;
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container .btn-send:hover {
    background: #ff7a00;
    color: #000;
    box-shadow: 0 0 20px #ff7a00;
}

/* Dark Mode - Socials Section */
#theme-toggle:checked ~ .page-container #socials {
    background: rgba(255, 255, 255, 0.05);
}

#theme-toggle:checked ~ .page-container #socials h2 {
    color: #ff7a00;
}

#theme-toggle:checked ~ .page-container #socials p {
    color: #f2f2f2;
}

/* Dark Mode - Footer */
#theme-toggle:checked ~ .page-container .footer {
    border-image: linear-gradient(90deg, #ff6600, #ff9500) 1;
    box-shadow: 0 -5px 20px rgba(255, 102, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
/* Mobile */
.hero-title {
    font-size: 1.5rem;
}

.hero-subtitle {
    font-size: 0.9rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.features h2,
.courses h2,
.career h2,
.instructors h2,
.contact-header h2,
#socials h2 {
    font-size: 1.8rem;
}

.card,
.course-card,
.career-card {
    width: 100%;
    max-width: 300px;
}

.feature-carousel {
    padding: 1rem;
}

.feature-carousel .card {
    min-width: 150px;
    padding: 0.8rem 1rem;
}

.wrap .button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.nav-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero {
    padding: 6rem 1rem 3rem;
}

.hero-title {
    white-space: normal;
    border-right: none;
    animation: fadeIn 1s ease-out forwards;
}

.feature-cards {
    flex-direction: column;
    align-items: center;
    
}

.course-container,
.career-container {
    grid-template-columns: 1fr;
}

.contact-container {
    flex-direction: column;
}

.contact-form,
.contact-image {
    width: 100%;
}

.form-row {
    flex-direction: column;
}

.instructor-card {
    flex-direction: column;
    text-align: center;
}

.instructor-info {
    text-align: center;
}

.instructor-tags,
.instructor-badges {
    justify-content: center;
}

.footer-container {
    flex-direction: column;
    text-align: center;
}

.footer .social-icons {
    justify-content: center;
}

/* Tablet */
@media (min-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 1.5rem;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card {
        max-width: 320px;
    }

    .course-img {
        height: 180px;
    }

    .course-container,
    .career-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .instructor-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .instructor-card {
        max-width: 350px;
    }

    .contact-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-form,
    .contact-image {
        width: 48%;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer .social-icons {
        justify-content: flex-start;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .instructor-container {
        flex-direction: row;
        align-items: stretch;
    }

    .instructor-card {
        max-width: 500px;
    }

    .course-container,
    .career-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .card {
        max-width: 340px;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .card p {
        font-size: 1rem;
    }

    .course-img {
        height: 200px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}