/* 
   ==========================================================================
   Laurel Private ITI - Modern CSS Styling System (Updated)
   ========================================================================== 
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Design System Tokens --- */
:root {
    /* Color Palette */
    --primary: #002147;       /* Oxford Navy Blue */
    --primary-light: #1d3557; /* Light Navy Blue */
    --accent: #c5a059;        /* Antique Gold */
    --accent-hover: #b39256;  /* Deep Antique Gold */
    --success: #15803d;       /* Academic Green */
    --text-dark: #002147;     /* Dark navy text */
    --text-muted: #4e5d78;    /* Muted slate blue text */
    --bg-light: #f4f6f9;      /* Off-white background */
    --bg-white: #ffffff;
    --border-color: #dbe2ef;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* --- Sticky Glassmorphism Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

#logo-img {
    height: 45px;
    width: auto;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 550;
    font-size: 0.95rem;
    color: var(--primary-light);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #001f3f 0%, #002147 50%, #001f3f 100%);
    color: var(--bg-white);
    padding-top: 80px; /* offset header */
    position: relative;
    overflow: hidden;
}

/* Background accent glow instead of hero image */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(0, 33, 71, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.04) 0%, rgba(0, 33, 71, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-wrapper {
    max-width: 750px;
    position: relative;
    z-index: 5;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

/* --- Stats Counter Section --- */
.stats-bar {
    background-color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-top: -60px;
    border-radius: var(--border-radius);
    padding: 35px 20px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- About Section (Updated for No Images) --- */
.about-full-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.about-full-layout h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.about-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-desc-block p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-highlight-box {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: var(--border-radius);
    align-items: center;
}

.legacy-badge {
    background: var(--primary);
    color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 6px solid var(--accent);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.legacy-badge h3 {
    color: var(--accent);
    font-size: 2.6rem;
    margin-bottom: 8px;
    line-height: 1;
}

.legacy-badge p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Courses/Trades Section (Updated for No Images) --- */
.courses-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.course-content {
    display: none;
    justify-content: center;
    animation: fadeIn 0.5s ease-out;
}

.course-content.active {
    display: flex;
}

.course-details-full {
    width: 100%;
    max-width: 850px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.02);
}

.course-details-full h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.course-meta span strong {
    color: var(--primary);
}

.course-details-full p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.course-syllabus {
    margin-bottom: 40px;
}

.course-syllabus h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.syllabus-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.syllabus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.syllabus-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* --- Infrastructure Cards Section (No Images) --- */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.infra-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
}

.infra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    border-color: rgba(197, 160, 89, 0.3);
}

.infra-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.infra-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.infra-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Contact & Enquiry Section (Form Removed) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-lead {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-white);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.info-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    height: 100%;
    min-height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-list strong {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(226, 232, 240, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .about-desc-grid, .about-highlight-box, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        border-right: none;
    }
    
    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .course-details-full {
        padding: 30px;
    }
}

@media (max-width: 580px) {
    .hero-ctas {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .syllabus-list {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
