/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000;
}

/* Scroll-Triggered Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: linear-gradient(90deg, rgba(26, 42, 68, 0.95), rgba(40, 60, 90, 0.95));
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInHeader 1s ease forwards;
    width: 100%;
    box-sizing: border-box;
    min-height: 80px;
    transition: height 0.3s ease;
}

.sticky-header.scrolled {
    background: linear-gradient(90deg, #1a2a44, #2a3c5a);
}

.sticky-header.expanded {
    height: 100px !important;
    min-height: 100px !important;
}

@keyframes fadeInHeader {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Default gap for higher resolutions */
    max-width: 65%;
}

/* Logo Styling */
.logo {
    width: 150px;
    height: auto;
    max-height: 80px;
    display: block;
    object-fit: contain;
}

/* Brand Name Styling */
.brand-name {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 5px rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

/* Indian Flag Colors for Brand Name */
.saffron {
    color: #FF9933;
}

.white {
    color: #FFFFFF;
}

.green {
    color: #138808;
}

/* Space between WABLE and INFINITY */
.brand-name span.white:nth-child(6) {
    margin-right: 5px;
}

nav {
    display: flex;
    align-items: center;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 1.5px;
    background: white;
    border-radius: 3px;
    margin: 2.5px 0;
    transition: all 0.3s ease;
    display: block;
}

/* Transform hamburger into cross when active */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    position: relative;
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInNav 0.5s ease forwards;
    animation-delay: calc(0.3s + var(--i) * 0.1s);
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #f5a623;
    transform: translateY(-3px);
}

/* Custom property for staggered animation */
.nav-links a:nth-child(1) { --i: 1; }
.nav-links a:nth-child(2) { --i: 2; }
.nav-links a:nth-child(3) { --i: 3; }
.nav-links a:nth-child(4) { --i: 4; }
.nav-links a:nth-child(5) { --i: 5; }

@keyframes fadeInNav {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Underline animation on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #f5a623;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-btn {
    padding: 10px 25px;
    background: linear-gradient(90deg, #f5a623, #d68e1e);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInNav 0.5s ease forwards;
    animation-delay: 0.8s;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #1a2a44;
    display: none;
}

.slide.active {
    display: block;
}

.slide:nth-child(1) {
    background-image: url('images/bungalow1.jpg');
}
.slide:nth-child(2) {
    background-image: url('images/bungalow2.jpg');
}
.slide:nth-child(3) {
    background-image: url('images/bungalow3.jpg');
}
.slide:nth-child(4) {
    background-image: url('images/bungalow4.jpg');
}
.slide:nth-child(5) {
    background-image: url('images/bungalow5.jpg');
}
.slide:nth-child(6) {
    background-image: url('images/bungalow6.jpg');
}
.slide:nth-child(7) {
    background-image: url('images/bungalow7.jpg');
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    transform: translateY(-50%);
    z-index: 10;
    box-sizing: border-box;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 24px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 15;
    text-align: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-btn {
    padding: 15px 30px;
    background: #f5a623;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    background: #d68e1e;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Word-by-Word Animation for Hero Text */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px; /* Reduced from 72px */
    font-weight: 700;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    letter-spacing: 0; /* No extra letter spacing */
}

.hero-content h1 span {
    display: inline; /* Natural word flow */
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: wordFadeIn 0.8s ease forwards; /* Word-by-word animation */
    animation-delay: calc(0.4s * var(--word-index)); /* Delay per word */
}

.hero-content p span {
    display: inline-block;
    opacity: 0;
    animation: letterFadeIn 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--letter-index));
}

@keyframes wordFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes letterFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 20px; /* Reduced from 24px */
        margin-bottom: 10px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        line-height: 1.2;
    }
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: #000;
}

.content-section.alternate-bg {
    background-color: #000;
}

.content-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.content-text {
    width: 50%;
    padding: 20px;
}

.content-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.content-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.content-text p strong {
    color: #fff;
}

.content-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #f5a623;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.content-btn:hover {
    background: #d68e1e;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.content-image {
    width: 50%;
    height: 300px;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Content Section 2 */
.content-section-2 {
    padding: 80px 0;
    background-image: url('images/luxury-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.content-section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.who-we-are, .our-offerings, .company-stats {
    text-align: center;
    margin-bottom: 60px;
}

.who-we-are h2, .our-offerings h2, .company-stats h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.who-we-are p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: white;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Highlights (Icon-Style) */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #f5a623;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.highlight-card i {
    font-size: 40px;
    color: #f5a623;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.highlight-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Our Offerings */
.offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.offering h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #f5a623;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.offering ul {
    list-style: none;
    padding: 0;
}

.offering ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.offering ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f5a623;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Company Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #f5a623;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.stat p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Call to Action */
.cta {
    text-align: center;
    margin-top: 40px;
}

.cta-btn {
    padding: 15px 30px;
    background: #f5a623;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    background: #d68e1e;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(26, 42, 68, 0.9), rgba(26, 42, 68, 0.9)), url('images/bungalow3.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 50px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    color: #f5a623;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('images/bungalow4.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #1a2a44;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-style: italic;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a2a44; /* Fixed from #1 Cesium44 */
    margin-bottom: 5px;
}

.testimonial-card span {
    font-size: 14px;
    color: #f5a623;
}

/* Call-to-Action Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(26, 42, 68, 0.9), rgba(26, 42, 68, 0.9)), url('images/bungalow5.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-container p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    padding: 15px 40px;
    background: #f5a623;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    background: #d68e1e;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Form Section */
