/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff8c42;
    --secondary-color: #ffb347;
    --accent-color: #d2691e;
    --text-dark: #4a2512;
    --text-light: #6b4f3a;
    --background-warm: #fff3e6;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-warm);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1589301760014-d929f3979dbc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

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

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Hotel Details Section */
.hotel-details {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff, var(--background-warm));
}

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

.detail-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.whatsapp-btn-small {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.whatsapp-btn-small:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.map-label {
    margin-top: 0.75rem;
    font-weight: 600;
    color: #2d2d2d;
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.menu-controls {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.special-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.special-banner i {
    margin: 0 1rem;
}

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

.menu-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.menu-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    position: relative;
}

.availability-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.available {
    background-color: #4CAF50;
    color: white;
}

.out-of-stock {
    background-color: #f44336;
    color: white;
}

.menu-info {
    padding: 1.5rem;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.category-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 25px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Bulk Orders Section */
.bulk-orders {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9f9f9, var(--background-warm));
}

.bulk-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bulk-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.bulk-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-list {
    margin-top: 2rem;
}

.features-list p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.features-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.bulk-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #eee;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Owner Section */
.owner-section {
    padding: 5rem 0;
    background: white;
}

.owner-card {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 10px;
    color: white;
    box-shadow: var(--shadow);
}

.owner-image {
    text-align: center;
}

.owner-image i {
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.9);
}

.owner-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.owner-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.owner-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.owner-exp {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.owner-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.owner-trust {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.owner-trust i {
    color: #ff6b6b;
}

.owner-contact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-warm), white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-warm), white);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    width: 24px;
    font-size: 1.2rem;
}

.whatsapp-btn-large {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
    border: 2px solid white;
}

.whatsapp-btn-large:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #2c1810);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 2rem;
    }

    .bulk-container,
    .contact-container,
    .owner-card {
        grid-template-columns: 1fr;
    }

    .owner-card {
        text-align: center;
    }

    .owner-contact {
        flex-direction: column;
    }

    .menu-controls {
        padding: 0 1rem;
    }

    .category-filters {
        flex-wrap: wrap;
    }

    .filter-btn {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .special-banner {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .faq-grid {
        padding: 0 1rem;
    }

    .map-container {
        height: 300px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

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

    .menu-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .detail-card {
        margin: 0 1rem;
    }

    .owner-image i {
        font-size: 8rem;
    }

    .filter-btn {
        flex: 1 1 100%;
    }
}


/* ===== HERO SECTION RESPONSIVE FIXES ===== */

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1589301760014-d929f3979dbc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    min-height: 90vh; /* Changed from fixed height to min-height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem 0; /* Add padding for smaller screens */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-subtitle {
    font-size: 2rem;
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
}

.tagline {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
    line-height: 1.4;
    min-width: 160px; /* Ensure minimum width */
}

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

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

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 2.2rem;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.9rem;
    }
    .tagline {
        font-size: 1.9rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.7rem;
    }
    .tagline {
        font-size: 1.7rem;
        margin-bottom: 1.25rem;
    }
    .hero-description {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    /* Buttons may wrap on tablet */
    .hero-buttons {
        gap: 0.85rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 140px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    .hero {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }
    .tagline {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
        padding: 0 10px;
    }
    
    /* Stack buttons vertically */
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        min-width: auto;
    }
}

/* Mobile Portrait (375px to 575px) */
@media (max-width: 575px) {
    .hero {
        min-height: 90vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem 15px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .tagline {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        max-width: 300px;
        gap: 0.7rem;
    }
    
    .btn {
        padding: 0.8rem 0.75rem;
        font-size: 0.95rem;
    }
    
    /* Special handling for long button text */
    .btn-secondary {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }
}

/* Small Mobile (320px to 374px) */
@media (max-width: 374px) {
    .hero {
        min-height: 95vh;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .tagline {
        font-size: 1.1rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        max-width: 260px;
    }
    
    .btn {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .btn-secondary {
        font-size: 0.8rem;
    }
}

/* Ensure very long text doesn't overflow on smallest screens */
@media (max-width: 320px) {
    .btn-secondary {
        font-size: 0.75rem;
        padding: 0.7rem 0.25rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
}

/* Height-based adjustments for very short screens */
@media (max-height: 600px) and (max-width: 768px) {
    .hero {
        min-height: 110vh;
    }
    
    .hero-content {
        padding: 2rem 15px;
    }
}

/* Fix for foldable phones and very narrow devices */
@media (max-width: 280px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .tagline {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 0.25rem;
        font-size: 0.75rem;
    }
}

/* Preserve animations */
.hero-title, .tagline, .hero-description, .hero-buttons {
    animation: fadeInUp 1s ease both;
}

.hero-title { animation-delay: 0s; }
.tagline { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.6s; }