/* ========================================
   Techify Care - Lenovo-Inspired Design
   ======================================== */

:root {
    --primary-red: #E94235;
    --dark-red: #C5221F;
    --light-gray: #F8F9FA;
    --dark-gray: #212529;
    --border-color: #DEE2E6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Bootstrap Overrides for Theme Color */
.text-primary {
    color: var(--primary-red) !important;
}

.bg-primary {
    background-color: var(--primary-red) !important;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Category Tabs Styling */
.category-products .nav-pills .nav-link {
    color: var(--dark-gray);
    background-color: transparent;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-products .nav-pills .nav-link:hover {
    color: var(--primary-red);
    background-color: rgba(233, 66, 53, 0.05);
}

.category-products .nav-pills .nav-link.active {
    color: #fff !important;
    background-color: var(--primary-red) !important;
    box-shadow: 0 4px 12px rgba(233, 66, 53, 0.3);
}

html,
body {
    overflow-x: clip;
    width: 100%;
}

.features-bar,
.highlights-section,
.discover-section,
.features-section,
.innovation-section,
.why-choose-us {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 1rem !important;
    margin-top: 0px !important;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

/* Explicit Sticky Header */
/* Main Header Styling */
.main-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    width: 100%;
    background-color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 2px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {

    /* Mega Menu Styles */
    .dropdown-mega {
        position: static !important;
    }

    .dropdown-mega .dropdown-menu {
        width: 94%;
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0 !important;
        left: 0;
        right: 0;
        border: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        display: none;
        border-top: 3px solid var(--primary-red);
        z-index: 2000;
    }

    .dropdown-mega:hover .dropdown-menu {
        display: block;
        animation: megaFadeIn 0.3s ease-out;
    }
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.mega-list-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark-gray);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    display: block;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}

.dropdown-mega .col-lg-3 {
    border-right: 1px solid #eee;
}

.dropdown-mega .col-lg-3:last-child {
    border-right: none;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list li {
    margin-bottom: 0.75rem;
}

.mega-list li a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: block;
}

.mega-list li a:hover {
    color: #000;
    font-weight: 600;
    transform: translateX(5px);
    background-color: #f8f9fa;
    padding-left: 10px;
    border-radius: 4px;
}

.category-icon-small {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.mega-list li a:hover .category-icon-small {
    color: var(--primary-red);
}

.view-all-link {
    display: inline-block;
    color: var(--primary-red) !important;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.view-all-link:hover {
    color: var(--dark-red) !important;
    transform: translateX(5px);
}

/* Hero Carousel Styles */
.hero-carousel-section {
    position: relative;
    background: #000;
}

.carousel-img-container {
    height: 550px;
    position: relative;
    overflow: hidden;
}

.carousel-img-container img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.carousel-caption-custom {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    z-index: 99 !important;
}

.carousel-caption-custom h1 {
    font-size: 2.8rem !important;
    /* Decreased from display-3 */
    line-height: 1.2;
}

.carousel-caption-custom p {
    margin-top: 2rem !important;
    margin-bottom: 2.5rem !important;
    font-size: 1.15rem;
    color: #ffffff !important;
}

/* Animations */
.carousel-item.active .slide-up-1 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideUp 0.8s ease-out forwards;
}

.carousel-item.active .slide-up-2 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.carousel-item.active .slide-up-3 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.carousel-item.active .slide-up-4 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.slide-up-1,
.slide-up-2,
.slide-up-3,
.slide-up-4 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-red);
    transform: scale(1.2);
}

.mega-promo-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mega-promo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mega-promo-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
}

/* Explore Products Section */
.explore-section {
    background-color: #fff;
}

.explore-title {
    font-size: 3rem;
    /* Increased from 2.5rem */
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--dark-gray);
    text-align: center;
}

.explore-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.explore-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.explore-item:hover {
    transform: translateY(-5px);
}

.explore-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.explore-item:hover .explore-icon-circle {
    background-color: #e9ecef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.explore-icon-circle i {
    font-size: 1.8rem;
    color: #333;
}

