body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333;
}

/* Navbar */
.navbar {
    background-color: rgba(43, 14, 85, 0.95) !important; /* Darker purple, slightly transparent */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.navbar-brand {
    color: #ffffff !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: #ffd700 !important; /* Gold on hover */
}

/* Hero Section */
.hero-section {
    height: 90vh; /* Make it a bit taller */
    background: linear-gradient(rgba(43, 14, 85, 0.85), rgba(214, 30, 30, 0.7)),
                url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden; /* For animation */
}
.hero-section h1 {
    font-size: 3.8rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-section p.lead {
    font-size: 1.5rem;
    margin-top: 15px;
}

/* General button styling */
.btn-primary {
    background-color: #6a1b9a; /* Main purple from card */
    border-color: #6a1b9a;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px; /* Rounded buttons */
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #4a148c; /* Darker purple on hover */
    border-color: #4a148c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.btn-outline-dark {
    border-color: #333;
    color: #333;
    transition: all 0.3s ease;
}
.btn-outline-dark:hover {
    background-color: #333;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Section Headings */
h2 {
    font-size: 2.8rem;
    color: #2b0e55; /* Dark purple for headings */
}
.underline {
    width: 90px;
    height: 5px;
    background-color: #d61e1e; /* Red accent from card */
    margin-top: 15px;
    border-radius: 5px;
}
.bg-dark .underline {
    background-color: #ffd700; /* Gold for dark background */
}

/* About Us Section */
#about img {
    max-height: 400px;
    object-fit: cover;
}

/* Services Section */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25) !important;
}
.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    filter: brightness(0.9);
}
.service-icon {
    font-size: 3.5rem;
    color: #6a1b9a; /* Purple icon */
    margin-bottom: 15px;
}

/* Glassmorphism Effect */
.glassmorphism-card {
    background: rgba(255, 255, 255, 0.2); /* White with transparency */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.bg-dark .glassmorphism-card {
    background: rgba(255, 255, 255, 0.05); /* Lighter transparency for dark background */
    border-color: rgba(255, 255, 255, 0.1);
}
.bg-dark .glassmorphism-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Why Choose Us Section */
#why-us .glassmorphism-card i {
    color: #d61e1e !important; /* Red accent for icons */
    font-size: 4rem;
}
#why-us .glassmorphism-card h5 {
    color: #ffffff;
}
/* This targets paragraphs inside glass cards specifically within the Why Choose Us section */
#why-us .glassmorphism-card p {
    color: #ffffff !important;
    opacity: 0.9; /* Optional: adds a slight professional softness so it's not piercing white */
}

/* Testimonials Section */
.testimonial-card {
    max-width: 700px;
    margin: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7); /* Lighter glassmorphism for bg-light */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-card p.lead {
    font-size: 1.15rem;
    color: #555;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1); /* Make icons visible on dark background */
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #d61e1e; /* Red accent for the call button */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}
.floating-call-btn:hover {
    background-color: #a01717;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #2b0e55 !important; /* Dark purple */
}
footer a {
    color: rgba(255,255,255,0.7);
}
footer a:hover {
    color: #ffd700;
}
.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #ffd700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 2rem;
    }
    .floating-call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
/* ===== OUR WORKS GALLERY – FINAL FIX ===== */
/* Container for the image to lock the size */
.img-wrapper {
    width: 100%;
    height: 300px; /* Adjust this height to your preference */
    overflow: hidden;
    border-radius: 12px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    /* This property is crucial: it fills the box without stretching the image */
    object-fit: cover; 
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

/* Hover effect for a premium feel */
.work-card:hover .gallery-img {
    transform: scale(1.1);
}

.work-card {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

/* Custom underline for headings */
.underline {
    width: 70px;
    height: 4px;
    background-color: #d61e1e;
    margin: 10px auto;
    border-radius: 2px;
}