:root {
    /* Color Palette - Light Mode (Default) */
    --primary: #000000;
    --secondary: #ffffff;
    --accent: #333333;
    --grey-100: #f5f5f5;
    --grey-200: #eeeeee;
    --grey-300: #e0e0e0;
    --grey-400: #bdbdbd;
    --grey-500: #9e9e9e;
    --grey-800: #424242;
    --grey-900: #212121;
    
    --bg-color: var(--secondary);
    --text-color: var(--primary);
    --card-bg: var(--secondary);
    --section-bg-alt: var(--grey-100);
    --border-color: var(--grey-200);
    --nav-bg: rgba(255, 255, 255, 0.95);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --container-width: 1200px;
}

[data-theme="dark"] {
    --primary: #ffffff;
    --secondary: #000000;
    --accent: #cccccc;
    --grey-100: #111111;
    --grey-200: #222222;
    --grey-300: #333333;
    --grey-400: #444444;
    --grey-500: #888888;
    --grey-800: #cccccc;
    --grey-900: #eeeeee;
    
    --bg-color: #050505;
    --text-color: #ffffff;
    --card-bg: #111111;
    --section-bg-alt: #0a0a0a;
    --border-color: #222222;
    --nav-bg: rgba(5, 5, 5, 0.95);
}

[data-theme="dark"] .nav-logo,
[data-theme="dark"] .loader-icon {
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

[data-theme="dark"] .footer-logo {
    filter: brightness(1.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-300);
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey-500);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--grey-800);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--grey-500);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Base Components */
.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-radius: 25px;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--secondary);
        border-radius: 25px;

}

.btn-outline {
    border: 2px solid var(--grey-300);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--secondary);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--grey-100);
    border: 1px solid var(--grey-200);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8; /* Subtle transparency for better aesthetics */
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo:hover .nav-logo {
    transform: scale(1.05) rotate(-5deg);
}

.logo span {
    font-weight: 300;
    color: var(--grey-500);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--grey-500);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.hero-display-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: var(--transition);
    display: block;
    position: relative;
    z-index: 2;
}

.hero-display-img:hover {
    transform: scale(1.02);
}

.stats-float {
    position: absolute;
    bottom: 2rem;
    right: -3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.stat-bubble {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
    z-index: 11;
}

.stat-bubble:nth-child(2) {
    animation-delay: 2s;
    margin-left: 2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-bubble i {
    width: 20px;
    color: var(--primary);
}

.stat-bubble span {
    font-weight: 600;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 span {
    -webkit-text-stroke: 1px var(--primary);
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--grey-800);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 2rem;
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--grey-500);
    text-transform: uppercase;
    font-weight: 600;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--section-bg-alt);
    z-index: 0;
}

.grid-overlay {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

[data-theme="dark"] .grid-overlay {
    opacity: 0.1;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--grey-800);
}

