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

:root {
    --primary: #1a3a6c;
    --secondary: #e63946;
    --accent: #f1faee;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #2a9d8f;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3; 
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    /* background: #d62839; */
    background: linear-gradient(135deg, #d1b515, #ff9800);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

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

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

.btn-primary:hover {
    background: #122a4d;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-bottom: 1rem; */
}

.title {
    display: flex;
    align-items: center;
}

.title i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 10px;
}

.title h1 {
    font-size: 1.8rem;
    color: white;
}

/* .logo span {
    color: var(--secondary);
} */

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section with Carousel */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px 20px;
    color: white;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    /* background: rgba(230, 57, 70, 0.1); */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.service-card h3 {
    margin-bottom: 15px;
}



/* Service card image + readable text overlay
   Usage (example):
   <div class="service-card">
     <img src="..." alt="">
     <div class="service-overlay">
       <h3>Maintenance</h3>
       <p>Regular maintenance services to keep your vehicle running smoothly.</p>
     </div>
   </div>
*/

.service-card{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0b0f14;
  /* optional */
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  height: 250px;
}

.service-card > img{
  display: block;
  width: 100%;
  height: 220px;              /* adjust */
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

/* Adds a dark gradient "scrim" so text is always readable */
.service-card::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* bottom-heavy gradient + slight overall darkening */
  background:
    linear-gradient(to top,
      rgba(0,0,0,.75) 0%,
      rgba(0,0,0,.45) 45%,
      rgba(0,0,0,.20) 100%),
    radial-gradient(80% 70% at 30% 30%,
      rgba(0,0,0,.25) 0%,
      rgba(0,0,0,0) 65%);
}

/* Text container */
.service-overlay{
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 1;

  /* "glass" panel improves contrast on busy images */
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}


.service-overlay h3{
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .2px;
  line-height: 1.1;

  text-shadow:
    0 2px 10px rgba(0,0,0,.75),
    0 1px 0 rgba(0,0,0,.55);
}


.service-overlay p{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  line-height: 1.25;

  text-shadow:
    0 2px 10px rgba(0,0,0,.75),
    0 1px 0 rgba(0,0,0,.55);
}


.service-card--strong::after{
  background:
    linear-gradient(to top,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.55) 45%,
      rgba(0,0,0,.25) 100%);
}














/* Testimonials */
.testimonials {
    background: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Media Section */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px 20px;
}

/* Contact Section */
/* .contact {
    background: var(--light);
} */

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-text h4 {
    margin-bottom: 5px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

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

/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
} */

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5282 100%);
    color: white;
    /* padding: 1rem 0; */
    padding: 1px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
}

.title i {
    margin-right: 10px;
    color: #ffd700;
}

.logo {
    width: 100px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffd700;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.back-video {
  /* position: fixed;
  right: 0;
  bottom: 0; */
  position: relative;
  /* min-width: 100%; */
  min-height: 100%;
  max-width: 375px;
  /* z-index: -1; */ 
  object-fit: cover; /* Ensures no stretching */
}

/* Hero Section */
.hero {
    height: 100vh;
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://d36avpsn8df2cg.cloudfront.net/img/hero.JPG');
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.btn-link {
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    border-radius: 50px;
    color: #1a3a6c;
    padding: 5px 15px;
}

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

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    color: #1a3a6c;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a3a6c;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #1a3a6c;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: #1a3a6c;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: #1a3a6c;
    margin-bottom: 0.5rem;
}



/* Footer */
footer {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5282 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-info p {
    margin-bottom: 1rem;
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: #ffd700;
    color: #1a3a6c;
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .carousel-content h2 {
        font-size: 2.5rem;
    }
}

/* @media only screen and (max-width: 768px) */
@media only screen and (min-width: 281px) and (max-width: 600px) {
    .mobile-menu {
        display: block !important;
    }

    .logo {
        width: 50px;
    }

    .title h1 {
        font-size: 1.5rem;
        color: white;
    }

    header {
        padding: 1rem 0;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 30px;
    }

    nav ul li {
        margin: 15px 0;
    }

    .carousel-content {
        /* Mobile Only */
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
        border-radius: 10px;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 820px) {
    
    .mobile-menu {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 30px;
    }

    nav ul li {
        margin: 15px 0;
    }
}

