:root {
    --primary-color: #1a365d;
    --secondary-color: #3182ce;
    --accent-primary: #ecc94b;
    --accent-secondary: #f6ad55;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --text-main: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-premium: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 3px 0;
}

.navbar>.container {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    box-shadow: var(--shadow-premium);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    max-width: 100%;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    margin: 0 0.75rem;
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0.8;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    opacity: 1;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    opacity: 1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 50%;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 10px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 82, 130, 0.8), rgba(66, 153, 225, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f7fafc" width="1200" height="800"/><g fill="%234299e1" opacity="0.1"><circle cx="200" cy="200" r="100"/><circle cx="800" cy="300" r="150"/><circle cx="400" cy="600" r="120"/><circle cx="1000" cy="600" r="80"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content .tagline {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.8;
}

.btn-hero {
    background: var(--gradient-gold);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    background: var(--white);
}

.about-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: var(--shadow-button);
}

/* Services Section */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 15px -3px rgba(236, 201, 75, 0.3);
}

.service-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #2a4365);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 201, 75, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    pointer-events: none;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    font-size: 1.4rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(236, 201, 75, 0.15);
    outline: none;
}

.btn-contact {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Map Section */
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #0f172a;
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-section {
    margin-bottom: 3rem;
}

.footer-section h5 {
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.4);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Image Carousel Section */
.carousel-section {
    padding: 0;
    margin-top: 0;
}

.carousel {
    height: 85vh;
    min-height: 600px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item {
    height: 85vh;
    min-height: 600px;
    position: relative;
}

.carousel-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-image-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.carousel-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 6rem 0 4rem;
    z-index: 3;
}

.carousel-caption-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-caption h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
}

.carousel-caption p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.carousel-indicators {
    bottom: 20px;
    z-index: 4;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 4;
}

.carousel-control-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-icon i {
    font-size: 1.5rem;
    color: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

/* Carousel Animation Effects */
.carousel-item.active .carousel-image-content {
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption-content {
        padding: 4rem 1rem 0;
    }

    .carousel-control-icon {
        width: 50px;
        height: 50px;
    }

    .carousel-control-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-caption h3 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-image-content h3 {
        font-size: 1.5rem;
    }

    .carousel-image-content p {
        font-size: 0.9rem;
    }

    .carousel-caption-content {
        padding: 3rem 1rem 0;
    }
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: var(--shadow-button);
    border: 4px solid var(--white);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-card,
    .service-card {
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.05rem;
        max-width: 70%;
        padding: 0;
    }

    .navbar-brand img {
        height: 45px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.4rem;
        font-size: 0.9rem;
        margin: 0;
    }

    .about-card,
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

/* Very Small Screens */
@media (max-width: 400px) {
    .navbar-brand {
        font-size: 0.9rem;
        max-width: 65%;
    }

    .navbar-brand i {
        display: none !important;
    }
}

@media (max-width: 350px) {
    .navbar-brand {
        font-size: 0.85rem;
        max-width: 60%;
    }

    .navbar>.container {
        padding: 0 0.75rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.gallery-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    height: 300px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.15);
}

.gallery-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-8px);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}