* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* CSS Variables for theming */
:root {
    --primary: #355e2e;
    --primary-dark: #889e0e;
    --secondary: #eee64a;
    --accent: #00bfff;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #28a745;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(57, 57, 57, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), #cec709);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.navbar {
    background: #edf1f3;
    color: #151414;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.navbar {
  position: sticky;      
  top: 0;
  z-index: 1000;
}


.logo {
    font-size: 20px;
    font-weight: bold;
}

.user-img {
  width: 100px;

}


.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: black;
    padding: 10px 15px;
    font-weight: medium bold;
    display: block;
    text-decoration: none;
}

.nav-menu a:hover {
    color: rgb(242, 136, 6);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f1f3f5;
    display: none;
    min-width: 180px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: rgb(0, 0, 0);
    margin: 4px 0;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f0ff 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* photo slider */
.photo-info-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.photo-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.photo-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}

.photo-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}


/* Leadership */
.programs-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    border-top: 4px solid var(--primary);
    padding-top: 25px;
}

.program-card:nth-child(2) {
    border-top-color: var(--secondary);
}

.program-card:nth-child(3) {
    border-top-color: var(--accent);
}

/* Programs & Projects */
.programs-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    border-top: 4px solid var(--primary);
    padding-top: 25px;
}

.program-card:nth-child(2) {
    border-top-color: var(--secondary);
}

.program-card:nth-child(3) {
    border-top-color: var(--accent);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

#hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.445), rgba(0, 0, 0, 0.411)), url('./assets/coverslyi.jpg') no-repeat center/cover;

    margin-bottom: 20px;
}

.content {
    max-width: 1000px;
    height: 25%;
    background: rgb(22, 13, 1);
    margin: 0 auto;
    position: relative;
    top: 80%;
    right: 20%;
    border-radius: 5px;
}

.content .info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.content .info p {
    font-size: 1rem;
    color: #f1f1f1;
    max-width: 90%;
    margin-left: 1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #hero {
        height: 70vh;
    }

    .content {
        max-width: 100%;
        height: 40%;
        background: rgb(89, 89, 228);
        margin: 0 auto;
        position: relative;
        top: 60%;
        right: 7%;
    }

    .content .info h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        margin-left: 5rem;
    }

    .content .info p {
        font-size: 1rem;
        color: #f1f1f1;
        max-width: 100%;
        margin-left: 5rem;
        text-align: left;
    }

    .container .info h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .container .info p {
        font-size: 1rem;
        color: #f1f1f1;
        max-width: 100%;
        justify-content: right;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {


    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }

    #hero {
        height: 60vh;
    }

    .content {
        max-width: 100%;
        height: 50%;
        background: rgb(89, 89, 228);
        margin: 0 auto;
        position: relative;
        top: 60%;
        right: 7%;
    }

    .content .info h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        margin-left: 3rem;
    }

    .content .info p {
        font-size: 1rem;
        color: #f1f1f1;
        max-width: 100%;
        margin-left: 3rem;
        text-align: left;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(50% - 20px);
    }

    #hero {
        height: 60vh;
    }

    .content {
        width: 100%;
        height: 75%;
        background: rgb(89, 89, 228);
        margin: 0 auto;
        position: relative;
        top: 40%;
        right: 0%;
    }

    .content .info h1 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
        margin: 1.5rem;
    }

    .content .info p {
        font-size: 1rem;
        color: #f1f1f1;
        max-width: 100%;
        margin: 1.5rem;
        text-align: justify;
    }

}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/*  */



/* Responsive */
@media (max-width: 768px) {
  .photo-container {
    grid-template-columns: 1fr;
  }

  .slider img {
    height: 250px;
  }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        background: #a2a4a5;
        width: 100%;
        flex-direction: column;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu,
    .sub-dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown.active>.dropdown-menu,
    .sub-dropdown.active>.sub-dropdown-menu {
        display: block;
    }
}