:root {
    --bg-color: #2d0000;
    /* Dark Maroon */
    --card-bg: #400000;
    /* Lighter Maroon */
    --text-color: #f0f0f0;
    --text-muted: #d0d0d0;
    --accent-color: #D4AF37;
    /* Revert to Gold */
    --accent-hover: #b5952f;
    --secondary: #2c2c2c;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #000;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Header */
header {
    background: rgba(45, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(45, 0, 0, 0.9), rgba(45, 0, 0, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 100%;
}

.hero-image img {
    border-radius: 50px;
    /* Soft corner radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    max-width: 100%;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

/* About/Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.progress-bar-container {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-bg {
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: var(--accent-color);
    height: 100%;
    border-radius: 4px;
    width: 0;
    /* Animated with JS */
    transition: width 1.5s ease-in-out;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Testimonials */
/* Testimonial Slider */
.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    /* Space for dots */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 0 15px;
    /* Gapping */
}

@media (min-width: 768px) {
    .testimonial-slide {
        min-width: 50%;
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        min-width: 33.333%;
        flex: 0 0 33.333%;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent-color);
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.client-info h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #200000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for mobile initially */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .expertise-grid,
    .contact-wrapper,
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        max-width: 80%;
    }

    .hero-image {
        order: -1;
        margin-bottom: 40px;
        text-align: center;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: #000;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#scrollTopBtn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
}