/* ========================================
   IEPM Website Styles - Red Brand Theme
   Mobile-First Responsive Design
   ======================================== */

/* ===== Root Variables ===== */
:root {
    --primary-red: #CC0000;
    --dark-red: #A00000;
    --light-red: #FFCDD2;
    --dark-gray: #2C2C2C;
    --text-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container adjustments */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.section-title p {
    color: #666;
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark-gray);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.8rem;
    text-align: center;
}

.top-bar-info span {
    margin: 0 10px;
    display: inline-block;
}

.top-bar-info i {
    color: var(--primary-red);
    margin-right: 5px;
}

.top-bar-social {
    margin-top: 5px;
}

.top-bar-social a {
    color: var(--white);
    margin: 0 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--primary-red);
}

/* ===== Navigation ===== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    background: var(--white);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-gray) !important;
    padding: 0.5rem 0.8rem !important;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(rgba(204, 0, 0, 0.9), rgba(204, 0, 0, 0.9));
    background-size: cover;
    background-position: center;
    padding: 80px 0 50px;
    color: white;
    margin-bottom: 0;
}

.page-header h1 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header .page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 400;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--light-red);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
    content: ">";
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
}

.btn-primary {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 75vh;
    min-height: 450px;
    max-height: 600px;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
    color: white;
    padding: 0 15px;
}

.hero-label {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(204, 0, 0, 0.3);
    z-index: -1;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* Slider Navigation */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(204, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-prev {
    left: 10px;
}

.hero-slider-next {
    right: 10px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--primary-red);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Dots Indicators */
.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-slider-dots .dot.active {
    background: var(--primary-red);
    width: 30px;
    border-radius: 10px;
    border: 2px solid white;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary-red);
    color: var(--white);
    padding: 2.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Services Section ===== */
.services-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Project/Portfolio Cards ===== */
.projects-section {
    padding: 3rem 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.15);
    transform: translateY(-8px);
}

.project-card-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    width: 100%;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-card-image img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-progress {
    background: #FFA500 !important;
}

.badge-design {
    background: #2196F3 !important;
}

.project-card-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-card-content h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.project-card-content h3 a:hover {
    color: var(--primary-red);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.project-meta-item i {
    color: var(--primary-red);
    margin-right: 0.5rem;
    font-size: 1rem;
    width: 18px;
}

.project-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid var(--light-gray);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-services {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.project-service-tag {
    background: var(--light-red);
    color: var(--primary-red);
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.project-view-btn {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

.project-view-btn:hover {
    gap: 0.6rem;
}

/* ===== Blog Cards ===== */
.blog-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.12);
    transform: translateY(-6px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #999;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-category {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-case {
    background: #2196F3;
}

.category-industry {
    background: #4CAF50;
}

.category-company {
    background: #FF9800;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--primary-red);
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 0.6rem;
    color: var(--dark-red);
}

/* ===== Blog Post Cards (Blog Page) ===== */
.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.blog-post-card:hover {
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-post-card img {
    transition: var(--transition);
}

.blog-post-card:hover img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.25rem;
}

.blog-post-content .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blog-post-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-post-content h2 a {
    color: var(--dark-gray);
    transition: var(--transition);
}

.blog-post-content h2 a:hover {
    color: var(--primary-red);
}

.blog-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(rgba(204, 0, 0, 0.9), rgba(204, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 3rem 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--light-gray);
    border-color: var(--light-gray);
}

/* ===== Client Logos ===== */
.clients-section {
    padding: 3rem 0;
    background: var(--white);
}

.client-logo {
    text-align: center;
    padding: 0.75rem;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ===== Sidebar Widgets ===== */
.sidebar-widget {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--primary-red);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.6rem;
}

.category-list a {
    color: var(--text-gray);
    text-transform: capitalize;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    padding: 0.4rem 0.3rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.category-list a:hover {
    background: var(--light-gray);
    color: var(--primary-red);
    padding-left: 0.8rem;
}

.category-list span {
    color: #999;
    font-size: 0.8rem;
}

.category-list i {
    margin-right: 0.5rem;
    color: var(--primary-red);
}

.recent-post-item {
    display: flex;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.recent-post-item h5 {
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.recent-post-item h5 a {
    color: var(--dark-gray);
    transition: var(--transition);
}

.recent-post-item h5 a:hover {
    color: var(--primary-red);
}

.post-date {
    font-size: 0.75rem;
    color: #999;
}

.tags-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary-red);
    color: white;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.newsletter-widget .btn-primary {
    background: white;
    color: var(--primary-red);
    border-color: white;
}

.newsletter-widget .btn-primary:hover {
    background: var(--light-gray);
    border-color: var(--light-gray);
}

/* ===== Contact Page ===== */
.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--primary-red);
}

.contact-info-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-info-card a {
    color: var(--text-gray);
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-red);
}

.contact-info-card small {
    color: #999;
    font-size: 0.8rem;
}

.contact-form-wrapper {
    background: white;
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h3 {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    padding: 0.65rem;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.15rem rgba(204, 0, 0, 0.1);
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
    display: block;
}

.quick-inquiry-section {
    background: var(--light-gray);
}

.quick-inquiry-box {
    background: white;
    padding: 1.75rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.quick-inquiry-box h3 {
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

/* ===== About Page ===== */
.strategy-card,
.why-choose-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 1.5rem;
}

.strategy-card:hover,
.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.12);
}

.strategy-icon,
.icon-wrapper {
    width: 55px;
    height: 55px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.strategy-icon i,
.icon-wrapper i {
    font-size: 1.75rem;
    color: var(--primary-red);
}

.why-choose-card {
    text-align: center;
}

.why-choose-card .icon-wrapper {
    margin: 0 auto 1rem;
}

/* ===== Services Page ===== */
.service-detail-section {
    padding: 3rem 0;
}

.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--light-red);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.service-list i {
    font-size: 1.1rem;
    margin-right: 0.6rem;
}

.process-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    margin-bottom: 1.5rem;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.12);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ===== Project Single Page ===== */
.project-header {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.project-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 1.5rem;
}

.project-carousel .carousel-item img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.project-carousel .carousel-control-prev {
    left: 15px;
}

.project-carousel .carousel-control-next {
    right: 15px;
}

.project-carousel .carousel-control-prev:hover,
.project-carousel .carousel-control-next:hover {
    opacity: 1;
    background: var(--dark-red);
}

.project-carousel .carousel-indicators {
    bottom: 15px;
}

.project-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.7;
}

