/* Variables & Reset */
:root {
    --primary-color: #1a365d;
    /* Deep Blue */
    --secondary-color: #f1c40f;
    /* Gold/Yellow */
    --accent-color: #e74c3c;
    /* Red heart color */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --white: #ffffff;
    --bg-light: #EBE7E0;
    --bg-shade-1: #EBE7E0;
    --bg-shade-2: #E3E0D9;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-shade-1);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-md-6 {
    flex: 1;
    min-width: 300px;
}

.align-items-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.nav-link.btn-primary:hover {
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    /* margin-left: 15px; */
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo-img {
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    /* Off-white background */
    border-radius: 48%;
    /* Circular shape */
    padding: 4px;
    /* Space around the logo */
    object-fit: contain;
    /* Ensure logo is fully visible */
    box-sizing: border-box;
    margin-right: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Subtle depth */
}


.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.tagline {
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-btn {
    padding: 8px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
}

.nav-btn:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: var(--white);

    /* Soft white glow / border */
    text-shadow:


        0 0 6px rgba(255, 255, 255, 0.7),
        0 0 14px rgba(255, 255, 255, 0.5);


}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

/* Overlay for slides to ensure text readability */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    /* text-shadow: 0 0 6px rgba(255, 255, 255, 0.7), 0 0 14px rgba(255, 255, 255, 0.5); */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.mission-section .title-underline {
    margin: 0 0 30px 0;
    /* Left align for mission section */
}

/* Vision Section */
.vision-section {
    background-color: var(--bg-shade-1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

.vision-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

/* Mission Section */
.mission-section {
    background-color: var(--bg-shade-2);
}

.rounded-shadow {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.mission-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* What We Do Section */
.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(241, 196, 15, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.highlight-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    background: var(--white);
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer .container {
    max-width: 100%;
    padding: 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.footer-brand h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 40px;
        /* Leave space for carousel buttons */
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 30px;
        /* Leave space for carousel buttons */
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        left: 5px;
        /* Push to absolute edge */
    }

    .next-btn {
        left: auto;
        right: 5px;
        /* Push to absolute edge */
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding-bottom: 20px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        padding: 10px 15px;
        font-size: 0.8rem;
        margin: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .mission-section .row {
        flex-direction: column-reverse;
    }

    .mission-section .title-underline {
        margin: 0 auto 30px;
    }

    .text-center-mobile {
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links ul {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .glass-card {
        padding: 25px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-shade-2);
    overflow: hidden;
    padding: 60px 0;
    pointer-events: none;
    /* Disables all interactions */
    user-select: none;
    /* Prevents image dragging/selection */
}

/* Gallery Strip stretch code*/
.gallery-section .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.scroll-holder {
    overflow-x: hidden;
    width: 100%;
}

/* Updated Gallery CSS - Smooth hover without breaking scroll */

.scroll-tray {
    white-space: nowrap;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.scroll-tray .gallery-item {
    display: inline-block;
    width: 300px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

/* Create a pseudo-element for the shadow effect on hover */
.scroll-tray .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.scroll-tray .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .scroll-tray {
        gap: 15px;
    }

    .scroll-tray .gallery-item {
        width: 250px;
    }

    .scroll-tray .gallery-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .scroll-tray .gallery-item {
        width: 200px;
    }
}

/* Carousel Video */
.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-shade-1);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.2);
}

.contact-form .submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px 20px;
    }
}