/* Add this to main1.css */
@media (max-width: 767px) {
    .service-section {
        padding: 30px 0;
    }
    
    .service-box-items {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .service-box-items .icon {
        margin-bottom: 15px;
    }
    
    .service-box-items h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-box-items p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .section-title h1 {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .sub-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
}
/* Add this to main1.css */
@media (max-width: 767px) {
    .header {
        height: 70vh;
        min-height: 500px;
        padding-top: 70px;
        background-position: center center;
    }
    
    .header h1 {
        font-size: 28px !important;
        padding: 0 15px !important;
        line-height: 1.3;
    }
    
    .header p {
        font-size: 16px !important;
        padding: 0 15px !important;
        margin-bottom: 25px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .theme-btn {
        width: 100%;
        text-align: center;
    }
}
/* Add this to main1.css */
@media (max-width: 767px) {
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-info {
        margin-top: 30px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px;
    }
}
/* Add this to main1.css */
@media (max-width: 767px) {
    .about-section {
        padding: 30px 0;
    }
    
    .about-content {
        margin-top: 30px;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .about-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}
/* Add this to main1.css */
@media (max-width: 767px) {
    /* Fix container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Fix row margins */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    /* Fix column padding */
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Fix section spacing */
    section {
        padding: 40px 0;
    }
    
    /* Fix font sizes */
    h1 {
        font-size: 28px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    /* Improve button touch targets */
    .btn, .theme-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Pricing Section Mobile Optimization */
@media (max-width: 767px) {
    .pricing-section {
        padding: 40px 0 !important;
    }
    
    .pricing-section .section-title {
        margin-bottom: 30px;
    }
    
    .pricing-box-items {
        margin-bottom: 30px;
        padding: 30px 20px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }
    
    .pricing-header {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .pricing-features {
        margin: 25px 0;
    }
    
    .pricing-features li {
        margin-bottom: 12px;
        font-size: 14px;
        display: flex;
        align-items: center;
    }
    
    .pricing-features li i {
        margin-right: 10px;
        color: #0056b3;
    }
    
    .pricing-footer {
        margin-top: 25px;
    }
    
    .pricing-tab {
        margin-bottom: 30px;
    }
    
    .nav-pills {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .nav-pills .nav-link {
        padding: 8px 20px;
        font-size: 14px;
        margin: 0 5px;
    }
    
    .pricing-box-items .price {
        font-size: 36px;
        margin: 15px 0;
    }
    
    .pricing-box-items .price span {
        font-size: 16px;
    }
    
    /* Remove unnecessary spacing in tab content */
    .tab-content {
        margin-top: 0;
    }
    
    /* Adjust row and column spacing */
    .pricing-section .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .pricing-section [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* Contact Form Full Width Fix */
@media (max-width: 767px) {
    .contact-section .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
        width: 100%;
    }

    .contact-wrapper {
        width: 100%;
        margin: 0;
        margin-top: 48px;
        padding: 0;
    }

    .contact-form-area {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    #contact-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    #contact-form .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #contact-form [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    #contact-form .form-control {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Make sure the form elements take full width */
    #contact-form input,
    #contact-form textarea,
    #contact-form select {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Override any specific width settings */
    .contact-form-area form,
    .contact-form-area .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 0;
    }

    /* Make sure the form container doesn't have any max-width */
    .contact-form-area,
    .contact-form-area > * {
        max-width: 100% !important;
    }
}
/* Contact Section Title Visibility Fix */
@media (max-width: 767px) {
    /* Fix for main heading */
    .contact-section .section-title h2 {
        font-size: 24px !important;
        color: #06224b !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 10px 0 20px !important;
        line-height: 1.3;
    }

    /* Fix for "Get in Touch" subheading */
    .contact-form-area h3 {
        font-size: 20px !important;
        color: #06224b !important;
        margin-bottom: 20px !important;
        margin-top: 20px !important;
        text-align: center;
    }

    /* Fix for location section title */
    .contact-info h3 {
        font-size: 20px !important;
        color: #06224b !important;
        margin: 30px 0 20px !important;
        text-align: center;
    }

    /* Ensure text is visible against any background */
    .contact-section .text-white {
        color: #06224b !important;
        text-shadow: none;
    }

    /* Add some spacing around the contact section */
    .contact-section {
        padding: 40px 0 !important;
        background: #fff !important;
    }

    /* Make sure the contact info is properly spaced */
    .contact-info {
        margin-top: 30px;
        padding: 0 15px;
    }
}
/* Contact Map Mobile Styling */
@media (max-width: 767px) {
    .contact-map {
        width: 100% !important;
        height: 300px !important; /* Adjust height as needed */
        margin: 0;
        padding: 0;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .contact-map iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        display: block;
    }

    /* Ensure the column containing the map takes full width */
    .col-xl-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }

    /* Add some spacing between the form and map on mobile */
    .contact-form-area + .col-xl-6 {
        margin-top: 30px !important;
    }
    #footer{
        margin-top: 1rem;
    }
}