/*
Theme Name: Sri Jothi Schools
Theme URI: https://sjhss.ac.in
Author: Desquad Design
Author URI: https://desquad.com
Description: Modern school website theme with animated background
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sri-jothi-theme
*/

/* ===========================
   CSS Variables
   =========================== */
:root {
    --orange: #F47C1D;
    --dark-blue: #1E3A8A;
    --royal-blue: #2B4C9F;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.text-orange {
    color: var(--orange);
}

/* ===========================
   Top Navigation Bar
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-logo .logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}

.nav-logo .logo-sub {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--orange);
}

.admissions-btn {
    background: var(--orange);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.admissions-btn:hover {
    background: #e06a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 124, 29, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section with Background
   =========================== */
.hero-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #2B4C9F 0%, #1E3A8A 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/school-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    animation: subtleZoom 20s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge .badge-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--orange);
}

.hero-badge .badge-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-button {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 124, 29, 0.4);
    display: inline-block;
}

.cta-button:hover {
    background: #e06a0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 124, 29, 0.5);
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.contact-info span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.scroll-indicator::before {
    content: '';
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ===========================
   About Section
   =========================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.highlight-card p {
    color: var(--text-light);
}

/* ===========================
   Mentor Section
   =========================== */
.mentor-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03), rgba(244, 124, 29, 0.03));
}

.mentor-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.quote-icon {
    font-size: 4rem;
    color: var(--orange);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 600;
}

.quote-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--orange), transparent);
    margin: 2rem 0;
}

.quote-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
}

/* ===========================
   Courses Section
   =========================== */
.courses-section {
    padding: 80px 0;
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.course-header {
    text-align: center;
    margin-bottom: 2rem;
}

.course-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.course-title {
    color: var(--dark-blue);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.course-subtitle {
    color: var(--orange);
    font-size: 1.125rem;
    font-weight: 600;
}

.course-list {
    list-style: none;
}

.course-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.course-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.additional-programs {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(244, 124, 29, 0.05));
    border-radius: 16px;
}

.programs-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

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

.program-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    color: var(--dark-blue);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-card a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--orange);
}

/* ===========================
   Footer - New Design
   =========================== */
.footer {
    background: #1a1f2e;
    color: #a0aec0;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Company Info Column */
.footer-about {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    background: linear-gradient(135deg, var(--orange), var(--dark-blue));
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.footer-logo-text h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Quick Links Column */
.footer-column h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
}

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

/* Contact Info Column */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-list svg {
    color: var(--orange);
    flex-shrink: 0;
}

.contact-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
}

.contact-list a:hover {
    color: var(--white);
}

/* Copyright Bar */
.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
}