*{
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}
body {
  background-color: #000000;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #e0e0e0d5;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;   /* Removes underline */
  color: inherit;          /* Inherits the color of surrounding text */ 
}


/* Style for the stop button */
#stop-speech {
  position: fixed;
  bottom: 50px;  /* 20px from the bottom */
  left: 20px;  
  background-color: #ff0000; /* Red color */
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  z-index: 1000; /* Ensure it's above other elements */
  display: none; /* Initially hidden */
  
}
#stop-speech1,#stop-speech2,#stop-speech3,#stop-speech4,#stop-speech5,#stop-speech6 ,#stop-speech7 {
   
  /* background-color: #ff0000; Red color */
  /* color: white; */
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none; /* Initially hidden */
  
}

#stop-speech:hover {
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}
#stop-speech1:hover {
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}
#stop-speech2:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}
#stop-speech3:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}
#stop-speech4:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}
#stop-speech5:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
  right: 62%;
}
#stop-speech6:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}

#stop-speech7:hover{
  background-color: #cc0000;
  cursor: pointer;
  transition: background 1.5s;
}



#floating-button {
  position: fixed;
  bottom: 20px;  /* 20px from the bottom */
  right: 30px;   /* 20px from the right */
  background-color: #007BFF; /* Blue color */
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  transition: background-color 0.3s ease;
  
}

#floating-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}



#div1, #div2 {
  max-width: fit-content;
  color: hsla(0, 5%, 87%, 0.971);
  text-shadow: #000000;
  display: inline-block;
}
#div2{
  margin-left: 240;

}

#car1 {
  height: auto;
  width: 490px;
  margin: 3px;
  float: right;
}

#main_div{
  margin-bottom: 20px;
}
.header1 {
  display: flex;
  /* justify-content: flex-end;  
       is a CSS property used to align items within a flex container to the end of the main axis.
   In simpler terms, it pushes all the items to the right side of the container. */
}

.main_menu {
  display: flex;
  list-style-type: none;
  justify-content: flex-end; 
  font-size: 20;
  font-weight: bolder;
  
 
}

li {
  padding: 15px;
  cursor: pointer;
  position: relative;
  margin: 50px 30px;
 
}


.submenu {
  display: none;
  position: absolute;
  top: 100%;
  
  background-color: #000000;
  border: 1px solid #9a9999;
  z-index: 1000;
}

.submenu li {
  padding: 10px;
  width: 200px;
  cursor: pointer;
}

.submenu li:hover {
  background-color: #e0e0e0d5;
}

.main_menu > li:hover .submenu {
  display: block;
 
}


.slogan{
  position: absolute;
  top:43%;
  left: 52%;

}

.slogan p{
  color: hsla(0, 5%, 87%, 0.971);
  font-size: 50;
  overflow: hidden;
  /* border-right: 1px solid;the cursor */
  white-space: nowrap;
  animation: typing 3s steps(33) forwards, 
  blink 1s step-end infinite; /* steps = number of char in the phrase */
}
@keyframes typing {
  from{
    width: 0;
  }
  to{
    width: 100%;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
  
}


.himg{
 height: auto;
 width: 50%;
}
#history-container,#gen-design-container,#extr-container,#fet-container {
  text-align: center;
  animation:appear  linear;
  animation-timeline: view();
  animation-range: entry 0 cover 40%;
  margin-bottom: 30;
}
#perfo-container,#inter-container{
  animation:appear  linear;
  animation-timeline: view();
  animation-range: entry 0 cover 40%;
  margin-bottom: 30;}
@keyframes appear {
  from{
    opacity: 0;
    transform: translateX(-100px);
  }
  to{
    opacity: 1;
    transform: translateX(0px);

  }
  
}

.lines {
  display: flex;
  align-items: center;
}
.line {
  flex: 1;
  height: 5px;
  background-color: #e0e0e0d5;
  margin: 10px;
}
.history-text,.perf-text,.fet-text {
  margin: 0 10px;
  font-weight: bolder;
  font-size: 30;
}
.intro{
  display: inline;
  color: hsla(0, 5%, 87%, 0.971);
  font-size: 35;  
  position: absolute;
  top:20%;
  left: 62%;
}
.histo-pic{
  margin-right: 42%;
  margin-top: 3.6%;
}

