/* each section is laid out in accordance to the index.html file */

/* overall styling of the page */
/* html{} */

body{
    margin: 0;
    font-family: Arial, sans-serif;
}

/* h1{

}

p{

} */
 html{
    scroll-behavior: smooth;
 }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img{
    display: block;
    max-inline-size: 100%;
}
    

/* overall styling ends */

/* navigation bar styling */
.nav-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333 ;
    padding: 10px 20px;
    position:relative;
}
.nav-bar img{
    width: 5%;
    height: 10%;
    margin-right: auto;
}
.nav-bar-logo{
    color: #0fcdcd;
    font-size:20px;
    font-weight:bold;
}

.nav-bar-list{
    list-style: none;
    display: flex;
    gap:20px;
    
}

.nav-bar-list li a{
    color: #fff;
    text-decoration: none;
    /* font-size: 20px; */

}

.nav-bar-list li a:hover{
  color:#0fcdcd;
}

.menu-toggle{
    display: none;
    font-size:24px;
    background:none;
    color: #fff;
    cursor:pointer;
}

/* mobile view */
@media(max-width: 768px){
    .nav-bar-list{
        display:none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-bar-list.active{
        display: flex;
    }

    .menu-toggle{
        display: block;
    }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    background: #270091b9;        /* red accent */
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1.6rem;
    color: #fff;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .nav-toggle:hover {
    background: #0e4fa5;
    transform: scale(1.05);
  }

  .nav-toggle:active {
    transform: scale(0.95);
  }
}
/* nav bar ends */

/* hero section begins */
/* .hero{
    
} */

.hero img{
    display: block;
    max-inline-size: 100%;
}

@media (max-width: 768px) {
  .hero {
    height: 100%; /* shrink hero for smaller screens */
    max-inline-size: 100%;
  }
}


.hero-section-options {
    display: flex;              /* horizontal layout */
    justify-content: center;    /* center items horizontally */
    align-items: center;        /* center items vertically */
    gap: 20px;                  /* space between items */
    position: absolute;
    top: 70%;                   /* vertical position */
    left: 50%;                  /* horizontal position */
    transform: translateX(-50%);/* center horizontally exactly */
    /* border: 10px solid green;   optional for debugging */
    padding: 0;
    margin: 0;
}

.options-box{
    display: inline-block;
    border: 10px solid red;
    vertical-align: top;
    background-color: white;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding:30px;
    width: 100%;
    height: 210px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    

}


/* hero section ends */


/* about section begins */
.about {
  padding: 100px 20px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.about-story h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  position: relative;
}

.about-story h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: #0fcdcd;
  margin-top: 10px;
  border-radius: 2px;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-story h1::after {
    margin: 10px auto 0;
  }
}
/* About section ends */


/* Service Section */
/* Services Section */
.service {
  background: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.service-section {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.serv-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  position: relative;
}

.serv-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background: #0fcdcd;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Service List */
.service-section-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-section-list li {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section-list li:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Icons */
.service-section-list i {
  font-size: 3rem;
  color: #0fcdcd;
  margin-bottom: 15px;
}

/* Service Heading */
.serv-h {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 15px;
}

/* Inner List */
.service-section-list ul {
  list-style: none;
  padding: 0;
}

.service-section-list ul li {
  margin: 8px 0;
}

.service-section-list ul li p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .serv-title {
    font-size: 2rem;
  }

  .service-section-list li {
    padding: 25px 15px;
  }

  .service-section-list i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .serv-title {
    font-size: 1.8rem;
  }
}


/* Contact Section */
.contact {
  background: #f9f9f9; /* soft background */
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
 display: flex;
 flex-direction: column;
 
}

/* .contact-us{
  height: 20px;
} */

.cu-1 {
  display: flex;
  gap: 20px;
  flex-direction: row;
  
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  
  
}

.contact-us h1 {
  grid-column: span 2;
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
  position: relative;
}

.contact-us h1::after {
  content: '';
  width: 80px;
  height: 3px;
  background: #0fcdcd; /* accent color */
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact_info_sec {
  background: #fff;
  width: 100%; /* changed from 90vh */
  max-width: 500px; /* prevents it from stretching too wide */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 0 auto; /* centers on smaller screens */
}

.contact_info_sec h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #0fcdcd;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #555;
}

.contact-info i {
  margin-right: 12px;
  color: #0fcdcd;
  font-size: 1.2rem;
}

/* Contact Form */
.container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.container h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #0fcdcd;
  outline: none;
  box-shadow: 0 0 6px rgba(205, 15, 15, 0.3);
}

button[type="submit"] {
  background: #0fcdcd;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #01228b;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    padding: 50px 15px;
  }

  .contact-us h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .cu-1 {
    flex-direction: column; /* stack form and info vertically */
    gap: 30px;
  }

  .contact_info_sec,
  .container {
    width: 100%;
    padding: 20px;
  }

  .form-control {
    font-size: 0.95rem;
    padding: 10px;
  }

  button[type="submit"] {
    font-size: 1rem;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .contact-us h1 {
    font-size: 1.5rem;
  }

  .contact-info {
    font-size: 0.9rem;
  }

  .contact-info i {
    font-size: 1rem;
  }
}
/* Contact section ends */

/* Footer section Begins*/
.footer {
  background: #111; /* deep background */
  color: #eee;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* Section Titles */
.footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
}

.footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #0fcdcd;
  margin-top: 8px;
  border-radius: 2px;
}

/* About */
.footer-about p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0fcdcd;
}

/* Address */
.footer-address .address-info {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-address a {
  color: #0fcdcd;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-address a:hover {
  opacity: 0.8;
}

/* Social */
.footer-social a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
  color: #0fcdcd;
}

.footer-social img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* make icons white */
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    margin-top: 15px;
  }
}
