:root {
    --primary-color: #E31E24; /* Fire Safety Red */
    --secondary-color: #111111; /* Dark Black */
    --text-color: #333333; /* Dark Gray */
    --light-bg: #F8F9FA; /* Light Gray Background */
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

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

/* --- Buttons --- */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px; /* Slightly rounded, not full pill */
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #cc1b20;
    border-color: #cc1b20;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
}

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

/* --- Navbar --- */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 14px 0;
    transition: all 0.3s ease-in-out;
}

.navbar .container {
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.navbar-brand i {
    color: var(--primary-color);
}

.brand-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.navbar .brand-text {
    letter-spacing: 0.5px;
    line-height: 1;
}

.navbar-nav {
    gap: 8px;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px !important;
    white-space: nowrap;
}

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

.navbar-toggler {
    border: none;
    color: var(--secondary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 4px;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.btn-quote:hover {
    background-color: #cc1b20;
    color: var(--white) !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.navbar .dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.1em;
}
.navbar .dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
}
.navbar .dropdown-item:hover {
    background-color: rgba(227,30,36,0.08);
    color: var(--primary-color);
}

/* On scroll shrink */
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Responsive tweaks */
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-brand {
        font-size: 22px;
    }
    .navbar-nav {
        gap: 4px;
    }
    .nav-link {
        font-size: 13.5px;
        padding: 8px 10px !important;
    }
    .btn-quote {
        padding: 10px 18px;
        border-radius: 8px;
    }
}
/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very dark uniform overlay for maximum text contrast as per user request */
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-transform: capitalize;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.8); /* Strong shadow for clarity */
}

