﻿/* ================= ROOT VARIABLES ================= */
:root {
    /* Brand */
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --accent: #6610f2;
    /* Dark UI */
    --bg-dark: #020617;
    --bg-darker: #0b0f19;
    --header-bg: #0b0f19;
    --border-dark: #1e293b;
    /* Text */
    --text-light: #cbd5e1;
    --text-muted-dark: #94a3b8;
    --text-muted-light: #555;
    --text-dark: #2c3e50;
    /* UI */
    --radius-sm: 0.4rem;
    --radius-md: 0.6rem;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    /* Cards */
    --card-bg: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.15);
}

/* ================= BASE ================= */
html {
    font-size: 14px;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
}

/* ================= ACCESSIBILITY ================= */
:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
    border-radius: var(--radius-sm);
}

/* ================= FOOTER ================= */
.site-footer {
    background: var(--header-bg);
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-title,
.footer-brand {
    color: #ffffff;
    font-weight: 600;
}

.footer-text,
.footer-contact {
    color: var(--text-muted-dark);
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition-fast);
    }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(2px);
        }

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

    .footer-social a:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
    }

.footer-bottom {
    background: var(--header-bg);
    border-top: 1px solid var(--border-dark);
}

/* ================= BACK TO TOP ================= */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition-base);
    z-index: 999;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* ================= ABOUT PAGE ONLY ================= */
.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.fade-up {
    opacity: 1; /* visible by default */
    transform: none;
    transition: 0.8s ease;
}

    /* Only animate when JS explicitly adds .animate */
    .fade-up.animate {
        opacity: 0;
        transform: translateY(30px);
    }

        .fade-up.animate.show {
            opacity: 1;
            transform: translateY(0);
        }


    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

.card-custom {
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    padding: 2rem;
    transition: var(--transition-base);
}

    .card-custom:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px var(--shadow-strong);
    }

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
}


.why-choose-us img {
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-base);
}

    .why-choose-us img:hover {
        transform: scale(1.05);
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }
}

/* Header text scaling */
.page-header .display-5 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-header .lead {
    max-width: 760px;
}

/* Improve card spacing on mobile */
@media (max-width: 576px) {
    .card-custom {
        padding: 1.5rem;
    }

    .icon-circle {
        margin-bottom: 1rem;
    }

    .cta-section h3 {
        font-size: 1.6rem;
    }
}
/* TEAM CARD IMAGE SIZE CONTROL */
.team-card .image-wrapper {
    width: 140px; /* 🔽 Reduce image size */
    height: 140px;
    margin: 1.25rem auto; /* Center horizontally */
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
}

    .team-card .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Keeps face centered */
        border-radius: 50%;
    }
