/* General Styling */
:root {
    --primary-color: #52115c; /* Deep Purple */
    --primary-dark: #41004a; /* Darker Purple */
    --secondary-color: #52115c; /* Lighter Purple/Pink */
    --accent-color: #ffc107; /* Gold/Yellow for highlights */
    --light-bg: #f8f9fa; /* Light grey background */
    --dark-text: #333;
    --light-text: #fff;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Display", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-primary-dark {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--light-text) !important;
}

.text-white-link {
    color: var(--light-text);
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.mt-3 {
    margin-top: 30px;
}
/* Add to your style.css */

.logo img {
    height: 82px; /* Adjust as needed for your logo's height */
    width: auto; /* Maintain aspect ratio */
    transition: height 0.3s ease; /* Smooth transition for scrolled state */
}

/* Adjust header scrolled state for logo */
#main-header.scrolled .logo img {
    height: 30px; /* Smaller height when scrolled, adjust as needed */
}

/* If your logo is very wide, you might want to constrain its width */
/* .logo img {
    max-width: 150px; 
    height: auto;
} */
/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5em;
    font-weight: 700;
}

h2 {
    font-size: 2.8em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    font-weight: 500;
}

.section-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.5em;
    font-weight: 400;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.hero-content .sub-headline {
    font-size: 1.8em;
    color: var(--light-text);
    margin-bottom: 20px;
}

.intro-text, .outro-text {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 30px;
    /* max-width: 800px; */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.outro-text {margin-top: 30px;}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: var(--transition-speed);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-hero {
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-hero:hover {
    background-color: #ffdd4c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Header */
#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color var(--transition-speed), padding var(--transition-speed);
}

#main-header.scrolled {
    padding: 10px 0;
    background-color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#main-header.scrolled .logo a {
    color: var(--light-text);
}

#main-header.scrolled .main-nav ul li a {
    color: var(--light-text);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width var(--transition-speed);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    background-size: cover;
}

.hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    background-size: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: 70px;
}

.hero-content h1 {
    color: var(--light-text);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
    padding-bottom: 20px; /* Padding for text below image */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 250px; /* Fixed height for image consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    color: var(--primary-dark);
    margin-bottom: 10px;
    padding: 0 15px;
}

.service-card p {
    font-size: 1em;
    color: #555;
    padding: 0 15px;
}

/* Why Choose Us Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.why-choose-item {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.why-choose-item .icon-large {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-choose-item h3 {
    font-size: 1.4em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.why-choose-item p {
    color: #666;
    font-size: 1em;
}

/* Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    overflow: hidden; /* Shows only one card */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-item {
    flex: 0 0 100%; /* Each item takes full viewport width */
    min-width: 0;
    padding: 30px;
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.testimonial-item .quote {
    font-size: 1.15em;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.6;
    white-space: normal;    /* Allow line breaks */
    word-wrap: break-word;  /* Break long words if needed */
    overflow-wrap: break-word; /* Modern equivalent */
}

.testimonial-item .client-info {
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.testimonial-nav .dot.active {
    background-color: var(--primary-color);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-item {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    transition: color var(--transition-speed), background-color var(--transition-speed);
}

.video-thumbnail:hover .play-icon {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.7);
}

.video-item p {
    padding: 15px;
    font-weight: 500;
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 50px auto 30px auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1.1em;
    transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.contact-form textarea {
    grid-column: 1 / -1; /* Make textarea span full width */
    resize: vertical; /* Allow vertical resizing */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-form select option {color: black;}
.contact-form button {
    grid-column: 1 / -1;
    width: auto;
    margin: 0 auto;
}

#loadingText {
    display: none;
    text-align: center;
    color: white;
}
#smsg{
    display: none;
    text-align: center;
    color: white;
}
#ermsg{
    display: none;
    text-align: center;
    color: white;
}

/* Social Links */
.social-links {
    margin-top: 20px;
}

.social-icon {
    color: var(--light-text);
    font-size: 1.8em;
    margin: 0 15px;
    transition: color var(--transition-speed);
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #222;
    color: #bbb;
    padding: 20px 0;
    font-size: 0.9em;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav ul {
        display: none; /* Hide nav links on smaller screens */
    }

    .header-content {
        justify-content: center; /* Center logo and button when nav is hidden */
    }
    .header-content .btn-primary {
        margin-left: 20px; /* Space between logo and button */
    }

    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2.2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .section-subtitle {
        font-size: 1.2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-form {
        grid-template-columns: 1fr; /* Stack inputs on mobile */
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 1em;
    }

    .hero-content {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .main-nav ul li {
        margin-left: 15px;
    }

    .logo a {
        font-size: 1.5em;
    }
}

/* Basic Testimonial Carousel JavaScript Control (Needs a proper library for full features) */
.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-item {
    min-width: 100%; /* Important for horizontal layout */
    box-sizing: border-box; /* Include padding/border in width */
}

.pgtwo{ margin-top: 100px;} 
