@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .container {
        padding: 0 15px;
    }

    .contact-form-section {
        padding: 120px 0 80px;
    }

    .contact-form-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-wrapper h2 {
        font-size: 2rem;
        text-align: center;
    }

    .form-image {
        aspect-ratio: 1;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .location-section {
        padding: 80px 0;
    }

    .location-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content .section-title {
        text-align: center;
    }

    .transport-details {
        padding-left: 0;
        margin-top: 20px;
    }

    .location-visuals {
        height: 350px;
        margin: 0 auto;
        max-width: 500px;
    }

    .contact-container {
        gap: 50px;
    }

    .newsletter-side h3, 
    .contact-info-side h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .container {
        padding: 0 10px;
    }

    .contact-form-section {
        padding: 100px 0 60px;
    }

    .contact-form-section .container {
        gap: 30px;
    }

    .form-wrapper {
        order: 2;
    }

    .form-wrapper h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .form-wrapper p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 15px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .form-consent {
        margin: 20px 0;
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .location-section {
        padding: 60px 0;
    }

    .location-section .container {
        gap: 30px;
    }

    .location-content .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .location-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 25px;
    }

    .location-icon {
        align-self: center;
    }

    .location-details p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .transport-details {
        text-align: center;
        padding-left: 0;
    }

    .transport-details h4 {
        margin-bottom: 15px;
        color: #333;
        font-size: 1.1rem;
    }

    .transport-info p {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .location-visuals {
        height: 280px;
        max-width: 280px;
        margin: 0 auto;
    }

    .location-photo {
        width: 85%;
        height: 85%;
        top: 0;
        left: 0;
        border-radius: 15px;
        aspect-ratio: 1;
    }

    .location-map {
        width: 85%;
        height: 85%;
        bottom: 0;
        right: 0;
        border-radius: 15px;
        aspect-ratio: 1;
    }

    .contact-section {
        padding: 60px 10px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .newsletter-side {
        order: 2;
    }

    .contact-info-side {
        order: 1;
    }

    .newsletter-side h3, 
    .contact-info-side h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .newsletter-side p, 
    .contact-info-side p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .newsletter-form {
        gap: 12px;
    }

    .newsletter-form input {
        padding: 12px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .newsletter-form .btn {
        align-self: stretch;
        margin-top: 5px;
    }

    .contact-details {
        margin-bottom: 25px;
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .contact-item i {
        font-size: 1.3rem;
    }

    .footer-social-media {
        justify-content: center;
        gap: 20px;
    }

    .footer-social-media a {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .section-title {
        font-size: 1.6rem;
    }

    .form-wrapper h2 {
        font-size: 1.6rem;
    }

    

    .location-visuals {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
    }

    .location-photo,
    .location-map {
        position: static;
        width: 100%;
        height: 250px;
        max-width: 250px;
        margin: 0 auto;
        border-radius: 15px;
        aspect-ratio: 1;
    }

    .newsletter-side h3, 
    .contact-info-side h3 {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 8px;
    }
}
@media (max-width: 768px) and (orientation: landscape) {
    .contact-form-section {
        padding: 80px 0 50px;
    }

    .location-section {
        padding: 50px 0;
    }

    .contact-section {
        padding: 50px 10px;
    }

    .location-visuals {
        height: auto;
        min-height: 200px;
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .newsletter-side {
        order: 1;
    }

    .contact-info-side {
        order: 2;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        font-size: 1.1rem;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        min-height: 48px;
    }

    .newsletter-form input {
        min-height: 48px;
    }
}
@media (max-width: 768px) {
    .anim-element {
        transform: translateY(20px);
        transition-duration: 0.8s;
    }

    .location-section.is-visible .location-photo {
        transition-delay: 0.1s;
    }

    .location-section.is-visible .location-map {
        transition-delay: 0.2s;
    }
}

@media (max-width: 768px) {
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus,
    .newsletter-form input:focus {
        outline: 2px solid #1F8D4F;
        outline-offset: 2px;
        border-color: #1F8D4F;
    }

    .btn:focus {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }
}

@media (max-width: 768px) {
  .location-section { padding: 60px 16px !important; }

  .location-section .container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center;
    align-items: start;
    padding: 0 !important;
    max-width: 720px;
    margin: 0 auto;
  }

  .location-visuals {
    position: static !important;
    display: grid !important;
    grid-auto-flow: row;
    row-gap: 16px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: auto !important;
  }

  .location-photo,
  .location-map {
    position: static !important;
    width: min(500px, 100%) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .location-photo img,
  .location-map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 15px;
    object-fit: cover;
  }

  .location-section .anim-element {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .location-visuals { max-width: 320px; }
  .location-photo,
  .location-map { width: min(320px, 100%) !important; }
}

.contact-form-section {
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: #fff;
}
.contact-form-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
}

.form-wrapper h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #333;
}
.form-wrapper p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 600px;
}

.form-wrapper .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #1F8D4F, #0C5D30);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.form-wrapper .btn:hover {
  filter: brightness(115%);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
  .contact-form-section {
    height: auto;
    min-height: 100vh;
    padding: 100px 30px 40px;
  }
  .contact-form-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .form-image {
    order: -1;
  }
  .form-image img {
    
    border-radius: 15px;
    margin: 0 auto;
  }
  .form-wrapper h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  .form-wrapper p {
    margin: 0 auto 15px;
    font-size: 1rem;
    line-height: 1.8;
  }
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 100px 20px 40px;
  }
  .form-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .form-wrapper p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .form-wrapper .btn {
    margin-top: 20px;
    padding: 12px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-form-section {
    padding: 140px 15px 30px;
    min-height: auto;
  }
  .contact-form-section .container {
    gap: 30px;
  }
  .form-wrapper h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .form-wrapper p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  .form-wrapper .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    margin-top: 15px;
  }
}

@media (max-width: 450px) {
  .form-image img { max-width: 360px; }
}
@media (max-width: 400px) {
  .form-image img { max-width: 320px; }
}
@media (max-width: 375px) {
  .form-image img { max-width: 280px; }
}

@media (max-width: 992px) {
  .form-image {
    min-height: auto !important;
    height: auto !important;
    display: flex;
    justify-content: center;
  }
  .form-image img {
    height: auto !important;
    max-width: 358px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 1/1;
  }
}

@media (max-width: 992px) {
  .form-image {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .form-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .form-image img {
    max-width: 320px;
  }
}

@media (max-width: 375px) {
  .form-image img {
    max-width: 280px;
  }
}

@media (max-width: 992px) {
  .contact-hero__image {
    order: -1;
  }
  .contact-hero__photo {
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 360px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .contact-hero__photo {
    max-width: 360px !important;
    margin: 0 auto 0;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 6px;
  }
}

@media (max-width: 375px) {
  .contact-hero__photo {
    max-width: 320px !important;
    margin: 0 auto 8px;
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 5px;
  }
}

@media (max-width: 768px) {
  .form-wrapper .btn {
    width: auto;
    display: inline-flex;
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 30px 20px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }

    .footer-contact,
    .footer-social,
    .footer-links {
        text-align: center;
    }

    .footer-contact a,
    .footer-social-link,
    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-bottom {
        margin-top: 25px;
        padding-top: 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 25px 15px 12px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-contact a,
    .footer-social-link,
    .footer-links a {
        font-size: 0.85rem;
    }
}