/* Style Customizations for ExcelVBS Redesign */

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

:root {
    --primary-red: #E61C24;
    --dark-blue: #0F1B29;
    --deep-navy: #1A2E40;
    --accent-gold: #FFB400;
}

/* Custom Utilities & Brand Classes */
.text-danger {
    color: var(--primary-red) !important;
}
.btn-danger {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    transition: all 0.3s ease;
}
.btn-danger:hover {
    background-color: #c5141b !important;
    border-color: #c5141b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 28, 36, 0.3);
}

.btn-outline-danger {
    color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    transition: all 0.3s ease;
}
.btn-outline-danger:hover {
    background-color: var(--primary-red) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Navbar */
.navbar-nav .nav-link {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #555;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    background-color: #FFFFFF;
    padding: 0;
    min-height: calc(100vh - 76px);
    height: calc(100vh - 76px);
    position: relative;
    display: flex;
    align-items: stretch;
}
.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--dark-blue);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
}

/* Stats Row */
.stats-banner {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: -40px;
    background-color: white;
    z-index: 10;
    position: relative;
}
.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Header */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}
.section-title-wrapper .subtitle {
    text-transform: uppercase;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}
.section-title-wrapper .title {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--dark-blue);
}

/* Card Design */
.theme-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
}
.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.theme-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.theme-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.theme-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}
.theme-card .card-body {
    padding: 24px;
}
.theme-card .card-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

/* Testimonial slider / dots */
.testimonial-card {
    border: none;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.quote-icon {
    font-size: 3rem;
    color: rgba(230, 28, 36, 0.15);
    line-height: 1;
}

/* Dark Stats Section */
.dark-stats-section {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0;
}
.dark-stats-section .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Footer link hovers */
.hover-light:hover {
    color: white !important;
    padding-left: 4px;
    transition: all 0.2s ease;
}
footer hr {
    opacity: 0.1;
}

/* Blog list item */
.blog-list-item {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
}
.blog-list-item img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}
.blog-list-item h6 {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 4px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Back-to-top button or custom visual decoration */
.decor-line {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 12px auto;
    border-radius: 2px;
}

/* Gallery Hover Grid */
.gallery-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-grid-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 28, 36, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}
