/* Hero Section Styles */
:root {
    --hero-primary: var(--primary-color);
    --hero-accent: var(--secondary-color);
    --hero-text-white: #ffffff;
    --hero-text-muted: rgba(255, 255, 255, 0.8);
    --hero-overlay-dark: rgba(0, 0, 0, 0.5);
    --hero-glass: rgba(255, 255, 255, 0.1);
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-text-white);
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    /* Glassmorphism effect */
    background: var(--hero-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--secondary-rgb), 0.4);
    border-radius: 100px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.hero-badge i {
    color: var(--hero-accent);
    margin-right: 10px;
    font-size: 14px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--hero-accent);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(40px, 8vw, 85px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
    color: var(--hero-text-white) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.text-highlight {
    color: var(--hero-accent);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.6 !important;
    color: var(--hero-text-muted) !important;
    margin-bottom: 40px !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.primary-btn {
    background: var(--hero-primary);
    color: #fff;
    border: 2px solid var(--hero-primary);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn:hover {
    background: var(--hero-accent);
    border-color: var(--hero-accent);
    color: #000 !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--secondary-rgb), 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--hero-text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hero-text-white);
    color: var(--hero-text-white) !important;
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-indicator p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hero-text-muted);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--hero-text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--hero-accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Products Grid Section */
.products-grid-sectionSectionB {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.products-top-subtitle {
    color: var(--secondary-color) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px !important;
}

.products-main-title {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin-bottom: 20px !important;
}

.products-description {
    font-size: 16px !important;
    color: #636e72 !important;
    line-height: 1.6 !important;
}

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

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-img-box {
    padding: 40px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.product-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-info h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 15px !important;
}

.divider-dotted {
    width: 40px;
    height: 2px;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 20px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.product-btn:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

.product-btn i {
    font-size: 12px;
}

/* Background Colors */
.bg-blue {
    background-color: #3498db;
}

.bg-pink {
    background-color: #f368e0;
}

.bg-teal {
    background-color: #1abc9c;
}

.bg-khaki {
    background-color: #f7d794;
}

.bg-yellow {
    background-color: #f1c40f;
}

.bg-lightgrey {
    background-color: #dfe6e9;
}

.bg-purple {
    background-color: #a29bfe;
}

.bg-navy {
    background-color: #0984e3;
}

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

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-main-title {
        font-size: 36px !important;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img-box {
        height: 180px;
        padding: 20px;
    }

    .product-info {
        padding: 15px 10px;
    }

    .product-info h3 {
        font-size: 14px !important;
    }

    .product-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .products-header {
        margin-bottom: 40px;
    }
}

/* Responsive Adjustments (Previous) */
@media (max-width: 768px) {
    .SectionE .heading h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card .testi {
        font-size: 16px !important;
    }

    .SectionE {
        padding: 20px 0 !important;
    }

    .clients-heading {
        margin-bottom: 15px !important;
    }

    .clients-heading h2 {
        margin-bottom: 10px !important;
    }

    .heading-divider {
        margin: 10px auto !important;
    }

    .Marquee {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

    .patnerslider {
        margin-bottom: 0 !important;
    }
}

/* Clients Section E */
.SectionE {
    background: #fcfcfc;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.clients-heading {
    margin-bottom: 50px;
    text-align: center;
}

.clients-subtitle {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.SectionE .heading h2 {
    color: var(--primary-color) !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.heading-divider {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.testimonial-card .testi {
    color: #636e72 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    font-style: italic;
    margin-bottom: 30px !important;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-author h6 {
    color: var(--primary-color) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}

.testi-author span {
    color: #b2bec3;
    font-size: 14px;
    font-weight: 600;
}

.SectionE .mapimg {
    opacity: 0.05;
    filter: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.Marquee {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.Marquee-content {
    animation: marquee-seamless 50s linear infinite !important;
}

@keyframes marquee-seamless {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.Marquee-tag {
    background: #fff !important;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.Marquee-tag:hover {
    background: #f8f9fa !important;
    border-color: var(--primary-color);
}

.Marquee-tag img {
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 60px;
    width: auto;
}

.Marquee-tag:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #fffdf0; /* Light version of secondary color */
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-subtitle {
    color: var(--primary-color) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px !important;
    display: block;
}

.services-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin-bottom: 20px !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 193, 241, 0.1);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-box {
    width: 85px;
    height: 85px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 30px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 193, 241, 0.08);
    border: 1px solid rgba(0, 193, 241, 0.1);
    position: relative;
}

.service-icon-box::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px) rotateY(180deg);
}

.service-card:hover .service-icon-box::after {
    opacity: 1;
    inset: -8px;
}

.service-card h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin-bottom: 15px !important;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color) !important;
}

.service-card p {
    font-size: 15px !important;
    color: #636e72 !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 193, 241, 0.03);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: var(--secondary-color);
    opacity: 0.2;
    transform: scale(1.2);
}

/* Services Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-title {
        font-size: 30px !important;
    }

    .service-card {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Standardized Mobile Spacing */
@media (max-width: 768px) {
    .sectionA, .SectionB, .SectionD, .SectionE, .services-section, .SectionF, .SectionH {
        padding: 60px 0 !important;
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh !important;
        padding: 100px 0 60px !important;
    }
}

/* Services Slider Styles */
.services-slider .service-card {
    display: block;
    height: 100%;
}
.services-slider .owl-stage {
    display: flex;
}
.services-slider .owl-nav {
    display: none;
}
.services-slider .owl-dots {
    text-align: center;
    margin-top: 30px;
}
.services-slider .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.services-slider .owl-dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}
