:root {
    --primary: #1073E5;
    --primary-dark: #027a7e;
    --primary-light: #05b5ba;
    --secondary: #FF6B6B;
    --background:#AFD5EB;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --black: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark);
    font-size: 0.9rem;
}

/* Navbar base styling */
/* Compact Navbar */
.navbar {
    padding: 8px 0; /* less vertical space */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Brand Logo + Text */
.navbar-brand img {
    height: 50px; /* smaller logo */
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem; /* reduced from 1.8rem */
    color: var(--primary, #7b3fe4);
    letter-spacing: 0.5px;
}

/* Nav Links */
.nav-link {
    font-weight: 500;
    font-size: 0.95rem; /* slightly smaller */
    padding: 6px 12px !important; /* tighter spacing */
    color: var(--dark, #333) !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary, #7b3fe4) !important;
}

/* Dropdown Items */
.dropdown-item {
    font-size: 0.8rem; /* smaller menu text */
    padding: 7px 14px;
}

.dropdown-item i.fa-chevron-right {
    font-size: 0.7rem;
}

/* Optional: Reduce dropdown box size */
.dropdown-menu {
    padding: 0.4rem 0;
    min-width: 180px;
    
}


/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    min-width: 200px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Arrow animation */
.dropdown-item i.fa-chevron-right {
    font-size: 0.75rem;
    transition: 0.3s;
}

.dropdown-item:hover i.fa-chevron-right {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .dropdown-submenu {
        position: relative;
        left: 0;
        top: 0;
        margin-left: 1rem;
        display: none;
    }

    .dropdown-menu  > .dropdown-submenu {
        display: block;
    }

    /* Fix dropdown alignment on small screens */
    
}

/* Optional fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


.hero-section .hero-buttons a.btn-outline-light {
  color: #1a1a2e;
  border-color: #1a1a2e;
}

.hero-section .category-card {
  background-color: #f8fafc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero-section .category-icon {
  width: 50px;
  height: 50px;
  background-color: #1073E5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-section .category-title {
  font-size: 1.1rem;
}

.hero-section .category-text {
  font-size: 0.9rem;
  color: #6c757d;
}

.hero-section .view-more-link {
  font-size: 0.8rem;
  text-decoration: none;
}

.overlapping-cards {
  position: absolute;
  bottom: -75px;
  left: 0;
  right: 0;
  z-index: 10;
}

@media (max-width: 991.98px) {
  .overlapping-cards {
    position: static;
    margin-top: 2rem;
  }
}


.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 7px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(3, 151, 155, 0.3);
}

.btn-outline-white {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    padding: 7px 30px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--background)
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin: 0 auto 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

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

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(3, 151, 155, 0.2);
}

/* Stats Section */
.stats-section {
    background-color: #f8fafc;
}

.stat-card {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-card {
        margin-bottom: -44px;
    }
    
    .stat-card {
        margin-bottom: 15px;
    }

    .overlapping {
    bottom: -300px !important;
       }

       .overlap-margin {
        margin-top: 160px;
       }

}

/* Section Styling */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-points {
    margin: 25px 0;
}

.about-point {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.about-point i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-point span {
    font-weight: 500;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Products Section */
.products-section {
    padding: 80px 0;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.product-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}



/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
}

.btn-light:hover {
    background-color: var(--light);
    color: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* About Page */

.about-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
}

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

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

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 120px;
    box-shadow: 0 5px 15px rgba(44, 107, 237, 0.3);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(44, 107, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #4facfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto;
}

.team-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--dark);
    margin: 0 5px;
    transition: var(--transition);
}

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


/* Footer */
.footer {
    background-color: var(--white);
    color: var(--dark);
    padding: 70px 0 20px;
}
.footer img{
    
    height:50px;
}
.footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer.nav-link {
    color: #adb5bd;
    transition: var(--transition);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
        bottom: -5px;
    }
}