/* Color Variables */
:root {
    --primary: #FF6B00; /* Orange */
    --primary-light: #FF8C42;
    --primary-dark: #E05D00;
    --secondary: #2C3E50; /* Dark blue */
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #DEE2E6;
    --dark-gray: #6C757D;
    --dark: #212529;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    height: 40px;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3rem;
        margin-right: 150px;
    }

    .logo img {
        height: 35px;
    }
    
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li.active a {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
}

.hero-image {
    width: 100%;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--light);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Program Highlight*/
.program-highlight {
    padding: 40px 0;
    background-color: var(--light);
    color: var(--dark);
}

.program-highlight .container {
    padding: 0;
    max-width: 75%;
    width: 75%;
}

.highlight-content {
    width: 100%;
    text-align: center;
    padding: 25px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.program-highlight h2 {
    color: var(--primary);
    margin-bottom: -5px;
    font-size: 1.8rem;
}

.program-details {
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.program-details p {
    margin-bottom: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.program-details i {
    color: var(--primary);
    font-size: 1.2rem;
}

.highlight-buttons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Increase the gap between buttons */
    margin-top: 20px; /* Add some space above the buttons */
}

.highlight-buttons .btn {
    min-width: 150px; /* Ensure buttons have minimum width */
}

@media (max-width: 768px) {
    .highlight-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .highlight-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .program-highlight .container {
        max-width: 90%;
        width: 90%;
    }
}

/* About Page Styles */
.page-header {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-section {
    padding: 80px 0;
}

.about-section.mission {
    background-color: var(--white);
}

.about-section.founders {
    background-color: var(--light);
}

.about-section.why-java {
    background-color: var(--white);
}

.section-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.founder-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.founder-card img {
    width: 225px;
    height: 225px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary);
}

.founder-card h3 {
    margin-bottom: 5px;
}

.founder-card .title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.java-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    width: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Overview Page Styles */
.program-details {
    padding: 60px 0;
}

.schedule-card {
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}

.schedule-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.schedule-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 5px;
    color: var(--white)
}

.schedule-item h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.week-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.week-header {
    background-color: var(--primary);
    color: var(--light);
    padding: 15px 20px;
}

.week-content {
    padding: 20px;
}

.week-content ul {
    margin-left: 20px;
}

.week-content li {
    margin-bottom: 8px;
}

.cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light);
}

/* Opportunities Page Styles */
.opportunities {
    padding: 60px 0;
}

.opportunity-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.opportunity-content {
    padding: 30px;
}

.opportunity-form {
    padding: 30px;
    background-color: var(--light);
}

.opportunity-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.opportunity-card h3 {
    margin: 15px 0 10px;
    color: var(--secondary);
}

.capacity {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 30px;
}

.contact-form {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 715px;
}

.contact-methods {
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-method i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Animations */
.animate {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .opportunity-card,
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.7rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: auto;
}
    
    @media (max-width: 768px) {
        .header-content {
            position: relative;
            padding: 15px 0;
        }
        
        .mobile-menu-toggle {
            display: block;
            position: absolute;
            right: 20px; /* Fixed distance from right edge */
            top: 50%; /* Center vertically */
            transform: translateY(-50%);
            padding: 10px; /* Add padding to create a larger touch target */
            z-index: 110; /* Ensure it stays above other elements */
        }
        
        nav {
            width: 100%;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--white);
            z-index: 100;
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        
        nav.active {
            max-height: none; 
        }
        
        nav ul {
            flex-direction: column;
            width: 100%;
            padding: 0;
        }
        
        nav ul li {
            width: 100%;
            text-align: center;
            padding: 25px 0; 
            border-bottom: 1px solid var(--light-gray);
        }
        
        nav ul li:last-child {
            border-bottom: none;
        }
    }
    
    @media (max-width: 768px) {
        .contact-section {
            padding: 40px 0;
        }
        
        .contact-form, .contact-info {
            padding: 20px;
        }
        
        .contact-form {
            height: auto; 
        }
        
        .map-container iframe {
            width: 100%;
            height: 300px;
        }
        
        .contact-methods {
            margin: 20px 0;
        }
        
        .social-links {
            justify-content: center;
            margin-top: 20px;
        }
    }
