/* Global Styles & Variables from team.css */
:root {
    --primary-color: #0b132b;
    --secondary-color: #1c2541;
    --accent-color: #3a506b;
    --highlight-color: #5bc0be;
    --neon-color: #00f5d4;
    --dark-color: #0b132b;
    --light-color: #f8f9fa;
    --text-dark: #e0e0e0;
    --header-font: 'Rajdhani', sans-serif;
    --text-light: #f8f9fa;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    background-color: #121212;
    color: var(--text-light);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(91, 192, 190, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 245, 212, 0.05) 0%, transparent 50%);
}

/* Common Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--neon-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
    margin-bottom: 15px;
}

.accent-line {
    width: 80px;
    height: 3px;
    background-color: var(--highlight-color);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--neon-color);
}

/* Header & Navigation */
header {
    background-color: rgba(11, 19, 43, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(91, 192, 190, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.top-banner {
    background: linear-gradient(45deg, var(--highlight-color), var(--neon-color));
    color: var(--dark-color);
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--neon-color);
    background-color: rgba(91, 192, 190, 0.1);
    text-shadow: 0 0 5px rgba(0, 245, 212, 0.5);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
  }
  
  .menu-toggle:hover {
    color: var(--neon-color);
    background-color: rgba(0, 245, 212, 0.1);
  }
  
  .menu-toggle:focus {
    outline: none;
  }

/* Hero Section */
.education-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.4), rgba(0, 150, 200, 0.4)), url('images/education-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 19, 43, 0.8), rgba(28, 37, 65, 0.7));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.education-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.education-hero span.highlight {
    color: var(--neon-color);
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.7);
}

.education-hero p {
    font-size: 1.5rem;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--highlight-color), var(--neon-color));
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
}

/* Mission Section */
.education-mission {
    padding: 100px 0;
    background-color: #151c28;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-text p {
    margin-bottom: 25px;
    color: var(--text-light);
    opacity: 0.9;
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pillar {
    text-align: center;
    padding: 20px;
    background-color: rgba(58, 80, 107, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(91, 192, 190, 0.2);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-5px);
    background-color: rgba(58, 80, 107, 0.3);
    border-color: var(--neon-color);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.15);
}

.pillar i {
    font-size: 2.5rem;
    color: var(--neon-color);
    margin-bottom: 15px;
}

.pillar h3 {
    color: var(--highlight-color);
    margin-bottom: 10px;
}

.pillar p {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

.mission-image {
    flex: 1;
    min-width: 300px;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(91, 192, 190, 0.3);
    transition: var(--transition);
}

.mission-image img:hover {
    transform: scale(1.02);
    border-color: var(--neon-color);
    box-shadow: 0 15px 40px rgba(0, 245, 212, 0.2);
}

/* Programs Section */
.education-programs {
    padding: 100px 0;
    background-color: #1d2a37;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: rgba(28, 37, 65, 0.6);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(91, 192, 190, 0.2);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 245, 212, 0.15);
    border-color: var(--neon-color);
}

.program-card-header {
    padding: 25px 20px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.program-card-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    z-index: -1;
    transition: var(--transition);
}

.program-card:hover .program-card-header:before {
    background: linear-gradient(45deg, var(--highlight-color), var(--neon-color));
}

.program-card:hover .program-card-header {
    color: var(--dark-color);
}

.program-card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.program-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.program-card-content {
    padding: 25px;
}

.program-card-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
}

.program-card-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.program-card-content ul li:last-child {
    border-bottom: none;
}

.program-card-content ul li i {
    color: var(--neon-color);
    margin-right: 10px;
}

.program-link {
    display: inline-block;
    color: var(--neon-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 10px;
}

.program-link i {
    margin-left: 5px;
    transition: var(--transition);
}

/* Continuing from the program-link hover rule that was cut off */
.program-link:hover {
    color: var(--highlight-color);
    text-shadow: 0 0 5px rgba(91, 192, 190, 0.5);
}

.program-link:hover i {
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #121a27;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(28, 37, 65, 0.5);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(91, 192, 190, 0.2);
}

.feature-item:hover {
    transform: translateY(-10px);
    background-color: rgba(28, 37, 65, 0.7);
    border-color: var(--neon-color);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.15);
}

