/* style.css */

/* --- Root Variables for Colors --- */
:root {
    --primary-purple: #c31756; /* A shade of BlueViolet, seems close to the image */
    --light-purple: #E0BBE4; /* Lighter shade for backgrounds/accents */
    --text-dark: #333;
    --text-muted: #666;
    --white: #fff;
    --light-bg: #f8f8f8;
    --card-bg: #fcfcfc;
    --border-light: #eee;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* --- General Body & Typography --- */
body {
    font-family: 'Open Sans', sans-serif; /* Default sans-serif font */
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Default serif font for general headings */
    color: var(--text-dark);
}

.site_logo {
    height: 91px;
    background: #fff;
    border-radius: 17px;
    padding: 4px;
    box-shadow: 1px 1px 8px 2px #9C27B0;
}

/* --- Section Titles (Script Font) --- */
.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--primary-purple);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: normal;
    line-height: 0.5;
}

/* --- Header & Hero Section --- */
.hero-section {
    background-image: url('https://demo2.kodemart.com/tools/advanceimageconverter/v1.1/output/resized-slider.jpg-16ed.webp'); /* REPLACE WITH YOUR HIGH-RES HERO IMAGE */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    padding: 120px 0 60px; /* Padding for content, accounting for fixed navbar */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Slightly darken background for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    padding: 20px; /* Add some padding on smaller screens */
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive font size */
    line-height: 1.2;
    margin-bottom: 20px;
    color:#fff;
}

.custom-button {
    border-radius: 50px; /* More rounded */
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease-in-out;
    background-color: transparent; /* Ensure transparent background */
}

.custom-button:hover {
    background-color: var(--white);
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* --- Navbar Customization --- */
.navbar {
    background-color: var(--primary-purple); /* Semi-transparent background */
    padding: 15px 0;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(5px); /* Optional: Frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    z-index: 1030; /* Ensure navbar is above other content */
}

.navbar-brand {
    font-family: 'Great Vibes', cursive; /* Custom font for logo */
    font-size: 2.5rem; /* Larger font size for logo */
    color: var(--white) !important; /* Force white color */
    text-decoration: none;
    transition: color 0.3s ease;
}
.navbar-brand:hover {
    color: var(--light-purple) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light-purple) !important; /* Highlight on hover/active */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-purple);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}


/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--white);
    padding-bottom: 70px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 40px !important; /* Override Bootstrap default padding */
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 0 0 5px rgba(138, 43, 226, 0.2); /* Soft purple glow */
}

.testimonial-stars .fa-star {
    color: #FFD700; /* Gold color for stars */
    margin: 0 2px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-designation {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-gallery {
    margin-top: 40px;
}

.testimonial-small-img {
    border-radius: 8px !important;
    object-fit: cover;
    width: 100%;
    height: 100px; /* Fixed height for consistency */
    border: 2px solid var(--border-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-small-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-purple);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- About Us Section --- */
.about-section {
    background-color: var(--light-bg);
}

.about-intro {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 25px !important;
}

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}


/* --- Services Section --- */
.services-section {
    background-color: var(--white);
}

.service-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
    min-height: 250px; /* Ensure consistent height for boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* For potential future link */
    color: inherit;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--primary-purple);
    transform: translateY(-5px); /* Subtle lift on hover */
    background-color: var(--light-purple); /* Background change on hover */
    color: var(--white) !important;
}

.service-box:hover .custom-icon {
    color: var(--white); /* Icon color change on hover */
}
.service-box:hover .service-title {
    color: var(--white); /* Title color change on hover */
}
.service-box:hover .service-description {
    color: var(--white); /* Description color change on hover */
}

.custom-icon {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 3.5rem;
    transition: color 0.4s ease;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
    transition: color 0.4s ease;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.4s ease;
}

/* --- New Animated Gallery Section --- */
.animated-gallery-section {
    background-color: var(--light-bg);
}

.gallery-item {
    overflow: hidden; /* Ensure rounded corners */
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 250px; /* Fixed height for consistency in gallery items */
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
    border-radius: 12px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* --- Contact Us Section --- */
.contact-section {
    background-color: var(--light-bg);
}

.contact-form-container {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    padding: 50px !important;
}

.custom-input {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.custom-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.2); /* Light purple shadow on focus */
    outline: none;
}

.custom-submit-button {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    border-radius: 50px;
    padding: 12px 45px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

.custom-submit-button:hover {
    background-color: #7121b6; /* Slightly darker purple on hover */
    border-color: #7121b6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
    padding-bottom: 20px;
}

.footer-logo-font {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem; /* Larger logo in footer */
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-logo-font:hover {
    color: #7121b6;
}

.social-icons a {
    color: var(--primary-purple);
    margin: 0 12px; /* Increased margin for better spacing */
    font-size: 1.3rem; /* Larger social icons */
    transition: transform 0.2s ease-in-out, color 0.3s ease;
}

.social-icons a:hover {
    color: #7121b6;
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 25px;
}

/* --- Animate On Scroll Styles --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform; /* Optimize for animation */
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for staggered animations */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; } /* Add more if needed */


/**** other page ******/
/* Styles for the specific 'About Us' page */
.other-page .page-hero-section {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 147px;
    padding-bottom: 33px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 6px 7px 0px #00000030;
}

.other-page .page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 50%);
    z-index: 1;
}

.other-page .page-hero-section .container {
    position: relative;
    z-index: 2; /* Ensures text is above the overlay */
}

.other-page .page-hero-section h1 {
    font-size: 3em; /* Larger heading */
    margin-bottom: 15px;
}

/* Adjust main content padding to not overlap with the hero section */
.other-page .content-section {
    padding-top: 50px; /* Or more, as needed */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .service-box {
        min-height: auto; /* Allow height to adjust on smaller screens */
        padding: 25px !important;
    }
    .contact-form-container {
        padding: 30px !important;
    }
    .navbar-brand {
        font-size: 2rem;
    }
    .navbar-nav .nav-link {
        margin-left: 0;
        text-align: center;
        padding: 8px 0;
    }
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.7); /* Darker background for collapsed menu */
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px 0;
    }
    .gallery-item img {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .custom-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .testimonial-card {
        padding: 30px !important;
    }
    .testimonial-text {
        font-size: 1rem;
    }
    .testimonial-small-img {
        height: 80px;
    }
    .about-intro {
        font-size: 1.2rem;
    }
    .custom-submit-button {
        padding: 10px 30px;
        font-size: 0.95rem;
    }
    .footer-logo-font {
        font-size: 2.2rem;
    }
    .social-icons a {
        font-size: 1.1rem;
    }
    .gallery-item img {
        height: 180px; /* Further adjust height for very small screens */
    }
}