/* 1. GLOBAL & ROOTS */
:root {
    --ppi-info: #0dcaf0;
    --ppi-dark: #212529;
    --ppi-gradient: linear-gradient(45deg, #0dcaf0, #00b4d8);
}

body { font-family: 'Inter', sans-serif; color: #333; overflow-x: hidden; }

/* 2. BUTTONS & UTILITIES */
.btn-info-ppi {
    background: var(--ppi-gradient);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(13, 202, 240, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-info-ppi:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.5);
    color: white;
}

.text-info-ppi { color: var(--ppi-info) !important; }
.bg-info-ppi { background-color: var(--ppi-info) !important; }

.text-gradient {
    background: linear-gradient(90deg, #0dcaf0, #0091ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. HERO & SLIDER (The Cleaned Version) */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    width: 100%;
}

.carousel-item {
    min-height: 90vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
}

/* Animation kwa maandishi ya slider */
.carousel-item.active h1 { animation: fadeInUp 0.8s forwards; }
.carousel-item.active p { animation: fadeInUp 1.2s forwards; }
.carousel-item.active .btn { animation: fadeInUp 1.5s forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. ANIMATIONS & SHAPES */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.float-element { animation: float 5s ease-in-out infinite; }

.custom-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}
.custom-shape-divider svg { fill: #ffffff; }

/* 5. TEAM & CARDS (Cleaned) */
.team-card-premium {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.team-card-premium:hover {
    transform: translateY(-10px);
}

/* 6. GLASSMORPHISM */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Ken Burns Effect (Zoom-in background) */
.ken-burns-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 7s ease-out;
    transform: scale(1);
}

.carousel-item.active .ken-burns-bg {
    transform: scale(1.15); /* Inajivuta taratibu wakati slide ipo active */
}

/* Vertical Sidebar Indicators */
.vertical-indicators {
    flex-direction: column;
    left: auto;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.vertical-indicators button {
    width: 40px !important;
    height: 40px !important;
    text-indent: 0 !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50%;
    margin: 8px 0 !important;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.vertical-indicators button.active {
    background: var(--ppi-info) !important;
    border-color: var(--ppi-info) !important;
    transform: scale(1.2);
}

/* Content Staggered Animations */
.anim-1, .anim-2, .anim-3, .anim-4, .anim-img {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.carousel-item.active .anim-1 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.carousel-item.active .anim-2 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.carousel-item.active .anim-3 { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.carousel-item.active .anim-4 { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.carousel-item.active .anim-img { opacity: 1; transform: scale(1); transition-delay: 1.1s; }

/* Image Style */
.hero-floating-img {
    border-radius: 50px 20px 50px 20px;
    border: 8px solid rgba(13, 202, 240, 0.1);
    transform: scale(0.8);
}


/* NAVBAR REVOLUTION */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px); /* Inafanya iwe kama kioo cha baridi */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #212529, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: #444 !important;
    margin: 0 12px;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--ppi-info);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}



/* FOOTER */
.footer-premium {
    background-color: #0b1120 !important;
    background-image: radial-gradient(circle at 50% 0%, #111a2e 0%, #0b1120 100%);
    position: relative;
    padding-top: 100px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 2rem;
    color: white;
    font-weight: 800;
}

.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--ppi-info);
    transform: translateX(8px);
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-circle:hover {
    background: var(--ppi-info);
    color: white;
    transform: translateY(-5px);
}

.contact-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ppi-info);
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.05) !important;
}
/* end of footer */




.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.social-circle:hover {
    background: var(--ppi-info);
    transform: translateY(-5px);
}

.contact-pill {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.2);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Sticky Support Button Styling */
.sticky-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0dcaf0, #00b4d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(13, 202, 240, 0.4);
    position: relative;
}

.support-text {
    background: white;
    color: #333;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s ease;
    white-space: nowrap;
}

/* Hover Effects */
.sticky-support:hover .support-text {
    opacity: 1;
    transform: translateX(0);
}

.sticky-support:hover .support-icon {
    transform: scale(1.1);
}

/* Bouncing Animation */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-bounce {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Pulse Effect (Mduara unaotanuka) */
.support-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--ppi-info);
    opacity: 0.5;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}


/* Glassmorphism for Modal */
.glass-modal {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    border-radius: 30px !important;
}

.modal-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(13, 202, 240, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Uhuishaji unapoingia (Entry Animation) */
#welcomeModal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#welcomeModal.show .modal-dialog {
    transform: scale(1);
}

.team-section-modern {
    background: radial-gradient(circle at top right, rgba(13, 202, 240, 0.05), transparent);
}

.team-card-premium {
    position: relative;
    background: white;
    border-radius: 20px;
    padding-top: 20px;
    padding-bottom: 25px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.team-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(13, 202, 240, 0.15);
    border-color: rgba(13, 202, 240, 0.2);
}

.team-card-image {
    position: relative;
    width: 180px;
    height: 180px;
    margin: -60px auto 20px auto; /* Inafanya picha ichomoze kwa juu */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card-premium:hover .team-card-image img {
    transform: scale(1.1);
}

/* Social Overlay inapotokea ukigusa picha */
.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(13, 202, 240, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    transition: bottom 0.3s ease;
}

.team-card-premium:hover .team-social-overlay {
    bottom: 0;
}

.team-social-overlay a {
    color: white;
    text-decoration: none;
}

.team-card-info h5 {
    font-size: 1.15rem;
    color: #212529;
}

.team-card-info p {
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.tracking-widest {
    font-size: 0.8rem;
}






/* Modern Input Styling */
.ls-1 { letter-spacing: 1px; }

.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.input-group-modern:focus-within {
    background: #ffffff;
    border-color: var(--ppi-info);
    box-shadow: 0 10px 20px rgba(13, 202, 240, 0.1);
}

.input-group-modern .icon {
    color: #adb5bd;
    margin-right: 12px;
    transition: color 0.3s;
}

.input-group-modern:focus-within .icon {
    color: var(--ppi-info);
}

.form-control-modern, .form-select-modern {
    background: transparent;
    border: none;
    padding: 15px 0;
    width: 100%;
    color: #333;
    font-weight: 500;
    outline: none;
}

.form-select-modern {
    cursor: pointer;
    appearance: none;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
    transform: scale(1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
