/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    height: 24vh;
    background-image: url('../images/heroimg2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;           /* OPTIONS: cover | contain | 100% | 150% etc. */
    background-position: center 44%; /* TUNE: "left top" | "center 30%" | "right bottom" | "50% 70%" */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Added to match other pages */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Page layout */
.page-section {
    min-height: 100vh;
    padding: 80px 20px 60px;
    background-color: #ffffff;
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .branch-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .branch-card:active {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .submit-btn:active {
        transform: translateY(-1px);
        background: #067a35;
    }
    
    .cta-btn:hover {
        transform: none;
    }
    
    .cta-btn:active {
        transform: translateY(-1px);
    }
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.page-section h1 {
    font-size: 3rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Contact content layout */
.contact-content {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    width: 100%;
    margin: 40px auto 0;
    padding: 0 40px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.contact-info {
    flex: 1;
    max-width: 500px;
    padding-right: 20px;
}

.contact-info h2 {
    color: #089c44;
    margin-bottom: 0px;
    font-size: 2.2rem;
    font-weight: 700;
}

.contact-info p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 0px;  /* Reduced from 30px to 15px */
    font-size: 1.1rem;
    text-align: left;
}

.contact-form {
    flex: 0 0 420px;
    max-width: 420px;
    width: 420px;
}

.contact-info {
    flex: 1;
    max-width: 500px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.client-login-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    margin-top: 0px;  /* Reduced from 20px to 10px */
    width: 100%;
}

.client-login-card h2 {
    color: #666;
    margin-bottom: 30px; /* Increased from 20px */
    padding-bottom: 15px; /* Add padding to contain the underline */
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.client-login-card h2::after {
    content: '';
    position: absolute;
    bottom: 10px; /* Align to bottom of padding */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #000000, #333333);
    border-radius: 2px;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.login-btn {
    width: 100%;
    padding: 15px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-btn:active, .client-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.client-login-btn {
    width: 100%;
    padding: 15px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-login-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.client-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-form h2 {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #089c44, #067a35);
    border-radius: 2px;
}

/* Contact details styling */
.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #089c44;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form styling */
.form {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: inherit;
    color: #666;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #089c44;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(8, 156, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    background: #089c44;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin: 25px auto 0;
}

.submit-btn:hover {
    background: #067a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(8, 156, 68, 0.3);
}

/* Additional info section */
.additional-info {
    margin-top: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid #089c44;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8, 156, 68, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.info-card p {
    color: #6c757d;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Client Login Section */
.client-login-section {
    padding: 40px 0;
    width: 100%;
    background-color: #f8f9fa;
}

.client-login-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
}

.client-login-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.10);
}

.client-benefits {
    flex: 1.5;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    
}

.client-benefits h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.client-benefits h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #089c44;
}

.benefits-content {
    color: #333;
    line-height: 1.8;
    margin-top: 15px;
}

.benefits-content p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #4a5568;
}

.new-client-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.new-client-cta p {
    margin-bottom: 15px;
    color: #555;
}

.register-now-btn {
    display: inline-block;
    background: #089c44;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-now-btn:hover {
    background: #067a35;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(8, 156, 68, 0.2);
}

/* Responsive styles for client login section */
@media screen and (max-width: 992px) {
   .contact-content {
       max-width: 800px;
       gap: 30px;
       padding: 0 25px;
   }
   
   .contact-form {
       flex: 0 0 400px;
       max-width: 400px;
       width: 400px;
   }
}

@media screen and (max-width: 768px) {
   .contact-content {
       flex-direction: column;
       align-items: center;
       padding: 0 20px;
       max-width: 100%;
   }
   
   .contact-form {
       flex: 0 0 100%;
       max-width: 500px;
       width: 100%;
   } 
}

@media screen and (max-width: 1200px) {
   .contact-content {
       max-width: 1100px;
       gap: 40px;
       padding: 0 30px;
   }
   
   .contact-form {
       flex: 0 0 450px;
       max-width: 450px;
       width: 450px;
   } 
}

/* Tablet responsive styles */
@media screen and (max-width: 1024px) {
    .contact-content {
        gap: 40px;
    }

    .contact-info {
        padding-right: 10px;
    }

    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 0 30px;
    }
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .page-section {
        padding: 12px 15px 40px; /* minimal top space under navbar */
    }
    
    .client-login-card h2 {
        margin-bottom: 24px; /* Slightly reduced for mobile */
        padding-bottom: 12px; /* Slightly reduced for mobile */
    }
    
    main {
        margin-top: 56px; /* tighter spacing */
    }

    .page-section h1 {
        font-size: 2.6rem;
        margin-bottom: 30px;
        line-height: 1.2;
        display: none; /* hide Contact Us on mobile */
    }

    .contact-content {
        flex-direction: column;
        gap: 35px;
        align-items: center; /* center children horizontally */
        margin-top: 10px; /* remove extra gap below hidden h1 */
    }

    .contact-info {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 0px;
        margin-top: 0; /* avoid extra top margin on mobile */
    }

    .contact-info p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
        order: 2;
        margin: 0 auto; /* center within container */
        align-self: center; /* center within flex parent */
    }

    .contact-form h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .form {
        padding: 25px 20px;
        border-radius: 12px;
        max-width: 520px; /* limit width so it can be centered */
        margin: 0 auto; /* center the form block */
        width: 100%;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 14px 35px;
        font-size: 15px;
        margin-top: 20px;
        width: 100%;
        max-width: 200px;
    }

    .contact-item {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .info-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .info-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-section {
        padding: 35px 20px;
        border-radius: 20px;
        margin-top: 40px;
    }

    .cta-section h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
        padding: 15px 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .page-section {
        padding: 10px 10px 24px; /* as tight as possible while readable */
    }
    
    main {
        margin-top: 54px; /* slightly smaller for very small devices */
    }

    .page-section h1 {
        font-size: 2rem;
        margin-bottom: 25px;
        padding: 0 10px;
        display: none; /* hide Contact Us on very small mobile */
    }

    .contact-content {
        gap: 30px;
        margin-top: 8px; /* keep content snug under navbar */
    }

    .contact-info h2 {
        font-size: 1.6rem;
        margin-bottom: 0px;  /* Reduced from 18px to 12px */
    }

    .contact-info p {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-form {
        max-width: 420px;
        margin: 0 auto; /* ensure centered on very small screens */
        width: 100%;
    }

    .form {
        padding: 20px 15px;
        margin: 0 auto; /* center on small phones */
        max-width: 420px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 8px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 180px;
        border-radius: 8px;
        -webkit-tap-highlight-color: transparent;
    }

    .info-card {
        padding: 20px 15px;
        margin: 0 5px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .info-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .cta-section {
        padding: 30px 15px;
        margin: 30px 5px 0;
        border-radius: 15px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .cta-btn {
        padding: 14px 25px;
        font-size: 14px;
        max-width: 220px;
        border-radius: 10px;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Company Presence Section */
.company-presence {
    margin: 0;
    padding: 0 0;
    align-self: flex-start; /* Align with the top of the contact form */
}

.company-presence h2 {
    color: #666;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.company-presence h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #089c44, #067a35);
    border-radius: 2px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    row-gap: 0px;
    margin: 20px auto 0;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5px;
}

.branch-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 90%;
    margin: 15px 0 25px;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.branch-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.05);
}

.branch-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 156, 68, 0.8), rgba(6, 122, 53, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-card:hover .branch-image::after {
    opacity: 1;
}

.branch-info {
    padding: 6px;
}

.branch-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.branch-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    letter-spacing: 1px;
    border-bottom: 2px solid #089c44;
    padding-bottom: 8px;
    display: inline-block;
}

.branch-info h3 {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #089c44;
    padding-bottom: 4px;
    display: inline-block;
}

.branch-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.branch-contact {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
}

.branch-contact span {
    font-size: 0.65rem;
    color: #089c44;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile responsive for company presence */
@media screen and (max-width: 1500px) {
    .branches-grid {
        max-width: 1200px;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        row-gap: 50px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1200px) {
    .branches-grid {
        max-width: 1000px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        row-gap: 45px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 992px) {
    .branches-grid {
        max-width: 800px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        row-gap: 40px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 30px auto 0;
        gap: 40px;
        padding: 0 20px;
    }

    .branch-card {
        width: 100%;
        max-width: 100%;
        min-height: 340px;
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .branch-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .branch-image {
        height: 80px;
        flex-shrink: 0;
    }

    .branch-info {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .branch-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
        min-height: 24px;
        display: flex;
        align-items: center;
    }

    .branch-info p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 8px;
        flex: 1;
        min-height: 70px;
    }

    .branch-contact {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }

    .branch-contact span {
        font-size: 0.9rem;
        flex-wrap: wrap;
        word-break: break-word;
    }

    .client-login-container .section-title {
        text-align: center;
        font-size: 1.5rem;
        margin: 30px 0 15px;
        color: #2c3e50;
    }

    .client-login-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .client-login-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .branches-grid {
        padding: 0 15px;
        gap: 25px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .branch-card {
        min-height: 300px;
        border-radius: 8px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .branch-image {
        height: 120px;
    }

    .branch-info {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .branch-info h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
        border-bottom-width: 1px;
        padding-bottom: 6px;
        min-height: 24px;
        display: flex;
        align-items: center;
    }

    .branch-info p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
        flex: 1;
        min-height: 70px;
    }

    .branch-contact {
        margin-top: auto;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }

    .branch-contact span {
        font-size: 12px;
        gap: 6px;
        line-height: 1.3;
        word-break: break-word;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 360px) {
    .branches-grid {
        padding: 0 12px;
        gap: 20px;
    }

    .branch-card {
        min-height: 280px;
        border-radius: 8px;
    }

    .branch-image {
        height: 120px;
    }

    .branch-info {
        padding: 12px;
    }

    .branch-info h3 {
        font-size: 0.95rem;
        min-height: 24px;
    }

    .branch-info p {
        font-size: 11px;
        min-height: 65px;
    }

    .branch-contact span {
        font-size: 11px;
        gap: 4px;
    }

    .company-presence h2 {
        font-size: 1.2rem;
        padding: 0 10px;
    }
}
/* Addi
tional contact page styles */
.additional-info {
    margin-top: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #089c44;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-card p {
    color: #6c757d;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, #089c44, #067a35);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 140px;
}

.cta-btn.primary {
    background-color: white;
    color: #089c44;
}

.cta-btn.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background-color: white;
    color: #089c44;
    transform: translateY(-2px);
}

/* Mobile responsive for additional contact styles */
@media screen and (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 35px 25px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ── Nashik HQ Card emphasis ─────────────────────────────────── */
.hq-card {
    position: relative;
    border: 2px solid #19b87a;
    box-shadow: 0 8px 32px rgba(25, 184, 122, 0.18);
    background: linear-gradient(160deg, #f4fdf8 0%, #ffffff 60%);
    transform: translateY(-4px);
}

/* Corner badge */
.hq-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #19b87a;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(25, 184, 122, 0.35);
}

/* "Headquarters" label next to the city name */
.hq-card .branch-info h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f7a4a;
}

.hq-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #19b87a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(25, 184, 122, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(25, 184, 122, 0.3);
    white-space: nowrap;
}

/* Top green accent line */
.hq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #19b87a, #0f7a4a);
    border-radius: 2px 2px 0 0;
}

/* Hover — keep the green glow, just lift a bit more */
.hq-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(25, 184, 122, 0.25);
}
