/* CSS for the header and navigation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

.logo h1 {
    font-size: 24px;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
    position: relative;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: white;
}

/* Dropdown Styles */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 180px;
    list-style: none;
    padding: 10px 0;
    z-index: 1;
}

.dropdown-menu li a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #555;
}

/* Mobile and tablet styles */
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        width: 100%;
        text-align: center;
        flex-direction: column;
        position: absolute;
        background-color: #333;
        top: 70px;
        left: 0;
        padding: 10px 0;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar ul.active {
        display: flex;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Large screen styles (Desktop) */
@media (min-width: 769px) {
    .navbar ul {
        display: flex;
        align-items: center;
    }
}




/* Fonts */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

h1 {
  font-weight: 700; /* Bold */
}

p {
  font-weight: 400; /* Normal */
}




/* Header Styling */
.site-header {
  background-color: #f58220;  /* Orange color */
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  margin-left: 20px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
}

.main-nav ul li a:hover {
  text-decoration: underline;
}


/* Hero Section Styling */

.about-hero {
  position: relative;
  background-image: url('images/about-hero.jpeg');
  background-size: cover;
  background-position: center;
  height: 450px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 47, 108, 0.5); /* DNB blue overlay */
}

.about-hero-content {
  position: relative;
  max-width: 600px;          /* LIMIT width */
  padding-left: 80px;        /* Push away from the left */
  padding-right: 20px;
  text-align: left;
}

.about-hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-hero-content p {
  font-size: 20px;
  line-height: 1.6;
}


.hero-image {
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.intro-text, .mission {
  padding: 60px 80px;
  background-color: #ffffff;
}

.intro-text h2, .mission h2 {
  margin-bottom: 20px;
  color: #002f6c;
}

.intro-text p, .mission p {
  line-height: 1.6;
  color: #333;
}

.three-column {
  padding: 60px 80px;
  background-color: #f8f8f8;
}

.three-column h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #002f6c;
}

.columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 32%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 47, 108, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 3em;
  margin: 0;
}

/* Typing Cursor */
.cursor {
  display: inline-block;
  background-color: white;
  width: 3px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Two-Column Section Styling */
.two-column {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 80px;
  background-color: #f4f4f4;
  color: #002f6c;
}

.two-column .column {
  flex: 1;
  padding: 20px;
}

.two-column .left h2 {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.2;
}

.two-column .right p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    padding: 40px 20px;
  }

  .two-column .left,
  .two-column .right {
    padding: 10px 0;
  }
}

/* Three-Column Achievements Section */
.three-column {
  padding: 60px 80px;
  background-color: #ffffff;
  text-align: center;
  color: #002f6c;
}

.three-column h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.three-column .columns {
  display: flex;
  flex-wrap: nowrap;   /* Prevent wrapping on desktop */
  justify-content: space-between;
  gap: 20px;            /* Adds spacing between boxes */
}

.three-column .box {
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 32%;         /* Flex grow, shrink, basis */
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-width: 0;
}

.three-column .box h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.three-column .box p {
  font-size: 1em;
  line-height: 1.6;
}

/* Hover effect */
.three-column .box:hover {
  transform: translateY(-10px);
}

/* Responsive Design */


@media (max-width: 992px) {
  .three-column .columns {
    flex-wrap: wrap;  /* Allow wrapping on smaller screens */
  }

  .three-column .box {
    width: 48%;
    flex: 1 1 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .three-column .box {
    width: 100%;
    flex: 1 1 100%;
  }
}

/* Footer Styling */



/* Footer Styling */
.site-footer {
  background-color: #2c692c;  /* Orange color */
  color: #ffffff;
  padding: 60px 80px 30px;
  font-size: 0.95em;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  width: 22%;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffe0c1; /* Light orange/white hover effect */
}

.footer-bottom {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  text-align: center;
  color: #ffffff;
  font-size: 0.9em;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-column {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .footer-column {
    width: 100%;
  }
}



.intro-text, .mission {
  padding: 60px 80px;
  background-color: #ffffff;
}

.intro-text h2, .mission h2 {
  color: #002f6c;
  margin-bottom: 20px;
}

.intro-text p, .mission p {
  color: #333;
  line-height: 1.6;
}

/* Data Power Section */
.data-power-section {
  background-color: #ffffff;
  padding: 60px 80px;
}

.data-power-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.data-power-image img {
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.data-power-text {
  flex: 1;
}

.data-power-text h2 {
  font-size: 2em;
  color: #002f6c;
  margin-bottom: 20px;
}

.data-power-text p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .data-power-container {
    flex-direction: column;
    text-align: center;
  }

  .data-power-image img {
    width: 100%;
  }
}

.data-section {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 80px;
  align-items: center;
  background-color: #f4f4f4;
}

.data-section .column {
  flex: 1;
  padding: 20px;
}

.data-section .left h2 {
  font-size: 2em;
  color: #002f6c;
  margin-bottom: 20px;
}

.data-section .left p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.data-section .right img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .data-section {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .data-section .column {
    padding: 10px 0;
  }
}

.awards-section {
  padding: 60px 80px;
  background-color: #f8f8f8;
  text-align: center;
  color: #002f6c;
}

.awards-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.awards-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.award-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 32%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.award-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.award-box h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.award-box p {
  font-size: 1em;
  line-height: 1.6;
}

/* Hover effect */
.award-box:hover {
  transform: translateY(-10px);
}

/* Responsive */
@media (max-width: 992px) {
  .awards-columns {
    flex-wrap: wrap;
  }

  .award-box {
    width: 48%;
    flex: 1 1 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .award-box {
    width: 100%;
    flex: 1 1 100%;
  }
}

.mission-vision-section {
  padding: 60px 80px;
  background-color: #ffffff;
  color: #002f6c;
  text-align: center;
}

.mission-vision-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.mission-vision-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.mission-vision-columns .mission-box,
.mission-vision-columns .vision-box {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 48%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mission-vision-columns h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.mission-vision-columns p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-columns {
    flex-direction: column;
  }

  .mission-vision-columns .mission-box,
  .mission-vision-columns .vision-box {
    width: 100%;
  }
}

.mission-vision-columns, .award-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mission-vision-columns > div, .award-columns > div {
  flex: 1 1 48%;
  background-color: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
}

/* Section with Title and Two Columns */
.title-two-columns {
  padding: 60px 80px;
  background-color: #ffffff;
  text-align: center;
  color: #002f6c;
}

.title-two-columns h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #002f6c;
}

.two-column-content {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.two-column-content .column {
  flex: 1 1 45%;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.two-column-content .column h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.two-column-content .column p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .two-column-content {
    flex-direction: column;
  }
  .two-column-content .column {
    flex: 1 1 100%;
  }
}

/* Dropdown Styling */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.main-nav ul li {
  position: relative;
  margin-left: 20px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px;
}

.main-nav ul li a:hover {
  text-decoration: underline;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ff7f00;  /* Orange background */
  min-width: 180px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  color: white;
  background-color: #ff7f00;
}

.dropdown-menu li a:hover {
  background-color: #e67300;  /* Darker orange on hover */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}




