/* styles.css */

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 20px 0;
}

header .container h1 {
    color: #000000;
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}


/* Hero Section */
.hero {
    background-color: #003366;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero2 {
    background-color: #90b1d6;
    color: #000000;
    padding: 100px 0;
    text-align: center;
}

/* CSS for the endorsement section */
.hero2 .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.hero2 h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero2 p {
    font-size: 18px; /* Adjust the font size as needed */
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn {
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background-color: darkred;
}

.btn-blue {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-blue:hover {
    background-color: #0056b3;
}



/* Course Highlights Section */
.course-highlights .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.course-highlights .box {
    width: calc(50% - 20px);
    background-color: #1e2a3a;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.course-highlights .box a {
    text-decoration: none;
    color: #fff;
}

.course-highlights .box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-highlights .box p {
    font-size: 1rem;
}

/* CSS for mobile navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 999; /* Ensure navigation is on top */
    display: none; /* Initially hidden */
}

.mobile-nav ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.mobile-nav ul li a:hover {
    color: #ccc;
}
/* Example media query for mobile phones */
@media only screen and (max-width: 600px) {
    /* Adjustments for header, navigation, and other elements */
    .logo {
      width: 60px;
    }
  
    .hamburger-menu {
      width: 40px;
      height: 30px;
    }
  
    .mobile-nav {
      width: 80%; /* Adjust width for better visibility */
    }
  
    .mobile-nav ul li a {
      font-size: 18px; /* Decrease font size for better readability */
      padding: 8px; /* Adjust padding for touch-friendly buttons */
    }
  }
  