
@font-face {
    font-family: 'Inter';
    src: url("../downloaded/fonts/inter/Inter-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url("../downloaded/fonts/inter/Inter-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url("../downloaded/fonts/space-grotesk/SpaceGrotesk-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url("../downloaded/fonts/space-grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #1E3A8A;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --primary-ultralight: #EFF6FF;
    --secondary: #06B6D4;
    --accent: #0EA5E9;
    --purple: #6366F1;
    --dark: #0F172A;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --background: #FFFFFF;
    --surface: #F8FAFC;
    --surface-dark: #F1F5F9;
    --surface-darker: #E2E8F0;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --gradient: linear-gradient(135deg, #1E3A8A 0%, #06B6D4 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --shadow-sm: 0 1px 3px rgba(30, 58, 138, 0.05);
    --shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    --shadow-lg: 0 20px 60px rgba(30, 58, 138, 0.12);
    --shadow-xl: 0 25px 80px rgba(30, 58, 138, 0.15);
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --attention: #FBBF24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.4s ease;
}

.navbar-brand:hover {
    color: var(--primary) !important;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: rotate(15deg);
    box-shadow: var(--shadow-lg);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-ultralight);
    transform: translateY(-1px);
}

.nav-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-ultralight);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-img:hover {
    transform: scale(1.1) rotate(8deg);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.search-bar {
    position: relative;
    min-width: 250px;
}

.search-input {
    background-color: rgba(248, 250, 252, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 15px 12px 45px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    color: var(--text-primary);
}

.search-input:focus {
    background-color: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    border-color: var(--primary);
    transform: scale(1.02);
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-input:focus + .search-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

/* Hero */
.about-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(30, 58, 138, 0.08) 0%, 
        rgba(30, 58, 138, 0.04) 30%, 
        rgba(30, 58, 138, 0.02) 70%, 
        transparent 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.08) 0%, transparent 60%);
    z-index: -1;
    animation: moveGradients 20s ease-in-out infinite alternate;
}

@keyframes moveGradients {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 50%;
        background-size: 60% 60%, 50% 50%, 70% 70%;
    }
    100% { 
        background-position: 100% 100%, 0% 0%, 80% 20%;
        background-size: 50% 50%, 60% 60%, 80% 80%;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 0.02;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::after {
    transform: scaleY(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-card:nth-child(1) .feature-icon {
    background: var(--gradient);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-blue);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-card:nth-child(1) h3 {
    color: var(--primary);
}

.feature-card:nth-child(2) h3 {
    color: var(--secondary);
}

.feature-card:nth-child(3) h3 {
    color: var(--accent);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.team-carousel-container {
    position: relative;
    padding: 0 40px;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-light);
    border: 2px solid var(--primary);
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--primary);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 0.8;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
}

.team-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.team-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

/* Team Card Enhancements */
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card:hover::before {
    opacity: 0.02;
}

.team-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Manager Badge */
.manager-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: var(--shadow);
}

.team-card:has(.manager-badge) {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.team-card:has(.manager-badge):hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* manager Center in slide 1 */
.carousel-item:first-child .team-card {
    margin: 0 auto;
    max-width: 400px;
}

.carousel {
    position: relative;
}

.carousel::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    animation: timer 5s linear infinite;
    border-radius: 2px;
}

@keyframes timer {
    0% {
        width: 0%;
        background: var(--primary);
    }
    100% {
        width: 100px;
        background: var(--secondary);
    }
}

/*Buttons*/
.btn-primary {
    background: var(--gradient) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.btn-outline-primary {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 3.2rem;}
}

@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem;}
    .feature-card { padding: 2rem 1.5rem;}
    .section-title { font-size: 2.2rem;}
    .team-img { height: 350px;}
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.4rem;}
    .hero-subtitle { font-size: 1.1rem;}
    .feature-icon { 
        width: 70px; 
        height: 70px; 
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .team-img { height: 300px;}
    .team-carousel-container {
        padding: 0 20px;
    }
    .carousel-control-prev {
        left: -40px;
    }
    .carousel-control-next {
        right: -40px;
    }
    .team-links {
        gap: 0.5rem;
    }
    .team-link {
        width: 35px;
        height: 35px;
    }
    .carousel-item:first-child .team-card {
        max-width: 100%;
    }
    .search-bar {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem;}
    .about-hero { padding: 140px 0 60px;}
    .section-title { font-size: 1.8rem;}
    .navbar-brand { font-size: 1.3rem;}
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .team-img { height: 250px;}
    .team-info {
        padding: 1.5rem;
    }
    .feature-card {
        padding: 1.5rem 1rem;
    }
    .search-bar {
        min-width: 150px;
        margin-bottom: 1rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
    }
    .carousel-control-prev {
        left: -35px;
    }
    .carousel-control-next {
        right: -35px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Text Selection */
::selection {
    background: rgba(30, 58, 138, 0.1);
    color: var(--text-primary);
}