.explore-label {
    font-size: 1rem;
    /* Increased from 0.85rem */
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.explore-item:hover .explore-label {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .explore-grid {
        justify-content: center;
    }

    .explore-title {
        font-size: 2rem;
        text-align: center;
    }
}

.hover-red:hover {
    color: var(--primary-red) !important;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-red);
    color: #fff !important;
    transform: translateY(-3px);
}

/* Techify Care Rewards Section */
.rewards-section {
    padding: 30px 0;
    background-color: #fff;
}

.rewards-container {
    background: linear-gradient(135deg, #fdf4ff 0%, #f3e8ff 100%);
    border-radius: 30px;
    padding: 35px 50px;
    position: relative;
    overflow: hidden;
}

.rewards-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.rewards-text {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-rewards-join {
    background-color: #7b1fa2;
    color: #fff;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-rewards-join:hover {
    background-color: #4a0072;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 31, 162, 0.2);
}

.rewards-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.rewards-link:hover {
    color: var(--primary-red);
}

.benefits-list {
    list-style: none;
    padding: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 40px;
}

.benefit-item {
    font-size: 1.1rem;
    color: #333;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

@media (max-width: 991.98px) {
    .rewards-container {
        padding: 40px 30px;
    }

    .rewards-title {
        font-size: 2.2rem;
    }

    .benefits-list {
        border-left: none;
        padding-left: 0;
        margin-top: 40px;
    }
}

.px-md-5 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Promo Banner Strip */
.promo-strip {
    background-color: #161B3D;
    color: #fff;
    padding: 20px 0;
}

.promo-strip .promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.promo-strip .btn-learn-more {
    background-color: transparent;
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.promo-strip .btn-learn-more:hover {
    background-color: #fff;
    color: #161B3D;
}

/* Professional Promo Banner */
.professional-promo {
    position: relative;
    background-image: url('../../uploads/Frame-29.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    margin: 0 !important;
}

.promo-description {
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.professional-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(22, 27, 61, 0.8) 100%);
    z-index: 1;
}

.professional-promo .container {
    position: relative;
    z-index: 2;
}

.promo-discount-badge {
    background: var(--primary-red);
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(233, 66, 53, 0.4);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 66, 53, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(233, 66, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 66, 53, 0);
    }
}

/* Highlight Heroes */
.highlight-hero-card {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}

.highlight-hero-card:hover {
    transform: scale(1.01);
}

.highlight-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.highlight-hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 400px;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .promo-strip .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY (Lenovo Style)
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    line-height: 1.1;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-600 {
    font-weight: 700;
}

.fw-500 {
    font-weight: 400;
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.text-muted {
    color: #6c757d !important;
    font-weight: 300;
}

.small,
small {
    font-size: 0.875rem;
    font-weight: 300;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.top-utility-bar {
    font-size: 0.875rem;
}

.top-utility-bar a.hover-red:hover {
    color: var(--primary-red) !important;
}

/* Header brand and navigation items */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-red);
    padding-left: 1.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-section h1 {
    line-height: 1.2;
}

.hero-section img {
    transition: transform 0.5s ease;
}

.hero-section img:hover {
    transform: scale(1.05);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 66, 53, 0.3);
}

.btn-outline-danger {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-danger:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.btn-outline-dark:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
}

.rounded-pill {
    border-radius: 50px !important;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-card .card {
    cursor: pointer;
}

.category-card .card:hover {
    border-color: var(--primary-red);
}

.category-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title a {
    transition: color 0.3s ease;
}

.product-card .card-title a:hover {
    color: var(--primary-red) !important;
}

.add-to-cart-btn {
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
}

/* ========================================
   FEATURES BAR
   ======================================== */

.features-bar {
    background-color: white;
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

/* ========================================
   PROMOTIONAL BANNER
   ======================================== */

.promo-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* ========================================
   PROMOTIONAL BANNER
   ======================================== */

.promo-banner {
    background-color: #212529 !important;
}

.promo-banner h2,
.promo-banner p,
.promo-banner .h4 {
    color: #ffffff !important;
}

/* ========================================
   DISCOVER SECTION
   ======================================== */

.discover-section {
    position: relative;
    overflow: hidden;
}

.discover-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    z-index: 1;
}

.discover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.discover-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(233, 66, 53, 0.03);
    z-index: 0;
    transform: rotate(-15deg);
    transition: all 0.4s ease;
}

.discover-card:hover .discover-icon-bg {
    color: rgba(233, 66, 53, 0.06);
    transform: rotate(0deg) scale(1.1);
}

.discover-card i.fa-2x {
    transition: transform 0.3s ease;
}

.discover-card:hover i.fa-2x {
    transform: scale(1.1);
}

.discover-card h5 {
    font-size: 1.15rem;
    line-height: 1.3;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */

.icon-box {
    transition: all 0.3s ease;
}

.why-choose-us .col-md-4:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--primary-red) !important;
}

.why-choose-us .col-md-4:hover .icon-box i {
    color: white !important;
}

/* ========================================
   NEWSLETTER
   ======================================== */

.newsletter-form input {
    border-right: none;
}

.newsletter-form button {
    border-left: none;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

/* ========================================
   UTILITIES
   ======================================== */

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.text-danger {
    color: var(--primary-red) !important;
}

.bg-danger {
    background-color: var(--primary-red) !important;
}

.border-danger {
    border-color: var(--primary-red) !important;
}

/* ========================================
   CART BADGE
   ======================================== */

.btn-header-cart {
    border-radius: 50px !important;
    padding: 0.6rem 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-header-cart .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0.4em 0.6em;
    font-size: 0.7rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   INNOVATION IN ACTION SECTION
   ======================================== */

.innovation-section {
    background-color: #fff;
}

.innovation-tabs .nav-link {
    color: var(--dark-gray);
    background-color: #f8f9fa;
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.innovation-tabs .nav-link:hover {
    background-color: #e9ecef;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.innovation-tabs .nav-link.active {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.innovation-tabs .nav-link i {
    transition: transform 0.3s ease;
}

.innovation-tabs .nav-link:hover i,
.innovation-tabs .nav-link.active i {
    transform: scale(1.1);
}

.tab-content {
    padding: 2rem 0;
}

.tab-pane {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-quote {
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.impact-quote:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.stat-box {
    transition: all 0.3s ease;
    background-color: rgba(233, 66, 53, 0.1) !important;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(233, 66, 53, 0.2);
    background-color: rgba(233, 66, 53, 0.15) !important;
}

.stat-box .display-6 {
    color: #E94235 !important;
    font-weight: 900 !important;
}

.stat-box small {
    color: #212529 !important;
    font-weight: 600 !important;
}

.solution-tags .badge {
    transition: all 0.3s ease;
    font-size: 0.875rem;
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border: 1px solid #dee2e6 !important;
    font-weight: 500 !important;
}

.solution-tags .badge i {
    color: #E94235 !important;
}

.solution-tags .badge:hover {
    background-color: var(--primary-red) !important;
    color: white !important;
    transform: translateY(-2px);
    border-color: var(--primary-red) !important;
}

.solution-tags .badge:hover i {
    color: white !important;
}

/* ========================================
   GLOBAL ICON & TEXT VISIBILITY FIXES
   ======================================== */

/* Ensure all Font Awesome icons are visible */
i.fas,
i.far,
i.fab,
i.fa {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Ensure icons in badges are visible */
.badge i {
    display: inline-block !important;
    margin-right: 0.25rem;
}

/* Ensure icons in buttons are visible */
.btn i {
    display: inline-block !important;
}

/* Ensure nav icons are visible */
.nav-link i {
    display: inline-block !important;
    color: inherit !important;
}

/* Ensure stat box text is always visible */
.stat-box * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure solution tags are visible */
.solution-tags * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force text visibility in all containers */
.container *,
.row *,
.col * {
    visibility: visible !important;
}

/* Ensure white text on dark backgrounds */
.bg-dark *,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: #ffffff !important;
}

.promo-banner * {
    visibility: visible !important;
}

/* Ensure red text is visible */
.text-danger,
.text-danger * {
    color: #E94235 !important;
}

/* Ensure all headings are visible */
h1,
h2,
h3,
h4,
h5,
h6 {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure all paragraphs are visible */
p,
span,
small,
a {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   LOADING STATES
   ======================================== */

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

/* ========================================
   SELECTION
   ======================================== */

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.dashboard-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dashboard-menu li a:hover,
.dashboard-menu li a.active {
    background-color: var(--primary-red);
    color: #fff !important;
}

.dashboard-menu li a i {
    width: 25px;
    margin-right: 10px;
}

/* ========================================
   NOTIFICATION TOAST (PREMIUM)
   ======================================== */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.notification {
    pointer-events: auto;
    width: 320px;
    background: #fff;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    animation: toast-slide-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-left: 5px solid #ccc;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.info {
    border-left-color: #0d6efd;
}

.notification i {
    font-size: 1.5rem;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

.notification.info i {
    color: #0d6efd;
}

.notification .message-content {
    flex: 1;
}

.notification .message-content b {
    display: block;
    margin-bottom: 2px;
    color: #000;
}

.notification .message-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.notification .btn-close {
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.notification .btn-close:hover {
    opacity: 1;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.fade-out {
    animation: toast-fade-out 0.5s forwards;
}

@keyframes toast-fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Progress bar inside toast */
.notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: inherit;
    width: 100%;
    animation: toast-progress 5s linear forwards;
}

.notification.success .progress-bar {
    background: #28a745;
}

.notification.error .progress-bar {
    background: #dc3545;
}

.notification.info .progress-bar {
    background: #0d6efd;
}

@keyframes toast-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ========================================
   MISC IMPROVEMENTS
   ======================================== */
.badge.bg-danger {
    background-color: var(--primary-red) !important;
}

.btn-outline-danger {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-danger:hover {
    background-color: var(--primary-red);
    color: #fff;
}

::-moz-selection {
    background-color: var(--primary-red);
    color: white;
}

/* Custom Fixes for Home Page Sections */
.custom-promo-strip {
    background-color: #161B3D !important;
    color: #fff !important;
    padding: 20px 0 !important;
    margin: 10px 0;
}

.custom-promo-strip .promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.btn-promo-action {
    background-color: transparent !important;
    color: #fff !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 2px solid #fff !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.btn-promo-action:hover {
    background-color: #fff !important;
    color: #161B3D !important;
}

.hero-carousel-section {
    min-height: 550px;
}

.discover-section {
    padding-top: 40px !important;
    margin: 0 !important;
}

.features-bar,
.highlights-section,
.discover-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.why-choose-us {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    background-color: #f8f9fa;
    /* Light gray background for professional contrast */
}

h2 {
    font-size: 2.2rem !important;
}

.display-5 {
    font-size: 2.5rem !important;
}

.footer-section {
    margin-top: 60px !important;
}

/* Feature Card Styles */
.bg-soft-danger {
    background-color: rgba(233, 66, 53, 0.1) !important;
}

.feature-card-hover {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

.feature-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
    border-color: var(--primary-red) !important;
}

.feature-card-hover:hover .feature-icon {
    background-color: var(--primary-red) !important;
    box-shadow: 0 4px 15px rgba(233, 66, 53, 0.4);
}

.feature-card-hover:hover .feature-icon i {
    color: #fff !important;
}

.feature-icon {
    transition: all 0.3s ease;
}

.leading-relaxed {
    line-height: 1.8;
}

/* Innovation Tabs - Fix Text Visibility */
#innovationTabs .nav-link {
    background-color: #f8f9fa;
    color: var(--dark-gray) !important;
    margin: 0 5px;
    border: 1px solid transparent;
}

#innovationTabs .nav-link:hover {
    background-color: rgba(233, 66, 53, 0.1);
    color: var(--primary-red) !important;
}

#innovationTabs .nav-link.active {
    background-color: var(--primary-red) !important;
    color: #fff !important;
}

#innovationTabs .nav-link.active:hover {
    color: #fff !important;
    background-color: var(--dark-red) !important;
}

#innovationTabs .nav-link::after {
    display: none !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* FAQ Section Styles */
.faq-section .accordion-flush .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.faq-section .accordion-flush .accordion-item:last-child {
    border-bottom: none;
}

.faq-section .accordion-button {
    font-size: 1.1rem;
    padding: 1.5rem;
    color: var(--dark-gray);
    box-shadow: none;
    background-color: transparent;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-red);
    background-color: #fff;
    font-weight: 700;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.7;
    color: #6c757d;
}

/* Ensure padding matches other sections per user rule */
.faq-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Advantage Section Styles */
.advantage-section {
    background-color: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.advantage-item {
    text-align: center;
    padding: 1rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
    transition: transform 0.3s ease;
}

.advantage-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    color: var(--primary-red);
}

/* Vertical Divider */
.advantage-col {
    position: relative;
}

.advantage-col:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    /* Fixed height for consistency */
    width: 1px;
    background-color: #000;
    /* Darker for visibility */
    display: block;
    z-index: 5;
    opacity: 0.2;
}

@media (max-width: 991px) {
    .advantage-col:not(:last-child):after {
        display: none;
    }

    .advantage-col {
        border-bottom: 1px solid #f0f0f0;
    }
}

.advantage-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.advantage-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 10px;
}

.advantage-brand-logo i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

/* Student Discount Banner */
/* ========================================
   STUDENT DISCOUNT BANNER (PREMIUM)
   ======================================== */
.student-banner-section {
    background-color: #fff;
}

.student-banner-card {
    background: linear-gradient(135deg, #161B3D 0%, #2F0743 100%);
    min-height: 350px;
    border-radius: 20px !important;
}

.banner-decoration-1 {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: rgba(233, 66, 53, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.banner-decoration-2 {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(47, 7, 67, 0.3);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

.student-banner-content h2 {
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-size: 2.5rem;
}

.student-banner-content .lead {
    font-weight: 400;
    max-width: 500px;
    font-size: 1.05rem;
}

.student-banner-img-container {
    height: 100%;
    min-height: 350px;
}

.student-banner-img-cover {
    width: 93%;
    height: 86%;
    object-fit: none;
}

.highlight-hero-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 1;
    display: block;
}

.highlight-hero-card {
    border-radius: 12px;
    overflow: hidden;
}

.student-banner-content .btn:hover {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

@media (max-width: 991px) {
    .student-banner-card {
        text-align: center;
    }

    .student-banner-content {
        padding: 4rem 2rem !important;
    }

    .student-banner-content .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .student-banner-content .d-flex {
        justify-content: center;
    }

    .student-banner-img-cover {
        height: 250px;
    }

    /* Professional Promo Mobile Fixes */
    .professional-promo {
        text-align: center;
        padding: 40px 0;
        background-attachment: scroll;
    }

    .professional-promo h2 {
        font-size: 2.5rem !important;
    }

    .promo-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .promo-discount-badge {
        width: 120px;
        height: 120px;
        margin-top: 30px;
    }

    .promo-discount-badge .display-4 {
        font-size: 2rem !important;
    }
}

@media (max-width: 767px) {
    .student-banner-content h2 {
        font-size: 2.2rem;
    }

    .student-banner-content .lead {
        font-size: 1rem;
    }

    .professional-promo h2 {
        font-size: 2rem !important;
    }

    .promo-discount-badge {
        width: 100px;
        height: 100px;
    }

    .promo-discount-badge .display-4 {
        font-size: 1.5rem !important;
    }

    /* Hero Buttons Mobile Fix */
    .carousel-caption-custom .btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }

    .carousel-caption-custom .d-flex {
        gap: 10px !important;
        justify-content: center !important;
    }

    .carousel-caption-custom .container {
        text-align: center !important;
    }

    .carousel-caption-custom h1 {
        font-size: 2rem !important;
    }

    .carousel-caption-custom p {
        font-size: 1rem !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
}