@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Reset & Basic Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
}

/* --- Header & Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #005A9E; /* Tata Blue */
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E87722; /* Tata Orange */
}

/* --- Hero Section & Slider --- */
#hero {
    height: 90vh;
    padding: 0; /* Remove padding to allow slider to be full width/height */
    position: relative;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for better text readability */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* --- Swiper Arrow and Pagination Styling --- */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 90, 158, 0.8);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    width: 12px;
    height: 12px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #E87722; /* Tata Orange */
}


.cta-button {
    display: inline-block;
    background-color: #36b4de;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #E87722;
}

/* --- Sections --- */
section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #005A9E;
}
#about{
    background-color:#fff;
}

/* --- Services Section --- */
.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-basis: 280px;
    flex-grow: 1;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card img {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

/* --- Footer --- */
footer {
    background-color: #005A9E;
    color: white;
    text-align: center;
    padding: 1.5rem 5%;
}

/* --- Animation Classes --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add a delay for staggered animations in service cards */
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }


/* --- Mobile Menu --- */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
}

.mobile-menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

#videos {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

#videos h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: start;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #eee;
}

.video-card p {
  margin: 0;
  padding: 12px;
  font-size: 1rem;
  color: #333;
  background: #fafafa;
}


.image-slider-container {
    width: 100%;
    height: 400px; /* set the height you want */
    overflow: hidden;
    position: relative;
}

.image-slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* entire image will fit inside container */
    flex-shrink: 0; 
    background-color: #000; /* optional: fill empty space with a background color */
    transition: transform 0.5s ease;
}



/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; /* Adjust based on navbar height */
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0;
    }
    .mobile-menu-icon {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 1rem;
    }
}
/* --- New Video Section Styles --- */
#videos {
    background-color: #fff;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.video-card {
    flex-basis: 480px;
    max-width: 560px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-card iframe {
    width: 100%;
    height: 315px; /* Standard YouTube embed height */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.video-card p {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #005A9E;
}
/* --- New Image Gallery Section --- */
#image-gallery {
    background-color: #f4f7f6;
}

.image-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-slider {
    position: relative;
    width: 100%;
    height: 450px; /* Adjust height as needed */
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
}


.image-slider-container {
    width: 100%;
    height: 400px; /* set the height you want */
    overflow: hidden;
    position: relative;
}

.image-slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* entire image will fit inside container */
    flex-shrink: 0; 
    background-color: #000; /* optional: fill empty space with a background color */
    transition: transform 0.5s ease;
}