/* Courses Section */
.courses {
    padding: 8rem 0;
    background-color: var(--section-bg-alt);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.course-card.featured {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

[data-theme="dark"] .course-card.featured {
    background: var(--grey-200);
    border-color: var(--primary);
    color: var(--text-color);
}

[data-theme="dark"] .course-card.featured .course-tag {
    color: var(--primary);
}

[data-theme="dark"] .course-card.featured p {
    color: var(--grey-800);
}

[data-theme="dark"] .course-card.featured li i {
    color: var(--primary);
}

.course-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.course-card.featured .course-tag {
    color: var(--grey-500);
}

.course-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.course-card.featured p {
    color: var(--grey-400);
}

.course-features {
    margin: 2rem 0;
    flex-grow: 1;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.course-features li i {
    width: 18px;
    color: var(--primary);
}

.course-card.featured li i {
    color: var(--secondary);
}

/* Process Section */
.process {
    padding: 8rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.step {
    display: flex;
    gap: 2rem;
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: var(--grey-200);
    transition: var(--transition);
}

.step:hover .step-number {
    color: var(--primary);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--grey-800);
}

/* Projects Section */
.projects {
    padding: 8rem 0;
    background-color: var(--primary);
    color: var(--secondary);
}

.projects .section-header h2 {
    color: var(--secondary);
}

.projects .section-header p {
    color: var(--grey-400);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-item {
    aspect-ratio: 4/5;
    background: var(--grey-900);
    border: 1px solid var(--grey-800);
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    overflow: hidden;
}
.project-item:hover{
    cursor: pointer;
}
.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: var(--transition);
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-item:hover {
    border-color: var(--secondary);
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 1;
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-info p {
    font-size: 0.9rem;
    color: white
}

/* Why Us Section */
.why-us {
    padding: 8rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image {
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.experience-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--primary);
    color: var(--secondary);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

.experience-card strong {
    font-size: 3.5rem;
    display: block;
    line-height: 1;
}

.experience-card span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.why-list li {
    display: flex;
    gap: 1.5rem;
}

.why-list i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.why-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-list p {
    color: var(--grey-800);
}

/* Founder Section */
.founder {
    padding: 8rem 0;
    background-color: var(--section-bg-alt);
}

.founder-card {
    background: var(--card-bg);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.founder-image {
    height: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 25px;
}



.founder-info {
    padding: 4rem;
}

.founder-bio {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--grey-800);
}
.founder-name {
    margin-bottom: 1.5rem;
    font-style: italic !important;
}

.founder-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin: 1rem;
}

.founder-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
    transition: var(--transition);
  
}

.founder-socials a:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.founder-socials i {
    width: 20px;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 4rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--primary);
    color: var(--secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--grey-500);
    font-weight: 400;
}

.pricing-list {
    margin: 2rem 0 3rem;
    text-align: left;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--grey-800);
}

.pricing-list i {
    width: 20px;
    color: var(--primary);
}

.pricing-list i.inactive {
    color: var(--grey-300);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--section-bg-alt);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    padding: 4rem;
    border: 1px solid var(--border-color);
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--grey-800);
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-item:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-item i {
    width: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.copy-trigger {
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
}

.copy-trigger:hover {
    background: var(--grey-100);
    border-color: var(--border-color);
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.info-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.copy-feedback {
    position: relative;
    display: flex;
    align-items: center;
    height: 1.5rem;
    overflow: hidden;
    font-size: 0.85rem;
}

.feedback-default,
.feedback-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.feedback-default {
    color: var(--grey-500);
    opacity: 1;
    transform: translateY(0);
    font-weight: 500;
}

.feedback-success {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(20px); /* Start from below */
    margin-top: -0.75rem; /* Center vertically */
    color: #10b981;
    opacity: 0;
    font-weight: 700;
}

.copy-trigger.copied .feedback-default {
    opacity: 0;
    transform: translateY(-20px);
}

.copy-trigger.copied .feedback-success {
    opacity: 1;
    transform: translateY(0);
}

.info-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
    overflow: hidden; /* For ripple effect if added, or just clean edges */
}

/* Hover State on Parent */
.copy-trigger:hover .info-icon-wrapper {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05); /* Subtle pop */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Shadow for depth */
}

/* Ensure SVG/Icon changes color on hover */
.copy-trigger:hover .info-icon-wrapper svg,
.copy-trigger:hover .info-icon-wrapper i {
    color: var(--secondary);
    stroke: var(--secondary); /* Explicitly set stroke for Lucide */
}

.info-icon-wrapper svg,
.info-icon-wrapper i {
    width: 24px; /* Increased slightly for better visibility */
    height: 24px;
    color: var(--primary);
    stroke: var(--primary); /* Explicitly set stroke */
    transition: var(--transition);
}

.sm-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px; /* Make mini icons a bit bolder */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--grey-300);
}

.theme-toggle:hover {
    background-color: var(--grey-100);
}

.theme-toggle i {
    width: 20px;
}

/* Footer */
footer {
    padding: 4rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--grey-500);
    font-size: 0.9rem;
}

.copyright-text {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.copy-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo:hover {
    cursor: pointer;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a:not(:last-child) {
    padding-right: 2rem;
    border-right: 1px solid var(--border-color);
}

.footer-crafted {
    font-weight: 500;
    color: var(--grey-600);
}

.footer-crafted a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-inline-start: 0.35rem;
    transition: var(--transition);
    position: relative;
}

.footer-crafted a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.footer-crafted a:hover {
    color: red;
    letter-spacing: 0.5px;
}

.footer-crafted a:hover::after {
    width: 100%;
}

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
}

[data-theme="dark"] .material-symbols-rounded {
    font-variation-settings: 'FILL' 1;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--grey-100);
}


/* Tools & Technologies */
.tools-tech {
    padding: 6rem 0;
    background: var(--bg-color);
    overflow: hidden;
}