.project-carousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--primary-red);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--primary-red);
}

.project-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.scope-item {
    display: flex;
    margin-bottom: 1rem;
}

.scope-item i {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.challenge-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.challenge-header {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.challenge-header h4 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
}

.challenge-body {
    padding: 1rem;
}

.outcome-card {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 1rem;
}

.outcome-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.1);
}

.outcome-icon {
    width: 55px;
    height: 55px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.outcome-icon i {
    font-size: 1.75rem;
    color: var(--primary-red);
}

.testimonial-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    opacity: 0.25;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.gallery-thumb {
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
}

.project-info-widget,
.services-widget,
.download-widget,
.share-widget,
.cta-widget {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.project-info-list {
    list-style: none;
    padding: 0;
}

.project-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.project-info-list li:last-child {
    border-bottom: none;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-tag i {
    color: var(--primary-red);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    text-align: center;
}

.cta-widget h4 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-widget .btn-primary {
    background: white;
    color: var(--primary-red);
    border-color: white;
}

.cta-widget .btn-primary:hover {
    background: var(--light-gray);
    border-color: var(--light-gray);
}

/* ===== Blog Single Page ===== */
.blog-single {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.article-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.article-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.article-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    font-size: 1.5rem;
}

.article-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--dark-gray);
    font-size: 1.25rem;
}

/* ===== Gallery Page ===== */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(204, 0, 0, 0.95));
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

/* ===== Filter Buttons ===== */
.filter-buttons,
.portfolio-filter,
.blog-filter,
.gallery-filter {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 2px solid #ddd;
    color: var(--text-gray);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--light-gray);
}

.accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accordion-button {
    background: white;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-red);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.25rem;
    background: white;
    color: #666;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===== Pagination ===== */
.pagination .page-link {
    color: var(--text-gray);
    border-color: #ddd;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.pagination .page-link:hover {
    color: var(--primary-red);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-main {
    padding: 3rem 0 1.5rem;
}

.footer-widget-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--primary-red);
}

.footer-widget p {
    color: #ccc;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-right: 8px;
    margin-top: 2px;
}