.hero-title span {
    color: var(--primary-color) !important;
    text-shadow: 0px 4px 15px rgba(227, 30, 36, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    max-width: 600px;
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.8);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(227, 30, 36, 0.15);
    border: 1px solid rgba(227, 30, 36, 0.3);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Fix carousel caption width constraints */
.carousel-caption {
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    text-align: left; /* Ensure alignment works with container */
    z-index: 10 !important; /* Ensure content sits above the dark overlay */
}

/* --- Hero Carousel Controls & Indicators --- */
.carousel-control-prev,
.carousel-control-next {
    width: 8%; /* Slightly wider hit area */
    opacity: 1; /* Always visible */
    z-index: 11;
}

.carousel-control-icon-wrapper {
    width: 55px;
    height: 55px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    position: relative;
    overflow: hidden;
    background-color: transparent; /* Clean start */
}

/* The arrow icon itself */
.carousel-control-icon-wrapper i {
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover State: Wrapper fills with white */
.carousel-control-prev:hover .carousel-control-icon-wrapper,
.carousel-control-next:hover .carousel-control-icon-wrapper {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.1); /* Slight grow */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Hover State: Icon turns primary color and slides */
.carousel-control-prev:hover .carousel-control-icon-wrapper i,
.carousel-control-next:hover .carousel-control-icon-wrapper i {
    color: var(--primary-color);
}

/* Slide animation for arrows */
.carousel-control-prev:hover i {
    transform: translateX(-3px);
}
.carousel-control-next:hover i {
    transform: translateX(3px);
}

/* Indicators */
.carousel-indicators {
    bottom: 40px;
    z-index: 11;
    gap: 10px;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.carousel-indicators button.active {
    width: 35px !important;
    background-color: var(--primary-color) !important;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}

/* --- Section Styling --- */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-dark {
    background-color: var(--secondary-color) !important;
    color: var(--white);
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/header-bg.jpg'); /* Fallback or dynamic */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    background-color: var(--secondary-color); /* Fallback color */
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: var(--white);
    opacity: 0.8;
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    overflow: hidden;
}

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

/* --- About Section Composition --- */
.about-composition {
    padding-bottom: 40px; /* Space for sub image */
    padding-right: 20px;
    margin-top: 20px;
}

.about-img-main-wrapper {
    width: 85%;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-img-sub-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    z-index: 2;
    border: 8px solid #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.about-composition:hover .about-img-sub-wrapper {
    transform: translateY(-10px) scale(1.02);
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    right: 10%; /* Adjust based on main image width */
    background: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}

.about-experience-badge .display-6 {
    line-height: 1;
    margin-bottom: 2px;
    display: block;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Circular variant used in Home About image */
.about-experience-badge.badge-circle {
    width: 110px;
    height: 110px;
    padding: 0;
    border-radius: 50%;
    top: 20px;
    right: 20px;
    background: rgba(227, 30, 36, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.about-experience-badge.badge-circle i {
    font-size: 18px;
}
.about-experience-badge.badge-circle .fw-bold {
    font-size: 22px;
    line-height: 1;
}
.about-experience-badge.badge-circle .small {
    opacity: 0.9;
    letter-spacing: 1px;
}

.about-experience-badge.badge-circle::before,
.about-experience-badge.badge-circle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    animation: pulseBadge 2.8s ease-out infinite;
}
.about-experience-badge.badge-circle::after {
    animation-delay: 1.2s;
    border-color: rgba(255,255,255,0.25);
}

@keyframes pulseBadge {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* About List Styling */
.fa-check-circle.text-primary {
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-color) !important;
    border-radius: 50%;
    padding: 2px; /* Visual spacing if needed, or use box-shadow */
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
    transition: all 0.3s ease;
}

.d-flex:hover .fa-check-circle.text-primary {
    background: var(--primary-color);
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.2);
    transform: rotate(360deg);
}

/* --- Vision & Mission Cards --- */
.mission-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtle pattern background on hover */
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.mission-card:hover::before {
    opacity: 1;
}

.mission-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
}

/* Pulse animation for icon wrapper */
.mission-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    opacity: 0;
    transform: scale(1);
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

.mission-card:hover .mission-icon-wrapper::after {
    transform: scale(1.3);
    opacity: 0;
    animation: ripple 1s infinite;
}

.mission-icon-wrapper i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon-wrapper i {
    color: #ffffff;
    transform: rotateY(180deg);
}

.mission-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #333;
}

.mission-text {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* --- Why Choose Us Section --- */
.section-why-choose-us {
    background-color: #0b0b0b;
    position: relative;
    overflow: hidden;
}

.section-why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(227, 30, 36, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(227, 30, 36, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(227, 30, 36, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.feature-icon-box i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-color);
    border-radius: 50%; /* Shape shift on hover */
    transform: rotate(360deg);
}

.feature-card:hover .feature-icon-box i {
    color: #ffffff;
}

.feature-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Background watermark icon */
.feature-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    transition: all 0.4s ease;
    pointer-events: none;
}

.feature-card:hover .feature-bg-icon {
    transform: rotate(0deg) scale(1.2);
    color: rgba(227, 30, 36, 0.05);
}

/* --- Service & Product Icons --- */
.icon-box {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.1); /* Light red bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.icon-box:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(16px);
    background: #ffffff;
}

.product-card.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out both;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.06);
}

.product-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.06);
}

.product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(227,30,36,0.12) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-thumb::after {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(227,30,36,0.35);
    animation: pulseGlow 2s infinite;
}

.product-title {
    color: #222;
}

.product-text {
    color: #666;
}

.product-actions .btn {
    border-radius: 14px;
    font-weight: 700;
    padding: 10px 8px !important;
    font-size: 12px !important;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    width: 100%;
    min-height: 40px;
    flex: 1 1 0;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.product-actions .btn-outline-dark {
    border-color: rgba(0,0,0,0.15) !important;
    background: #ffffff !important;
    color: #111111 !important;
}

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

.product-actions .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 18px rgba(227,30,36,0.25);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(227,30,36,0.35);
}

.product-actions .btn-outline-dark:hover {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: rgba(0,0,0,0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}

.product-actions .btn-outline-dark i {
    color: inherit;
}

.product-actions .btn-outline-dark:focus,
.product-actions .btn-outline-dark:active {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: rgba(0,0,0,0.35) !important;
    box-shadow: 0 0 0 0.25rem rgba(0,0,0,0.08) !important;
}

.product-actions .btn-enquire {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    padding: 10px 8px !important;
    min-height: 40px !important;
    border-radius: 14px !important;
    width: 100%;
    justify-content: center;
}

.product-actions .btn-enquire:hover,
.product-actions .btn-enquire:focus,
.product-actions .btn-enquire:active {
    background: #ffffff;
    color: #111111 !important;
    border-color: rgba(0,0,0,0.35) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-actions .btn-enquire i {
    color: inherit;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
    width: 100%;
}



.list-group-flush .list-group-item {
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px;
    margin: 6px 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.list-group-flush .list-group-item.text-dark:hover {
    transform: translateY(-2px);
    border-color: rgba(227,30,36,0.35) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    background: #ffffff;
}

.list-group-flush .list-group-item.active {
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(227,30,36,0.25);
}
.product-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(227,30,36,0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(227,30,36,0.25);
}

.products-toolbar .filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    color: #333;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.products-toolbar .filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border-color: rgba(227,30,36,0.35);
}

.products-toolbar .filter-chip.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 22px rgba(227,30,36,0.25);
}

.products-count .text-muted {
    font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
    background: url('../img/hero-bg.jpg') no-repeat center center; /* Fallback or existing image */
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.95) 0%, rgba(200, 20, 25, 0.95) 100%);
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #ffffff;
    font-size: 32px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.btn-cta-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

.btn-cta-primary:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* --- About Page Styles --- */

.page-header {
    background: url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 450px;
    margin-bottom: 0;
    position: relative;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 11, 11, 0.95) 0%, rgba(227, 30, 36, 0.85) 100%);
    z-index: 1;
}

