/* ============================= */
/* GLOBAL FIXES */
/* ============================= */

body {
    overflow-x: hidden;
}

p {
    padding-left: 0 !important;
    margin-bottom: 0;
}

/* ============================= */
/* SECTION HEADINGS */
/* ============================= */

.sec-h {
    font-size: 1.7rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 5px;
}

.sec-s {
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: #111;
    font-weight: 600;
}

/* ============================= */
/* SERVICES GRID */
/* ============================= */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 140px;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.svc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.svc-ico {
    width: 42px;
    height: 42px;
    background: #fccece;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-ico i {
    color: #e8192c;
    font-size: 22px;
}

.svc-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.svc-card p {
    font-size: 12.5px;
    color: #777;
    line-height: 1.5;
}

/* ============================= */
/* STATS SECTION */
/* ============================= */

.stats-section {
    background: #FEE7DF;
    padding: 15px;
    border-radius: 14px;
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px; 
    border-radius: 10px;
}

.stat-ico i {
    font-size: 1.4rem;
    color: #e8192c;
}

.stat-n {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.stat-l {
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
}

/* ============================= */
/* ABOUT SECTION */
/* ============================= */

.about-sec {
    background: #fff;
    padding: 60px 0;
}

.aimg-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.aimg-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yrs-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.yrs-n {
    font-size: 1.6rem;
    font-weight: 900;
    color: #e8192c;
}

.yrs-l {
    font-size: 0.65rem;
    font-weight: 700;
    color: #555;
}

.a-tag {
    background: #fff0f1;
    color: #e8192c;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    gap: 6px;
    margin-bottom: 10px;
}

.a-h {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 12px;
}

.a-p {
    font-size: 0.90rem;
    color: #555;
    line-height: 1.7;
}

.a-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.a-check i {
    color: #e8192c;
}

.btn-learn {
    background: #e8192c;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-top: 15px;
}

.btn-learn:hover {
    background: #c0141f;
    color: #fff;
}

 
 

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1200px) {
    .svc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .sec-h {
        font-size: 1.3rem;
    }

    .sec-s {
        font-size: 0.75rem;
    }

    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-card {
        flex: 0 0 100%;
    }

    .ts-arrow {
        width: 34px;
        height: 34px;
    }

    .ts-arrow.left {
        left: 5px;
    }

    .ts-arrow.right {
        right: 5px;
    }

    .a-h {
        font-size: 1.3rem;
    }

    .a-p {
        font-size: 0.75rem;
    }

    .btn-learn {
        width: 100%;
        justify-content: center;
    }

    .svc-card h6{

        font-size: 12px!important;
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* INITIAL STATE */
.stat-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* WHEN VISIBLE */
.stat-box.show {
    opacity: 1;
    transform: translateY(0);
}

 /* INITIAL STATE */
    .svc-card {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    /* WHEN VISIBLE */
    .svc-card.show {
        opacity: 1;
        transform: translateY(0);
    }


    /* INITIAL */
.profile-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s ease;
}

/* WHEN VISIBLE */
.profile-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.svc-wrapper {
    max-width: 1400px; /* 🔥 control width here */
    margin: 0 auto; /* center it */
}


/* FORCE WHITE DROPDOWN BACKGROUND */
.dropdown-menu {
    background-color: #ffffff !important;
    color: #000 !important;
    border-radius: 12px;
    padding: 8px;
}

/* FIX ITEMS */
.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;
    border-radius: 8px;

    color: #222 !important;
    transition: all 0.2s ease;
}

/* REMOVE DARK HOVER */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: #fff5f5 !important; /* light red */
    color: #000 !important;
}

/* FIX ICON VISIBILITY */
.dropdown-menu .dropdown-item i {
    color: #ff3b3b !important;
}

/* REMOVE ANY DARK THEME VARIABLES */
.dropdown-menu {
    --bs-dropdown-bg: #ffffff !important;
    --bs-dropdown-link-hover-bg: #fff5f5 !important;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #ff3b3b;
    color: #fff;

    padding: 8px 18px;
    border-radius: 25px;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.btn-login:hover {
    background: #e60023;
    color: #fff;
    transform: translateY(-1px);
}

/* ICON */
.btn-login i {
    font-size: 13px;
}