/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.4rem;
    }
}

/* Tablet (768px and up) */
@media (max-width: 991px) {
    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Navigation */
    .nav-menu {
        gap: calc(var(--spacing-unit) * 2);
    }

    /* Carousel */
    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .team-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Sections */
    .story-content,
    .mission-vision,
    .mission-vision .container,
    .service-detail,
    .booking-container,
    .contact-container,
    .login-container {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none !important;
    }

    /* Page Header */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Forms */
    .booking-form {
        padding: calc(var(--spacing-unit) * 2);
    }

    /* Login */
    .login-card {
        padding: calc(var(--spacing-unit) * 3);
    }

    .login-benefits {
        grid-template-columns: 1fr;
    }
}

/* Small Tablet / Large Phone (576px to 767px) */
@media (max-width: 767px) {
    /* Spacing */
    section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .container {
        padding: 0 calc(var(--spacing-unit) * 1.5);
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Navigation */
    .nav-container {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .logo {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        gap: 0;
        padding: calc(var(--spacing-unit) * 2);
    }

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

    .nav-menu li {
        padding: calc(var(--spacing-unit) * 1.5) 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    /* Carousel */
    .hero-carousel {
        height: 85vh;
        min-height: 500px;
    }

    .slide-content {
        max-width: 90%;
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .slide-title {
        font-size: 1.4rem;
        margin-bottom: calc(var(--spacing-unit) * 1.5);
    }

    .slide-description {
        font-size: 0.9rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    .carousel-btn {
        padding: calc(var(--spacing-unit) * 1);
        font-size: 1.2rem;
        background-color: rgba(46, 125, 50, 0.5);
    }

    .carousel-btn:hover {
        background-color: rgba(46, 125, 50, 0.8);
    }

    .carousel-btn.prev {
        left: calc(var(--spacing-unit) * 0.5);
    }

    .carousel-btn.next {
        right: calc(var(--spacing-unit) * 0.5);
    }

    .carousel-dots {
        bottom: calc(var(--spacing-unit) * 1.5);
        gap: calc(var(--spacing-unit) * 0.8);
    }

    .carousel-dots div {
        width: 8px;
        height: 8px;
    }

    .carousel-dots div.active {
        width: 24px;
    }

    /* Buttons */
    .btn {
        padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2);
        font-size: 0.95rem;
    }

    /* Grids */
    .services-grid,
    .features-grid,
    .team-grid,
    .testimonials-grid,
    .stats-grid,
    .pricing-grid,
    .faq-grid,
    .area-grid,
    .reasons-grid,
    .values-grid,
    .info-grid,
    .timeline-items,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        padding: calc(var(--spacing-unit) * 2);
    }

    .learn-more {
        font-size: 0.9rem;
    }

    .feature,
    .team-member,
    .testimonial,
    .pricing-card,
    .faq-item,
    .area-item,
    .reason,
    .value-card,
    .info-item,
    .timeline-item {
        padding: calc(var(--spacing-unit) * 2);
    }

    /* Section Styles */
    .story-content,
    .mission-vision,
    .mission-vision .container,
    .service-detail,
    .booking-container,
    .contact-container,
    .login-container {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

    .service-detail-image,
    .story-image {
        margin-top: calc(var(--spacing-unit) * 2);
    }

    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Page Header */
    .page-header {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner p {
        font-size: 0.95rem;
    }

    /* Forms */
    .form-group {
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: calc(var(--spacing-unit) * 1);
        font-size: 1rem;
    }

    /* Booking Form */
    .booking-form {
        padding: calc(var(--spacing-unit) * 2);
    }

    .booking-info {
        gap: calc(var(--spacing-unit) * 1.5);
    }

    .info-box {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    /* Contact Section */
    .contact-item {
        gap: calc(var(--spacing-unit) * 1.5);
        margin-bottom: calc(var(--spacing-unit) * 2);
        padding-bottom: calc(var(--spacing-unit) * 1.5);
    }

    .social-links-large {
        flex-direction: column;
    }

    .social-links-large a {
        width: 100%;
        text-align: center;
    }

    /* Map */
    .map-placeholder {
        height: 300px;
    }

    /* Login */
    .login-section {
        padding: calc(var(--spacing-unit) * 2);
    }

    .login-card {
        padding: calc(var(--spacing-unit) * 2);
    }

    .login-card h1 {
        font-size: 1.5rem;
    }

    .login-benefits {
        grid-template-columns: 1fr;
        padding: calc(var(--spacing-unit) * 2);
    }

    .benefit-item {
        padding: calc(var(--spacing-unit) * 1);
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .benefit-item h3 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.85rem;
    }

    /* Pricing Table */
    .comparison-table {
        font-size: 0.85rem;
    }

    table th,
    table td {
        padding: calc(var(--spacing-unit) * 1);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

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

    .social-links {
        justify-content: center;
    }

    /* Service Detail Section */
    .service-features {
        text-align: left;
    }

    .service-features li {
        padding: calc(var(--spacing-unit) * 0.5) 0;
        font-size: 0.95rem;
    }

    /* Contact Form */
    .contact-form {
        padding: calc(var(--spacing-unit) * 2);
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-info {
        padding: calc(var(--spacing-unit) * 2);
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonial {
        padding: calc(var(--spacing-unit) * 2);
    }

    /* Why Choose Section */
    .why-services {
        background-color: var(--light-gray);
    }

    /* Service Cards Hover */
    .service-card:hover {
        transform: translateY(-5px);
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    /* Spacing */
    section {
        padding: calc(var(--spacing-unit) * 3) 0;
    }

    .container {
        padding: 0 calc(var(--spacing-unit) * 1);
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    /* Navigation */
    .nav-container {
        padding: calc(var(--spacing-unit) * 1);
    }

    .logo {
        font-size: 1rem;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    /* Carousel */
    .hero-carousel {
        height: 70vh;
    }

    .slide-title {
        font-size: 1.2rem;
    }

    .slide-description {
        font-size: 0.85rem;
    }

    .slide-content {
        padding: calc(var(--spacing-unit) * 1);
        max-width: calc(100% - calc(var(--spacing-unit) * 2));
    }

    .carousel-btn {
        padding: calc(var(--spacing-unit) * 0.75);
        font-size: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
        font-size: 0.9rem;
    }

    .btn-social span {
        display: none;
    }

    /* Grids - All Single Column */
    .services-grid,
    .features-grid,
    .team-grid,
    .testimonials-grid,
    .stats-grid,
    .pricing-grid,
    .faq-grid,
    .area-grid,
    .reasons-grid,
    .values-grid,
    .info-grid,
    .timeline-items,
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Card Padding */
    .service-card,
    .feature,
    .team-member,
    .testimonial,
    .pricing-card,
    .faq-item,
    .area-item,
    .reason,
    .value-card,
    .info-item,
    .timeline-item,
    .step,
    .stat {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    /* Section Title */
    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    /* Page Header */
    .page-header {
        padding: calc(var(--spacing-unit) * 3) 0;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: calc(var(--spacing-unit) * 3) 0;
    }

    .cta-banner h2 {
        font-size: 1.3rem;
    }

    .cta-banner p {
        font-size: 0.85rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    /* Forms */
    .form-group {
        margin-bottom: calc(var(--spacing-unit) * 1.5);
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: calc(var(--spacing-unit) * 0.875);
        font-size: 0.95rem;
    }

    /* Booking */
    .booking-form {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .booking-form h2 {
        font-size: 1.3rem;
    }

    .info-box {
        padding: calc(var(--spacing-unit) * 1.25);
    }

    .info-box h3 {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-section .container {
        padding: 0 calc(var(--spacing-unit) * 1);
    }

    .contact-info {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.3rem;
    }

    .contact-item {
        gap: calc(var(--spacing-unit) * 1);
        margin-bottom: calc(var(--spacing-unit) * 1.5);
        padding-bottom: calc(var(--spacing-unit) * 1);
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .contact-details h3 {
        font-size: 0.95rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    /* Map */
    .map-placeholder {
        height: 250px;
    }

    /* Login */
    .login-body {
        flex-direction: column;
    }

    .login-section {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .login-card {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .login-card h1 {
        font-size: 1.3rem;
    }

    .login-card > p {
        font-size: 0.9rem;
    }

    .divider span {
        font-size: 0.85rem;
    }

    .login-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 1);
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .login-benefits h2 {
        grid-column: 1 / -1;
        font-size: 1.2rem;
        margin-bottom: calc(var(--spacing-unit) * 0.5);
    }

    .benefit-item {
        padding: calc(var(--spacing-unit) * 0.75);
    }

    .benefit-icon {
        font-size: 1.5rem;
        margin-bottom: calc(var(--spacing-unit) * 0.5);
    }

    .benefit-item h3 {
        font-size: 0.85rem;
    }

    .benefit-item p {
        font-size: 0.75rem;
    }

    /* Footer */
    .footer {
        padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 1);
    }

    .footer-content {
        gap: calc(var(--spacing-unit) * 1.5);
    }

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

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section ul li {
        margin-bottom: calc(var(--spacing-unit) * 0.75);
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
        gap: calc(var(--spacing-unit) * 1);
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: calc(var(--spacing-unit) * 1.5);
        font-size: 0.8rem;
    }

    /* Pricing */
    .pricing-card {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .pricing-card h3 {
        font-size: 1.1rem;
        margin-bottom: calc(var(--spacing-unit) * 1);
    }

    .price {
        font-size: 2rem;
    }

    .pricing-features li {
        padding: calc(var(--spacing-unit) * 0.5) 0;
        font-size: 0.85rem;
    }

    /* Contact Form */
    .contact-form {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    /* Service Detail */
    .service-features li {
        padding: calc(var(--spacing-unit) * 0.5) 0;
        font-size: 0.85rem;
    }

    /* Story Content */
    .story-text h2 {
        font-size: 1.3rem;
    }

    .story-text p {
        font-size: 0.85rem;
    }

    /* Testimonial */
    .testimonial {
        padding: calc(var(--spacing-unit) * 1.5);
        border-left: 3px solid var(--secondary);
    }

    .testimonial-author {
        font-size: 0.9rem;
    }

    /* Timeline */
    .timeline-date {
        font-size: 1.2rem;
    }

    .timeline-item h3 {
        font-size: 0.95rem;
    }

    .timeline-item p {
        font-size: 0.8rem;
    }

    /* Why Choose Us */
    .why-choose-us {
        padding: calc(var(--spacing-unit) * 3) 0;
    }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 0.75);
    }

    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 0.95rem;
    }

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

    .slide-description {
        font-size: 0.75rem;
    }

    .btn {
        padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.25);
        font-size: 0.85rem;
    }

    .carousel-btn {
        padding: calc(var(--spacing-unit) * 0.5);
        font-size: 1rem;
    }

    .login-benefits {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 0.75);
    }

    .benefit-icon {
        font-size: 1.2rem;
    }

    .benefit-item h3 {
        font-size: 0.8rem;
    }

    .benefit-item p {
        font-size: 0.7rem;
    }
}
