:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(251, 192, 45, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 70px;
    /* Larger logo for desktop */
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
}

.navbar.scrolled .navbar-brand img {
    height: 55px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    margin: 0 15px;
    color: var(--dark) !important;
    position: relative;
    padding: 5px 0 !important;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbc02d;
    /* Yellow line */
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fbc02d !important;
}

.nav-link:hover,
.nav-link.contact-details span {
    color: #fbc02d !important;
    /* Forces yellow icons in contact info */
    /* Primary yellow for icons */
}

/* Leader Section */
.leader-section {
    background: #ffffff;
    padding: 100px 0;
}

.leader-main-title {
    line-height: 1.2;
    color: #1a1a1a;
}

.leader-main-title b,
.leader-main-title strong {
    color: #fbc02d;
    /* Premium Yellow */
    font-weight: 800;
}

.leader-image-wrapper {
    position: relative;
    z-index: 1;
}

.shape-bg {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    height: 40%;
    border-radius: 20px;
    z-index: -1;
}

.leader-img-container {
    position: relative;
    padding: 15px;
}

.main-leader-img {
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.leader-img-container:hover .main-leader-img {
    transform: scale(1.02);
}

.exp-floating-card {
    position: absolute;
    top: 50px;
    right: -40px;
    width: 140px;
    height: 140px;
    z-index: 5;
    text-align: center;
    border: 8px solid #f8f9fa;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.exp-floating-card h2 {
    font-size: 2.5rem;
    line-height: 1;
}

.leader-name-tag {
    position: absolute;
    bottom: 30px;
    left: -20px;
    min-width: 220px;
    z-index: 5;
    text-align: center;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leader-name-tag h5 {
    color: #1a1a1a;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon-check {
    width: 35px;
    height: 35px;
    background: rgba(251, 192, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.leader-signature img {
    opacity: 0.8;
    filter: contrast(1.2);
}

@media (max-width: 991px) {
    .exp-floating-card {
        width: 100px;
        height: 100px;
        top: 20px;
        right: 0px;
    }

    .exp-floating-card h2 {
        font-size: 1.8rem;
    }

    .leader-name-tag {
        bottom: 10px;
        left: 0;
        min-width: 180px;
    }
}

.btn-hire {
    background: #1a1a1a;
    color: #fbc02d !important;
    border: 2px solid #fbc02d;
    border-radius: 50px;
    padding: 8px 25px !important;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hire:hover {
    background: #fbc02d;
    color: #1a1a1a !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(251, 192, 45, 0.4);
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 100vh !important;
    min-height: 800px !important;
    position: relative;
    overflow: hidden !important;
    background: #000;
}

.hero-slider .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    height: 100% !important;
    width: 100% !important;
    transition-property: transform !important;
}

.hero-slider .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    position: relative;
    overflow: hidden;
}

.slide-item {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    position: relative;
}

.slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.slide-content {
    position: relative;
    z-index: 5;
    color: white;
    max-width: 850px;
    padding: 0 15px;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.85;
    /* Makes text semi-transparent */
}

.slide-content h6 {
    opacity: 0.75;
    /* Makes sub-title semi-transparent */
}

/* Sections */
.section-padding {
    padding: clamp(30px, 5vw, 70px) 0;
}

.hero-slider+section {
    padding-top: 0px;
}

.section-title {
    margin-bottom: clamp(40px, 6vw, 60px);
    text-align: center;
    position: relative;
}

.section-title h6 {
    color: #fbc02d;
    /* Premium Orange */
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.section-title h6::before,
.section-title h6::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #fbc02d;
    border-radius: 2px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #fbc02d;
    border-radius: 10px;
}

/* Cards */
.feature-card {
    padding: 50px 30px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Slow motion transition */
    border: none;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fbc02d;
    /* The colorful background */
    z-index: -1;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.feature-card:active {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(251, 192, 45, 0.25);
    background: #fbc02d;
    /* Fallback for smooth filling */
}

.feature-card:hover::before,
.feature-card:active::before {
    transform: translateY(0);
}

.feature-card .icon {
    width: 85px;
    height: 85px;
    background: rgba(251, 192, 45, 0.1);
    color: #fbc02d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    transition: all 0.5s ease;
}

.feature-card:hover .icon,
.feature-card:active .icon {
    background: white;
    color: #fbc02d;
    transform: scale(1.1) rotate(360deg);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.feature-card:hover h4,
.feature-card:hover p,
.feature-card:active h4,
.feature-card:active p {
    color: white !important;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    transition: all 0.5s ease;
}

/* Team Card */
.team-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    height: 100%;
}

.team-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    /* Increased height to show more of the person */
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Ensures the face/top of the image is prioritized */
    filter: brightness(0.9);
    transition: all 0.6s ease;
}

.team-item:hover .team-img {
    filter: brightness(1);
    /* Removed transform: scale(1.1) to prevent cutting/zooming */
}

.team-info {
    position: relative;
    background: white;
    padding: 35px 20px 40px;
    text-align: center;
    margin-top: -60px;
    /* Pulls more over the image */
    border-radius: 50% 50% 0 0 / 25px 25px 0 0;
    /* Creates the deep curve */
    z-index: 2;
}

.team-info h5 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px !important;
}

.team-info p {
    color: #888;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
}

.team-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #fbc02d;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #0a0c10;
    color: #e0e0e0;
    /* Brighter grey for standard text */
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.3), transparent);
}

footer h4,
footer h5 {
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

footer p {
    color: #cccccc;
    /* Clearer paragraph text */
    font-size: 0.95rem;
    line-height: 1.8;
}

footer a {
    color: #e0e0e0;
    /* Brighter links */
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 12px;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

footer .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: var(--transition);
}

footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.05) !important;
    margin: 40px 0 20px;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #999;
    /* Brighter copyright/bottom text */
}

/* Specifically target contact info spans */
.contact-info span {
    color: #ffffff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
        background: white !important;
    }

    .navbar-brand img {
        height: 45px !important;
        /* Smaller logo for mobile */
    }

    .hero-slider {
        height: 55vh !important;
        min-height: 400px !important;
    }

    .slide-content {
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .slide-item {
        background-position: center bottom !important;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 48vh !important;
        min-height: 350px !important;
    }

    .slide-content h1 {
        font-size: 1.6rem;
    }

    .slide-content h6 {
        font-size: 0.8rem;
        margin-bottom: 10px !important;
    }

    .btn-lg {
        padding: 10px 22px !important;
        font-size: 0.85rem !important;
    }
}