/* Root font size for consistent scaling */
html {
  font-size: 16px; /* Keep 16px for default scaling */
}


html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff; 
  font-family: 'Charm', cursive, Arial, sans-serif;
  color: #333;
  line-height: 1.5;
  font-size: 1rem; 
}

/* Navbar adjustments */
.navbar-nav {
  display: flex !important;  
  gap: 3rem; 
}

.navbar-nav .nav-link {
  font-size: 2.5rem;
  padding: 0.5rem 0; 
  color: #333;
}

.navbar-nav .nav-link:hover {
  color: #007bff; 
}

/* Navbar brand image size */
.navbar-brand img {
  max-width: 200px; 
  height: auto;
}

/* Hero image */
.hero_image {
  height: 900px; 
  background-size: cover;
  background-position: center;
  width: 100%;
  position: relative;
}

/* Dark overlay in hero */
.hero_image > div:first-child {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Hero text content */
.hero_image > div:last-child {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 1rem;
}

.hero_image h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}

/* Large button styling */
.btn-lg {
  font-size: 1.4rem;
  padding: 0.75rem 2rem;
}

/* Statement Section */
.statement {
  background-color: #1d5575;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.statement video {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Section 1 Cards */
.section_1 {
  background-color: #fff;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section_1 h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.section_1 .card {
  border-radius: 1rem;
  border: 1px solid #ddd;
  background-color: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  text-align: center;
}

.section_1 .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.section_1 .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Section 2 */
.section_2 {
  background-color: #1d5575;
  padding: 2rem 1rem;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
}

.section_2 > div {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center; 
  text-align: center; 
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.section_2 img {
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  
}

.section_2 div > p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  flex: 1 1 300px;
}

/* Banner Section */
.banner {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
}

.banner p,
.banner a {
  font-family: Arial, sans-serif;
  font-size: 1.125rem;
  color: #333;
  margin: 0.5rem 0;
  text-align: center;
}

.banner a {
  text-decoration: none;
}

.banner a:hover {
  text-decoration: underline;
}

/* Banner social buttons container */
.banner div {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: grey;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

/* Banner-2 */
.banner-2 {
  background-color: #1d5575;
  text-align: right;
  padding: 20px;
}

.banner-2 .navbar {
  background-color: transparent;
  padding: 0;
}

.banner-2 .navbar-nav {
  margin-right: 30px;
}

/* Typography */
.slog {
  font-size: 42px;
  font-family: "'Dancing Script', Consolas, 'Courier New', monospace";
}

.slogan {
  font-family: "Charm", cursive;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  font-size: 75px;
  color: #ffffff;
}

.charm-regular {
  font-family: "Charm", cursive;
  font-weight: 400;
  font-style: normal;
}

.charm-bold {
  font-family: "Charm", cursive;
  font-weight: 700;
  font-style: normal;
}

/* Video styling */
.video {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gallery container */
.container.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Gallery images */
.container.py-5 .row.g-3 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Projects image grid */
.row.g-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.col-sm-6.col-md-4 {
  flex: 0 0 calc(33.333% - 1rem);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .col-sm-6.col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container.py-5 {
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: none;
    border-radius: 0;
  }

  h2.text-center.mb-4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  img.img-fluid.rounded.shadow-sm {
    width: 100%;
    height: auto;
  }

  h2.slogan {
    font-size: 2rem;
    padding: 0 10px;
  }

  p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Navbar adjustments for mobile */
  .navbar-nav {
    flex-direction: column !important;
    align-items: center;
    gap: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.8rem;
    padding: 0.5rem 0;
  }

  .navbar-brand img {
    max-width: 120px;
  }

  .hero_image {
    height: 250px;
  }

  .video {
    max-width: 100%;
    margin: 0 10px 1.5rem 10px;
    border-radius: 5px;
  }

  .statement p,
  .section_1 p,
  .section_2 p,
  .banner p {
    font-size: 1rem;
    padding: 0 10px;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
  .col-sm-6.col-md-4 {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
  
  .navbar-nav .nav-link {
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand img {
    max-width: 180px;
  }
}
