/* General Styles */
:root {
    --primary-red: #c00000;
    --dark-charcoal: #212121;
    --accent-orange: #FF9800;
    --light-red-bg: #FEE2E2;
    --light-grey-bg: #F8FAFC;
    --background-white: #FFFFFF;
    --text-color: #424242;
    --heading-color: var(--dark-charcoal);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#preloader.fade-out {
    opacity: 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-grey-bg);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-white);
    padding-top: 122px; /* For fixed navbar */
}

#top-bar {
    border-bottom: 1px solid #e9ecef;
}

#top-bar a {
    transition: color 0.3s ease;
}

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

section {
    padding: 80px 0;
}

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

.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: var(--light-red-bg);
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-pill i {
    margin-right: 8px;
}

/* Header */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    background: var(--background-white);
}

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

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-left: 5px;
    padding: 8px 18px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-color: var(--background-white);
    padding-top: 100px;
}

.hero-section h1 {
    font-size: 3.8rem;
    line-height: 1.2;
}

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

.btn-primary:hover {
    background-color: #a00000;
    border-color: #a00000;
}

.btn-outline-secondary {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-secondary:hover {
    background-color: var(--primary-red);
    color: #fff;
}

.hero-section .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin-top: 15px;
}

.hero-section .btn i {
    margin-right: 8px;
}

.hero-image-placeholder img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* Services Section */
.services-section {
    background-color: var(--light-grey-bg);
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    height: 100%;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-right: 20px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--dark-charcoal);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

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

.approach-image-placeholder img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 100%;
}

.approach-content {
    padding-left: 40px;
}

.approach-content ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.approach-content ul .card-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

/* Experience Section */
.experience-section {
    background-color: var(--light-grey-bg);
}

.experience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    border-radius: 20px;
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(45deg, var(--accent-orange), var(--primary-red));
    box-shadow: 0 10px 20px rgba(192, 0, 0, 0.25);
}

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

.quality-item {
    text-align: center;
}

.quality-item .card-icon {
    margin: 0 auto 20px;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-grey-bg);
    padding: 60px 0;
}

/* Footer */
.footer {
    background-color: var(--dark-charcoal);
    color: #A0AEC0;
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 4px solid var(--primary-red);
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer .footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
}

.footer .footer-link {
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer .footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

.footer ul i {
    color: #A0AEC0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

.footer-link-alt {
    color: #A0AEC0;
    text-decoration: none;
    font-weight: 500;
}

.footer-link-alt:hover {
    color: #fff;
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #b57272;
    /* background-color: rgba(255, 255, 255, 0.1); */
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(192, 0, 0, 0.4);
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background-color: var(--dark-charcoal);
    text-align: center;
    color: #fff;
    position: relative;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    font-size: 3.5rem;
}

.page-header .lead {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 10px auto 0;
}

/* Our Story Section */
.our-story-section {
    background-color: var(--background-white);
}

.our-story-section img {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* CEO Message Section */
.ceo-message-section {
    background-color: var(--light-grey-bg);
}

.ceo-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid #fff;
}

.ceo-quote {
    position: relative;
    padding-left: 40px;
}

.ceo-quote .bi-quote {
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 0;
}

.ceo-quote h3 {
    font-weight: 500;
    font-style: italic;
    margin-bottom: 15px;
}

.ceo-name {
    margin-top: 20px;
    font-style: italic;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--background-white);
}

.why-choose-us-section img {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-choose-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.why-choose-list i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

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

.principle-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.principle-card .card-icon {
    margin: 0 auto 20px;
}

/* Team Section */
.team-section {
    background-color: var(--light-grey-bg);
}

.team-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

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

.team-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.team-info {
    padding: 20px 20px;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-title {
    color: var(--primary-red);
    font-weight: 600;
    /* margin-bottom: 15px; */
}

.team-social a {
    color: var(--dark-charcoal);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-red);
}

/* Service Detail Section */
.service-detail-section {
    padding: 100px 0;
}

.service-detail-section.bg-light {
    background-color: var(--light-grey-bg);
}

.service-detail-section img {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-detail-section h2 {
    margin-bottom: 20px;
}

.service-detail-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.service-detail-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-detail-section ul li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Portfolio Page V2 */
.stats-section {
    background-color: var(--background-white);
    padding: 60px 0;
    border-bottom: 1px solid #E2E8F0;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.portfolio-section {
    background-color: var(--light-grey-bg);
}

.portfolio-filters {
    margin-bottom: 40px;
}

.portfolio-filters .btn {
    margin: 5px;
}

.portfolio-card-v2 {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
}

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

.portfolio-card-v2 .card-img-top {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
}

.portfolio-card-v2 .card-body {
    padding: 25px;
}

.portfolio-card-v2 .card-tags {
    margin-bottom: 15px;
}

.portfolio-card-v2 .card-tags .tag {
    background-color: var(--light-grey-bg);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-card-v2 .card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.portfolio-card-v2 .card-text {
    color: var(--text-color);
    font-size: 0.95rem;
}

.portfolio-card-v2 .card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.portfolio-card-v2 .card-footer-custom a {
    color: var(--primary-red);
    font-size: 1.8rem;
}

/* Featured Case Study */
.featured-case-study-section {
    background-color: var(--background-white);
}

/* Our Clients Section */
.our-clients-section {
    background-color: var(--light-grey-bg);
}

.client-list {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
}

.client-list h4 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.client-list ul {
    list-style: none;
    padding-left: 0;
}

.client-list ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.client-list ul li::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-red);
    font-weight: bold;
}

.case-study-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonial-section {
    background-color: var(--light-grey-bg);
}

.testimonial-card {
    background-color: var(--background-white);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h5 {
    font-weight: 700;
    margin-bottom: 0;
}

.testimonial-card h6 {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Contact Page V2 */
.page-header-text {
    padding: 60px 0;
    background-color: var(--background-white);
}

.contact-page-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.contact-details-wrapper h2 {
    margin-bottom: 20px;
}

.contact-details-wrapper .contact-details li {
    align-items: center;
}

.contact-form-wrapper {
    background-color: var(--light-grey-bg);
}

.form-select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

.how-we-can-help-section {
    background-color: var(--light-grey-bg);
}

.visit-office-section {
    background-color: var(--background-white);
}

.office-info-wrapper {
    padding-left: 30px;
}

.office-hours {
    background-color: var(--light-grey-bg);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.office-hours-header {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
}

.office-hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.office-hours-row span:last-child {
    font-weight: 600;
}

.urgent-assistance-section {
    background-color: var(--light-grey-bg);
    color: var(--heading-color);
}

.urgent-assistance-section h2 {
    color: var(--heading-color);
}

.urgent-assistance-section .lead {
    color: rgba(5, 5, 5, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.urgent-assistance-section .btn-light {
    background-color: #fff;
    color: var(--dark-charcoal);
    border-color: #fff;
}

.urgent-assistance-section .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.urgent-assistance-section .btn-outline-light:hover {
    background-color: #fff;
    color: var(--dark-charcoal);
}

/* Contact Page (Old - to be removed) */
.contact-section {
    background-color: var(--light-grey-bg);
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    height: 100%;
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(192, 0, 0, 0.1);
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--light-grey-bg);
    /* margin-right: 20px; */
    margin-top: 5px;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

#disclaimer-container {
    background-color: #951704;
    border-radius: 40px;
    padding: 5px 10px;
    color: #fff;   
}

#disclaimer-container .copyright-text {
    color: #d6d6d6;
}

ul#contact-list li {
    display: flex;
    margin-bottom: 10px;
}