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

:root {
    /* Cyber/Cosmic Theme Palette */
    --primary-color: #0c1524;      /* Deep Cosmic Navy */
    --primary-light: #1e293b;     /* Slate Blue */
    --primary-dark: #030712;      /* Midnight Black */
    --accent-color: #0ea5e9;      /* Electric Cyan / Sky Blue */
    --accent-hover: #0284c7;
    --accent-glow: rgba(14, 165, 233, 0.35);
    
    /* Secondary Glowing Accents */
    --neon-blue: #38bdf8;
    --neon-purple: #818cf8;
    --neon-pink: #ec4899;
    --neon-cyan: #22d3ee;
    
    /* Clean Gradients */
    --gradient-primary: linear-gradient(135deg, #0c1524 0%, #030712 100%);
    --gradient-cyber: linear-gradient(135deg, #0ea5e9 0%, #818cf8 100%);
    --gradient-glow: linear-gradient(90deg, #22d3ee 0%, #818cf8 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    
    /* Light UI Neutral Colors */
    --text-color: #0f172a;         /* Deep Charcoal */
    --text-light: #475569;         /* Slate Grey */
    --text-muted: #94a3b8;         /* Cool Muted Grey */
    --bg-color: #fafafa;           /* Ultra Clean light-grey */
    --bg-white: #ffffff;
    --bg-panel: #f1f5f9;
    
    /* Shadows & Glows */
    --shadow-light: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    --shadow-medium: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
    --shadow-heavy: 0 20px 40px -6px rgba(15, 23, 42, 0.12);
    --shadow-cyber: 0 8px 30px rgba(14, 165, 233, 0.15);
    --shadow-cyan-glow: 0 0 20px rgba(34, 211, 238, 0.25);
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--primary-color);
}

/* Custom Scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   BUTTONS (Futuristic / Glow-oriented)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-cyber);
    color: var(--bg-white);
    box-shadow: var(--shadow-cyber);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, #0ea5e9 30%, #818cf8 100%);
}

.btn-accent {
    background: var(--bg-white);
    color: var(--primary-dark);
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-light);
}

.btn-accent:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-cyan-glow);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-cyber);
}

/* ==========================================
   HEADER & GLASS NAVIGATION
   ========================================== */
header {
    background-color: rgba(12, 21, 36, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.top-bar {
    background-color: rgba(3, 7, 18, 0.7);
    padding: 10px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-info span i {
    color: var(--accent-color);
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.top-bar-socials a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.2));
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--bg-white);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 60%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: var(--font-heading);
    padding: 8px 0;
    position: relative;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--bg-white);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.6);
}

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

/* Dropdown Menu (Glassmorphic) */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 240px;
    background-color: rgba(12, 21, 36, 0.95);
    backdrop-filter: blur(25px);
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 12px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-heavy);
    padding: 10px 0;
}

.dropdown-item a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    padding: 12px 24px;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.dropdown-item a:hover {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-color);
    padding-left: 28px;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================
   HERO / FUTURISTIC CYBER SLIDER
   ========================================== */
.hero {
    position: relative;
    height: 620px;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 6s ease-in-out;
}

.slide.active .slide-image {
    transform: scale(1);
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 7, 18, 0.95) 35%, rgba(12, 21, 36, 0.5) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--bg-white);
    max-width: 700px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.slide-content h2 span {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.slide-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--accent-color);
    width: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-cyan-glow);
}

/* ==========================================
   SECTIONS & MODERN GRID
   ========================================== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: var(--gradient-cyber);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================
   QUICK LINKS (High-Tech Overlap Grid)
   ========================================== */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.quick-link-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(14, 165, 233, 0.08);
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.quick-link-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy), var(--shadow-cyber);
    border-color: rgba(14, 165, 233, 0.2);
}

