/* Global Styles for Max Green Skills Development Organisation */

/* Reset and 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: #333;
    background-color: #f8f9fa;
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav .logo img {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: #3498db;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
    padding: 3rem 2rem 0;
}

/* Section Styling */
section {
    padding: 4rem 2rem;
    margin: 0 auto;
}

section:nth-of-type(even) {
    background-color: #f8f9fa;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

/* CEO Image Styling */
.ceo-image {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #01411C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #01411C;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* Cards */
.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Grid Layouts */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #01411C;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
}

/* CEO Header */
.ceo-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #01411C 0%, #0C6839 50%, #ffffff 100%);
    border-radius: 15px;
    color: #fff;
}

.ceo-header img {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.ceo-header h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.ceo-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.team-img {
    height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.team-img img {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #01411C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: #01411C;
    margin-bottom: 0.5rem;
}

.team-role {
    display: block;
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-info p {
    color: #666;
    line-height: 1.6;
}

/* Video Section */
.video-section {
    text-align: center;
    margin: 3rem 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Human Rights Section */
.human-rights-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.human-rights-section h2 {
    color: #01411C;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.human-rights-section h3 {
    color: #0C6839;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.human-rights-section p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Also On Section */
.also-on-section {
    background: #f0f0f0;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.also-on-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    border-radius: 10px;
}

.also-on-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.explore-grid a {
    color: white;
    text-decoration: none;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
    display: block;
}

.explore-grid a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.explore-grid h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.explore-grid p {
    margin: 0;
    font-size: 0.9rem;
}

/* New Year Section */
.new-year-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #01411C 0%, #0C6839 50%, #ffffff 100%);
    position: relative;
}

.new-year-section .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.new-year-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.new-year-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.new-year-section p:nth-child(3) {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Pledge Section */
.pledge-section {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
    backdrop-filter: blur(10px);
}

.pledge-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.pledge-section ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2;
}

.pledge-section li {
    margin-bottom: 0.8rem;
}

.quote {
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 1.05rem;
}

/* Event Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.event-img {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-info {
    padding: 1.5rem;
    text-align: center;
}

.event-info h3 {
    color: #01411C;
    margin-bottom: 0.5rem;
}

.event-date {
    display: block;
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.event-info p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.gallery-item-info p {
    color: #666;
    line-height: 1.6;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .explore-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.bg-white {
    background-color: #fff;
}

.bg-light {
    background-color: #f8f9fa;
}

.text-primary {
    color: #01411C;
}

.text-secondary {
    color: #0C6839;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

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

.align-center {
    align-items: center;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    nav, footer, .also-on-section, .new-year-section {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    body {
        background-color: #fff;
    }
}

/* Add to your style.css */
.image-50 {
    width: 50%;
    height: auto;
}

/* Update these in your style.css */
.ceo-image {
    width: 50%;
    height: auto; /* Changed from 50% */
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #01411C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.team-img img {
    width: 50%;
    height: auto; /* Changed from 50% */
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #01411C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Enhanced CSS for Max Green Skills Development Organisation */

/* Enhanced Navigation */
nav {
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(1, 65, 28, 0.3);
    text-align: left;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo img {
    height: 60px;
    width: auto;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

nav .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #3498db;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Enhanced Home Section */
#home {
    padding-top: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/hero-bg-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

#home .container {
    position: relative;
    z-index: 1;
}

#home h1 {
    color: #01411C;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Enhanced CEO Profile */
.ceo-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.ceo-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #01411C;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.ceo-image:hover {
    transform: scale(1.05);
}

.ceo-info h2 {
    color: #01411C;
    margin: 0.5rem 0;
}

.ceo-info p {
    color: #0C6839;
    font-weight: 500;
    margin: 0;
}

/* Enhanced CEO Message */
.ceo-message {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
    text-align: left;
    border-left: 5px solid #01411C;
}

.ceo-message p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0C6839;
    transition: width 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: #01411C;
    color: #fff;
    box-shadow: 0 5px 15px rgba(1, 65, 28, 0.4);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(1, 65, 28, 0.6);
}

/* Enhanced Admission Banner */
.admission-banner {
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0 0;
}

.admission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.admission-tag {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.admission-tag span {
    font-weight: bold;
}

.admission-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.admission-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.course-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.course-card h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.course-card p {
    color: #fff;
    opacity: 0.9;
}

/* Enhanced Certifications */
.certifications {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.certifications p {
    margin: 0.5rem 0;
}

/* Enhanced Admission Buttons */
.admission-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.apply-btn, .contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn {
    background: #fff;
    color: #01411C;
}

.apply-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.contact-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Enhanced New Year Section */
.new-year-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #01411C 0%, #0C6839 50%, #ffffff 100%);
    position: relative;
    text-align: center;
}

.new-year-section .container {
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    z-index: 1;
}

.new-year-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.new-year-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.new-year-section p:nth-child(3) {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Enhanced Pledge Section */
.pledge-section {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
    backdrop-filter: blur(10px);
}

.pledge-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
}

.pledge-section ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2;
}

.pledge-section li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.pledge-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.quote {
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 1.05rem;
    text-align: center;
}

/* Enhanced Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.skill-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(1, 65, 28, 0.2);
}

.skill-card h3 {
    color: #01411C;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #666;
    line-height: 1.6;
}

/* Enhanced Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

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

.project-img {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.project-info h3 {
    color: #01411C;
    margin: 0 0 0.5rem 0;
}

.project-info p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #01411C;
    box-shadow: 0 0 0 3px rgba(1, 65, 28, 0.2);
}

.submit-btn {
    background: #01411C;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #0C6839;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(1, 65, 28, 0.4);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    color: #3498db;
}

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #ddd;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #bbb;
}

/* Enhanced Also On Section */
.also-on-section {
    background: linear-gradient(135deg, #01411C 0%, #0C6839 100%);
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.also-on-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.also-on-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.explore-grid a {
    color: white;
    text-decoration: none;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: block;
    backdrop-filter: blur(10px);
}

.explore-grid a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.explore-grid h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
}

.explore-grid p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

/* Enhanced Video Section */
.video-section {
    text-align: center;
    margin: 3rem 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Scroll to top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #01411C;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

#scrollToTopBtn:hover {
    background: #0C6839;
    transform: scale(1.1);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    nav ul {
        gap: 0.8rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ceo-profile {
        flex-direction: column;
        text-align: center;
    }

    .courses-grid,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .admission-buttons {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
    }

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

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

    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 2rem;
    }

    .admission-banner h2 {
        font-size: 1.8rem;
    }

    .new-year-section h2 {
        font-size: 2rem;
    }

    .pledge-section {
        padding: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, footer, .also-on-section, .new-year-section, .admission-banner {
        display: none;
    }

    main {
        margin-top: 0;
    }

    body {
        background-color: #fff;
    }
}
