﻿.swiper {
    width: 100%;
    height: 600px;
    position: relative;
}

.swiper-slide {
    position: relative;
}

    .swiper-slide sliimge {
        width: 100%;
        height: auto;
        display: block;
    }

.slide-content {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: #5b5b64;
    opacity: 0;
    transition: all 0.8s ease;
    z-index: 10;
    white-space: nowrap;
}

.wlcmts{
    color:white;
}
.btno {
    margin-top: 50px;
}

.btnoo {
    margin-top: 75px;
}
.fff {
    font-weight: 900;
    color: white;
}
.swipbtn {
    border: none;
    width: 120px;
    height: 37px;
    border-radius: 21px;
    background-color: orangered;
    cursor: pointer;
}

.swipa {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Initial positions */
.from-left {
    top: 38%;
    left: -100px;
    transform: translateY(-50%);
    font-size: xxx-large;
}

.from-right {
    top: 55%;
    right: -88px;
    transform: translateY(-50%);
}

.from-bottom {
    bottom: 30%;
    left: 50%;
    transform: translate(-50%, 50%);
}

/* Active state */
.slide-content.active.from-left {
    left: 151px;
    opacity: 1;
}

.slide-content.active.from-right {
    right: 80px;
    opacity: 1;
}

.slide-content.active.from-bottom {
    bottom: 50px;
    opacity: 1;
}

/* -------------------------------
   🔧 Responsive Design Starts Here
----------------------------------*/

@media (max-width: 1024px) {
    .swiper {
        height: 500px;
    }

    .from-left {
        font-size: xx-large;
        top: 35%;
    }

    .from-right {
        top: 50%;
        width: 150px;
    }

    .swipbtn {
        width: 90px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .swiper {
        height: 400px;
    }

    .slide-content {
        font-size: 18px;
        white-space: normal;
    }
    .sliimg {
        width: 170px;
    }
    .from-left {
        font-size: xx-large;
        top: 45%;
        left: -80px;
    }

    .from-right {
        top: 73%;
        right: -70px;
        max-width: 320px;
    }

    .from-bottom {
        font-size: large;
        bottom: 25%;
    }

    .slide-content.active.from-left {
        left: 30px;
    }

    .slide-content.active.from-right {
        right: 30px;
    }

   
        .swipbtn {
            width: 102px;
            height: 32px;
        }
    
    .swipa {
        font-size: medium;
    }
}

@media (max-width: 480px) {
    .swiper {
        height: 300px;
    }

    .from-left {
        font-size: large;
        top: 28%;
        left: -60px;
    }

    .from-right {
        top: 45%;
        right: -60px;
        max-width:200px;
    }

    .slide-content.active.from-left {
        left: 20px;
    }

    .slide-content.active.from-right {
        right: 20px;
    }

    .from-bottom {
        bottom: 20%;
        font-size: medium;
    }

    .swipbtn {
        width: 80px;
        height: 30px;
    }

    .swipa {
        font-size: small;
    }
}
@media (max-width: 768px) {
    .swiper-button-next {
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

    .swiper-button-prev {
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
  
  }
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: inherit;
}

@media (max-width: 768px) {
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 17px;
    }
}

/*----about us section----*/
/* Core Layout */
/* Base styles */
.hero-section {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Section */
.hero-image-wrapper {
    position: relative;
    flex: 1 1 45%;
    max-width: 45%;
}

.circle-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #f2f2f2;
    border-radius: 50%;
    top: 50px;
    left: 50px;
    z-index: 0;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

/* Text Section */
.hero-text {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 20px;
}

.welcome-tagline {
    font-size: 18px;
    color: #ff4500;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
}

.highlighted {
    color: #50c3d3;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Play Button */
.video-play-btn {
    background-color: orangered;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

.play-icon {
    display: inline-block;
}

/* Video Overlay */
.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .video-overlay.active {
        display: flex;
    }

.video-container {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

/* -------------------------------
   🔧 Responsive Design
----------------------------------*/

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image-wrapper,
    .hero-text {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .hero-image {
        max-width: 300px;
        margin-bottom: 30px;
    }

    .main-heading {
        font-size: 28px;
    }

    .description {
        font-size: 15px;
    }

    .circle-bg {
        width: 200px;
        height: 200px;
        top: 30px;
        left: 30px;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 22px;
    }

    .description {
        font-size: 14px;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
/*----about-us-feature-section----*/
.features-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.features-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature-box {
    flex: 1 1 22%;
    background-color: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-5px);
    }

.feature-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    filter: grayscale(100%);
    opacity: 0.6;
}

.highlighted-feature .feature-icon img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 15px;
    color: #666;
}

/* ✅ Responsive Adjustments */
@media (max-width: 992px) {
    .feature-box {
        flex: 1 1 45%;
    }
}

@media (max-width: 576px) {
    .feature-box {
        flex: 1 1 100%;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }
}

/*=================product section==============*/
/* Section Container */
.category-grid-section {
    background-color: #f6faff; /* very light blue */
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 40px;
    text-align: left;
}

/* Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Individual Card */
.category-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 160px;
}

/* Card Text */
.card-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
}

.card-text p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* Category Image */
.card-image {
    position: absolute;
    bottom: 24px;
    right: 30px;
    width: 91px;
    height: 113px;
    object-fit: contain;
}
.pill-container {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-bottom:20px;
}

.pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: #00acc1;
  
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .pill:hover {
        background-color: white;
   
    }
.pill {
    background-color: #0097a7;
    border: 1px solid #00acc1;
   
}
    .pill a {
       
        text-decoration: none;
        color: white;
    }
pill a:hover {
    color: #0097a7;
}
/*---company section---*/

/* Section and Heading */
.companies-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.companies-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #3b5323;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Carousel Container */
.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 78%;
    margin-left: 187px;
}


/* Logo Track for animation */
.logo-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 15s linear infinite;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused; /* pause on hover */
}

/* Individual Logo Styling */
.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100px;
    padding: 10px;
}

    .logo-item img {
        height: 195px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

        .logo-item img:hover {
            transform: scale(1.1);
        }

/* Animation Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-item {
        padding: 5px;
    }

    .logo-carousel {
        overflow: hidden;
        position: relative;
        width: 100%;
        margin-left: 20px;
    }
    .logo-track {
        display: flex;
        gap: 20px;
        animation: scroll-left 20s linear infinite;
    }
 
}