.quick-link-card:hover::after {
    transform: scaleX(1);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    color: var(--accent-color);
    background-color: rgba(14, 165, 233, 0.06);
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.quick-link-card:hover .quick-link-icon {
    background: var(--gradient-cyber);
    color: var(--bg-white);
    box-shadow: var(--shadow-cyan-glow);
}

.quick-link-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.quick-link-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   ONLINE SERVICES GRID
   ========================================== */
.services-section {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: #fafbfe;
    border: 1px solid rgba(14, 165, 233, 0.05);
    border-radius: var(--border-radius-md);
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-white);
    box-shadow: var(--shadow-heavy);
}

.service-card:hover::after {
    border-image: var(--gradient-cyber) 1;
    border-color: rgba(14, 165, 233, 0.2);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background-color: rgba(14, 165, 233, 0.05);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--gradient-cyber);
    color: var(--bg-white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.service-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accent-color);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(14, 165, 233, 0.06);
    transition: var(--transition-smooth);
}

.service-card:hover .service-btn {
    background: var(--gradient-cyber);
    color: var(--bg-white);
    box-shadow: var(--shadow-cyan-glow);
}

/* ==========================================
   NEWS & ANNOUNCEMENT PANELS
   ========================================== */
.grid-news-announcement {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy), var(--shadow-cyber);
    border-color: rgba(14, 165, 233, 0.25);
}

.news-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-dark);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-cyber);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.25);
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta span i {
    color: var(--accent-color);
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.news-card:hover .news-content h3 {
    color: var(--accent-color);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-read-more {
    font-weight: 700;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.news-card:hover .news-read-more {
    color: var(--neon-purple);
    gap: 12px;
}

/* Sidebar Announcement (High-Tech Box) */
.announcement-box {
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 36px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: var(--shadow-cyber);
    height: 100%;
    position: relative;
}

.announcement-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 60px;
    height: 3px;
    background: var(--gradient-cyber);
}

.announcement-box h3 {
    color: var(--bg-white);
    font-size: 1.6rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    font-weight: 800;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.announcement-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    transition: var(--transition-smooth);
}

.announcement-item:last-child {
    border: none;
    padding-bottom: 0;
}

.announcement-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.announcement-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.45;
    display: block;
}

.announcement-title:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* ==========================================
   STATISTICS SECTION (Glowing Cyber Panels)
   ========================================== */
.stats-section {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    background-image: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.12) 0%, rgba(3, 7, 18, 0.95) 90%);
}

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

.stat-item {
    padding: 10px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-item h3 {
    font-size: 3.8rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.3));
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ==========================================
   GALLERY MASONRY & OVERLAYS
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.2) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
    z-index: 2;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==========================================
   FOOTER (Clean Futuristic Layout)
   ========================================== */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 30px;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    position: relative;
}

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

.footer-about h3, .footer-links h3, .footer-contact h3 {
    color: var(--bg-white);
    font-size: 1.35rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.footer-about h3::after, .footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-cyber);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 44px;
}

.footer-logo-text h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-logo-text p {
    color: var(--accent-color);
    font-size: 0.68rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 0.95rem;
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.5;
}

.footer-contact-info svg, .footer-contact-info i {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 1.1rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
    color: var(--accent-color);
    font-weight: 700;
}

/* ==========================================
   PAGES DESIGN (Clean and Premium)
   ========================================== */
.page-header {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 70px 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--accent-color);
    font-weight: 600;
}

.profile-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 48px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.profile-section-item {
    margin-bottom: 48px;
    scroll-margin-top: 120px;
}

.profile-section-item:last-child {
    margin-bottom: 0;
}

.profile-section-item h3 {
    font-size: 1.85rem;
    margin-bottom: 24px;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
    font-weight: 800;
}

/* Document & Regulations Layout */
.documents-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
    margin-bottom: 30px;
}

/* High Tech Table Style */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(15, 23, 42, 0.05);
    margin-top: 20px;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--bg-white);
}

.tech-table th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 16px 20px;
    letter-spacing: 0.5px;
}

.tech-table td {
    padding: 16px 20px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-light);
}

.tech-table tr:last-child td {
    border-bottom: none;
}