/* Header Wave */
.header-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.header-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Header Shapes Animation */
.header-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
    animation: floatShape 20s infinite linear;
}

.header-shapes .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.header-shapes .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    background: rgba(227, 30, 36, 0.1);
    animation-duration: 30s;
    animation-delay: -5s;
}

.header-shapes .shape-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 30%;
    border-radius: 10px;
    transform: rotate(45deg);
    animation: floatRotate 15s infinite linear;
}

.header-shapes .shape-4 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 20%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    animation-duration: 20s;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes floatRotate {
    0% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-30px) rotate(225deg); }
    100% { transform: translateY(0) rotate(405deg); }
}

.about-image-composition {
    padding-bottom: 50px;
    padding-right: 50px;
}

.about-img-secondary {
    bottom: 0;
    right: 0;
    width: 60%;
}

.experience-badge {
    top: 20px;
    right: 20px;
    width: 140px;
    height: 140px;
    border: 5px solid #fff;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.stats-section {
    background-color: #0b0b0b;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(227, 30, 36, 0.08), transparent 45%);
    z-index: 0;
    pointer-events: none;
    animation: floatShape 28s infinite linear;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -15%;
    width: 50%;
    height: 130%;
    background: radial-gradient(circle at 70% 70%, rgba(227, 30, 36, 0.08), transparent 45%);
    z-index: 0;
    pointer-events: none;
    animation: floatRotate 24s infinite linear;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(227, 30, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(227, 30, 36, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.stats-item {
    position: relative;
    padding: 26px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 1;
}

.stats-item:last-child {
    border-right: none;
}

.stats-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    background: radial-gradient(100px 60px at 20% 20%, rgba(227,30,36,0.15), transparent 60%);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stats-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    border-color: rgba(227, 30, 36, 0.25);
}

.stats-item:hover::before {
    opacity: 1;
}

.stats-icon i {
    color: var(--primary-color);
    text-shadow: 0 6px 22px rgba(227,30,36,0.35);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.stats-item:hover .stats-icon i {
    transform: scale(1.08);
    text-shadow: 0 10px 30px rgba(227,30,36,0.5);
}

.counter {
    display: inline-block;
    position: relative;
    letter-spacing: 1px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.counter::after {
    content: '+';
    margin-left: 2px;
    font-weight: inherit;
    opacity: 0.9;
}

.stats-item.in-view .stats-icon i {
    animation: pulseGlow 2s infinite;
}

.card-box-hover {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 1;
}

.card-box-hover:hover .hover-bg-slide {
    transform: scaleY(1);
}

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

.card-box-hover:hover .icon-wrapper {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
}

.card-box-hover:hover h4,
.card-box-hover:hover p {
    color: #ffffff !important;
}

.card-box-hover {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    opacity: 0;
    transform: translateY(16px);
}

.card-box-hover.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out both;
}

.row .col-md-4:nth-child(2) .card-box-hover.in-view {
    animation-delay: 0.1s;
}

.row .col-md-4:nth-child(3) .card-box-hover.in-view {
    animation-delay: 0.2s;
}

.card-box-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(180deg, rgba(227,30,36,0.06), rgba(227,30,36,0));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card-box-hover:hover::before {
    opacity: 1;
}

.transition-colors {
    transition: color 0.3s ease, transform 0.3s ease;
}

.group:hover .transition-colors {
    transform: translateY(-2px);
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(227, 30, 36, 0.4);
    left: 0;
    top: 0;
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}

.card-box-hover:hover .icon-wrapper::after {
    transform: scale(1.25);
    opacity: 1;
}

.standard-card {
    transition: all 0.4s ease;
    background: #ffffff;
    border-color: #eee !important;
}

.standard-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 30px rgba(227, 30, 36, 0.1);
    transform: translateY(-5px);
}

.standard-card .standard-icon {
    transition: all 0.4s ease;
}

.standard-card:hover .standard-icon {
    transform: scale(1.1) rotate(5deg);
}

.standards-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, var(--light-bg));
}

