/* Modern Contact Page Styles */

/* Hero Section */
.hero-contact {
    background: linear-gradient(135deg, #1a4d2e 0%, #0f2818 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 1;
}

.hero-contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #f8f9fa 0%, transparent 100%);
}

.hero-content-left {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(139, 195, 74, 0.25) 100%);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 400;
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-quick-contact {
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #1a4d2e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.btn-quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-quick-contact:hover::before {
    left: 100%;
}

.btn-quick-contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    text-decoration: none;
    color: #1a4d2e;
}

.btn-quick-contact.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.9);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-quick-contact.btn-outline:hover {
    background: rgba(255,255,255,0.95);
    color: #1a4d2e;
    border-color: white;
}

/* Hero Contact Cards */
.hero-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.quick-info-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 30px;
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-info-card:hover::before {
    opacity: 1;
}

.quick-info-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.12) 100%);
    transform: translateX(10px) translateY(-5px);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.quick-info-card i {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(76, 175, 80, 0.3));
}

.quick-info-card h5 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.quick-info-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.quick-info-card a:hover {
    color: #8BC34A;
    text-decoration: none;
    transform: translateX(5px);
}

.quick-info-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.quick-info-card small {
    opacity: 0.85;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
    font-weight: 400;
}

/* Contact Main Section */
.contact-main-section {
    background: #f8f9fa;
}

.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(139, 195, 74, 0.12) 100%);
    color: #1a4d2e;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a4d2e;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-description {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Modern Form */
.modern-contact-form .form-group {
    margin-bottom: 20px;
}

.form-control-modern {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid #e3e8ef;
    border-radius: 14px;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
    font-weight: 500;
}

.form-control-modern:focus {
    outline: none;
    border-color: #1a4d2e;
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.08), 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.form-control-modern::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #1a4d2e 0%, #0f2818 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-submit-modern:hover::before {
    left: 100%;
}

.btn-submit-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(26, 77, 46, 0.4);
    background: linear-gradient(135deg, #1f5a37 0%, #12301f 100%);
}

.btn-submit-modern i {
    transition: transform 0.4s ease;
    font-size: 1.2rem;
}

.btn-submit-modern:hover i {
    transform: translateX(8px);
}

/* Alert Modern */
.alert-modern {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: none;
}

.alert-modern i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.alert-modern strong {
    display: block;
    margin-bottom: 5px;
}

.alert-modern p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Sidebar */
.contact-sidebar {
    position: sticky;
    top: 100px;
}

.map-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    height: 300px;
    border: 1px solid rgba(0,0,0,0.05);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.info-sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.info-sidebar-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a4d2e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.info-sidebar-card h5 i {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list i {
    color: #1a4d2e;
    font-size: 1.3rem;
    margin-top: 3px;
    min-width: 24px;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-list strong {
    display: block;
    color: #1a4d2e;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.info-list span {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* How to Reach Section */
.reach-section {
    background: #f8f9fa;
}

.reach-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.reach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reach-card:hover::before {
    opacity: 1;
}

.reach-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: rgba(76, 175, 80, 0.2);
}

.reach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a4d2e 0%, #0f2818 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.25);
    transition: all 0.4s ease;
    position: relative;
}

.reach-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.reach-card:hover .reach-icon::before {
    opacity: 0.3;
}

.reach-card:hover .reach-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(26, 77, 46, 0.35);
}

.reach-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a4d2e;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.reach-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.reach-card li {
    padding: 10px 0;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

.reach-card li strong {
    color: #1a4d2e;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-contact {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
    
    .btn-quick-contact {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
