* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #001f3f;
  background-color: #fff;
  overflow-x: hidden;
}

/* Navbar */
header {
   background: rgba(212, 210, 210, 0.397);
  backdrop-filter: blur(6px);
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
}

header.hide{
    top: -100px;
}

.logo-container{
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo{
    width: 55px;
    height: auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #011258;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 9px;
  color: #d80505;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  background: #011258;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  border-radius: 5px;
  transition: 0.3s;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(95, 95, 95, 0.425), rgba(0, 0, 0, 0.6)),
              url('istockphoto-1355030282-612x612.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #021253;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.btn-container{
  text-align: center;
  margin-top: 50px;
}

.btn {
  text-align: center;
  justify-content: center;
  padding: 12px 25px;
  background: #970c0c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
}

.btn1{
  text-align: center;
  justify-content: center;
  padding: 12px 25px;
  background: #970c0c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  display: flex;
  width: 100%;
  height: auto;
}

.btn:hover{
    background-color: #b81212;
    color: #fff;
    transform: scale(1.08);
    
}

.btn1:hover{
    background-color: #b81212;
    color: #fff;
    transform: scale(1.08);
    
}

/* General Sections */
section {
  padding: 100px 60px;
}

section h2 {
  text-align: center;
  color: #001f3f;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* About */
.about p {
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.7;
  text-align: center;
}

/* Team Section */
.team {
  background: #fff;
  text-align: center;
}

.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.team-member {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  transition: 0.4s ease;
  transform: translateY(0);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-member h3 {
  color: #001f3f;
  margin-bottom: 5px;
}

.team-member p {
  color: #777;
  font-size: 0.95rem;
}

/* Services */
.services {
  background: #07488a2a;
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.service {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
  padding: 20px;
  transition: 0.3s ease;
}

.service:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.service h3 {
  color: #001f3f;
  margin: 15px 0 10px;
}

/* Magazine & Awards */
.magazine, .awards {
  text-align: center;
}

.magazine img, .awards img {
  height: 50vh;
  width: 75%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.magazine img:hover, .awards img:hover {
  transform: scale(1.03);
}

/* Contact */
.contact {
  background: #001f3f;
  color: #fff;
  text-align: center;
}

.contact ul {
  list-style: none;
  margin-top: 20px;
  line-height: 1.8;
}

/* Footer */
footer {
  background: #000;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #001f3f;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  
.service-container, .team-container {
    flex-direction: column;
    align-items: center;
  }
  section {
    padding: 80px 30px;
  }
}

@media (max-width: 500px) {
  .hero-content h2 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}
