/*
Theme Name: Transafe
Theme URI: http://example.com
Author: Your Name
Author URI: http://example.com
Description: A simple custom WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-simple-theme
*/
/* ========================================
   Transsafe - Custom Styles
   Bootstrap 5 + Custom CSS
   Premium Modern Design for Transsafe
   ======================================== */

:root {
    /* Brand Colors - From Logo */
    --primary-color: #8ADB3B;        /* Green - Primary */
    --primary-dark: #7AC82A;         /* Darker Green */
    --primary-light: #A0E85A;        /* Lighter Green */
    --secondary-color: #095B80;      /* Blue - Secondary */
    --secondary-dark: #004A6B;       /* Darker Blue */
    --secondary-light: #1475C2;      /* Lighter Blue */
    --dark-grey: #1A1A1A;            /* Dark Grey - Premium */
    --dark-grey-light: #2C2C2C;      /* Lighter Dark Grey */
    --light-grey: #F5F5F5;           /* Light Grey */
    --text-dark: #1A1A1A;            /* Text Dark */
    --text-light: #666666;           /* Text Light */
    --white: #FFFFFF;                /* White */
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-regular: 400;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: var(--white);
    margin: 0 0.5rem;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 0.25rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--dark-grey);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-grey);
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 219, 59, 0.4);
    color: var(--dark-grey);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 8px;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-grey);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 8px;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.hero-benefits li {
    padding: 0.75rem 0;
    color: var(--text-light);
    padding-left: 2rem;
    position: relative;
}

.hero-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Service Cards */
.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(138, 219, 59, 0.3);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.service-card .lead {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background-color: rgba(138, 219, 59, 0.1);
    border: 1px solid rgba(138, 219, 59, 0.2);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-benefit-badge:hover {
    background-color: var(--primary-color);
    color: var(--dark-grey);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 219, 59, 0.3);
}

.service-benefit-badge i {
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.service-benefit-badge:hover i {
    color: var(--dark-grey);
}

.service-card-footer {
    padding: 1.5rem 2rem;
    background-color: var(--light-grey);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-grey);
}

.step-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-grey);
}

.step-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Platform Logos Section */
.platform-logos {
    background-color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.platform-logos img {
    height: 60px;
    margin: 0 2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.platform-logos img:hover {
    opacity: 1;
}

/* Vehicle Cards */
.vehicle-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-card-header {
    background-color: var(--primary-color);
    color: var(--dark-grey);
    padding: 0.5rem 1rem;
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
}

.vehicle-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.vehicle-card-body {
    padding: 1.5rem;
}

.vehicle-card-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.vehicle-year-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--dark-grey);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.vehicle-plan {
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.vehicle-price {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vehicle-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.vehicle-specs li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--light-grey);
}

.vehicle-specs li:last-child {
    border-bottom: none;
}

.vehicle-specs strong {
    color: var(--text-dark);
}

/* Benefits Section */
.benefits-section {
    background-color: var(--light-grey);
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
}

.testimonial-card {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    position: relative;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.testimonial-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-rating .fa-star {
    color: var(--primary-color);
}

.testimonial-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-grey);
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-grey-light);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-grey);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(138, 219, 59, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--dark-grey);
}

.scroll-to-top.show {
    display: flex;
}

/* Location Filter */
.location-filter {
    margin-bottom: 2rem;
}

.location-filter select {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    width: 200px;
}

.location-filter select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) saturate(100%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-dark);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 1.5rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Premium Styles */
.premium-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 3rem 0;
}
/* .......................... */
/* ========================================
   Transsafe - Responsive Styles
   Media Queries for Mobile, Tablet, Desktop
   ======================================== */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-price {
        font-size: 1.25rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
    
    .vehicle-card {
        margin-bottom: 2rem;
    }
    
    .platform-logos img {
        height: 50px;
        margin: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Service Cards - Mobile Optimization */
    .service-card-body {
        padding: 1.5rem;
    }
    
    .service-benefits {
        gap: 0.5rem;
    }
    
    .service-benefit-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .service-benefit-badge i {
        font-size: 0.75rem;
    }
}

/* Mobile Styles (576px and below) */
@media (max-width: 576px) {
    .top-bar {
        text-align: center;
        font-size: 0.75rem;
    }
    
    .top-bar .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-price {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .vehicle-card-title {
        font-size: 1.25rem;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-outline-primary {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .location-filter select {
        width: 100%;
    }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    /*.container {*/
    /*    max-width: 1140px;*/
    /*}*/
}
/* .//////////////////// */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background: #f8f9fa;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item.hidden {
    display: none !important;
}

/* Optional - smooth fade when filtering */
.gallery-item {
    transition: all 0.4s ease;
}