.footer-contact span {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links li {
    margin-left: 15px;
    margin-top: 5px;
}

.footer-bottom-links a {
    color: #ccc;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-red);
    transform: translateY(-5px);
}

/* ===== Mobile Navigation ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 2px solid var(--light-gray);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.mobile-nav-header .brand-name {
    color: white;
    font-size: 1.4rem;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: white;
    color: var(--primary-red);
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.mobile-nav-list a i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: var(--primary-red);
    width: 22px;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: var(--light-red);
    color: var(--primary-red);
    padding-left: 1.75rem;
    border-left: 4px solid var(--primary-red);
}

.mobile-nav-footer {
    padding: 1.25rem;
    border-top: 2px solid var(--light-gray);
    background: var(--light-gray);
}

.mobile-nav-contact {
    text-align: center;
    margin-top: 1rem;
}

.mobile-nav-contact p {
    margin: 0.4rem 0;
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-nav-contact i {
    color: var(--primary-red);
}

.mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.mobile-nav-social .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
}

.mobile-nav-social .social-icon:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Quote Modal ===== */
.quote-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.quote-modal.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.quote-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.quote-modal.active .quote-modal-content {
    transform: translateX(0);
}

.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light-gray);
    color: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
}

.quote-modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

.quote-modal-header {
    padding: 2.5rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
}

.quote-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.quote-modal-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.9rem;
}

.quote-modal-body {
    padding: 1.75rem;
    flex-grow: 1;
    overflow-y: auto;
}

.quote-modal-body .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.85rem;
}

.quote-modal-body .form-control,
.quote-modal-body .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.6rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.quote-modal-body .form-control:focus,
.quote-modal-body .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.15rem rgba(204, 0, 0, 0.1);
}

.quote-modal-footer {
    padding: 1.25rem 1.75rem;
    background: var(--light-gray);
    border-top: 1px solid #ddd;
}

.quote-modal-footer p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

.quote-modal-footer i {
    color: var(--primary-red);
    margin-right: 0.4rem;
}

/* Scrollbar */
.quote-modal-content::-webkit-scrollbar,
.mobile-nav-menu::-webkit-scrollbar {
    width: 6px;
}

.quote-modal-content::-webkit-scrollbar-track,
.mobile-nav-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.quote-modal-content::-webkit-scrollbar-thumb,
.mobile-nav-menu::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

/* ===== CREATIVE CORE VALUES SECTION ===== */

/* Mission & Vision Cards */
.mission-vision-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.15) !important;
}

.mission-icon,
.vision-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-icon i,
.vision-icon i {
    font-size: 2rem;
    color: white;
}

.mission-statement,
.vision-statement {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Core Values Section */
.core-values-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.value-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.15);
}

.value-letter {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--light-red);
    opacity: 0.3;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.value-card:hover .value-letter {
    opacity: 0.5;
    transform: scale(1.1);
    color: var(--primary-red);
}

.value-content {
    position: relative;
    z-index: 2;
}

.value-content h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.value-content h4::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.value-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.value-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0.6;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.value-card:hover .value-icon {
    background: var(--primary-red);
    transform: scale(1.15) rotate(10deg);
    opacity: 1;
}

.value-card:hover .value-icon i {
    color: white;
}

