/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
}

/* Medium Desktops (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .about-grid, .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image, .story-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Tablets (768px to 991px) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .booking-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu.active {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        margin-top: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape (576px to 767px) */
@media screen and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 40px 0;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-form {
        grid-template-columns: 1fr;
    }
    
    .booking-widget {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .experiences-grid, .destinations-carousel, .services-grid, .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .page-banner {
        height: 40vh;
    }
    
    .banner-content h1 {
        font-size: 2.4rem;
    }
    
    .values-grid, .leadership-grid, .responsibility-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-year {
        width: auto;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .achievement-content {
        margin-left: 0;
    }
    
    .achievement-content:before {
        left: 50%;
        top: -36px;
        transform: translateX(-50%);
    }
    
    .achievements-timeline:before {
        left: 50%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid, .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 10px;
    }
}

/* Mobile Portrait (up to 575px) */
@media screen and (max-width: 575px) {
    .container {
        width: 95%;
        padding: 30px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
        justify-content: center;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .policy-container h2 {
        font-size: 1.6rem;
    }
    
    .policy-container h3 {
        font-size: 1.3rem;
    }
}

/* Add classes to fix display issues between different screen sizes */
@media screen and (max-width: 480px) {
    .experience-img, .destination-img {
        height: 200px;
    }
    
    .leader-image {
        height: 250px;
    }
    
    .policy-container {
        padding: 0 15px;
    }
}

/* Fix for ultrawide screens */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero {
        background-position: center 20%;
    }
}

/* Specific device orientation fixes */
@media screen and (max-height: 600px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 150px 0 100px;
    }
    
    .page-banner {
        height: auto;
        min-height: 40vh;
        padding: 100px 0;
    }
}

/* Print styles for policy pages */
@media print {
    #header, #footer, #newsletter, .form-container, .policy-last-updated {
        display: none;
    }
    
    .page-banner {
        height: auto;
        padding: 30px 0;
        margin: 0;
        color: var(--primary);
    }
    
    .banner-overlay {
        display: none;
    }
    
    .banner-content h1 {
        color: var(--primary);
    }
    
    .banner-content p {
        color: var(--medium-gray);
    }
    
    .policy-container {
        max-width: 100%;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    a {
        color: var(--primary) !important;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}