﻿:root {
    --primary-color: #1c4e80;
    --green: #1c7c54;
    --green-dark: #0b6b3a;
    --border-light: #e5e7eb;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 45px rgba(0,0,0,0.15);
}

.page-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-medium);
    padding: 40px 30px;
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

/* Main Heading */
.main-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}
.main-heading::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: #ffd700;
    margin: 12px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-heading:hover::after {
    width: 130px;
}
.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.contact-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--border-light));
    margin-bottom: 15px;
}

/* Card */
.contact-card {
    background: linear-gradient(135deg, #ffffff, #f9f6ef);
    border-radius: 16px;
    border: 1px solid #d4af37;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.7s ease both;
}

/* Hover */
    .contact-card:hover {
        border: 2px solid #d4af37;
        transform: scale(1.01);
        box-shadow: 0 15px 35px rgba(0,0,0,0.18);
        background: linear-gradient(135deg, #fffdf8, #fefae8);
    }
/* Card body */
.card-body {
    padding: 20px 22px;
}
/* Text */
.contact-name {
    font-weight: 700;
    color: #222;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-designation {
    font-size: 14px;
    color: #000;
    line-height: 1.5;
}

.contact-phone {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}



.icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
    margin-top: 2px;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation */
.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .main-heading {
        font-size: 24px;
    }

    .card-body {
        padding: 18px;
    }
}