.contact-section {
    padding: 100px 20px;
    background: #f5f5f5;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #1a2a44;
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: white;
    transition: border-color 0.3s, transform 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f5a623;
    outline: none;
    transform: scale(1.02);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    background: #f5a623;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    background: #d68e1e;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-map {
    flex: 1;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-map iframe:hover {
    transform: scale(1.02);
}

/* Gallery Section */
.gallery {
    padding: 100px 20px;
    text-align: center;
}

.gallery h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: white;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 60px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #f5a623;
    margin-bottom: 20px;
}

.footer-section p, .footer-section a {
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section a:hover {
    color: #f5a623;
    transform: translateX(5px);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #f5a623;
    transform: scale(1.3) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Sticky Header */
    .sticky-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 6px;
        min-height: 80px;
        height: 80px;
        z-index: 1000;
        transition: height 0.3s ease;
    }

    .sticky-header.expanded {
        height: 100px !important;
        min-height: 100px !important;
    }

    /* Logo Container */
    .logo-container {
        max-width: clamp(50%, 55%, 60%); /* Adjusted for tighter spacing */
        align-items: center;
        gap: clamp(15px, 5vw, 20px); /* Dynamic gap for 400px-768px */
    }

    /* Logo */
    .logo {
        width: 120px;
        max-height: 70px;
        height: auto;
    }

    /* Brand Name */
    .brand-name {
        font-size: clamp(12px, 3.2vw, 14px);
        letter-spacing: 0.2px;
        max-width: clamp(140px, 38vw, 160px);
        white-space: nowrap;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5), 0 0 5px rgba(255, 255, 255, 0.3);
    }

    .brand-name span {
        display: inline-block;
    }

    .brand-name span.white:nth-child(6) {
        margin-right: 5px;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
        cursor: pointer;
        z-index: 1100;
        position: relative;
        margin-left: -12px;
    }

    .hamburger span {
        width: 100%;
        height: 1.5px;
        background: #ffffff;
        margin: 2.5px 0;
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }

    /* Hamburger Toggle Animation */
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
        background: #ffffff;
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: #ffffff;
    }

    /* Nav Links */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 80px;
        left: 0;
        background: linear-gradient(90deg, rgba(26, 42, 68, 1), rgba(40, 60, 90, 1));
        padding: 20px 0;
        z-index: 3000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        transform: none !important;
        transition: none !important;
    }

    .nav-links.nav-active {
        display: flex;
        opacity: 1;
    }

    .sticky-header.expanded + .nav-links {
        top: 100px;
    }

    .nav-links a {
        margin: 10px 0;
        padding: 10px 20px;
        color: white;
        text-align: center;
        font-size: 16px;
        text-decoration: none;
    }

    .nav-links a:hover {
        color: #f5a623;
    }

    .contact-btn {
        display: none;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
        z-index: 1;
    }

    .slider, .slide {
        background-attachment: scroll;
        z-index: 1;
    }

    .slide {
        background-size: cover;
        background-position: center top;
    }

    .hero-content {
        padding: 30px;
        margin-top: -50px;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* Content Section */
    .content-section {
        padding: 60px 20px;
    }

    .content-container {
        flex-direction: column;
        text-align: center;
    }

    .content-text {
        width: 100%;
    }

    .content-text h2 {
        font-size: 28px;
    }

    .content-text p {
        font-size: 14px;
    }

    .content-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .content-image {
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    /* Content Section 2 */
    .content-section-2 {
        background-attachment: scroll;
    }

    .who-we-are h2, .our-offerings h2, .company-stats h2 {
        font-size: 36px;
    }

    .highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .highlight-card {
        padding: 20px;
    }

    .highlight-card h3 {
        font-size: 20px;
    }

    .highlight-card p {
        font-size: 14px;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card, .offering, .stat {
        margin-bottom: 20px;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    /* Features, Testimonials, CTA, Contact, Gallery */
    .features-section {
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .features-container h2 {
        font-size: 36px;
    }

    .feature-card {
        padding: 20px;
    }

    .testimonials-section {
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .testimonials-container h2 {
        font-size: 36px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .cta-section {
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .cta-container h2 {
        font-size: 36px;
    }

    .cta-container p {
        font-size: 16px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-form button {
        padding: 12px;
        font-size: 14px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .social-links a {
        margin: 0 8px;
        font-size: 18px;
    }

    /* Fine-tune for smaller screens (e.g., 320px) */
    @media (max-width: 400px) {
        .logo-container {
            max-width: 50%; /* Adjusted from 55% */
            gap: 45px; /* As per your update */
        }

        .brand-name {
            font-size: 12px;
            max-width: 140px;
        }

        .hamburger {
            width: 18px;
            height: 18px;
            margin-left: -10px;
        }

        .hamburger span {
            height: 1.3px;
            margin: 2.3px 0;
        }

        .hamburger.toggle span:nth-child(1) {
            transform: rotate(45deg) translate(3px, 3px);
        }

        .hamburger.toggle span:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -4px);
        }

        .hero-content h1 {
            font-size: 22px;
        }
    }

    /* Fine-tune for mid-range mobile screens (401px to 768px) */
    @media (min-width: 401px) and (max-width: 768px) {
        .logo-container {
            max-width: 55%;
            gap: clamp(15px, 4vw, 20px); /* Adjusted for 400px-768px */
        }

        .hamburger {
            margin-left: -12px;
        }
    }
}
