:root {
    --primary-purple: #6b21a8;
    --primary-gold: #eab308;
    --light-purple: #a78bfa;
    --dark-purple: #581c87;
    --light-gold: #fde68a;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.bg-primary-purple {
    background-color: var(--primary-purple);
}

.bg-primary-gold {
    background-color: var(--primary-gold);
}

.text-primary-purple {
    color: var(--primary-purple);
}

.text-primary-gold {
    color: var(--primary-gold);
}

.border-primary-purple {
    border-color: var(--primary-purple);
}

.border-primary-gold {
    border-color: var(--primary-gold);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.sticky-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.service-icon {
    transition: all 0.3s ease;
    background-color: rgba(107, 33, 168, 0.1);
}

.service-card:hover .service-icon {
    background-color: var(--primary-purple);
    color: white;
}

/* Added for continuous page layout */
@media print {
    body {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .page-break {
        display: none;
    }
}

/* Custom testimonial slider */
.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

/* Hero Section Background */
#home {
    position: relative; /* Needed for the overlay */
    background-image: url('../img/home_img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; /* Adjust text color for better contrast if needed */
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay (adjust opacity as needed) */
    z-index: 0; /* Place overlay behind content */
}

/* Ensure content is above the overlay */
#home .container {
    position: relative;
    z-index: 1;
}

/* Adjust text colors within the hero section for readability on the overlay */
#home h1,
#home p {
    color: white; /* Make main text white */
}

#home .text-primary-purple {
    color: var(--primary-gold); /* Change purple text to gold for better contrast */
}

#home .text-gray-600 {
    color: #e5e7eb; /* Lighten gray text */
}

#home .bg-white {
    background-color: rgba(255, 255, 255, 0.9); /* Make CQC box slightly transparent */
}

#home .text-gray-700 {
    color: #374151; /* Keep text inside CQC box dark */
}

#home .text-primary-purple.font-bold {
    color: var(--primary-purple); /* Keep CQC text purple */
}

/* Adjust button styles for contrast */
#home a.bg-primary-purple {
    background-color: var(--primary-gold);
    color: var(--dark-purple);
}
#home a.bg-primary-purple:hover {
    background-color: var(--light-gold);
}

#home a.border-primary-gold {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-gold);
    color: var(--primary-purple);
}
#home a.border-primary-gold:hover {
    background-color: var(--primary-gold);
    color: white;
}

/* Ensure wave divider is visible */
#home .fill-white {
    fill: #f9fafb; /* Match body background color */
}