@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --color-primary: #0A192F; /* Deep Navy */
    --color-primary-light: #112240;
    --color-accent: #00B4D8; /* Light Blue / Cyan */
    --color-accent-hover: #0096C7;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-bg-main: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-border: #E5E7EB;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', sans-serif;
    
    /* Box Shadow */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

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

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

ul {
    list-style: none;
}

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

/* =========================================
   Layout & Container
   ========================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

/* Background GUI Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(var(--color-border) 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    background-position: 0 0;
}

/* Logo Carousel Animation */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
}

.carousel-track img {
    height: 70px;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.3s ease;
}

.carousel-track img:hover {
    filter: grayscale(0%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Gallery Grid & Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background-color: var(--color-bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.2s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 50%;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    color: var(--color-accent);
    background-color: rgba(255,255,255,0.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 25px;
        padding: 10px;
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Tabbed Sidebar Layout (About Us) */
.sidebar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 30px 0;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.3rem;
    padding: 0 20px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--color-text-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin: 0 20px 10px;
    background-color: var(--color-bg-light);
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background-color: #9a0036; /* Deep crimson from screenshot */
    color: #fff;
}

/* Quote Box */
.quote-box {
    background-color: #fff;
    padding: 40px 40px 40px 80px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-border);
    position: absolute;
    top: 35px;
    left: 25px;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.quote-author {
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
}

/* Image Grid 2 */
.image-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.image-grid-2 img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .image-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.team-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 0 auto 30px auto;
    gap: 30px;
}

.team-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .team-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-row-2, .team-row-4 {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1/1.1;
    object-fit: cover;
    background-color: var(--color-bg-light);
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 15px 0 5px 0;
}

.team-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Stats Banner */
.stats-banner {
    background-color: #9a0036;
    background-image: url('../assets/images/about-img.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.stat-item i {
    font-size: 2.5rem;
    color: #fff;
}

.stat-item h3 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0 0 5px 0;
}

.stat-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background-color: #fff;
    color: var(--color-primary);
}

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

/* =========================================
   Header & Navigation
   ========================================= */
.top-bar {
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.top-bar a:hover {
    opacity: 1;
}

.header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-fast);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.logo img {
    height: 50px; /* Adjust based on logo */
}

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

.nav-links li a {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 120px 0;
    background-color: var(--color-primary);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%), url('../assets/images/hero-bg.jpg') center/cover;
    z-index: 1;
}

/* Floating Certification Badges in Hero */
.hero-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.35;
    animation: floatShape 6s ease-in-out infinite;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-shape i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.badge-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: 8%;
    animation-delay: 1.5s;
    animation-duration: 8s;
}

.badge-3 {
    top: 25%;
    right: 12%;
    animation-delay: 3s;
}

.badge-4 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.badge-5 {
    top: 60%;
    left: 45%;
    opacity: 0.2;
    animation-delay: 4s;
    animation-duration: 9s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    max-width: 900px;
    margin-bottom: 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-indicators {
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* =========================================
   Cards & Grids
   ========================================= */
.grid {
    display: grid;
    gap: 30px;
}

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

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    height: 100%;
}

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

.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-category {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.course-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.course-actions .btn {
    flex: 1;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* =========================================
   Verification Section
   ========================================= */
.verification-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

#verification-result {
    display: none;
    margin-top: 30px;
}

.result-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.result-header {
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-valid {
    background-color: #10B981;
    color: #fff;
}

.status-invalid {
    background-color: #EF4444;
    color: #fff;
}

.result-body {
    padding: 20px;
}

.result-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    width: 150px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.result-value {
    font-weight: 500;
    color: var(--color-text-main);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-top {
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

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

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

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

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

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

/* =========================================
   Utilities
   ========================================= */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.d-none { display: none; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .logo img {
        height: 60px !important;
    }
    
    .nav-links {
        position: fixed;
        top: 70px; /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.2rem; }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        width: 100%;
    }
    
    .section { padding: 50px 0; }
    
    .result-row {
        flex-direction: column;
    }
    
    .result-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
}

/* Course Carousel */
.course-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.course-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.course-carousel-item {
    flex: 0 0 calc(33.333% - 13.33px);
    min-width: calc(33.333% - 13.33px);
}

@media (max-width: 992px) {
    .course-carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .course-carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.course-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.course-carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.course-carousel-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}
