/* Modern Design CSS for DBS LTD */

/* Global Styles */
:root {
    --primary-color: #dc3545; /* Changed back to red as brand color */
    --primary-dark: #c82333;
    --primary-light: #e8636f;
    --secondary-color: #6c757d;
    --accent-color: #dc3545; /* Using red as accent too for brand consistency */
    --accent-secondary: #9a1c27; /* Darker red for secondary accent */
    --light-gray: #eeeeee; /* Updated to requested light gray */
    --dark-gray: #343a40;
    --text-color: #333333;
    --white: #ffffff;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --border-radius: 8px;
    --card-hover-transform: translateY(-5px);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: var(--card-hover-transform);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: var(--card-hover-transform);
}

.btn-action {
    background: var(--accent-secondary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(154, 28, 39, 0.2);
}

.btn-action:hover {
    background: var(--primary-dark);
    transform: var(--card-hover-transform);
    box-shadow: 0 8px 25px rgba(154, 28, 39, 0.3);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Navbar Styles */
.modern-navbar {
    background: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(220, 53, 69, 0.95);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    color: var(--white);
}

.navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 70%;
    left: 15%;
}

.navbar .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

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

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Alert Styles */
.modern-alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Hero Section Styles */
.modern-hero {
    position: relative;
    padding: 120px 0 100px;
    background-color: var(--light-gray);
    color: var(--text-color);
    overflow: hidden;
    z-index: 1;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--primary-color);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.modern-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23dc3545" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,117.3C960,96,1056,96,1152,122.7C1248,149,1344,203,1392,229.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.2;
    position: relative;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    max-width: 90%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-graphic {
    position: relative;
    height: 320px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-graphic {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    animation: pulse 3s infinite ease-in-out;
}

.circle-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 20%;
    opacity: 0.15;
    animation-delay: 0.5s;
}

.circle-3 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 30%;
    opacity: 0.2;
    animation-delay: 1s;
}

.trusted-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 25px 35px;
    text-align: center;
    z-index: 3;
    min-width: 250px;
}

.trusted-badge-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.trusted-badge-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.trusted-badge-subtext {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.stats-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.stats-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.stats-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.stats-icon i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
}

.stats-value span {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.stats-label {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

/* Feature List Section */
.features-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.feature-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.feature-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-list-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.feature-list-item span {
    font-weight: 500;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
    position: relative;
}

.welcome-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CDRDB Main Section */
.cdrdb-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.cdrdb-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: var(--card-hover-transform);
}

.feature-icon-box {
    min-width: 60px;
    height: 60px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-box {
    background-color: var(--primary-color);
}

.feature-icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon-box i {
    color: var(--white);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.learn-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
}

.learn-more-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: var(--card-hover-transform);
}

.image-container {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.trust-badge {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    right: 20px;
    bottom: -20px;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

.trust-badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.services-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.featured-service {
    background-color: rgba(220, 53, 69, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.featured-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.stats-summary {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-item {
    margin-bottom: 15px;
}

.stats-item:last-child {
    margin-bottom: 0;
}

.stats-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stats-number span {
    font-size: 1rem;
}

.services-subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.service-card:hover::before {
    width: 6px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.why-choose-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.why-choose-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(220, 53, 69, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transition: var(--transition);
    z-index: -1;
}

.why-choose-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-card:hover::before {
    height: 100%;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-choose-card:hover .why-choose-icon {
    background-color: var(--primary-color);
}

.why-choose-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.why-choose-card:hover .why-choose-icon i {
    color: var(--white);
}

.why-choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-choose-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.testimonials-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(220, 53, 69, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(220, 53, 69, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,117.3C960,96,1056,96,1152,122.7C1248,149,1344,203,1392,229.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.cta-container {
    padding: 0 15px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-container p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Insights/Blog Section */
.insights-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.insights-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.blog-category {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-gray);
    transition: var(--transition);
}

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

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-author {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Footer Styles */
.modern-footer {
    background: var(--dark-gray);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0.6rem 1.2rem;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    border: none;
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title, 
    .welcome-title, 
    .cdrdb-title, 
    .services-title, 
    .why-choose-title, 
    .testimonials-title, 
    .insights-title {
        font-size: 1.8rem;
    }
    
    .stats-cards-container {
        margin-top: 50px;
    }
    
    .feature-item {
        margin-bottom: 20px;
    }
    
    .trust-badge {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-cards-container {
        margin-top: 30px;
    }
    
    .featured-service {
        padding: 20px;
    }
    
    .stats-summary {
        margin-top: 20px;
    }
    
    .cta-container h2 {
        font-size: 1.8rem;
    }
}

.feature-graphic {
    position: relative;
    height: 350px;
    background-color: rgba(220, 53, 69, 0.05);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feature-graphic-shape {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    top: -50px;
    right: -50px;
    transform: rotate(25deg);
}

.shape-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    opacity: 0.07;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    top: 70px;
    right: 90px;
    transform: rotate(-15deg);
    opacity: 0.05;
}

.feature-graphic-icon {
    font-size: 5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    animation: pulse 3s infinite;
}

.blog-graphic {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8) 0%, rgba(154, 28, 39, 0.9) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.blog-graphic::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(-25deg);
    top: -20px;
    left: -25%;
}

.blog-graphic::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    bottom: -20px;
    right: -25%;
}

.blog-graphic-icon {
    font-size: 3.5rem;
    color: var(--white);
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Team Member Styles */
.team-member-graphic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
}

.team-member-initials {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-position {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.team-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Vehicle Category Styling */
.vehicle-category {
    background-color: var(--white);
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

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

.vehicle-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.vehicle-card-header {
    background-color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vehicle-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    font-size: 1.5rem;
}

.vehicle-card-body {
    padding: 20px;
}

.vehicle-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.vehicle-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

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

.vehicle-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Stat Cards */
.stat-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Navbar and dropdown fixes */
.dropdown-menu {
    z-index: 1100 !important;
    position: absolute;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.navbar {
    position: relative;
    z-index: 1030;
}

.navbar .dropdown {
    position: static;
}

.navbar .dropdown-toggle {
    position: relative;
    z-index: 1050;
}

/* Hero section adjustments */
.modern-hero {
    position: relative;
    z-index: 1;
} 