/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
body {
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff; /* BMC Group Deep Navy */
  color: #0d1b2a;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
}

/* Logo image */
.logo img {
  height: 50px;        
  width: auto;         
  object-fit: contain; 
}

/* Optional: slightly larger logo on desktop */
@media screen and (min-width: 1024px) {
  .logo img {
    height: 60px;
  }
}

/* Optional: smaller logo on mobile */
@media screen and (max-width: 768px) {
  .logo img {
    height: 45px;
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}
nav ul li {
  position: relative;
}
nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #0d1b2a; /* Highlight on hover */
}

/* Dropdown Menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 280px;
  border-radius: 5px;
  overflow: hidden;
  z-index: 1000;
}
.dropdown-content li {
  padding: 12px 20px;
}
.dropdown-content li a:hover {
  color: #0d1b2a;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero */
.hero {
  height: 80vh;
  background: url(/images/ganta.JPG);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
}

/* Subsidiary Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}
.tile {
  background: #fff;
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.tile h3 {
  margin-bottom: 15px;
}
.tile p {
  color: #555;
}



/* FOR THE ABOUT PAGE */
.page-hero {
  height: 50vh;
  background: linear-gradient(rgba(13,27,42,0.7), rgba(13,27,42,0.7)),
              url('./images/about-hero.jpg') center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}


/* About section */
.about-section {
  padding: 60px 20px;
  background: white;
}

.container {
  max-width: 900px;
  margin: auto;
}

.about-section h2 {
  margin-bottom: 20px;
  color: #0d1b2a;
}

.about-section p {
  margin-bottom: 20px;
  color: #444;
  font-size: 1.05rem;
}

.mvv-section {
  background: #f4f6f8;
  padding: 60px 20px;
}

.mvv-container {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.mvv-card {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.mvv-card h3 {
  margin-bottom: 15px;
  color: #0d1b2a;
}


/* Button */
.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #0d1b2a;
  color: white;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ffd700;
  color: #0d1b2a;
}


/* Active nav link */
.active {
  color: #ffd700;
}

/* CONTACT PAGE */

.contact-section {
  padding: 60px 20px;
  background: #f4f6f8;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}


/* Contact Info */

.contact-info {
  flex: 1;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 20px;
  color: #555;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-item i {
  color: #0d1b2a;
  font-size: 18px;
}


/* Contact Form */

.contact-form {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d1b2a;
}


/* Responsive */

@media (max-width: 768px) {

  .contact-container {
    flex-direction: column;
  }

}

/* SUBSIDIARY PAGE */

.subsidiary-section {
  padding: 60px 20px;
}

.subsidiary-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.subsidiary-text {
  flex: 1;
}

.subsidiary-image {
  flex: 1;
}

.subsidiary-image img {
  width: 100%;
  border-radius: 10px;
}


/* SERVICES */

.services-section {
  background: #f4f6f8;
  padding: 60px 20px;
  text-align: center;
}

.services-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  background: white;
  padding: 25px;
  width: 240px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card i {
  font-size: 30px;
  margin-bottom: 15px;
  color: #0d1b2a;
}


/* CTA */

.subsidiary-cta {
  text-align: center;
  padding: 60px 20px;
}

/* SUBSIDIARIES GRID */

.subsidiaries-grid-section {
  padding: 60px 20px;
}

.subsidiaries-grid-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.subsidiary-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.subsidiary-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: #ffd700;
}

.subsidiary-card-content {
  padding: 20px;
}

.subsidiary-card-logo {
  width: 80px;
  margin-bottom: 10px;
}

.subsidiary-card h3 {
  margin-bottom: 10px;
}

.subsidiary-card ul {
  padding-left: 18px;
  margin: 10px 0;
}

.subsidiary-card-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.btn-secondary {
  padding: 10px 18px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
}

/* Footer */
footer {
  background-color: #0d1b2a;
  color: #fff;
  padding: 60px 40px 20px;
  font-size: 0.95rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
}
.footer-column {
  flex: 1 1 220px;
}
.footer-column h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #ffd700;
  display: inline-block;
  padding-bottom: 5px;
}
.footer-column p,
.footer-column li {
  margin-bottom: 10px;
  color: #ccc;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li a {
  color: #ccc;
  transition: color 0.3s;
}
.footer-column ul li a:hover {
  color: #ffd700;
}

/* Footer logo column */
.footer-logo-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Footer logo image */
.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

/* Optional hover effect */
.footer-logo:hover {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .footer-logo {
    height: 50px;
  }

  .footer-logo-column {
    align-items: center;
    text-align: center;
  }
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-weight: bold;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #ffd700;
}

/* Footer Bottom */
/* Footer Bottom */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  border-top: 1px solid #333;
  padding-top: 15px;
}
.footer-bottom .credit {
  margin-top: 5px;
}
.footer-bottom .credit a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom .credit a:hover {
  color: #fff;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}