.tech-marquee {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee::-webkit-scrollbar {
    display: none; /* Hide scrollbar Webkit */
}

.tech-marquee.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.tech-track {
    display: flex;
    gap: 5rem;
    width: max-content;
    padding: 1rem 5rem 1rem 0; /* Add right padding to match gap for seamless loop */
    will-change: transform;
}

.tech-marquee:hover .tech-track {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    cursor: grab;
    min-width: 100px;
}

.tech-item:active {
    cursor: grabbing;
}

.tech-item i {
    font-size: 4rem;
    transition: all 0.3s ease;
    /* Removed grayscale and opacity to keep original colors */
}

/* Specific fix for svg icons (lucide) acting as tech icons */
.tech-item svg {
    width: 4rem;
    height: 4rem;
    transition: all 0.3s ease;
    color: var(--primary); /* Default color for svg */
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-500);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item:hover i,
.tech-item:hover svg {
    transform: scale(1.1);
}

.tech-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Custom color for ShadCN placeholder since it's just an icon */
.tech-item:hover i.custom-icon,
.tech-item:hover svg.custom-icon {
    color: var(--primary); /* Keep it theme colored */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Success Stories / Community Section */
.success-stories {
    padding: 6rem 0;
    background: #000; /* Deep black background as requested */
    color: white;
    overflow: hidden;
}

.success-stories .section-header h2 {
    color: white;
}

.success-stories .section-header p {
    color: var(--grey-400);
}

.stories-marquee {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.stories-marquee::-webkit-scrollbar {
    display: none; /* Hide scrollbar Webkit */
}

.stories-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    padding: 1rem 3rem 1rem 0; /* Add right padding to match gap */
    will-change: transform;
}

.stories-marquee:hover .stories-track {
    animation-play-state: paused;
}

.story-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #111;
    padding: 1rem 1.5rem;
    border-radius: 50px; /* Pill shape */
    border: 1px solid #333;
    min-width: 280px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: grab;
}

.story-card:active {
    cursor: grabbing;
}

.stories-marquee.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.story-card:hover {
    border-color: var(--primary); /* Highlight on hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.story-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
    flex-shrink: 0;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-info {
    display: flex;
    flex-direction: column;
}

.story-name {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
}

.verified-icon {
    width: 18px;
    height: 18px;
    color: white; /* The stroke (check) is white */
    fill: #3b82f6; /* The body is blue */
    margin-left: 4px;
}

.story-role {
    font-size: 0.8rem;
    color: #888;
}

/* Form Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    display: flex; /* Flex but hidden via inline style initially */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: fadeIn 0.6s ease-out forwards;
}

.success-icon {
    margin-bottom: 1.5rem;
    color: #22c55e; /* Green color */
    background: rgba(34, 197, 94, 0.1);
    padding: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s backwards;
}

