/* Contact Page Styles */

.contact-section {
    min-height: calc(100vh - 80px);
    background-color: #f5f5f5;
    padding: 0;
}

/* Contact Cards Wrapper */
.contact-cards-wrapper {
    max-width: 1400px;
    margin: -30px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #117331;
}

.contact-card h4 {
    font-size: clamp(12px, 0.9vw, 14px);
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card .card-main {
    font-size: clamp(16px, 1.2vw, 18px);
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card .card-sub {
    font-size: clamp(13px, 1vw, 14px);
    color: #999;
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-cards-wrapper {
        margin-top: -60px;
        padding: 0 15px 60px;
    }
}

/* Responsive for different monitor resolutions */
@media (min-width: 1920px) {
    /* 4K / Large Desktop */
    .contact-cards-wrapper {
        max-width: 1600px;
    }
}

@media (max-width: 1440px) {
    /* Standard Desktop */
    .contact-cards-wrapper {
        max-width: 1300px;
    }
}

@media (max-width: 1366px) {
    /* Laptop */
    .contact-cards-wrapper {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    /* Tablet Landscape */
    .contact-cards-wrapper {
        max-width: 900px;
    }
    
    .contact-cards-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Tablet Portrait / Mobile */
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-cards-wrapper {
        margin-top: -40px;
        padding: 0 15px 60px;
    }
}

@media (max-width: 480px) {
    /* Mobile Portrait */
    .contact-card {
        padding: 40px 25px;
    }
}

.contact-header {
    background: linear-gradient(135deg, #0d5a26 0%, #117331 25%, #1a8f42 50%, #117331 75%, #0d5a26 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    margin: 0 -20px 0 -20px;
    width: calc(100% + 40px);
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-header .hero-subtitle {
    font-size: clamp(10px, 0.85vw, 12px);
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.95;
    text-align: center;
    color: white;
}

.contact-header h1 {
    font-size: clamp(32px, 3.5vw, 42px);
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.contact-header .hero-description {
    font-size: clamp(13px, 1vw, 15px);
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Contact Info */
.contact-info {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    font-size: clamp(24px, 2vw, 28px);
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info > p {
    font-size: clamp(14px, 1.1vw, 15px);
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #117331 0%, #0d5a26 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: clamp(16px, 1.2vw, 18px);
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    font-size: clamp(13px, 1vw, 14px);
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: clamp(20px, 1.6vw, 24px);
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(13px, 1vw, 14px);
    transition: border-color 0.3s;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #117331;
    background-color: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #117331;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(17, 115, 49, 0.2);
}

.btn-submit:hover {
    background-color: #0d5a26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 115, 49, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px 60px;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 10px 50px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .info-item {
        gap: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Contact Cards Section */
.contact-cards-section {
    background: white;
    padding: 0 20px 60px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.contact-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 3;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(17, 115, 49, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(17, 115, 49, 0.2);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #117331 0%, #0d5a26 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(17, 115, 49, 0.3);
}

.contact-card h4 {
    font-size: clamp(16px, 1.3vw, 18px);
    color: #117331;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card .main-info {
    font-size: clamp(18px, 1.5vw, 20px);
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card .sub-info {
    font-size: clamp(14px, 1.1vw, 15px);
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-cards-section {
        padding: 0 15px 40px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background: transparent;
    padding: 60px 20px 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #117331;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background: #117331;
}

.section-header h2 {
    font-size: clamp(32px, 3vw, 38px);
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(135deg, #117331 0%, #0d5a26 100%);
    border-radius: 20px 0 0 20px;
    padding: 50px 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(17, 115, 49, 0.3);
}

.contact-info-box h3 {
    font-size: clamp(24px, 2vw, 28px);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-box > p {
    font-size: clamp(14px, 1.1vw, 15px);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-list-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-list-content h5 {
    font-size: clamp(16px, 1.2vw, 18px);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-list-content p {
    font-size: clamp(14px, 1vw, 15px);
    line-height: 1.6;
    opacity: 0.95;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #f8f9fa;
    border-radius: 0 20px 20px 0;
    padding: 40px;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #1a1a1a;
    font-size: clamp(14px, 1.1vw, 15px);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: clamp(14px, 1.1vw, 15px);
    transition: all 0.3s ease;
    background-color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #117331;
    box-shadow: 0 4px 15px rgba(17, 115, 49, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23117331' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #117331 0%, #0d5a26 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: clamp(15px, 1.2vw, 16px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(17, 115, 49, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 115, 49, 0.4);
}

/* Responsive */
@media (min-width: 1920px) {
    /* 4K / Large Desktop */
    .contact-content-wrapper {
        max-width: 1400px;
    }
}

@media (max-width: 1440px) {
    /* Standard Desktop */
    .contact-content-wrapper {
        max-width: 1200px;
    }
}

@media (max-width: 1366px) {
    /* Laptop */
    .contact-content-wrapper {
        max-width: 1100px;
    }
}

@media (max-width: 1024px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-box {
        padding: 40px 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .contact-form-section {
        padding: 40px 15px 60px;
    }
}
