*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: poppins,sans-serif;
    text-decoration: none;
}
body{
    overflow-x: hidden;
}
.hero-header{
    width: 100%; 
    height: 100%;
    min-height: 50vh;
    background: #222;
}
.wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

header{
    padding: 40px 0 30px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo{
    display: inline-flex;
    justify-content: center; 
    align-items: center;
}
.logo i{
    height: 45px;
    width: 45px;
    background-color: rgb(255, 111, 0);
    border-radius: 50%;
    color:#fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px;
    margin-right: 10px;
    cursor: pointer;
    text-align: center;

}
.logo  .logo-text{
    font-size: 24px;
    font-weight: 500;
    color:#fff;
}
nav .togglebtn{
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: none;
}
nav .togglebtn span{
    display: block;
    background-color: orange;
    margin: 5px 0px;
    width: 100%;
    height: 3px;
    transition: 0.3s;
    transition-property: transform,opacity;
}
nav .navlinks{
    list-style-type: none;
}
nav .navlinks li{
    display: inline-block;
}
nav .navlinks li a{
    color: #e5e5e5;
    margin-right: 2.5rem;
    transition: color 0.3s;
}
nav .navlinks li a:hover{
    color: orange;
}
.container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 4rem;
    flex-wrap: wrap;
}
.container .hero-pic{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid #444;
    box-shadow: 5px 7px 25px rgba(0, 0, 0, 5);
    margin-bottom: 20px;
}
.hero-pic img{
    height: 100%;
    width: 100%;
    transition: 0.5s;
}
.hero-pic img:hover{
    transform: scale(1.1);
}
.hero-text{
    max-width: 500px;
    text-align: center;
    color: #fff;
}
.hero-text h5{
    color: orange;
    font-size: 16px;
}
.hero-text h1{
    color: orange;
    font-size: 3rem;
}
.btn-group{
    margin: 45px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-group .btn{
    border-color: #fff;
    color: #fff;
    background-color: #333;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 30px;
    border: 2px solid #e5e5e5;
    transition: background-color 0.3s;
}
.btn-group .btn:hover{
    background-color: orange;
}

/* ==========================
    ✅ Mobile Responsive Design
============================== */

@media (max-width: 768px) {
    nav .togglebtn{
        display: block;
    }
    nav .navlinks{
        display: none;
        flex-direction: column;
        background-color: #222;
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 99;
        padding: 20px 0;
        border-bottom: 2px solid orange;
    }
    nav .navlinks li{
        text-align: center;
        padding: 15px 0;
    }
    nav.active .navlinks{
        display: flex;
    }
    .container{
        flex-direction: column;
        text-align: center;
    }
    .hero-pic{
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-pic{
        width: 200px;
        height: 200px;
    }
    .hero-text h1{
        font-size: 2.5rem;
    }
}

/* ==========================
   Dropdown Menu Styling
============================= */
nav .navlinks .dropdown-parent {
  position: relative;
}

nav .navlinks .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  list-style: none;
  padding: 10px 0;
  min-width: 200px;
  border-radius: 5px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  display: none; /* hidden by default */
  z-index: 1000;
}

nav .navlinks .dropdown li {
  display: block;
  padding: 8px 15px;
}

nav .navlinks .dropdown li a {
  color: #e5e5e5;
  font-size: 15px;
  display: block;
}

nav .navlinks .dropdown li a:hover {
  background-color: orange;
  color: #fff;
}

/* Show dropdown when hovering parent menu */
nav .navlinks .dropdown-parent:hover .dropdown {
  display: block;
}

/* ==========================
   ✅ Mobile Dropdown Styling
============================= */
@media (max-width: 768px) {
  nav .navlinks .dropdown {
    position: static;
    background: #222;
    box-shadow: none;
    padding-left: 20px;
  }
  nav .navlinks .dropdown li a {
    color: #e5e5e5;
  }
  nav .navlinks .dropdown li a:hover {
    color: orange;
    background: none;
  }
}
  


 /* Card Section */
.card-container {
  display: flex;
  flex-wrap: wrap;       /* ✅ allow wrapping */
  justify-content: center;
  gap: 20px;
  padding: 20px;
}


.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1;                   /* make all cards equal width */
  min-width: 220px;          /* ensures readability */
  max-width: 250px;          /* prevents cards from growing too big */
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}
    
.card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  border-radius: 10px;
  width: 240px;
  height: 340px;
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: box-shadow 0.2s;
  overflow: hidden; /* Ensures image and content stay inside card */
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}

.card-body {
  flex: 1;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-btn {
  padding: 10px 24px;
  border-radius: 22px;
  background: orange;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}

.card-btn:hover {
  background: #ff9900;
}
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

.site-footer a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 8px;
}

.site-footer a:hover {
  color: #ff9800; /* highlight effect */
}
/* Contact Section */
#contact {
  background: #de900a;
  padding: 50px 20px;
}

.contact-container {
  max-width: 800px;
  margin: auto;
  background: #ffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(6, 50, 138, 0.1);
  text-align: center;
}

.contact-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.contact-info {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form .btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #0056b3;
}
@media (max-width: 768px) {
  .wrapper, .container {
    width: 100%;
    padding: 0 10px;
  }

  .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .card {
    width: 90%; /* take most of screen width */
    max-width: 400px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }



  .card img {
    width: 100%;
    height: auto;
    display: block;
  }
}
