* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-header .container{
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.top-header{
  display: flex;
    background: #ff4500;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    justify-content: space-between;
    padding: 0.4 2rem;
    align-items: center;
}
.top-header .social{
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.top-header-content{
    padding-top: 7px;
}
.social i{
    font-size: 24px;
}
.social a {
    color: inherit;      /* Uses the parent color */
    text-decoration: none;
    font-size: 24px;     /* Adjust size */
    transition: color 0.3s ease;
}

.social a:hover {
    color: #D4202D;
}
header .logo img {
  width: 50px;
  height: 50px;
  margin-right: 20px;  
}

header .logo{
  font-size:  22px;
  font-weight: bold;
  display: flex;
  text-decoration: none;
  align-items: center;
  color: #D4202D;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: #D4202D;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 10px;
}

nav ul li a:hover {
  background: #ff4500;
  color: white;
  border-radius: 4px;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#bgVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 40%;
}

.btn {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 15px;
  border-radius: 5px;
}
.about{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
    max-width: 1200px;
    margin: auto;
    gap: 100px;
}
.image-container{
    flex: 1 1 500px;
    padding: 10px;
    text-align: center;
}
.image-container img{
    max-width: 100%;
    border-radius: 8px;    
}
.content{
    flex: 1 1 500px;
    padding: 20px 30px;
}
.subheading{
    color: #ff4500;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}
.heading{
    color: #D4202D;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.subheading2{
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}
.heading2{
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.commonText{
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}
.stats{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 20px;
}
.stat-box{
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 35px;
    border-radius: 8px;
    gap: 15px;
}
.stat-box i{
    color: #ff4500;
    font-size: 45px;
    min-width: 28px;
    margin-top: 10px;
}
.stat-text{
    display: flex;
    flex-direction: column;
}
.stat-text h3{
    color: #ff4500;
    font-size: 2rem;
    margin: 0;
}
.stat-text span{
    color: var(--dark-red2);
    font-size: 14px;
    font-weight: bold;
}

.services{
    background-size: 100%;
    padding-top: 40px;
    background: url('./assets/images/back.jpg')
}
.services .container{
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}
.service-section{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.service-card{
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 340px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.service-card:hover{
    transform: translateY(-5px);
}
.service-card i{
    font-size: 40px;
    color: #ff4500;
    margin-bottom: 20px;
}
.service-card h3{
    font-size: 18px;
    color: var(--dark-red2);
    margin-bottom: 10px;
}
.service-card p{
    font-size: 14px;
    color: #444;
    margin-bottom: 40px;
}
.service-card.active{
    background: #ff4500;
    color: white;
}
.service-card.active i,
.service-card.active h3,
.service-card.active p,
.service-card.active .read-more{color: white;}
.service-card.active .btnPrimary{
    background: white;
    color: #ff4500;
}
.corner-top-left{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    top: 0;
    left: 0;
    border-width: 30px 30px 0 0;
    transition: 0.5s ease-in-out;
    border-color: #ff4500 transparent transparent transparent;
}
.service-card:hover .corner-top-left{
    width: 100%;
    height: 100%;
    background: #ff4500;
    color: white;
    border-radius: 10px;
    z-index: -1;
}
.service-card:hover i,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .read-more{color: white;}
.service-card:hover .btnPrimary{
    background: white;
    color: #ff4500;
}


.contact {
  padding: 50px 20px;
  text-align: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  flex: 1 1 300px;
  max-width: 340px;
  padding: 30px 20px;
  text-align: center;
}
.service img {
  max-width: 50%;
  border-radius: 8px;
}

form {
  max-width: 400px;
  margin: 0 auto;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  background: #ff4500;
  color: #fff;
  padding: 10px;
  border: none;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
  margin-top: 20px;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: #ff4500;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

@media (max-width: 768px){
  header{
    font-size: 12px;
    padding: 0 0;
    
  }
  header .logo{
    font-size:  18px;}
  
  nav ul li {
  margin-left: auto;
  }

}