/* Modern Corporate Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #003366; /* Corporate Navy Blue */
    --secondary-color: #f0a500; /* Gold/Orange Accent */
    --text-color: #333333;
    --light-bg: #f4f6f9;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Tweaks */
.rs-header .menu-area {
    background: var(--white) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.rs-menu .nav-menu > li > a {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.rs-menu .nav-menu > li > a:hover,
.rs-menu .nav-menu > li.current-menu-item > a {
    color: var(--secondary-color) !important;
}

/* Menu Hover Animation */
.rs-menu .nav-menu > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.rs-menu .nav-menu > li > a:hover::after {
    width: 100%;
}

.topbar-area.style1 {
    background: linear-gradient(270deg, #d32f2f, #b71c1c, #d32f2f); /* Red gradient */
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: var(--white);
    border-bottom: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.topbar-area.style1 a, 
.topbar-area.style1 .topbar-contact ul li,
.topbar-area.style1 .topbar-contact ul li i {
    color: var(--white);
}

.topbar-area.style1 a:hover {
    color: #ffeb3b; /* Yellow on hover for red bg */
}

/* Header Button */
.btn-quote {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-quote:hover {
    background: transparent !important;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}

.btn-quote span {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Increase Logo Size */
.full-width-header .rs-header .menu-area .logo-area img {
    max-height: 90px !important; 
}
.full-width-header .rs-header .menu-area.sticky .logo-area img {
    max-height: 70px !important;
}

.btn-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s;
    z-index: -1;
}

.btn-quote:hover::before {
    left: 0;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 165, 0, 0.4);
}

/* Logo Light Effect */
.logo-area img {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    transition: all 0.3s ease;
}

.logo-area img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

/* Hero Section (New Slider Replacement) */
.hero-section {
    position: relative;
    background-image: url('../images/slider/h4-sl1.jpg'); /* Assuming this is the truck image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 0 120px;
    min-height: 800px;
    display: flex;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 51, 102, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Hero Form */
/* Hero Form - Glassmorphism Crystal Effect */
.hero-form-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15); /* Translucent white */
    backdrop-filter: blur(12px); /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Glass border */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-form-title {
    font-size: 24px;
    color: #ffffff; /* White text for contrast on glass */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.hero-form .form-group {
    margin-bottom: 20px;
}

.hero-form .form-control {
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9); /* Slightly opaque inputs */
    color: #333;
    transition: all 0.3s ease;
}

.hero-form .form-control:focus {
    background: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    outline: none;
}

.hero-form select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.btn-hero-submit {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-hero-submit:hover {
    background: #d49000;
    transform: translateY(-2px);
}

/* Feature Cards (Replacing old style) */
.features-section {
    margin-top: -80px;
    position: relative;
    z-index: 3;
    padding-bottom: 80px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
}

.feature-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* General Section Styles */
.sec-title2 .sub-text {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.sec-title2 .title {
    color: var(--primary-color);
}

.readon {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.readon:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.floating-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 20px;
    transition: all 0.3s ease;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.floating-icon:hover {
    width: 55px;
}

.icon-phone { background-color: var(--primary-color); }
.icon-whatsapp { background-color: #25d366; }
.icon-instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.icon-telegram { background-color: #0088cc; }


/* Services Section */
.services-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.services-item:hover {
    transform: translateY(-10px);
}

.services-item .title a {
    color: var(--primary-color);
}

.services-item .title a:hover {
    color: var(--secondary-color);
}

/* Counter Section */
.rs-counter.style1 .counter-area {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.rs-count {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Global Section Backgrounds */
.rs-about.style1 {
    background: #ffffff;
}

.rs-services.home-style2 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* Light grey gradient */
}

.rs-process.style1 {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Corporate Blue Gradient */
}

.rs-blog.style2 {
    background: #ffffff;
}

.rs-testimonial.style2 {
    background: linear-gradient(135deg, #f0f4f8 0%, #dde2e6 100%); /* Very light blueish grey */
}

.rs-cta.style1 {
    background: linear-gradient(90deg, #f0a500 0%, #ff6f00 100%); /* Orange Gradient */
    position: relative;
    overflow: hidden;
}

.rs-cta.style1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Section Title Colors */
.sec-title2 .title.white-color {
    color: #ffffff !important;
}

.rs-process .title, .rs-process .sub-text {
    color: #ffffff;
}

.rs-process .number-txt {
    color: rgba(255,255,255,0.8);
}

.rs-process .number-part {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.rs-process .number-part:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

/* Footer Colors Update */
.rs-footer {
    background: #050e16; /* Very Dark Navy/Black */
    color: #aab2bd;
    border-top: 3px solid var(--secondary-color);
}

.footer-bottom {
    background: #000000; /* Pure Black */
}

.rs-footer .footer-title {
    color: #ffffff;
}

.rs-footer a:hover {
    color: var(--secondary-color);
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Section */
.gallery-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #fff;
    margin-bottom: 20px;
}

.gallery-img img {
    width: 100%;
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(240, 165, 0, 0.3);
    border-color: var(--secondary-color);
}

.gallery-img:hover img {
    transform: scale(1.1);
}

/* Form in slider responsive tweak */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-form-wrapper {
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }
    
    .features-section {
        margin-top: 50px;
    }
}
