* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #fff1f1;
    position: relative;
    overflow-x: hidden;
    
} 
/*-----------------------------------------contact--------------------------------------------------------*/

.seven {
    background-color: #f5f5f5;
}

.section-7 {
    width: 100%;
    overflow: hidden;
    margin-top: 98px;
}

.header {
    background-color: #ff0000;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
}

.header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: white;
    margin: 15px auto;
}

.content {
    padding: 50px 15%;
    text-align: center;
}

.content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: normal;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.card {
    flex: 1;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.card-icon {
    flex: 0 0 60px;
    margin-right: 20px;
}

.card-content {
    flex: 1;
    text-align: left;
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.card-alternate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a70000;
    color: white;
    display: flex;
    align-items: center;
    padding: 30px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.card.active .card-alternate {
    transform: translateY(0);
}

.card-alternate-content {
    text-align: left;
    font-size: 18px;
    line-height: 1.5;
}

/*--------------------------------------------------contact map section----------------------*/

.section-8 {
    display: flex;
    width: 100%;
   
    padding: 20px;
}

/* Contact Form Styling */
.contact-form {
    flex: 1;
    background-color: gainsboro;
    padding: 30px;
    color: #333;
    border-radius: 5px;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-form p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #333;
    background-color: transparent;
    outline: none;
    color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.send-btn {
    background: linear-gradient(to right, #fff1f1, #ff0000,#a70000);
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    opacity: 0.9;
}

/* Address Section Styling */
.address-section {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 5px;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #ff0000;
    font-weight: bold;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a70000;
}

.tab-content {
    display: none;
    
}

.tab-content.active {
    display: block;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon-container {
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.icon-container i {
    color: #ff0000;
    font-size: 24px;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
}

.map-container {
    height: 450px;
  
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 5px;
}





/*--------------------------------------------------footer-----------------------------*/




/*----------------------------------------------------media query---------------------------------------------------*/


/*-----------------------------------------contact query--------------------------------------------------------*/



/* Large screens (desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    .content {
        padding: 60px 20%;
    }
    
    .header {
        padding: 120px 0;
    }
    
    .header h2 {
        font-size: 36px;
    }
    
    .header p {
        font-size: 20px;
    }
    
    .content h3 {
        font-size: 28px;
    }
    
    .card {
        padding: 40px;
    }
}

/* Medium screens (tablets, between 768px and 1199px) */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    .content {
        padding: 40px 10%;
    }
    
    .header {
        padding: 80px 0;
    }
    
    .content h3 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .card-content {
        font-size: 18px;
    }
    
    .card-alternate-content {
        font-size: 16px;
    }
}

/* Small screens (mobile phones, less than 768px) */
@media screen and (max-width: 767px) {
    .header {
        padding: 60px 20px;
    }
    
    .header h2 {
        font-size: 28px;
    }
    
    .header p {
        font-size: 16px;
    }
    
    .content {
        padding: 30px 5%;
    }
    
    .content h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .cards-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-icon {
        flex: 0 0 40px;
    }
    
    .card-content {
        font-size: 18px;
    }
    
    .card-alternate-content {
        font-size: 16px;
        padding: 20px;
    }
}

/* Extra small screens (small mobile phones, less than 480px) */
@media screen and (max-width: 479px) {
    .header {
        padding: 40px 15px;
    }
    
    .header h2 {
        font-size: 24px;
    }
    
    .header p {
        font-size: 14px;
    }
    
    .content h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .card {
        padding: 15px;
        min-height: 80px;
    }
    
    .card-icon {
        flex: 0 0 30px;
        margin-right: 10px;
    }
    
    .card-content {
        font-size: 16px;
    }
    
    .card-alternate {
        padding: 15px;
    }
    
    .card-alternate-content {
        font-size: 14px;
    }
}




/*--------------------------------------------------contact map section query----------------------*/

 /* Responsive layout */
 @media screen and (max-width: 768px) {
    .section-8 {
        flex-direction: column;
    }
    
    .contact-form, .address-section {
        width: 100%;
    }
}

/* Large screens (desktops) */
@media screen and (min-width: 1201px) {
    .section-8 {
      padding: 40px;
      max-width: 1400px;
      margin: 0 auto;
    }
    
    .contact-form, .address-section {
      padding: 40px;
    }
    
    .map-container iframe {
      height: 400px;
      width: 100%;
    }
  }
  
  /* Medium screens (tablets and small desktops) */
  @media screen and (min-width: 769px) and (max-width: 1200px) {
    .section-8 {
      padding: 30px;
    }
    
    .contact-form, .address-section {
      padding: 25px;
    }
    
    .contact-form h2 {
      font-size: 24px;
    }
    
    .map-container iframe {
      height: 350px;
      width: 100%;
    }
    
    .icon-container {
      width: 40px;
      height: 40px;
    }
  }
  
  /* Small screens (mobile phones) */
  @media screen and (max-width: 768px) {
    .section-8 {
      flex-direction: column;
      padding: 15px;
    }
    
    .contact-form, .address-section {
      width: 100%;
      padding: 20px;
      margin-bottom: 20px;
    }
    
    .contact-form h2 {
      font-size: 22px;
    }
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .send-btn {
      padding: 12px;
    }
    
    .tab {
      padding: 8px 15px;
      font-size: 16px;
    }
    
    .contact-item {
      margin-bottom: 20px;
    }
    
    .icon-container {
      width: 35px;
      height: 35px;
      margin-right: 15px;
    }
    
    .contact-details h4 {
      font-size: 14px;
      
    }
    
    .contact-details p {
      font-size: 13px;
      
    }
    
    .map-container {
      height: 300px;
    }
    
    .map-container iframe {
      height: 280px;
      width: 100%;
    }
  }
  
  /* Extra small screens (small mobile phones) */
  @media screen and (max-width: 480px) {
    .section-8 {
      padding: 10px;
    }
    
    .contact-form, .address-section {
      padding: 15px;
    }
    
    .tab-header {
      margin-bottom: 20px;
    }
    
    .tab {
      padding: 6px 10px;
      font-size: 14px;
    }
    
    .contact-item {
      flex-direction: column;
      text-align: center;
    }
    
    .icon-container {
      margin-right: 0;
      margin-bottom: 10px;
    }
    
    .map-container {
      height: 250px;
    }
    
    .map-container iframe {
      height: 230px;
    }
     
    .contact-details h4 {
       text-align:center;
        
      }
      .contact-details p {
        text-align: center;
        
      }  
      
  }




