/* Contact Page Styling */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
    margin-bottom: 0;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translate(40px, -40px) rotate(120deg) scale(1.1); 
    }
    66% { 
        transform: translate(-30px, 30px) rotate(240deg) scale(0.95); 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Cards */
.contact-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(40, 167, 69, 0.25) !important;
    border-color: rgba(40, 167, 69, 0.3);
}

.contact-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: white;
    animation: pulse 3s infinite ease-in-out;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.contact-icon i {
    font-size: 2rem;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
    }
}

.contact-card h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.contact-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6c757d;
}

/* Form Card */
.form-card {
    border-radius: 28px;
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(70px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card .card-header {
    padding: 45px 40px !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none;
}

.form-card .card-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.form-card .card-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

.form-card .card-body {
    padding: 60px 50px !important;
    background: #ffffff;
}

.form-control {
    border-radius: 16px;
    border: 2px solid #e9ecef;
    padding: 18px 24px;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    color: #2d3748;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.12);
    transform: translateY(-3px);
    background: #ffffff;
    outline: none;
    color: #2d3748;
}

.form-control:hover {
    border-color: #20c997;
    background: #ffffff;
}

label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

.submit-btn {
    border-radius: 50px;
    padding: 18px 60px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

/* Info Cards */
.info-card {
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.info-card:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(40, 167, 69, 0.3);
}

.info-card .card-body {
    padding: 50px 45px !important;
}

.info-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.info-card p, .info-card li {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #495057;
}

.info-card strong {
    color: #2d3748;
    font-weight: 600;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 28px;
    transition: all 0.3s ease;
    border-radius: 16px !important;
    color: #2d3748;
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
    border-color: #28a745;
}

.accordion-button:hover {
    background-color: rgba(40, 167, 69, 0.05);
}

.accordion-item {
    border-radius: 16px !important;
    margin-bottom: 20px;
    border: 2px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.accordion-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.18);
    border-color: rgba(40, 167, 69, 0.3);
}

.accordion-body {
    padding: 25px 28px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    background: #fafafa;
}

/* Stagger Animation */
.stagger-animation {
    animation: staggerFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.stagger-animation:nth-child(1) { animation-delay: 0.15s; }
.stagger-animation:nth-child(2) { animation-delay: 0.3s; }
.stagger-animation:nth-child(3) { animation-delay: 0.45s; }

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero {
        padding: 90px 0 70px;
    }
    
    .contact-card .card-body {
        padding: 40px 30px !important;
    }
    
    .form-card .card-body {
        padding: 45px 35px !important;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 70px 0 50px;
    }
    
    .contact-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }
    
    .contact-icon i {
        font-size: 1.8rem;
    }
    
    .form-card .card-header {
        padding: 35px 30px !important;
    }
    
    .form-card .card-body {
        padding: 40px 25px !important;
    }
    
    .submit-btn {
        padding: 16px 45px;
        font-size: 1.05rem;
    }
}