.tech-table tr:hover td {
    background-color: rgba(14, 165, 233, 0.03);
    color: var(--text-color);
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-card-info {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 48px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 48px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

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

.form-group label {
    display: block;
    font-weight: 650;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 3px solid var(--bg-white);
    outline: 1px solid rgba(14, 165, 233, 0.15);
    margin-top: 40px;
}

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

/* ==========================================
   PAGES EXTRA COMPONENTS & GRIDS
   ========================================== */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.news-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    min-height: 220px;
}

.news-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy), var(--shadow-cyber);
    border-color: rgba(14, 165, 233, 0.2);
}

.news-image-horizontal {
    width: 260px;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--primary-dark);
}

.news-image-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-horizontal:hover .news-image-horizontal img {
    transform: scale(1.05);
}

.news-content-horizontal {
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.news-content-horizontal h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.news-content-horizontal h3 a {
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.news-card-horizontal:hover .news-content-horizontal h3 a {
    color: var(--accent-color);
}

/* Category Sidebar Links */
.category-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.category-link i {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.category-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(14, 165, 233, 0.05);
    transform: translateX(5px);
}

.category-link.active {
    color: var(--bg-white) !important;
    background: var(--gradient-cyber);
    font-weight: 600;
    box-shadow: var(--shadow-cyber);
}

.category-link.active i {
    color: var(--bg-white);
}

.announcement-list-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    padding: 40px;
    border-top: 4px solid var(--accent-color);
}

/* News Detail Page Styles */
.news-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.news-detail-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.news-detail-img {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.news-detail-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.news-detail-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cbd5e1;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* Sidebar Box & Lists */
.sidebar-box {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.sidebar-box h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-news-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-news-info h4 {
    font-size: 0.92rem;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 700;
}

.sidebar-news-info h4 a {
    color: var(--text-color);
}

.sidebar-news-info h4 a:hover {
    color: var(--accent-color);
}

.sidebar-news-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Announcement Detail Page Components */
.announcement-detail-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.download-attachment-box {
    background-color: #f8fafc;
    border-left: 4px solid var(--accent-color);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-attachment-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-color);
    font-weight: 700;
}

.download-attachment-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .grid-news-announcement {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 24px;
    }

    .stat-item:nth-child(even) {
        border-left: none;
    }

    .news-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Keep Header Sticky on Mobile */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .top-bar {
        display: none;
    }

    .main-nav {
        padding: 14px 0;
    }

    .menu-toggle {
        display: block;
    }

    /* Glassmorphic Mobile Menu Dropdown */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(12, 21, 36, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 30px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(14, 165, 233, 0.15);
        box-shadow: var(--shadow-heavy);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.03);
        margin-top: 10px;
        border: none;
        border-radius: var(--border-radius-sm);
    }

    /* Reset Quick Links Overlap Grid on Mobile */
    .quick-links-grid {
        margin-top: 20px;
    }

    .hero {
        height: 500px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Section Paddings on Mobile */
    .section {
        padding: 60px 0;
    }

    .profile-content, 
    .documents-card, 
    .contact-card-info, 
    .contact-form-card, 
    .announcement-detail-card,
    .announcement-list-card {
        padding: 24px;
    }

    /* News list components mobile stacking */
    .news-card-horizontal {
        flex-direction: column;
        max-height: none;
    }

    .news-image-horizontal {
        width: 100%;
        height: 200px;
    }

    .news-content-horizontal {
        padding: 20px;
    }

    /* Contact forms stacking */
    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Gallery Grid responsive scaling */
    .gallery-responsive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    /* Attachment Box responsive vertical stacking */
    .download-attachment-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .download-attachment-box .btn, 
    .download-attachment-box a {
        width: 100%;
    }

    /* Organization Tree Card Responsive scaling (overriding inline styles) */
    .org-card {
        width: 100% !important;
        max-width: 280px !important;
    }

    .org-children {
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 440px;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    /* Mobile Logo scale down to fit small screens */
    .logo-img {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    /* Floating Customer Service Chat Widget Responsive Fit */
    .cs-floating-container {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: calc(100% - 30px);
    }

    .cs-chat-box {
        width: 100% !important;
        bottom: 70px;
        right: 0;
        left: 0;
    }

    .cs-trigger-btn {
        margin-left: auto;
    }
}

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