.standards-section::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(227, 30, 36, 0.06), transparent 45%);
    z-index: 0;
    pointer-events: none;
    animation: floatShape 28s infinite linear;
}

.standards-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 50%;
    height: 130%;
    background: radial-gradient(circle at 70% 70%, rgba(227, 30, 36, 0.06), transparent 45%);
    z-index: 0;
    pointer-events: none;
    animation: floatRotate 24s infinite linear;
}

.standards-section .section-title h2 {
    position: relative;
    display: inline-block;
}

.standards-section .section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.5));
    border-radius: 3px;
    animation: highlightSweep 2.5s ease-in-out infinite;
}

.standard-card {
    opacity: 0;
    transform: translateY(16px);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.standard-card.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out both;
}

.row .col-md-4:nth-child(2) .standard-card.in-view {
    animation-delay: 0.1s;
}

.row .col-md-4:nth-child(3) .standard-card.in-view {
    animation-delay: 0.2s;
}

.standard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
}

.standard-card:hover::before {
    left: 120%;
}

.standard-card .standard-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    left: 0;
    top: 0;
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}

.standard-card:hover .standard-icon::after {
    transform: scale(1.3);
    opacity: 1;
    animation: ripple 1.2s infinite;
}

/* --- Footer --- */
.footer-dark {
    background-color: #0b0b0b;
    color: #b0b0b0;
    font-size: 14px;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.footer-brand i {
    color: var(--primary-color);
}

.footer-title {
    font-size: 1.1rem;
    padding-bottom: 15px;
}

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

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-links i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-contact .icon-box-sm {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
}

.footer-bottom {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive --- */

/* --- Utilities --- */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* --- Hero Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.carousel-item.active .hero-title {
    animation: fadeInDown 1s ease-out both;
}

.carousel-item.active .hero-subtitle {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.carousel-item.active .btn {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.carousel-item.active .text-uppercase.text-warning {
    animation: fadeInDown 1s ease-out 0.2s both;
}

.page-header .animate-title {
    animation: fadeInDown 0.9s ease-out both;
}

.page-header .animate-breadcrumb {
    animation: fadeInUp 0.9s ease-out 0.15s both;
}

.who-section {
    position: relative;
    overflow: hidden;
}

.who-section::before,
.who-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 24s infinite linear;
}

.who-section::before {
    width: 180px;
    height: 180px;
    top: -40px;
    right: -30px;
    background: rgba(227, 30, 36, 0.05);
    animation-duration: 26s;
}

.who-section::after {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -20px;
    border: 2px solid rgba(227, 30, 36, 0.15);
    animation-duration: 18s;
}

.who-kicker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    background-color: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    animation: fadeInDown 0.8s ease-out both;
}

.who-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-out 0.1s both;
}

.who-highlight {
    color: var(--primary-color);
    position: relative;
}

.who-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.5));
    border-radius: 3px;
    animation: highlightSweep 2.5s ease-in-out infinite;
}

