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

:root {
    --primary: #1a1a1a;
    --secondary: #c9a961;
    --accent: #2c3e50;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --fluid-gap: clamp(12px, 2vw, 32px);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.2vw, 18px);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary);
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav .container {
    max-width: 1400px;
    width: min(1400px, 96%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: clamp(8px, 3vw, 32px);
}

/* Hide nav toggle on desktop by default; will be shown in mobile media query */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
}

.logo {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--fluid-gap);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.nav-phone:hover {
    color: var(--secondary);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: #d4b76f;
    transform: translateY(-2px);
}

/* carousel Styles */
.carousel {
    position: relative;
    width: 100%;
   /* max-width: 900px;
    margin-top: 70px;*/
    overflow: hidden;
    border-radius: 12px;
    /* keep carousel from growing too tall so bottom indicators remain visible */
    max-height: clamp(320px, 48vh, 70vh);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    display: block;
}

/* Ensure slide images respect the carousel max-height and cover the area */
.carousel .slide img {
    width: 100%;
    height: clamp(280px, 46vh, 70vh);
    object-fit: cover;
    display: block;
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Dots indicator */
.carousel-dots {
    position: absolute;
    bottom: clamp(10px, 2.4vh, 20px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}
.carousel-dots .dot {
    width: 20px;
    height: 4px;
    background: rgba(201,169,97,0.25); /* muted theme color */
    border-radius: 4px;
    border: none;
    padding: 0;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
    transition: background 180ms ease, width 150ms ease;
}
.carousel-dots .dot:focus { outline: none; box-shadow: 0 0 0 3px rgba(201,169,97,0.12); }
.carousel-dots .dot.active {
    background: var(--secondary); /* active theme color */
    width: 34px;
}

/* Hero Frame */
.hero-Frame {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.Frame-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-Frame .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-Frame .slide.active {
    opacity: 1;
}

.hero-Frame .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-Frame .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #d4b76f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}

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

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

/* Ensure hero banner overlays carousel */
.carousel .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: var(--white);
    text-align: center;
    pointer-events: none;
    width: min(920px, 88%);
    padding: 0 12px;
}
.carousel .hero-content .btn { pointer-events: auto; }

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 5%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
#about {
    background: var(--light);
}

.about-header {
    text-align: left;
    margin-bottom: 3rem;
}

.about-label {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.about-header h2 {
    text-align: left;
    font-size: 2.8rem;
    margin-top: 0.5rem;
}

.highlight {
    color: var(--secondary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Business Segments */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.segment-card {
    background: var(--white);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.segment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.segment-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.segment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.segment-card:hover .segment-image img {
    transform: scale(1.1);
}

.segment-content {
    padding: 2rem;
}

.segment-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.segment-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.segment-card ul {
    list-style: none;
    text-align: left;
}

.segment-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.segment-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Differentiators */
#difference {
    background: var(--primary);
    color: var(--white);
}

#difference h2 {
    color: var(--white);
}

#difference .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.difference-item {
    text-align: center;
}

.difference-icon {
    width: 90px;
    height: 90px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.difference-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.difference-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Gallery */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gallery-overlay a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Stats */
#stats {
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Contact */
#contact {
    background: var(--light);
    color: var(--primary);
}

#contact h2 {
    color: var(--primary);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-label {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.contact-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.contact-info-card p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    color: var(--secondary);
}

.info-meta {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.office-info {
    display: flex;
    gap: 1.5rem;
}

.office-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 97, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.office-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.office-details p {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.map-link:hover {
    gap: 0.8rem;
}

.qr-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-container a {
    text-decoration: none;
}

.location-qr {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 3px solid var(--secondary);
    padding: 10px;
    background: var(--white);
    transition: all 0.3s;
}

.location-qr:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.qr-text {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-phone span:last-child {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    h2 {
        font-size: 2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        grid-template-columns: 1fr;
    }

    .segments-grid,
    .difference-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive rules */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
    nav { padding: 0.75rem 3%; }
    nav .container { gap: 0.5rem; }
    .nav-toggle { display: block; background: transparent; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }
    nav ul { display: none; position: static; transform: none; left: auto; background: rgba(26,26,26,0.98); width: 100%; padding: 0.75rem 0; margin-top: 0.5rem; flex-direction: column; gap: 0; }
    nav.open ul { display: flex; }
    nav ul li { text-align: center; padding: 0.5rem 0; }
    .nav-right { display: none; }
    .logo { font-size: 1.1rem; }

    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.95rem; }

    .about-layout, .segments-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .carousel { max-width: 100%; border-radius: 8px; }
    /* slightly taller carousel on tablet to better fit persistent content */
    .carousel { max-height: clamp(300px, 52vh, 64vh); }
    .carousel .slide img { height: clamp(260px, 50vh, 64vh); object-fit: cover; }
    .carousel-btn { padding: 8px 10px; font-size: 20px; }

    /* wider hero content box and scaled-down buttons for tablet */
    .carousel .hero-content { max-width: 88%; padding: 0 14px; z-index: 40; pointer-events: auto; }
    .carousel .hero-content h1 { font-size: 1.8rem; }
    .carousel .hero-content p { font-size: 1rem; }
    .carousel .hero-content .btn { padding: 0.7rem 1.2rem; font-size: 0.95rem; }

    .carousel .slide img { height: clamp(240px, 44vh, 56vh); object-fit: cover; }

    section { padding: 3rem 4%; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content p { font-size: 0.9rem; }

    /* slightly taller carousel on small phones so persistent content fits comfortably */
    .carousel { max-height: clamp(240px, 46vh, 56vh); }
    .carousel .slide img { height: clamp(220px, 42vh, 52vh); object-fit: cover; }

    .carousel .hero-content { max-width: 80%; padding: 0 12px; z-index: 40; pointer-events: auto; }
    .carousel .hero-content h1 { font-size: 1.2rem; }
    .carousel .hero-content p { font-size: 0.9rem; }
    .carousel .hero-content .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }

    /* Hide the long hero paragraph on very small screens for better layout */
    .carousel > .hero-content > p { display: none; }
}