:root {
    --primary-navy: #1B365D;
    --secondary-navy: #2C5282;
    --accent-blue: #3182CE;
    --light-blue: #EBF8FF;
    --gold-accent: #D69E2E;
    --text-dark: #2D3748;
    --text-gray: #4A5568;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --gradient-navy: linear-gradient(135deg, #1B365D 0%, #2C5282 100%);
    --gradient-blue: linear-gradient(135deg, #3182CE 0%, #2B6CB0 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(27, 54, 93, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-navy) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.btn-nav {
    background: var(--gradient-navy);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-left: 1rem;
    transition: all 0.3s ease;
    border: none;
}

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

.navbar-toggler {
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0px 120px !important;
    margin-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5)),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.hero-feature i {
    color: var(--gold-accent);
    font-size: 1.1rem;
}

.hero-yacht {
    position: relative;
    z-index: 2;
}

.hero-yacht img {
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    transition: transform 0.3s ease;
}

.hero-yacht:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .hero-section {

        padding-top: 100px !important;
        padding-bottom: 4rem !important;

    }

}

@media (max-width: 768px) {
    .hero-section {
        justify-content: center;
        padding-top: 100px !important;
        padding-bottom: 3rem !important;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-feature {
        justify-content: center;
    }

    .hero-yacht {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-transform: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--shadow-soft);
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* Booking Section */
.booking-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--bg-light);
}

.booking-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 54, 93, 0.1);
    transition: all 0.3s ease;
}

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

.booking-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.form-control {
    border: 2px solid rgba(27, 54, 93, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.25);
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Yacht Categories */
.categories-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--white);
}

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

.category-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 54, 93, 0.1);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    background: var(--white);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.category-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Yacht Rental Section */
.rental-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--primary-navy);
    color: white;
}

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

.yacht-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.yacht-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.yacht-image {
    height: 250px;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.yacht-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.yacht-info {
    padding: 2rem;
}

.yacht-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.yacht-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.yacht-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.yacht-spec i {
    color: var(--gold-accent);
}

.yacht-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

/* Charter Plans */
.charter-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--bg-light);
}

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

.plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 54, 93, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.featured {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.plan-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.plan-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.plan-period {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: bold;
    width: 16px;
}

/* FAQ Section */
.faq-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--white);
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(27, 54, 93, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Gallery Section */
.gallery-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--primary-navy);
    color: white;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: all 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 54, 93, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Team Section */
.team-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--bg-light);
}

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

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 54, 93, 0.1);
    transition: all 0.3s ease;
}

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

.team-image {
    height: 250px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.custom-img {
    width: 100%;
    height: 300px; /* Or any fixed height */
    object-fit: cover;
    object-position: top;
    display: block;
}
.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.team-card:hover .team-image::before {
    transform: translateX(100%);
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--text-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}


/* Testimonials Section */
.testimonials-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--primary-navy);
    color: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.testimonial-info h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: var(--gold-accent);
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--bg-light);
}

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

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 54, 93, 0.1);
    transition: all 0.3s ease;
}

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

.blog-image {
    height: 200px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-img {
    width: 100%;
    height: 200px; /* Or any fixed height */
    object-fit: cover;
    object-position: top;
    display: block;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta i {
    color: var(--accent-blue);
}

.blog-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.blog-link:hover {
    color: var(--primary-navy);
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-accent);
    padding-left: 0.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold-accent);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title.light h2 {
    color: white;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
/* Enhanced Responsive Design */


/* Responsive Design */
/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .hero-title {
        font-size: clamp(2.2rem, 5.5vw, 4rem);
    }

    .yacht-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-section {
        min-height: 90vh;
    }

    .section-title h2 {
        font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    }

    .plan-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .plan-card.featured {
        transform: scale(1.02);
    }
}


@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .btn-nav {
        display: block;
        width: fit-content;
    }

    .hero-features {
        justify-content: center;
        text-align: center;
    }

    .booking-card {
        margin-bottom: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .yacht-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-feature {
        justify-content: center;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-item {
        padding: 1.5rem 1rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .plan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card.featured {
        transform: none;
        order: -1;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .yacht-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .yacht-info {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .footer .row {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }

    .booking-card {
        padding: 2rem 1.5rem;
    }

    .booking-form {
        padding: 1.5rem 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-item {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .yacht-card {
        margin: 0 0.5rem;
    }

    .yacht-image {
        height: 200px;
    }

    .plan-card {
        padding: 2rem 1rem;
    }

    .plan-price {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 250px;
    }

    .team-image {
        height: 200px;
        font-size: 3rem;
    }

    .team-info {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .blog-image {
        height: 180px;
        font-size: 2.5rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .herobutton{
        justify-content: center;
    }
    .hero-yacht img {
        max-width: 100%;
        height: auto;
    }

    .booking-form .row {
        --bs-gutter-x: 0.75rem;
    }

    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .yacht-specs {
        gap: 0.5rem;
    }

    .yacht-spec {
        font-size: 0.85rem;
    }

    .plan-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .plan-title {
        font-size: 1.1rem;
    }

    .plan-features {
        font-size: 0.9rem;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .team-social a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 0;
    }

    .hero-content {
        margin-bottom: 1rem;
    }

    .hero-features {
        margin: 1rem 0;
    }

    .navbar {
        padding: 0.25rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .service-card:hover,
    .yacht-card:hover,
    .plan-card:hover,
    .team-card:hover,
    .blog-card:hover {
        transform: none;
    }

    .gallery-item:hover {
        transform: none;
    }

    /* Increase touch targets */
    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .btn {
        min-height: 44px;
    }

    .faq-question {
        min-height: 60px;
    }

    .team-social a,
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-bg {
        background-size: cover;
        background-position: center;
    }
}

/* Print styles */
@media print {

    .navbar,
    .footer,
    .btn,
    .hero-features,
    .booking-form {
        display: none !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: 2rem 0;
    }

    .section-title h2 {
        color: black !important;
    }

    .yacht-card,
    .plan-card,
    .team-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {

    .nav-link:focus,
    .btn:focus,
    .form-control:focus,
    .faq-question:focus {
        outline: 2px solid var(--accent-blue);
        outline-offset: 2px;
    }
}

/* top menu navigation */
.nav-link:focus {
    outline: none;
    box-shadow: none;
}