/* Responsive Adjustments for Values */
@media (max-width: 991px) {
    .value-letter {
        font-size: 4rem;
        top: 5px;
        right: 10px;
    }
    
    .value-content h4 {
        font-size: 1.25rem;
    }
    
    .value-icon {
        width: 45px;
        height: 45px;
    }
    
    .value-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .core-values-section {
        padding: 2rem 1.5rem;
    }
    
    .value-card {
        padding: 1.75rem 1.25rem;
    }
    
    .value-letter {
        font-size: 3.5rem;
    }
    
    .value-content h4 {
        font-size: 1.2rem;
    }
    
    .value-content p {
        font-size: 0.9rem;
    }
    
    .mission-statement,
    .vision-statement {
        font-size: 1.2rem;
    }
    
    .mission-icon,
    .vision-icon {
        width: 50px;
        height: 50px;
    }
    
    .mission-icon i,
    .vision-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .value-letter {
        font-size: 3rem;
        top: 5px;
        right: 10px;
    }
    
    .value-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .value-content h4 {
        font-size: 1.1rem;
    }
    
    .value-icon {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }
    
    .value-icon i {
        font-size: 1.2rem;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-body {
    font-size: 0.95rem;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.page-loader .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-red);
    z-index: 9998;
    transition: width 0.2s ease;
}

/* ===== FORM VALIDATION STATES ===== */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* ===== LOADING BUTTON STATE ===== */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ===== SMOOTH TRANSITIONS ===== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ===== UTILITY CLASSES ===== */
.cursor-pointer {
    cursor: pointer;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   Mobile-First Approach with Progressive Enhancement
   ============================================ */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider {
        height: 85vh;
        min-height: 550px;
        max-height: 750px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 50px;
        height: 50px;
    }
    
    .hero-slider-prev {
        left: 15px;
    }
    
    .hero-slider-next {
        right: 15px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card i {
        font-size: 3rem;
    }
    
    .project-card-image {
        height: 220px;
    }
    
    .blog-card img {
        height: 200px;
    }
    
    .contact-icon {
        width: 65px;
        height: 65px;
    }
    
    .map-wrapper {
        min-height: 500px;
    }
    
    .project-carousel .carousel-item img {
        height: 450px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 650px;
        max-height: 850px;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .hero-buttons .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .hero-slider-prev {
        left: 20px;
    }
    
    .hero-slider-next {
        right: 20px;
    }
    
    .hero-slider-dots .dot {
        width: 12px;
        height: 12px;
    }
    
    .hero-slider-dots .dot.active {
        width: 35px;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .services-section {
        padding: 5rem 0;
    }
    
    .service-card i {
        font-size: 3.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .projects-section {
        padding: 5rem 0;
    }
    
    .project-card-image {
        height: 260px;
    }
    
    /* Portfolio Sidebar Layout */
    .col-lg-8 .project-card-image {
        height: 220px;
    }
    
    .col-lg-8 .project-card-content h3 {
        font-size: 1.2rem;
    }
    
    .col-lg-8 .project-description {
        font-size: 0.9rem;
    }
    
    .blog-section {
        padding: 5rem 0;
    }
    
    .blog-card img {
        height: 220px;
    }
    
    .blog-card h3 {
        font-size: 1.25rem;
    }
    
    .cta-section {
        padding: 5rem 0;
        background-attachment: fixed;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-section p {
        font-size: 1.2rem;
    }
    
    .clients-section {
        padding: 4rem 0;
    }
    
    .client-logo img {
        max-height: 80px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i {
        font-size: 2rem;
    }
    
    .map-wrapper {
        min-height: 600px;
    }
    
    .service-detail-section {
        padding: 5rem 0;
    }
    
    .service-number {
        font-size: 5rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-carousel .carousel-item img {
        height: 500px;
    }
    
    .project-carousel .carousel-control-prev,
    .project-carousel .carousel-control-next {
        width: 60px;
        height: 60px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .footer-main {
        padding: 4rem 0 2rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
    }
    
    .project-card-image {
        height: 280px;
    }
}

/* Show/Hide Mobile Menu Toggle */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-collapse {
        display: none !important;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar-info,
    .top-bar-social {
        justify-content: center;
        margin: 5px 0;
    }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-label {
        font-size: 0.7rem;
    }
    
    .project-card-image {
        height: 160px;
    }
    
    .blog-card img {
        height: 150px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navbar,
    .hero-slider-prev,
    .hero-slider-next,
    .hero-slider-dots,
    .back-to-top,
    .mobile-menu-toggle,
    .mobile-nav-menu,
    .quote-modal,
    .footer {
        display: none !important;
    }
}

/* ========================================
   COOKIE CONSENT BOX
   ======================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.98), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-text h4 i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.cookie-consent-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary-red);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-consent-text a:hover {
    color: #ff3333;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 0.7rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-btn.accept {
    background: var(--primary-red);
    color: white;
}

.cookie-consent-btn.accept:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

.cookie-consent-btn.decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn.decline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-consent-btn.settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn.settings:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.cookie-settings-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    padding-right: 2rem;
}

.cookie-settings-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cookie-settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-settings-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-category h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-red);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #4CAF50;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-category .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    margin-left: 0.5rem;
}

.cookie-settings-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem 0;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-settings-content {
        margin: 1rem;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-footer .btn {
        width: 100%;
    }
}

/* Animation for first load */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Service Main Cards */
.service-main-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.15) !important;
}

.service-card-image {
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

/* Service List Styling */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Process Cards */
.process-card ul {
    list-style: none;
    padding-left: 0;
}

.process-card ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.process-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #CC0000;
    font-weight: bold;
}