/* Global Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #222;
  line-height: 1.5;
}



/* Top Bar */
.top-bar {
  background: #FFCE4A;
  color: #0c3c78;
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 14px;
}

.top-bar a {
  color: #0c3c78;
  margin-left: 15px;
  text-decoration: none;
}



/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin-right: 15px;
}

.logo h1 {
  font-size: 18px;
  margin: 0;
  color: #0c3c78;
}

.logo p {
  font-size: 14px;
  margin: 0;
  color: #444;
}

.header-buttons .btn {
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  margin-left: 10px;
}

.btn.blue {
  background: #0c3c78;
  color: #fff;
}

.btn.outline {
  border: 1px solid #0c3c78;
  color: #0c3c78;
  background: #fff;
}



/* Navbar */
.navbar {
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  overflow-x: auto;
}

.navbar ul li {
  margin: 0;
}

.navbar ul li a {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: #0c3c78;
  font-weight: 500;
}

.navbar ul li a.active {
  background: #fff;
  border-bottom: 3px solid #FFCE4A;
  color: #0c3c78;
}

/* Desktop - hide hamburger */
.hamburger {
  display: none;
}



/* About Section */
.about-container {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0077b6;
  border-left: 4px solid #0077b6;
  padding-left: 10px;
}

.section p {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}



/* Profile Section */
.profile-container {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.profile-header img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #0077b6;
}

.profile-header h1 {
  margin: 0;
  font-size: 28px;
  color: #0077b6;
}

.profile-header h3 {
  margin: 5px 0;
  font-weight: normal;
  color: #444;
}

.section {
  margin-bottom: 25px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0077b6;
  border-left: 4px solid #0077b6;
  padding-left: 10px;
}

.section ul {
  list-style: none;
  padding-left: 0;
}

.section ul li {
  padding: 6px 0;
  line-height: 1.6;
}



/* Footer */
.footer {
  background-color: #1e4a8c;
  color: #FFCE4A;
  padding: 50px 0 20px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* balanced columns */
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-contact .contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
 color:white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text h4 {
  font-size: 18px;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #4a90e2;
}


/* Responsive Css */

 /* Navbar */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 30px;
  }

  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }

  /* Show hamburger only on mobile */
  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: #0c3c78;
  }

  /* Hide nav by default */
  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #0c3c78;
  }

  .navbar ul li a {
    color: white;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  /* Show menu when active */
  .navbar.active ul {
    display: flex;
  }
}

@media (max-width: 540px) {
  .logo h1 {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .logo h1 {
    font-size: 15px;
  }
}

/* Desktop (≥ 769px) keep original layout */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .navbar ul {
    display: flex; 
    flex-direction: row;
    background: #f9f9f9;
  }

  .navbar ul li a {
    color: #0c3c78;
    border: none;
  }
}



/* About section */
@media (max-width: 768px) {
  .section p {
    text-align: left;
  }
}


/* Profile Header */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center; 
  }

  .profile-header img {
    width: 160px;   
    height: 160px;
  }

  .profile-header h1 {
    font-size: 22px;
  }

  .profile-header h3 {
    font-size: 16px;
  }
.profile-header p {
    font-size: 12px;
  }
   
}



 /* Footer Section */
@media (max-width: 540px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;  
  }

  .footer-col {
    align-items: flex-start; 
  }

  .social-links {
    justify-content: flex-start; 
  }
}
