@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #3e2723;
    --primary-hover: #5d4037;
    --accent: #c4a378;
    --bg-light: #e1d3c1;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}


/* Search Section */
.search {
    max-width: 600px;
    margin: 60px auto 40px;
    position: relative;
    padding: 0 20px;
}

.search-field {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    background: white;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.search-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(43, 97, 225, 0.1);
}

.search-icon-img {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.5;
}

/* Grid Section */
.counsellor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .counsellor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .counsellor-grid {
        grid-template-columns: 1fr;
    }
}

.counsellor-card {
    background: white;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.counsellor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    background: #F1F5F9;
}

.experience {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tags span {
    background: #F1F5F9;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.book-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.book-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* Footer Section */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 80px 0 20px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    margin-bottom: 20px;
    object-fit: cover;
    background: white;
}

.footer-logo h2.brand {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 25px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}