#histo-p,#histo-p1 ,#ext-p ,#ext-p1 ,#ext-p2{
  margin-top: 50;
  background-color: rgb(23, 22, 22);
  font-size: 26; 
  line-height: 1.4;
  cursor: pointer;
}

  /* speech trial */
#histo-p:hover{
  background: #555;
  transition: background 0.5s;
}
#histo-p1:hover{
  background: #555;
  transition: background 0.5s;
}

#ext-p:hover{
  background: #555;
  transition: background 0.5s;
}

#ext-p1:hover{
  background: #555;
  transition: background 0.5s;
}

#ext-p2:hover{
  background: #555;
  transition: background 0.5s;
}


.sec-pic{
  margin-left: 47%;
  margin-top: 2.6%;
}

#histo-p2{
  display: inline;
  font-size: 26;  
  position: absolute;
  top:75%;
  right: 62%;
  background-color: rgb(21, 21, 21);
  line-height: 1.4;
  cursor: pointer;
  
}

#histo-p2:hover{
  background: #555;
  transition: background 0.5s;
}

#histo-p3{
  display: inline;
  font-size: 26;  
  position: absolute;
  top:50%;
  left:50%;
  margin-right: 42;
  background-color: rgb(21, 21, 21);
  line-height: 1.4;
  cursor: pointer;
  
}

#histo-p3:hover{
  background: #555;
  transition: background 0.5s;
}
.pic4{
  
    position: absolute; /* Add this to make positioning work */
    display: block;    /* Change from inline to block */
    top: 75%;
    left: 50%;        /* Adjusted from 90% */
    width: 40%;       /* Add width control */
    height: auto;     /* Maintain aspect ratio */
    margin-right: 42px;
 
}

.design-pic{
  margin-top: 2.6%;
  height: auto;
  width:98%;
}
.design-name{
margin-top: 15 ;
font-size: 22; 
}


.vid1{
  margin-right: 53%;
  margin-top: 2.6%;
  height: 107%; /* Reduced from default/previous value */
  width: auto; /* Added to maintain aspect ratio */
}


#intro-p{
  margin-top: 20;
  margin-left: 20;
  margin-right: 20;
  margin-bottom: 20;
  background-color: rgb(23, 22, 22);
  font-size: 26; 
  line-height: 1.4;
  cursor: pointer;
  
}
.vid2{
 height: 115%;
 width: 86%;
 margin-left: 7%;
 
 
}


.pic5 {  /* Added the . to make it a class selector */
  position: relative;
  display: block;
  margin: 40px auto 30px ; /* Centers the image horizontally */
  width: 50%; /* Adjust width as needed */
  height: auto;
  /* left: 0; Remove left offset */
  margin-bottom: 30px;
} 






.imgD {
  /* display: flex;  Added to control child elements */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  gap: 20px;
  width: 85%; /* Changed from 90% to full width */
  border-top: 1px solid #5553;
  margin: 30px auto auto 200px; /* Changed to center horizontally */
}

.imgD img {
  width: 40%;
  height: 77%; /* Changed from fixed 77% to maintain aspect ratio */
  object-fit: contain; /* Ensures image maintains proportions */
}

.text-pic{
  display: inline;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  gap: 25px;
  width: 90%; /* Changed from 90% to full width */
  height: inherit;
  border-top: 1px solid #5553;
  margin: 1% auto auto 5%;
  font-size:25px; 
}

.text-pic p{
  display: inline;
  
}

.pic5-t, .fet-p{
  position: relative;
  font-size:25px; 
  text-align: center;
 
}




.slider-container {
  position: relative;
  width: 80%;
  max-width: 1000px;
  height: 600px; /* Fixed height */
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px; /* Optional: adds rounded corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: adds subtle shadow */
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain */
  background-color: #000; /* Optional: adds black background for letterboxing */
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  border: none;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}


.aa{
  color:#0056b3;
  text-decoration: underline;  
}




/* ... existing code ... */

.footer {
  background-color: #111;
  padding: 50px 0;
  margin-top: 50px;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px;
}

.footer-section {
  color: #fff;
}

.footer-section h3 {
  color: #007BFF;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p, .footer-section li {
  color: #999;
  line-height: 1.6;
  margin: 10px 0;
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin: 10px 0;
}

.social-links a {
  color: #999;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007BFF;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid #333;
  color: #666;
  font-size: 12px;
}