@keyframes highlightSweep {
    0%, 100% { transform: scaleX(0.8); opacity: 0.6; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* --- Services Page Enhancements --- */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.info-card .icon-box-sm {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffe5e6; /* Light red bg */
    color: #E31E24; /* Primary Red */
    font-size: 1.25rem;
}
.info-card ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.info-card ul li::before {
    content: "•";
    color: #E31E24;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04) !important;
}
.service-card .card-img-top {
    background-color: #f1f3f5 !important; /* Lighter gray for image placeholder */
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(227, 30, 36, 0.2) !important;
}
.service-card .btn-outline-primary {
    color: #E31E24;
    border-color: #E31E24;
    border-width: 1.5px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}
.service-card .btn-outline-primary:hover {
    background-color: #E31E24;
    border-color: #E31E24;
    color: #fff;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* --- Creative Process & CTA Section --- */
.process-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.process-card .timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.process-card .timeline li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    transition: background-color 0.2s ease;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.process-card .timeline li:last-child {
    border-bottom: none;
}
.process-card .timeline li:hover .timeline-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.2);
}
.timeline-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-top: 6px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-box {
    background: linear-gradient(135deg, #E31E24 0%, #C41217 100%);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+'); /* Subtle dot pattern */
    opacity: 0.3;
}
.cta-box:hover {
    transform: scale(1.02);
}
.cta-box h3, .cta-box p {
    position: relative;
    z-index: 2;
}
.btn-cta {
    background-color: #ffffff;
    color: #000000;
    font-weight: 800;
    padding: 14px 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-cta:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.who-feature {
    padding: 12px 10px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.who-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background-color: rgba(0,0,0,0.02);
}

.who-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.4s ease;
    position: relative;
}

.who-feature:hover .who-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(20deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.25);
}

.who-btn {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(227, 30, 36, 0.35);
}

/* =========================================
   Certifications Page Styles
   ========================================= */
.letter-spacing-2 {
    letter-spacing: 2px;
}

.illustration-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: transform 0.3s ease;
}

.illustration-box:hover {
    transform: translateY(-5px);
}

.transform-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Cert Card */
.cert-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.cert-icon-wrapper {
    width: 100px;
    height: 100px;
    transition: all 0.5s ease;
}

.cert-card:hover .cert-icon-wrapper {
    transform: scale(1.1);
    background-color: var(--primary-color) !important;
    color: white !important;
}

.scale-pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Overlay */
.cert-overlay {
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.transform-up {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.cert-card:hover .transform-up {
    transform: translateY(0);
}

.icon-square {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.icon-square:hover {
    transform: rotate(10deg);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealFade 0.8s ease-out 0.15s forwards;
}

@keyframes revealFade {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-image-composition .shape-dots {
    width: 140px;
    height: 140px;
    top: -20px;
    left: -20px;
    background-image: radial-gradient(rgba(227, 30, 36, 0.25) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.3;
    animation: floatShape 20s infinite linear;
}

.about-image-composition .shape-circle {
    width: 160px;
    height: 160px;
    bottom: -25px;
    right: -25px;
    border-radius: 50%;
    border: 4px solid rgba(227, 30, 36, 0.15);
    animation: floatRotate 20s infinite linear;
}