.success-icon i, .success-icon svg {
    width: 64px;
    height: 64px;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.success-message p {
    color: var(--grey-500);
    font-size: 1.1rem;
    max-width: 400px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* GitHub Promo Section */
.github-promo {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f13 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

/* Add a subtle background glow */
.github-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%); /* GitHub/Discord blue-ish tint */
    border-radius: 50%;
    pointer-events: none;
}

.github-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.github-text {
    flex: 1;
    max-width: 500px;
}

.github-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.github-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.github-text p {
    color: var(--grey-400);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-github:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    background-color: #f0f0f0;
}

.github-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.img-glow-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.img-glow-wrapper:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.promo-img {
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness for GitHub Section */
@media (max-width: 900px) {
    .github-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .github-text {
        max-width: 100%;
    }
    
    .github-badge {
        margin-inline: auto; /* Center badge */
    }

    .github-text h2 {
        font-size: 2rem;
    }
    
    .promo-img {
        max-width: 100%;
    }
}

/* Start of Media Queries */
/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid, .course-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-card { grid-template-columns: 1fr; }
    .founder-image { height: 450px; }
    .founder-info { padding: 2.5rem 1.5rem; text-align: center; }
    .founder-socials { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
    .about-card { text-align: center; }
    .about-card i { margin-inline: auto; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0 !important; /* Force smaller padding on mobile */
    }

    .nav-links {
        display: flex;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-color);
        padding: 5rem 1.5rem 2rem;
        gap: 0.8rem;
        transform: translateX(101%); /* Extra 1% to ensure hide */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
        z-index: 10000; /* Extremely high to beat anything */
        overflow-y: auto;
        align-items: center;
        visibility: hidden; /* Hide when not active to prevent ghost clicks */
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    [dir="rtl"] .nav-links {
        right: auto;
        left: 0;
        transform: translateX(-101%);
        box-shadow: 10px 0 40px rgba(0,0,0,0.2);
    }

    [dir="rtl"] .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links a:not(.btn-primary) {
        font-size: 1.05rem;
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
    }
    
    .nav-links li:last-child a:not(.btn-primary) {
        border-bottom: none;
    }

    .nav-links .theme-toggle,
    .nav-links .lang-toggle,
    .nav-links .btn-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.9rem;
        font-size: 1rem;
        margin-top: 0.4rem;
    }

    .theme-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--grey-100);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--text-color);
    }

    .theme-toggle::after {
        content: 'Change Theme';
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    @media (min-width: 769px) {
        .theme-toggle::after { display: none; }
    }

    .nav-links .btn-primary {
        margin-top: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: 10001; /* Above drawer */
        cursor: pointer;
        color: var(--text-color);
        background: var(--grey-100);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .hero-content { text-align: center; }
    .hero h1 { font-size: 2.8rem; margin-inline: auto; }
    .hero p { margin-inline: auto; font-size: 1.1rem; }
    .hero-btns { justify-content: center; flex-direction: column; gap: 1rem; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; text-align: center; }
    
    .hero-stats { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        justify-items: center;
    }
    .stat-item:last-child {
        grid-column: span 2;
    }
    .stat-item { text-align: center; }
    .stat-item strong { font-size: 1.75rem; }
    .about-grid, .course-grid, .projects-grid, .process-steps, .why-grid, .pricing-grid, .contact-box {
        grid-template-columns: 1fr;
    }
    .hero-background, .hero-image {
    display: none;
}

.hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

    .hero-image {
        display: block;
        margin-top: 2rem;
    }
    .hero { padding: 8rem 0 4rem; }
    .why-image { height: 350px; margin-bottom: 2rem; }
    .experience-card { 
        position: relative; 
        bottom: 0; 
        right: 0; 
        margin: -4rem auto 2rem; 
        width: 80%;
        padding: 2rem;
    }
    .why-content { text-align: center; }
    .why-list { text-align: left; margin-top: 2rem; }
    .experience-card strong { font-size: 2.5rem; }
    .contact-info { 
        align-items: stretch; /* Full width items */
        text-align: left; /* detailed items look better left aligned */
        margin-bottom: 3rem;
    }
    .contact-text h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    .contact-text p {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .info-item { 
        justify-content: space-between; /* Maintain the card layout */
        padding: 1rem;
        background: var(--bg-color); /* Ensure contrast if on grey bg */
        border: 1px solid var(--border-color); /* Define card boundary */
    }
    /* Fix for long emails breaking layout */
    .info-text {
        font-size: 0.8rem; /* Smaller font to fit email */
        white-space: nowrap; /* Force single line */
    }
    .info-icon-wrapper {
        width: 40px; /* Slightly smaller on mobile */
        height: 40px;
    }
    .info-icon-wrapper svg, 
    .info-icon-wrapper i {
        width: 20px;
        height: 20px;
    }
    .social-links-contact { 
        justify-content: center; 
        flex-wrap: wrap; 
        margin-top: 1rem;
    }
    .contact-box { 
        padding: 2rem 1.5rem; /* Reduce side padding to give more space for content */
        gap: 0; /* Let grid handle it or elements margin */
        border: none; /* Remove border on mobile for cleaner look */
        background: transparent; /* Seamless blend */
    }
    /* Make form inputs nicer on mobile */
    .form-group input, .form-group select {
        padding: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .copyright-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-links a:not(:last-child) {
        padding-right: 1.5rem;
    }
    .founder-bio {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .tech-track, .stories-track {
        gap: 3rem;
    }
    .stories-track {
        gap: 2rem;
    }
    .story-card {
        min-width: 260px;
        padding: 1rem;
    }
    .tech-item i, .tech-item svg {
        width: 3rem;
        height: 3rem;
        font-size: 3rem;
    }
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Inter', sans-serif;
}

[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .stat-item {
    text-align: right;
}

[dir="rtl"] .course-features li i,
[dir="rtl"] .pricing-list li i,
[dir="rtl"] .why-list i {
    transform: rotateY(180deg);
}

[dir="rtl"] .footer-bottom,
[dir="rtl"] .copyright-text,
[dir="rtl"] .founder-socials {
    flex-direction: row-reverse;
}

/* Desktop only RTL flex-direction for nav-links */
@media (min-width: 769px) {
    [dir="rtl"] .nav-links {
        flex-direction: row-reverse;
    }
}

[dir="rtl"] .contact-box {
    text-align: right;
}

[dir="rtl"] .contact-text h2,
[dir="rtl"] .contact-text p {
    text-align: right;
}

[dir="rtl"] .info-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .info-details {
    align-items: flex-end;
}

[dir="rtl"] .social-links-contact {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select {
    text-align: right;
}

[dir="rtl"] .feedback-success {
    right: 0;
    left: auto;
}

[dir="rtl"] .footer-links a:not(:last-child) {
    border-right: none;
    border-left: 1px solid var(--border-color);
    padding-right: 0;
    padding-left: 1.5rem;
}

/* Language Toggle */
.lang-toggle {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--grey-100);
}

/* Nav links animation and overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top i {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-icon {
    width: 120px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.5);
    animation: iconPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, logoPulse 2s ease-in-out infinite 1s;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
}

.loader-track {
    width: 200px;
    height: 2px;
    background-color: var(--grey-200);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.8s;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    animation: loadBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 1s;
}

.loader-percent {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--grey-500);
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 1s;
}

/* Hide Class for Transitions */
.loader-wrapper.hide {
    transform: translateY(-100%);
}

/* Animations */
@keyframes iconPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes loadBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Tablet/Mobile Adjustments */
@media (max-width: 768px) {
    .loader-text {
        font-size: 2rem;
    }
    
    .loader-track {
        width: 150px;
    }
}
