/* static/css/style.css */

/*
TABLE OF CONTENTS
---------------------------
1.  Variables
2.  Global & Base Styles
3.  Navbar
4.  Hero Section
5.  Section Styles
6.  Card Styles
7.  Stats Section
8.  Footer
9.  Animations & Utilities
*/

/* 1. VARIABLES */
:root {
    --primary-color: #4A148C;
    --secondary-color: #FFC107;
    --dark-color: #212529;
    --body-color: #333;
    --bg-light: #f8f9fa;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 0.375rem;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --transition: all 0.4s ease;
}

/* 2. GLOBAL & BASE STYLES */
body {
    font-family: var(--body-font);
    color: var(--body-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* 3. NAVBAR */
.navbar {
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
}

.btn {
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 4. HERO SECTION */
.hero {
    background-image: linear-gradient(rgba(74, 20, 140, 0.7), rgba(74, 20, 140, 0.7)), url('../img/techteam.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero h1 {
    font-weight: 700;
    color: white;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
}

/* 5. SECTION STYLES */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* 6. CARD STYLES */
.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-card .icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* 7. STATS SECTION */
#stats {
    background-color: var(--primary-color);
    color: white;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-item p {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}





/* static/css/style.css */

/* ... (keep all other styles above this line) ... */

/* 8. FOOTER */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer h6 {
    color: var(--secondary-color);

}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer .footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer .social-icon {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    transition: var(--transition);
}

.footer .social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ... (keep all other styles below this line) ... */

/* 9. ANIMATIONS & UTILITIES */
[data-aos] {
    transition-property: transform, opacity;
}

.logo {
    height: 50px; /* adjust as needed */
    width: auto;  /* keeps aspect ratio */
}



/* 10. TEAM SECTION (New) */
.team-member-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-10px);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--bg-light);
}


/* 11. APPROACH SECTION (New) */
.approach-step .icon-box-circle {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--box-shadow);
}

/* 12. PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    position: relative;
    animation: bounce 1.2s infinite ease-in-out;
}

.preloader-icon::before,
.preloader-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.6;
    animation: pulse 2.0s infinite cubic-bezier(0.65, 0, 0.35, 1);
    transform: translate(-50%, -50%);
}

.preloader-icon::after {
    animation-delay: -1.0s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
}




/* 13. TIMELINE & TEAM */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 4px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.timeline-item {
    padding-left: 50px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    left: 7px;
    top: 5px;
}

.timeline-card {
    background-color: white;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.team-member-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-10px);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid white;
}