:root {
    --primary: #0075db;
    --primary-rgb: 0, 117, 219;
    --text: #242f35;
    --text-secondary: #637076;
    --grey: #3b444d;
    --light: #f8f9fa;
    --white: #ffffff;
}

/* ===== Typography ===== */
body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.text-primary-brand {
    color: var(--primary) !important;
}

.bg-primary-brand {
    background-color: var(--primary) !important;
}

.bg-primary-soft {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #338fe2;
    border-color: #338fe2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

.btn-light {
    color: var(--primary);
    font-weight: 600;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Navigation ===== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/home.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#services-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/home_alt.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#team-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/team_bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#insights-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/insights_bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#resources-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/library_bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#contact-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/contact_bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-shape {
    position: relative;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* ===== Service Cards ===== */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.hover-lift .icon-wrapper {
    transition: all 0.3s ease;
}

.hover-lift:hover .icon-wrapper {
    background-color: var(--primary) !important;
}

.hover-lift:hover .icon-wrapper i {
    color: var(--white) !important;
}

.service-card .icon-wrapper {
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary) !important;
}

.service-card:hover .icon-wrapper i {
    color: var(--white) !important;
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
    padding: 30px;
}

.about-shape-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    z-index: 0;
}

.about-content-box {
    position: relative;
    z-index: 1;
}

/* ===== Testimonials ===== */
.testimonial-card {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--text);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary) !important;
}

/* ===== Page Headers ===== */
.page-header {
    background-color: var(--text);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Team Cards ===== */
.team-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.team-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary);
}

.team-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--text);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Contact Form ===== */
.form-control,
.form-select {
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

/* ===== Cards General ===== */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== Insight Cards ===== */
.insight-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.insight-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.insight-image {
    height: 200px;
    object-fit: cover;
}

/* ===== Resource Cards ===== */
.resource-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.resource-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Alerts ===== */
.alert {
    border-radius: 10px;
    border: none;
}

/* ===== Utility Classes ===== */
.rounded-4 {
    border-radius: 16px !important;
}

.shadow-soft {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .navbar-collapse {
        padding: 20px 0;
    }

    .navbar-nav .btn {
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2.2rem;
    }

    .display-6 {
        font-size: 1.8rem;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

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

/* ===== Animations ===== */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ===== Insights Tabs ===== */
.insights-tabs .nav-link {
    background-color: #fff;
    color: var(--text);
    border: 1px solid #dee2e6;
    font-weight: 500;
    transition: all 0.3s ease;
}

.insights-tabs .nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.insights-tabs .nav-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
}
