:root {
    --primary-color: #4a148c; /* Deep Purple */
    --secondary-color: #ffab00; /* Amber/Gold */
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --white-color: #ffffff;
    --top-bar-bg: #311b92; /* Darker Purple */
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: var(--white-color);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a.social-icon {
    color: var(--white-color);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-bar a.social-icon:hover {
    color: var(--light-color);
}

.language-selector .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
}

.language-selector img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}

.language-selector .dropdown-menu {
    min-width: auto;
}

.language-selector .dropdown-item img {
    margin-right: 8px;
}

/* Header */
.site-header {
    background: var(--white-color);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.logo-header {
    max-height: 50px;
    width: auto;
}

.header-info {
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item strong {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Navigation Bar */
.main-nav-bar {
    background: var(--white-color);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.main-nav-bar .container {
    display: flex;
    justify-content: center; /* Center nav on desktop */
    align-items: center;
}

.main-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.sticky-logo {
    display: none;
}

/* Sticky Navigation */
.main-nav-bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.main-nav-bar.sticky .container {
    justify-content: space-between;
}

.main-nav-bar.sticky .logo-link {
    display: block;
}

.main-nav-bar.sticky .logo-header {
    max-height: 50px;
}



@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Hero Section */
.hero {
    color: var(--white-color);
    height: 80vh;
    text-align: center;
    position: relative;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem; /* Slightly larger heading */
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.15rem; /* Larger subtitle text */
    line-height: 1.8; /* Improved line spacing */
    max-width: 800px; /* Limit width for better readability */
    margin: 0 auto 30px auto; /* Center and add bottom margin */
    color: var(--dark-color);
}

/* About Us Section */
.about-us {
    background-color: var(--light-color); /* Light background for contrast */
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min-width */
    gap: 40px; /* Increased gap */
    text-align: center;
}

.feature-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.feature-item .icon {
    font-size: 3.5rem; /* Larger icon */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.4rem; /* Larger feature title */
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem; /* Standard feature text size */
    line-height: 1.7;
    color: var(--dark-color);
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
}

.contact-form button {
    align-self: center;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, filter 1s ease-in-out;
    filter: blur(5px);
}

.gallery-image.active {
    opacity: 1;
    filter: blur(0);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.is-visible[data-animation="fadeInUp"] {
    animation: fadeInUp 0.8s forwards;
}

.is-visible[data-animation="fadeInLeft"] {
    animation: fadeInLeft 0.8s forwards;
}

.is-visible[data-animation="fadeInRight"] {
    animation: fadeInRight 0.8s forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .header-info {
        gap: 15px;
    }
    .info-item i {
        font-size: 1.5rem;
    }
    .info-item strong, .info-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-info {
        display: none; /* Hide phone/location on mobile */
    }
    .main-nav-bar .container {
        justify-content: space-between;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        gap: 0;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav li {
        border-bottom: 1px solid var(--light-color);
    }
    .main-nav a {
        display: block;
        padding: 15px;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.h-auto {
    height: auto;
}

.max-w-full {
    max-width: 100%;
}

.rounded-lg {
    border-radius: 0.5rem;
}