:root {
  --primary-color: #0A2463;
  --secondary-color: #ce0a0a;
  --accent-color: #000000;
  --light-bg: #F8F9FA;
  --dark-text: #333333;
  --white: #FFFFFF;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --transition: all 0.3s ease-in-out;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  animation-delay: 2.2s;
  background: transparent;
  border: 2px solid #3668ff;
  color: #3668ff;
}

.btn-primary:hover {
  background: #3668ff;
  color: #ffffff;
  box-shadow: 0 0 15px #3668ff;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

.section-title:after {
  content: '';
  display: block;
  margin: 15px auto;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.sticky {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--dark-text);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: rgb(203, 41, 41);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

.navbar img {
  margin-top: 4px;
  height: 40px;
  width: 150px;
  object-fit: contain;
  margin-right: 11px;
  margin-left: 10px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(211, 211, 255, 0.9)), url('/static/images/banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  animation: fadeInHero 2s ease-out;
}
/* https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?auto=format&fit=crop&w=1920&q=80 */

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: slideUp 1.5s ease forwards;
  opacity: 0;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
  from {
    transform: translateY(30px);
    opacity: 0;
  }
}

.hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInText 2.5s ease forwards;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
  opacity: 0.9;
  white-space: wrap;
  overflow: hidden;
  /* border-right: 3px solid var(--white); */
  width: 100%;
  /* animation: typing 5s steps(100, end) 1 forwards, blink-caret 0.75s step-end infinite; */
  animation: fadeInText 2.5s ease forwards;
}

@keyframes fadeInText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.why-choose-us {
  background-color: var(--light-bg);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Our Services */
.services-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.services-track {
  display: flex;
  transition: transform 0.3s ease;
}

.service-card {
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.slider-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 10px;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--primary-color);
}

/* Video Showcase */
.video-showcase {
  background-color: var(--light-bg);
}

.video-slider {
  position: relative;
  overflow: hidden;
}

.video-track {
  display: flex;
  transition: transform 0.5s ease;
}

.video-item {
  flex: 0 0 calc(50% - 20px);
  margin: 0 10px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color: rgb(0, 0, 0);
}

.video-thumbnail {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
}

.video-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
   visibility: hidden;
   color: white;
}

.video-popup.active {
  display: flex;
   visibility: visible;
}

.video-popup-inner {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  padding: 20px;
  border-radius: 10px;
}
.video-popup-inner {
  /* position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  padding: 20px;
  border-radius: 10px; */
       max-height: 100%;
      overflow-y: auto;
      margin-top: 10px;
      text-align: left;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
}

#closeVideo {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
#videoDescription {
  /* color: var(--white);
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
  max-width: 800px; */
     max-height: 100%;
      overflow-y: auto;
      margin-top: 10px;
      text-align: left;
      padding: 10px;
      /* border: 1px solid #ffffff; */
      border-radius: 5px;
      font-size: small;
}
    .description-container {
      max-height: 200px; /* Fixed height for description */
      overflow-y: auto;
      margin-top: 20px;
      padding: 10px;
      border: 1px solid #fff;
      border-radius: 5px;
      text-align: left;
    }

/* .video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.video-popup.active {
  opacity: 1;
  visibility: visible;
}

.video-container {
  width: 80%;
  max-width: 900px;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.video-description {
  color: var(--white);
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
  max-width: 800px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
} */



/* Our Clients */


.clients-slider {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scroll-left 20s linear infinite;
  
}
.client-logo {
  width: 300px;        /* Increased from 250px */
  height: 100px;       /* Increased from 80px */
  object-fit: contain;
  transition: var(--transition);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-item {
  flex-shrink: 0;
  text-align: center;
  width: 200px;
}
.client-logo img {
  width: 250px;
}

.container {
  overflow: hidden;
  max-width: 100%;
}

.client-name {
  margin-top: 10px;
  font-weight: 600;
} 
/* Contact Section */
.contact {
  background-color: var(--light-bg);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-item {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  font-size: 20px;
  color: var(--secondary-color);
  margin-right: 15px;
}

.contact-details h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: rgb(0, 191, 255);
  padding-left: 5px;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: rgb(0, 191, 255);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Media Queries */
@media (max-width: 1200px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    flex: 0 0 calc(50% - 30px);
  }
  
  .video-item {
    flex: 0 0 calc(100% - 20px);
  }
  
  .client-item {
    flex: 0 0 5%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    flex: 0 0 calc(100% - 30px);
  }
  
  .client-item {
    flex: 0 0 7%;
  }
  
  .video-container iframe {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .client-item {
    flex: 0 0 5%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .video-container iframe {
    height: 250px;
  }
}

@media (min-width: 1921px) {
  .container {
    max-width: 1600px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero-title {
    font-size: 72px;
  }
  
  .hero-subtitle {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 42px;
  }
}
.navbar img {
    margin-top: 4px;
    height: 40px;
    width: 150px;
    object-fit: contain;
    margin-right:11px;
    margin-left: 10px;
}
/* [data-theme="dark"] {
  --primary-color: #ffffff;
  --secondary-color: #f31a1a;
  --accent-color: #003cff;
  --light-bg: #1e1e1e;
  --dark-text: #e0e0e0;
  --white: #121212;
  --gray: #aaa;
  --light-gray: #2c2c2c;
}


[data-theme="dark"] body {
  background-color: var(--white);
  color: var(--dark-text);
}

[data-theme="dark"] .header,
[data-theme="dark"] .navbar,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .video-popup,
[data-theme="dark"] .video-container,
[data-theme="dark"] .contact,
[data-theme="dark"] .footer {
  background-color: var(--white);
  color: var(--dark-text);
}

[data-theme="dark"] .btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: var(--accent-color);
}
[data-theme="dark"].hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url(https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?auto=format&fit=crop&w=1920&q=80);
    background-size: cover;
    background-position: center;
    display: flex
;
    align-items: center;
    color: var(--primary-color);
} */