.feature-item i {
    font-size: 3rem;
    color: var(--neon-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.7);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #1d2a37;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(58, 80, 107, 0.2);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(91, 192, 190, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(58, 80, 107, 0.3);
    border-color: var(--neon-color);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.15);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--neon-color);
    font-size: 2rem;
    opacity: 0.2;
}

.testimonial-text {
    margin-bottom: 20px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--highlight-color);
}

.testimonial-author-info h4 {
    margin: 0;
    color: var(--highlight-color);
    font-size: 1.1rem;
}

.testimonial-author-info p {
    margin: 5px 0 0;
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 19, 43, 0.9), rgba(28, 37, 65, 0.8)), url('images/education-cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--highlight-color), var(--neon-color));
    color: var(--dark-color);
    font-weight: 600;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--highlight-color);
    color: var(--text-light);
}

.cta-button.secondary:hover {
    background: rgba(91, 192, 190, 0.1);
    border-color: var(--neon-color);
}

/* Footer Styles - Updated for consistency */
footer {
    background-color: #0b132b;
    padding: 60px 0 0;
    color: var(--text-light);
    border-top: 1px solid rgba(91, 192, 190, 0.2);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-left p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-center h4,
.footer-right h4 {
    color: var(--neon-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-center h4:after,
.footer-right h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--highlight-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--neon-color);
    opacity: 1;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icons a {
    color: var(--text-light);
    background-color: rgba(58, 80, 107, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--highlight-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-contact p {
    margin: 10px 0;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-contact a:hover {
    color: var(--neon-color);
    opacity: 1;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(91, 192, 190, 0.2);
    font-size: 0.9rem;
}

.footer-bottom p {
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .education-hero h1 {
        font-size: 3.5rem;
    }
    
    .education-hero p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    
    .education-hero h1 {
        font-size: 3rem;
    }
    
    .education-hero p {
        font-size: 1.1rem;
    }
    
    .mission-content {
        flex-direction: column;
    }
    
    .mission-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .education-hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .features-grid,
    .program-cards,
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .education-mission,
    .education-programs,
    .features-section,
    .testimonials-section {
        padding: 70px 0;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
      display: flex;
      margin-top: 30px;
    }
    
    .navbar {
      padding: 15px 5%;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      flex-direction: column;
      background-color: rgba(11, 19, 43, 0.98);
      padding: 80px 0 20px;
      z-index: 99;
      transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
      overflow-y: auto;
      justify-content: flex-start;
    }
    
    .nav-links.show {
      right: 0;
    }
    
    .nav-links li {
      width: 100%;
      margin: 0;
      padding: 0;
      opacity: 0;
      transform: translateX(20px);
      transition: all 0.3s ease;
      transition-delay: 0s;
    }
    
    .nav-links.show li {
      opacity: 1;
      transform: translateX(0);
    }
    
    .nav-links li a {
      padding: 15px 25px;
      display: flex;
      align-items: center;
      width: 100%;
      border-radius: 0;
      border-left: 3px solid transparent;
    }
    
    .nav-links li a:hover,
    .nav-links li a.active {
      background-color: rgba(91, 192, 190, 0.1);
      border-left: 3px solid var(--neon-color);
      transform: translateY(0);
    }
    
    .nav-links li a .nav-icon {
      margin-right: 15px;
      width: 20px;
      text-align: center;
    }
    
    /* CTA buttons in mobile nav */
    .nav-links li a.cta-button,
    .nav-links li a.cta-button-alt {
      margin: 10px 25px;
      text-align: center;
      justify-content: center;
      border-radius: 50px;
    }
    
    /* Mobile overlay */
    .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 98;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      backdrop-filter: blur(3px);
    }
    
    .nav-overlay.show {
      opacity: 1;
      visibility: visible;
    }
    
    /* Brand logo in header */
    .logo img {
      height: 40px; /* Smaller on mobile */
    }
    
    /* Additional animation for menu toggle */
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(180deg); }
    }
    
    .menu-toggle i.fa-bars {
      animation: none;
    }
    
    .menu-toggle i.fa-times {
      animation: spin 0.3s ease-out forwards;
    }
  }