:root {
    --primary-color: #A03D3D; /* From your logo */
    --secondary-color: #4A4A4A; /* Darker grey for text/accents */
    --light-bg: #F8F9FA;
    --dark-bg: #212529; /* Darker Bootstrap default */
    --text-color: #343A40;
    --light-text: #E9ECEF;
    --grey-hover: #6C757D;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

/* Reusable Section Title Styling */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    bottom: 0;
    left: calc(50% - 40px);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
}

.navbar-brand img {
    height: 55px; /* Adjust as needed */
    margin-right: 10px;
}

.navbar-brand span {
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('back.avif') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

#hero p {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.hero-btn:hover {
    background-color: #8a3333; /* Slightly darker primary */
    border-color: #8a3333;
    transform: translateY(-3px);
    color: white; /* Keep text white on hover */
}

/* Floating Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: block;
}

.scroll-down i {
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* About Section */
#about .about-img {
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

#about .about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

#about .about-img:hover img {
    transform: scale(1.05);
}

#about .content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#about .content p {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

#about .content ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

#about .content ul li {
    padding-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-color);
}

#about .content ul i {
    font-size: 1.4rem;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Features Section */
#features {
    background-color: var(--light-bg);
}

.feature-item {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%; /* Ensure equal height */
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
    line-height: 1;
}

.feature-item h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-item p {
    font-size: 1rem;
    color: var(--grey-hover);
}

/* Services Section (Redesigned) */
#services .service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

#services .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

#services .service-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.6s ease;
}

#services .service-card:hover .service-card-img {
    transform: scale(1.05);
}

#services .card-body {
    padding: 30px;
    text-align: center;
}

#services .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

#services .card-text {
    color: var(--secondary-color);
    font-size: 1.05rem;
}

/* Global Presence/Locations Section */
#locations {
    background-color: var(--light-bg);
}

.location-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
}

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

.location-card h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.location-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.location-card ul li {
    padding-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.location-card ul i {
    font-size: 1.4rem;
    margin-right: 12px;
    color: var(--primary-color);
}

.location-card .map-embed {
    height: 300px;
    width: 100%;
    border: none;
    border-radius: 8px;
    filter: grayscale(80%); /* Sober map style */
    transition: filter 0.3s ease;
}

.location-card:hover .map-embed {
    filter: grayscale(0%);
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x600/6C757D/FFFFFF?text=Diamond+Background') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    position: relative;
}

#testimonials .section-title h2 {
    color: white;
}
#testimonials .section-title h2::after {
    background: var(--primary-color);
}

.testimonial-item {
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 0 15px; /* Spacing for carousel items */
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.testimonial-item .client-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-item .client-title {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Contact Section */
#contact {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding-bottom: 80px; /* Adjust as needed */
}

#contact .section-title h2 {
    color: var(--light-text);
}
#contact .section-title h2::after {
    background: var(--primary-color);
}

#contact .info-item {
    text-align: center;
    margin-bottom: 30px;
}

#contact .info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

#contact .info-item h4 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

#contact .info-item p {
    font-size: 1.1rem;
    color: var(--light-text);
}

.contact-form .form-control {
    background-color: #343A40;
    border: 1px solid #555;
    color: var(--light-text);
    padding: 12px 15px;
    font-size: 1.1rem;
}

.contact-form .form-control::placeholder {
    color: #bbb;
}

.contact-form .form-control:focus {
    background-color: #495057;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), .25); /* Not directly supported by css var, use rgba(160, 61, 61, 0.25) */
    box-shadow: 0 0 0 0.25rem rgba(160, 61, 61, 0.25); /* Direct rgba value */
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #8a3333;
    border-color: #8a3333;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 30px 0 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

footer .social-links a {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin: 0 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
    color: var(--light-text);
    transform: translateY(-3px);
}

footer p {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #ccc;
}