html, body {
    height: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}
body {
    color: #333;
    padding-top: 10vh;   /* header height */
    padding-bottom: 80px; /* footer height */
}
header,.logos,.srinistypvtltd,nav,.hero-carousel,footer {
    display: flex;
    justify-content: center;
    align-items: center;
}
header {
    background: #0b3c5d;
    height: 7vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.logos {
    height: 100%;
    width: 25%;
}
header>div>a,img{
    height: 100%;
}
.srinistypvtltd{
    color: #fff;
    text-decoration: none;
    align-items: start;
    flex-direction: column;
}
header>div>a>h1 {
    font-size: 20px;
}
nav{
    height: 50%;
    width: 70%;
    justify-content: end;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}
.btn {
    background: #f57c00;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    display: inline-block;
} 
.section {
    padding: 60px 40px;
    background: #ffffff;
    margin-top: 20px;
}
.section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #0b3c5d;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card h4 {
    margin-bottom: 10px;
}
/* ===============================
   HERO CAROUSEL STYLING
   =============================== */
.hero-carousel {
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    top: -20px;
}
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 700px;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}
.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}
.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
/* ===============================
   IMAGE CARD DESIGN (Reusable)
   =============================== */
.image-card {
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
}
.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
/* Image container */
.card-img {
    /* width: 90%; */
    height:50%;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
/* Image zoom on hover */
.image-card:hover .card-img img {
    transform: scale(1.1);
}
/* Card content */
.card-content {
    padding: 20px;
    text-align: center;
}
.card-content h4 {
    margin-bottom: 10px;
    color: #0b3c5d;
}
.card-content p {
    font-size: 15px;
    line-height: 1.5;
}
/* Card button */
.card-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #f57c00;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}
.card-btn:hover {
    background: #e56f00;
    transform: scale(1.05);
}
/* ===============================
   VEHICLES SECTION CSS
   =============================== */

.vehicles .section-cta {
    margin-top: 40px;
    text-align: center;
}
.vehicles .btn {
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 30px;
}
/* Slight variation for vehicle cards */
.vehicles .card-content h4 {
    font-size: 18px;
}
.vehicles .card-content p {
    font-size: 14px;
    color: #555;
}
/* ===============================
   ABOUT SECTION STYLING
   =============================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.about-points {
    list-style: none;
    margin-bottom: 25px;
}
.about-points li {
    margin-bottom: 10px;
    font-size: 15px;
}
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* ===============================
   SERVICE SECTION STYLING
   =============================== */
.services .card-content h4 {
    font-size: 17px;
}
.services .card-content p {
    font-size: 14px;
    color: #555;
}
.services .section-cta {
    margin-top: 40px;
    text-align: center;
}
.services .btn {
    padding: 14px 30px;
    border-radius: 30px;
}
/* ===============================
   GALLERY SECTION STYLING
   =============================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
/* Hover effect */
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.85);
}
/* CTA spacing */
.gallery .section-cta {
    margin-top: 40px;
    text-align: center;
}
/* ===============================
   CAREER SECTION STYLING
   =============================== */
.career .card-content h4 {
    font-size: 18px;
}
.career .card-content p {
    font-size: 14px;
    color: #555;
}
.career .section-cta {
    margin-top: 40px;
    text-align: center;
}
.career .btn {
    padding: 14px 30px;
    border-radius: 30px;
}
/* ===============================
   CONTACT SECTION STYLING
   =============================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.contact-info .info-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.contact-info .info-box:hover {
    transform: translateY(-5px);
}
.contact-info h4 {
    margin-bottom: 8px;
    font-size: 16px;
}
.contact-info p {
    font-size: 14px;
    color: #555;
}
.contact-form form {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
}
.contact-form .btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
}
/* ===============================
   Footer Section CSS
   =============================== */
footer {
    background: #0b3c5d;
    height: 40px;
    width: 100%;
    gap: 20px;
    z-index: 10;
    transition: opacity 0.4s;
    position: fixed;
    bottom: 0;
    left: 0;
}
/* Social Media Buttons */
.footer-social a {
    display: inline-block;
    margin: 0 0.5rem;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}
#text{
    font-size: 1.2rem;
    text-decoration: none;
}
#text-left,#text-right{
    display: none;
}
.footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
    text-shadow: 0 0 10px #00ffff;
}
.whatsapp {
    position: fixed;
    bottom: 45px;
    right: 0px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    z-index: 11;
}
/* ===============================
   MOBILE HAMBURGER MENU
   =============================== */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    /* color: red; */
    cursor: pointer;
    padding: 10px;
}
/* Mobile behavior */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 101;
        font-size: 40px;
    }
    header {
        height: 10vh;
    }
    .logos{
        width: 95%;
        justify-content: flex-start;
        height: 90%;
    }
    header>div>a>img{
        width: 130%;
    }
    header>div>a>h1 {
        font-size: 40px;
        width: 100%;
        text-align: end;
        margin-left: 15px;
        padding-top: 3px;
    }
    header>div>a>p {
        text-align: end;
        margin-left: 35px;
    }
    .eicherlogo{
        display: none;
    }
    nav {
        display: none;
        position: absolute;
        top: 6.8vh;
        right: 0px;
        width:100px;
        height: auto;
        background: #0b3c5d;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        line-height: 35px;
    }
    nav.active {
        display: flex;
    }
    nav a {
        font-size: 16px;
    }
    /* Hero */
        .hero-carousel {
        top: -30px;
        height:85vh;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
    .slide {
        background-size: fit;
        background-position: center;
    }
    /* About  */
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-text .btn {
        margin-top: 10px;
    }
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    /* footer */
    footer{
        height: 90px;
        flex-direction: column;
        line-height: 1px;
        bottom: 0px;
        gap: 15px;
    }
    /* Social Media Buttons */
    .footer-social a {
        font-size: 1.5rem;
        transition: all 0.3s ease;
        margin-top: 0px;
        margin-bottom: 0px;
        gap: 0px;
        line-height: 0px;
    }
    #text{
        display: none;
    }
    #text-left,#text-right{
        display: inline-block;
        font-size: 1rem;
        text-decoration: none;
        color: #ffffff;
        transition: all 0.3s ease;
    }
    #text-left{
        font-size: 0.85rem;
    }
    .dsn{
        font-size: 1rem;
    }
    .whatsapp {
        bottom: 100px;
        right: 5px;
        padding: 15px;
        border-radius: 50%;
    }
    .whatsapp>i{
        scale: 1.6;
    }
}