:root {
    --primary: #233d71; /* Deep Trust Blue */
    --primary-light: #305499;
    --accent: #00a2ff; /* Modern Cyan */
    --accent-hover: #008cdb;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --bg-main: #f4f7fb;
    --white: #ffffff;
    --red-badge: #e11d48; 
    --cyan-badge: #0ea5e9;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 40px rgba(35, 61, 113, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-main); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 700; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ======== HEADER ======== */
#main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; max-width: 300px; height: 100%; }
.logo a { display: flex; align-items: center; width: 100%; height: 100%; }
.logo img { max-height: 55px; max-width: 100%; width: auto; object-fit: contain; }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); position: relative; }
nav a i { font-size: 0.7rem; margin-left: 4px; color: #a0aec0; }
nav a:hover { color: var(--accent); }
/* Hover underline effect */
nav a::after {
    content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
    background: var(--accent); transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }

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

/* ======== HERO SLIDER ======== */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #112244;
}
.slider-track {
    position: relative; width: 100%; height: 100%;
}
.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex; align-items: center; justify-content: center;
}
.slide.active-slide {
    opacity: 1; visibility: visible; z-index: 5;
}
.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(35, 61, 113, 0.8) 0%, rgba(17, 34, 68, 0.5) 100%);
}

.hero-content {
    position: relative; z-index: 10; width: 100%; max-width: 900px; padding: 0 40px; margin: 0 auto;
    color: var(--white); text-align: center;
    transform: translateY(-20px);
}
.hero-content h2 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); line-height: 1.1; font-weight: 800;}
.hero-content p { font-size: 1.25rem; font-weight: 400; margin-bottom: 35px; color: rgba(255,255,255,0.95); text-shadow: 0 2px 8px rgba(0,0,0,0.6);}

.hero-buttons { display: flex; gap: 15px; justify-content: center; align-items: center; }
.btn-outline-light { display: inline-block; border: 2px solid white; color: white; background: transparent; padding: 10px 30px; border-radius: 8px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: 0.3s; }
.btn-outline-light:hover { background: white; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4); }

.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 162, 255, 0.6); }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 40px; z-index: 10; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.slider-dot.active { background: var(--accent); transform: scale(1.2); }

.slider-arrows button {
    position: absolute; top: 40%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.1); border: none; color: white; width: 50px; height: 50px; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem; backdrop-filter: blur(5px); transition: 0.3s;
}
.slider-arrows button:hover { background: var(--accent); }
.arrow-left { left: 30px; }
.arrow-right { right: 30px; }

/* Partner Logos Section */
.partner-logos-section {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    padding: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.logos-track-static {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}
.logos-track-static img {
    height: auto;
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}
.logos-track-static img:hover {
    filter: grayscale(0%) opacity(1);
}

/* ======== CARDS SECTION ======== */
.quick-access-section {
    position: relative;
    padding-top: 60px;
    z-index: 20;
    padding-bottom: 60px;
}
.section-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

/* Left Highlight Card */
.about-highlight {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}
.about-highlight:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.about-image { position: relative; height: 200px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(35, 61, 113, 0.9);
    color: white; padding: 10px; font-weight: 700; text-align: center; font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);
}
.about-info { padding: 25px; }
.about-info h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.3rem; }
.about-info p { font-size: 0.9rem; color: var(--text-muted); }

/* Right Grid 8 Cards */
.services-8-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}
.service-box {
    background: var(--glass-bg);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.icon-wrap {
    width: 60px; height: 60px; border-radius: 50%; background: #ebf8ff; color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 15px;
    transition: all 0.3s ease;
}
.service-box:hover .icon-wrap { background: var(--accent); color: white; }
.service-box span { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); letter-spacing: 0.5px; }

/* Highlighted Box (Last one) */
.highlight-box { background: #f0fdf4; border-color: #bbf7d0; }
.highlight-box .icon-wrap { background: #dcfce7; color: #16a34a; }
.highlight-box:hover .icon-wrap { background: #16a34a; color: white; }
.highlight-box:hover { border-color: #16a34a; }

/* ======== 3 COLUMNS SECTION ======== */
.three-columns-section { padding: 40px 0 80px; }
.d-flex-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.col-box { background: var(--white); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-sm); }
.col-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #edf2f7; padding-bottom: 15px; margin-bottom: 25px; }
.col-header h3 { font-size: 1.2rem; color: var(--primary); }
.link-all { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }

/* Lists (Announcements & Career) */
.list-wrapper { display: flex; flex-direction: column; gap: 15px; }
.list-item { display: flex; align-items: center; gap: 15px; padding-bottom: 15px; border-bottom: 1px dashed #e2e8f0; }
.list-item:last-child { border-bottom: none; padding-bottom: 0; }
.date-badge {
    min-width: 55px; height: 55px; border-radius: 10px; background: linear-gradient(135deg, var(--red-badge), #be123c);
    color: white; display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}
.date-badge .day { font-size: 1.2rem; font-weight: 700; line-height: 1; }
.date-badge .month { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.list-item p { font-size: 0.9rem; color: var(--text-dark); font-weight: 500; }
.list-item p:hover { color: var(--accent); cursor: pointer; }

.alt-badge { background: linear-gradient(135deg, var(--cyan-badge), #0369a1); box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3); }

/* Center Image Grid */
.image-grid-wrap {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 100px; gap: 12px;
}
.img-box { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.img-box:hover img { transform: scale(1.1); }
.overlay-title {
    position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white; padding: 20px 10px 10px; font-size: 0.75rem; font-weight: 600; text-align: center;
}

/* Promo Card in Career Column */
.career-promo { padding: 20px; text-align: center; border: 1px solid rgba(0,0,0,0.05); }
.career-promo h4 { margin: 15px 0 10px; color: var(--primary); }
.career-promo p { font-size: 0.85rem; margin-bottom: 15px; color: var(--text-muted); }
.btn-outline-primary { border: 2px solid var(--accent); color: var(--accent); background: transparent; padding: 8px 20px; }
.btn-outline-primary:hover { background: var(--accent); color: white; }

/* ======== FOOTER ======== */
.scroll-up-wrap { position: relative; display: flex; justify-content: center; z-index: 10; margin-bottom: -25px; }
.scroll-up-btn {
    width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    box-shadow: 0 -4px 15px rgba(0, 162, 255, 0.4); border: 4px solid var(--white);
}

.main-footer { background: var(--primary); color: #e2e8f0; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h4 { color: white; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.footer-col ul li i { color: var(--accent); width: 20px; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

.social-icons { display: flex; gap: 10px; margin-top: 15px; }
.social-icons a { width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--accent); color: white; transform: translateY(-3px); }

.footer-bottom { background: #1a2f5c; padding: 20px 0; margin-top: 40px; text-align: center; font-size: 0.85rem; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; }
.credits a { color: var(--accent); font-weight: 600; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
    .section-grid { grid-template-columns: 1fr; }
    .hero-content { transform: translateY(-50px); }
    .services-8-grid { grid-template-columns: repeat(3, 1fr); }
    .d-flex-3 { grid-template-columns: 1fr; }
    .image-grid-wrap { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .mobile-menu-btn { display: block; }
    .services-8-grid { grid-template-columns: repeat(2, 1fr); }
    .image-grid-wrap { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .d-flex-between { flex-direction: column; gap: 10px; }
}

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