
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar{ 
  display: none;
}

/*::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e20f0f;

}

::-webkit-scrollbar-thumb:hover {
  background: #960202;
}*/

body{
  background-color: #e3e3e3;
}


/* Header section */


header {
  background-color: #e3e3e3;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Navigation */

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #565d65;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #960202;
  outline: none;
}

/* Hamburger button */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #960202;
  border-radius: 2px;
  transition: all 0.3s ease;
}


@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    background: #e3e3e3;
    height: calc(100vh - 60px);
    width: 200px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger animation when active */

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


#contact {
  left: 0;
  margin-left: 0;
  width: 100vw;
  background-color: #960202;
  padding: 2rem 1rem;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #e3e3e3;

}


@media (min-width: 768px) {
  #contact {
    left: 0;
    margin-left: 0;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
  }
}


.brands-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: auto;
}


@media (min-width: 768px) {
  .brands-grid {
    width: 40%;
    max-width: 500px;
  }
}




@media (min-width: 768px) {
  .brands-grid {
    order: 2; /* show on right */
    width: 40%;
    margin-bottom: 0;
  }
}


.brand {
  aspect-ratio: 0.5 / 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.brand img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/* Contact info styles */
.contact-info {
  flex: 1 1 60%;
  order: 1; 
}


@media (max-width: 767px) {
  .contact-info {
    order: 2;
  }
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info a {
  color: #e3e3e3;
  text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
  text-decoration: underline;
}

/* Social links */
.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-weight: 700;
  font-size: 1.2rem;
  color: #e3e3e3;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  background-color: #e20f0f;
  color: white;
  border-color: #e20f0f;
}

/* Footer styles */
footer {
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Playfair Display', Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: #000;
  gap: 0.5rem;
  flex-wrap: wrap;
  text-align: center;
}

footer a {
  color: #e3e3e3;
  text-decoration: 4px underline;
  text-decoration-color: #e20f0f;
  font-weight: 700;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

.about-main {
  width: 100vw;
  margin: 0 auto;
  position: relative;
  font-family: 'Inter', Arial, sans-serif;
  border-top: 3px #960202 solid;
  border-bottom: 3px #960202 solid;
  background-color: #e3e3e3;
  z-index: 700;
}

.about-top-banner,
.about-bottom-banner {
  width: 100%;
  display: block;
  z-index: 800;
  height: 10%;
}

#content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin:  0;
  padding: 2rem;
  position: relative;
  background-color: #e3e3e3;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);

  z-index: 900;
}

.about-main .scroll-text {
  position: absolute;
  left: 0;
  top: 1%;
  z-index: 9500;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #e3e3e3;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  margin: 2%;
}

@media (min-width:475px){
  .about-main .scroll-text{
    top: 2%;
  }
}


#content > div {
  padding: 2rem;
  background: #e3e3e3;
  width: 100%;
  transition: transform 0.3s ease;
}

#content > div:hover {
  transform: translateY(-5px);
}

#content h1 {
  font-size: 2.8rem;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
  position: relative;
}

#content h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #960202;
}

#content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.3px;
}

#content p {
  line-height: 1.8;
  color: #565d65;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Image Cards */
.div5, .div7, .div10, .div12, .div15 {
  overflow: hidden;
  padding: 0;
  border: none;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

#content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#content img:hover {
  transform: scale(1.03);
}

/* Mission/Vision Cards */
.div4, .div8, .div9, .div11 {
  background: #f8f8f8;
  border-left: 4px solid #960202;
  padding: 2rem;
}

.div2, .div3{
  color: #565d65;
}

/* Director Cards */
.div12, .div15 {
  margin-bottom: 1.5rem;
}

.div13, .div16 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  margin-top: 1rem;
}

/* Why Choose Us Section */
.div11 {
  grid-column: 1/-1;
  text-align: center;
  background: #960202;
  color: #e3e3e3;
}

.div11 h2 {
  color: #000;
  font-size: 2.2rem;
}

.div11 span{
  color: #000;
  font-weight: bold;
}

.div11 p {
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto;
}




@media (max-width: 768px) {
  #content {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .div5, .div7, .div10 {
    height: 300px;
  }
}

.about-top-banner{
  width: 100%;
  height: auto;
  margin-top: 2%;
}

.about-bottom-banner{
  width: 100%;
  height: auto;
  margin-bottom: 2%;
}

.social_logo {
  width: 20%;
  height: auto;
}

@media (min-width: 768px){
  .social_logo{
    width: 5vw;
    max-width: 10vw;
    height: auto;
  }
}