.ug-connect-section { 
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.ug-connect-section .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: #333;
}

.ug-connect-section .section-title span { color: #87b942; }

/* Team Grid */
.ug-connect-section .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    justify-content: center;
}

.ug-connect-section .team-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.ug-connect-section .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #87b942;
}

.ug-connect-section .image-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #f0f7e6;
    transition: border-color 0.3s;
}

.ug-connect-section .team-card:hover .image-wrap {
    border-color: #87b942;
}

.ug-connect-section .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ug-connect-section .member-info {
    text-align: center;
    margin-bottom: 20px;
}

.ug-connect-section .member-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.ug-connect-section .designation {
    font-size: 14px;
    color: #87b942;
    font-weight: 600;
}

/* CTA Buttons */
.ug-connect-section .cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.ug-connect-section .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 1.5px solid #eee;
    color: #555;
    background: #fcfcfc;
}

.ug-connect-section .cta-btn:hover {
    border-color: #87b942;
    color: #87b942;
    background: #fff;
}

.ug-connect-section .cta-whatsapp {
    grid-column: 1 / -1;
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.ug-connect-section .cta-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

/* Contact Form Section */
.ug-contact-form-section {
    padding: 80px 0;
    border-top: 1px solid #f0f0f0;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.form-header {
    text-align: center;
    margin-bottom: 45px;
}

.form-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.form-header h3 span { color: #87b942; }

.form-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 5px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fafafa;
    transition: all 0.3s;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: #87b942;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(135, 185, 66, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 35px;
}

.submit-btn {
    background: #87b942;
    color: #fff;
    border: none;
    padding: 18px 50px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(135, 185, 66, 0.2);
}

.submit-btn:hover {
    background: #6e9735;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(135, 185, 66, 0.3);
}

/* Success Message */
.form-success-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #87b942;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(135, 185, 66, 0.2);
}

.form-success-message h4 {
    font-size: 28px;
    color: #333;
    margin-bottom: 12px;
}

.form-success-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 35px;
}

/* Social Box */
.contact-box {
    margin: 60px auto 0;
    padding: 50px;
    background: #ffffff;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.contact-box h4 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 800;
}

.contact-box h4 span { color: #87b942; }

.social-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.social-row a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-row a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Social Backgrounds */
.social-row a:nth-child(1) { background: #1DA1F2; } /* Twitter */
.social-row a:nth-child(2) { background: #3B5998; } /* Facebook */
.social-row a:nth-child(3) { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); } /* Instagram */
.social-row a:nth-child(4) { background: #0088CC; } /* Telegram */
.social-row a:nth-child(5) { background: #0077B5; } /* LinkedIn */
.social-row a:nth-child(6) { background: #FF0000; } /* YouTube */
.social-row a:nth-child(7) { background: #BD081C; } /* Pinterest */
.social-row a:nth-child(8) { background: #FF4500; } /* Reddit */
.social-row a:nth-child(9) { background: #25D366; } /* Phone/WhatsApp color */

.social-row a:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.1);
}

/* Mobile View */
@media (max-width: 900px) {
    .ug-connect-section { margin: 40px auto; }
    .contact-form-container { padding: 30px; }
    .form-header h3 { font-size: 26px; }
}

@media (max-width: 768px) {
    .contact-form .form-row { grid-template-columns: 1fr; gap: 15px; }
    .ug-connect-section .section-title { font-size: 28px; }
}