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

:root {
    --primary-color: #1a9b7f;
    --secondary-color: #0d7a64;
    --accent-color: #26d0ab;
    --dark-text: #0f1419;
    --light-bg: #f8faf9;
    --white: #ffffff;
    --cream: #fdfcfb;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background: var(--cream);
    overflow-x: hidden;
}

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

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* =====================
   HEADER & NAVIGATION
===================== */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 155, 127, 0.1);
    color: var(--dark-text);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.header-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInUp 0.6s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    padding: 4px;
    background: transparent;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.university-name h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.university-name p {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

nav {
    background: transparent;
    padding: 0;
    margin-top: 0.5rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(26, 155, 127, 0.05);
}

nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

nav ul li a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 15px rgba(26, 155, 127, 0.3);
}

nav ul li a.active::after {
    display: none;
}

/* =====================
   PAGE HERO (inner pages)
===================== */
.page-hero {
    background: linear-gradient(135deg, #0d7a64 0%, #1a9b7f 50%, #26d0ab 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(38, 208, 171, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(13, 122, 100, 0.3) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* =====================
   HERO (homepage)
===================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0d7a64 0%, #1a9b7f 50%, #26d0ab 100%);
    color: var(--white);
    padding: 10rem 3rem 8rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(38, 208, 171, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(13, 122, 100, 0.3) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-decoration:nth-child(1) { top: -200px; left: -200px; }
.hero-decoration:nth-child(2) { bottom: -200px; right: -200px; }

/* =====================
   BUTTONS
===================== */
.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* =====================
   CONTAINER & SECTIONS
===================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.section {
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -1px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* =====================
   FEATURE CARDS
===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 155, 127, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 155, 127, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 155, 127, 0.1), rgba(38, 208, 171, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.feature-card h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* =====================
   STATS
===================== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =====================
   NEWS CARDS
===================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.news-content { padding: 1.5rem; }

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.news-card p { color: #666; margin-bottom: 1rem; }

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover { gap: 0.8rem; }

/* =====================
   MISSION / VISION
===================== */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    border-left: 5px solid var(--primary-color);
}

.mv-card h3 { font-size: 1.8rem; color: var(--secondary-color); margin-bottom: 1rem; }
.mv-card p { font-size: 1.1rem; line-height: 1.8; color: #555; }

/* =====================
   VALUES GRID
===================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    border: 1px solid rgba(26, 155, 127, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(26, 155, 127, 0.15);
}

.value-item h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.value-item p { color: #666; }

/* =====================
   LEADERSHIP
===================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leader-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(26, 155, 127, 0.15);
}

.leader-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.leader-card h3 { font-size: 1.4rem; color: var(--secondary-color); margin-bottom: 0.5rem; }
.leader-card p { color: #666; }

/* =====================
   LEADERSHIP MESSAGES
===================== */
.leadership-messages {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.message-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.message-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(26, 155, 127, 0.15);
}

.message-photo {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.message-photo img { width: 100%; height: 100%; object-fit: cover; }
.message-content h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.message-title { font-size: 1.3rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 0.3rem; }
.message-position { font-size: 1rem; color: #888; font-style: italic; margin-bottom: 1.5rem; }
.message-text { font-size: 1.05rem; line-height: 1.8; color: #555; text-align: justify; }

/* =====================
   PROGRAMS GRID
===================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 155, 127, 0.15);
}

.program-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.program-icon { font-size: 3rem; margin-bottom: 1rem; }
.program-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.program-content { padding: 1.5rem; }

.program-content ul { list-style: none; margin-bottom: 1.5rem; }

.program-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.program-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* General btn within content */
.program-content .btn, .form-container .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(26, 155, 127, 0.3);
}

.program-content .btn:hover, .form-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 155, 127, 0.4);
}

/* =====================
   FORMS
===================== */
.form-container {
    max-width: 700px;
    margin: 2rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea { min-height: 150px; resize: vertical; }

/* =====================
   CONTACT
===================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(26, 155, 127, 0.08);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.contact-card h3 { font-size: 1.3rem; color: var(--secondary-color); margin-bottom: 0.5rem; }
.contact-card p { color: #666; }

/* =====================
   FOOTER
===================== */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover { opacity: 1; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .header-top { flex-direction: column; gap: 1rem; }

    nav ul { flex-direction: column; }
    nav ul li a { padding: 0.8rem 1rem; }

    .hero h2 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }

    .page-hero h1 { font-size: 2rem; }
    .section-title { font-size: 2rem; }

    .mission-vision-grid { grid-template-columns: 1fr; }

    .message-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .message-photo { height: 200px; }

    .container { padding: 3rem 1.5rem; }
}
