/* ================================================
   Contact Us Page
   ================================================ */

.cn-container {
    max-width: 1400px;
    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 64px;
    background: #fff;
}

.cn-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.cn-hero-copy { text-align: left; }

.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-copy > p {
    font-size: 16px;
    color: #666;
    max-width: 480px;
    margin: 0 0 36px;
    line-height: 1.8;
}

.cn-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cn-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fdf2;
    border: 1px solid #e5f5c8;
    border-radius: 14px;
    padding: 18px 22px;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cn-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(135, 185, 66, .14);
    border-color: #c8e49a;
}

.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;
    transition: transform .25s ease;
}

.cn-info-item:hover .cn-info-icon {
    transform: scale(1.08) rotate(-4deg);
}

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

.cn-info-item span {
    display: block;
    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; }

/* Map card, right column of the hero */
.cn-hero-map {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cn-map-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    background: #f2f2f2;
}

.cn-map-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cn-map-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: 10px;
    background: #87b942;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: background .2s ease, transform .2s ease;
}

.cn-map-directions:hover {
    background: #729d34;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ================================================
   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-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .cn-hero-copy { text-align: center; }
    .cn-hero-copy > p { margin: 0 auto 36px; }
    .cn-info-list { max-width: 480px; margin: 0 auto; }
    .cn-map-card { aspect-ratio: 16 / 9; }
    .cn-hero-map { align-items: center; }
    .cn-map-directions { align-self: center; }
    .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; }
}

@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; }
}
