/* Import fonts */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: #f3f4f6;
    color: #000;
    padding-top: 160px; /* Add padding to account for the fixed header and nav */
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sticky wrapper for header and nav */
.sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: white;
    padding: 1rem 0.5rem;
    height: 90px;
}

header > div {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 80px;
    width: auto;
    margin-top: -15px;
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

header h1 {
    color: #1b1401;
    font-weight: 600;
    font-size: 1.775rem;
    line-height: 1.2;
    margin: 0;
}

header p {
    font-size: 11px;
    font-weight: 600;
    color: black;
    margin: 0;
    margin-top: 2px;
    padding-left: 60px;
}

/* Menu container to ensure the hamburger is properly aligned */
.menu-container {
    display: flex;
    align-items: center;
}

/* Navigation */
nav {
    background-color: #f4c542;
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
}

nav > div {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 3rem;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 0.5rem 0;
    font-weight: 400;
}

nav li {
    display: inline-block;
}

nav a,
nav button {
    color: white;
    font-size: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 400;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav button:hover {
    text-decoration: underline;
}

nav a.active {
    background-color: white;
    color: #f4c542;
    font-weight: 600;
}

nav button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

nav i {
    font-size: 0.75rem;
}

/* Main content area */
.main-content {
    max-width: 1120px;
    margin: 2rem auto;
    padding: 0 3rem;
    min-height: 1000px; /* Just for demo to enable scrolling */
}

/* Glossy effect */
.glossy {
    background: linear-gradient(145deg, #f4c542, #e0b83c);
    border-radius: 10px;
    box-shadow: 6px 6px 12px #b3b3b3, -6px -6px 12px #ffffff;
}

/* Mobile Navigation Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 14px;
    width: 20px;
}

.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #352b0f;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

/* Menu Open State */
.menu-open .line1 {
    transform: rotate(45deg);
}

.menu-open .line2 {
    transform: scaleY(0);
}

.menu-open .line3 {
    transform: rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 140px; /* Less padding on mobile */
    }

    header > div,
    nav > div,
    .main-content {
        padding: 0 1rem;
    }

    .logo-container img {
        height: 50px;
    }

    .title-container {
        position: static;
        transform: none;
        flex: 1;
        text-align: center;
    }

    header h1 {
        font-size: 1.1rem;
    }

    header p {

        font-size: 8px;
        margin: 0px;
        padding: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav > div {
        max-width: 100%;
        padding: 0;
    }

    /* Slide-in menu from right */
    nav ul {
        flex-direction: column;
        width: 250px; /* Set fixed width for the menu */
        height: 100vh; /* Full height */
        background-color: #f4c542;
        position: fixed;
        top: 0;
        right: -250px; /* Start off-screen to the right */
        z-index: 1000;
        padding: 80px 0 20px 0; /* Add padding top to account for header */
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active ul {
        right: 0; /* Slide in from right */
    }

    nav li {
        width: 100%;
        text-align: left; /* Left align text */
        padding: 15px 25px;
    }

    nav a, nav button {
        width: 100%;
        justify-content: flex-start; /* Left align items */
        font-size: 1rem; /* Slightly larger font for better touch targets */
    }

    /* Add overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}




/* Existing styles retained ... */

/* ✅ DROPDOWN STYLES */
.dropdown {
    position: relative;
}

.dropdown-button {
    background: none;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.dropdown-button:hover,
.dropdown-button.active {
    text-decoration: underline;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #dcb93c;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown[aria-expanded="true"] .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #b89d2f;
}

/* ✅ MOBILE DROPDOWN SUPPORT */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: #e0b83c;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-left: 1.25rem;
    }

    .dropdown[aria-expanded="true"] .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        border: none;
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
}



/* Hero Section Animation */
.hero .bg-image {
    animation: zoomInAnimation 12s forwards ease-in-out;
}

@keyframes zoomInAnimation {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1.1);
    }
}

/* General Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity : 1;
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply animations to specific elements */
.hero .text-block {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.hero h2 {
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero p {
    animation: slideInLeft 1s ease-out 0.8s both;
}

.hero button {
    animation: fadeIn 1s ease-out 1.1s both;
}

/* Card hover animations */
.key-objectives .card {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.key-objectives .card:hover {
    transform: translateY(-10px);
}

/* Welcome section animations */
.image-gallery img {
    transition: transform 0.5s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Hero Section */
section.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    margin-top: -160px;
}

section.hero img.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -20;
}

section.hero .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(72, 72, 72, 0.6);
    z-index: -10;
}

section.hero .content {
    max-width: 1120px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
    padding: 3rem;
    color: white;
    padding-top: 190px;
}

section.hero .text-block {
    flex: 1 1 60%;
    max-width: 640px;
}

section.hero h2 {
    font-weight: 800;
    font-size: 3.05rem; /* 6xl */
    line-height: 1.1;
    margin: 0;
    color: #f4c542; /* Updated color */
}

section.hero h2 span {
    color: white;
}

section.hero p {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.4;
}

section.hero button {
    margin-top: 1.5rem;
    background-color: #f4c542; /* Updated color */
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

section.hero button:hover {
    background-color: #000000; /* black */
}

@media (max-width: 768px) {
    section.hero .content {
        padding: 1rem;
        min-height: auto;
    }
    section.hero h2 {
        font-size: 3rem; /* 5xl */
    }
    section.hero p {
        font-size: 0.875rem;
    }
    section.hero .text-block {
        max-width: 100%;
        flex: 1 1 100%;
    }
    section.hero{
      margin-top: -180px;
      margin-bottom: -120px;
    }
    section.hero .bg-image{
      margin-top: -50px;
    }
}

@media (max-width: 480px) {
    section.hero h2 {
        font-size: 2rem; /* 4xl */
    }
    section.hero p {
        font-size: 0.75rem;
    }
}






/* Scholarships Section Styles */
.scholarships-section {
  margin-top: -50px;  
  background-color: #f3f4f6;
  margin-bottom: 50px;
}

.scholarships-section .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: #f4c542;
  font-weight: 600;
  font-size: 2.875rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  color: #000;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-description, .section-cta {
  color: #666;
  font-size: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-description {
  margin-bottom: 10px;
}

.section-cta {
  margin-bottom: 25px;
}

.contact-btn {
  background-color: #f4c542;
  color: white;
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #000000;
}

.scholarships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.scholarship-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scholarship-card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9); /* Changed from orange to white with transparency */
  color: black; /* Changed from white to black */
  padding: 10px 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badge i {
  font-size: 1rem;
  color: black; /* Make sure icons are also black */
}

.card-content {
  padding: 20px;
}

.card-content p {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 60px;
}

.apply-btn {
  display: inline-block;
  background-color: #f4c542;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #000;
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .scholarships-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 768px) {
  .scholarships-section .container {
    padding:  0.0001rem;
    
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  .section-subtitle{
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .scholarships-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .scholarships-section {
    padding: 50px 0;
  }
}



/* Footer */
.footer {
    margin: 0 auto;
    padding-left: 84px;
    padding-right: 84px;
    padding-top: 30px;
    background-color: #000000;
    color: #ffffff;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md-flex-row {
    flex-direction: row;
}

.justify-between {
    justify-content: space-between;
}

.space-x-20 > * + * {
    margin-left: 80px;
}

.mb-12 {
    margin-bottom: 48px;
}

.md-mb-0 {
    margin-bottom: 0;
}

.w-1-3 {
    width: 33.3333%;
}

h2 {
    font-weight: 800;
 font-size: 1.25rem;
    margin-bottom: 24px;
}

.text-orange {
    color: #f4c542; /* Updated color */
}

p {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 32px;
}

button {
    background-color: #f4c542; /* Updated color */
    color: #0f243e;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: #000000; /* black */
    color: #ffffff;
}

.text-gray-600 {
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 16px;
}

.flex-center {
    display: flex;
    align-items: center;
}

.space-x-4 > * + * {
    margin-left: 16px;
}

.icon-box {
    background-color: #f4c542; /* Updated color */
    padding: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f243e;
    font-size: 1.125rem;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-box:hover {
    background-color: #000000; /* black */
    color: #ffffff;
}

.text-gray-400 {
    color: #9ca3af;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #9ca3af;
}

ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

ul li i {
    color: #f4c542; /* Updated color */
    margin-right: 12px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

ul li:hover i {
    color: #000000; /* black */
}

hr {
    border: none;
    border-top: 1px solid #374151;
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: #f4c542; /* Updated color */
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #fb923c;
}

/* Responsive */
@media (min-width: 768px) {
    .flex-col.md-flex-row {
        flex-direction: row;
    }
    .mb-12.md-mb-0 {
        margin-bottom: 0;
    }
    .w-1-3 {
        width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 48px 16px;
    }
    p {
        max-width: 100%;
    }
    .space-x-20 > * + * {
        margin-left: 0;
    }
    .flex-col.md-flex-row {
        flex-direction: column;
    }
    .w-1-3 {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom p {
        margin: 0;
    }
}

