/* ================================================
   Connect / Contact Page
   ================================================ */

.cn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cn-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #87b942;
    background: #f0f9e0;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 14px;
}

.cn-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.cn-section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cn-section-head h2 span { color: #87b942; }

.cn-section-head p {
    font-size: 15px;
    color: #777;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================
   HERO
   ================================================ */
.cn-hero {
    padding: 72px 0 60px;
    background: #fff;
    text-align: center;
}

.cn-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cn-hero h1 span { color: #87b942; }

.cn-hero > .cn-container > p {
    font-size: 16px;
    color: #666;
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.cn-info-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cn-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fdf2;
    border: 1px solid #e5f5c8;
    border-radius: 14px;
    padding: 20px 24px;
    text-align: left;
    min-width: 220px;
    flex: 1;
    max-width: 300px;
}

.cn-info-icon {
    width: 42px;
    height: 42px;
    background: #87b942;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 16px;
}

.cn-info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.cn-info-item span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cn-info-item a {
    color: #87b942;
    text-decoration: none;
}

.cn-info-item a:hover { text-decoration: underline; }

/* ================================================
   TEAM
   ================================================ */
.cn-team {
    padding: 72px 0;
    background: #f8f9fa;
}

.cn-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cn-team-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cn-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(135,185,66,0.12);
    border-color: #87b942;
}

.cn-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #87b942, #5a8a1e);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.cn-team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.cn-designation {
    font-size: 12px;
    color: #87b942;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.cn-contact-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid #eee;
    color: #555;
    background: #fcfcfc;
}

.cn-btn:hover { color: #87b942; border-color: #87b942; }

.cn-whatsapp {
    grid-column: 1 / -1;
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.cn-whatsapp:hover {
    background: #25d366;
    color: #fff !important;
    border-color: #25d366;
}

/* ================================================
   SOCIAL
   ================================================ */
.cn-social {
    padding: 72px 0 80px;
    background: #fff;
}

.cn-social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.cn-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    color: #fff;
}

.cn-social-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}

.cn-social-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.cn-social-card span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cn-twitter   { background: #1DA1F2; }
.cn-facebook  { background: #3B5998; }
.cn-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.cn-telegram  { background: #0088CC; }
.cn-linkedin  { background: #0077B5; }
.cn-youtube   { background: #FF0000; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .cn-team-grid { grid-template-columns: 1fr 1fr; }
    .cn-social-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .cn-hero h1 { font-size: 30px; }
    .cn-section-head h2 { font-size: 26px; }
    .cn-team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .cn-info-row { flex-direction: column; align-items: center; }
    .cn-info-item { max-width: 100%; }
}

@media (max-width: 480px) {
    .cn-hero { padding: 48px 0 40px; }
    .cn-team, .cn-social { padding: 48px 0; }
    .cn-social-grid { grid-template-columns: repeat(3, 1fr); }
    .cn-hero h1 { font-size: 26px; }
}
