/* Custom Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Hero Section */

.sticky-top{
    width: 100%;
    &.navbar{
        background-color: #041442 !important;
        padding: 10px;
        .brand img{
            height: 40px;
        }
        .navbar-toggler{
            border: none;
            box-shadow: none;
            i{
                color: #041442;
                font-size: 30px;
            }
        }
        .nav-link { 
            font-weight: 500;
            &:hover { 
                color: #e7ac29; 
            }
        }
    }
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,123,255,0.8) 0%, rgba(0,86,179,0.9) 100%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-image {
    min-height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #007bff33, #0056b333);
}

.link-button {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.2s ease;
}

.link-button:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top-container {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.rating {
    font-size: 0.9rem;
}

/* Partnership Scroll */
.partnership-scroll {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 100%;
}

.marquee-content span {
    margin-right: 3rem;
    font-weight: 500;
}

.marquee-content .partner {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 3rem;
    height: 3rem;
}

/* Buttons */
.btn.fill {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn.fill:hover {
    background: #0056b3;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .category-card .row {
        flex-direction: column-reverse;
    }
    
    .category-image {
        min-height: 200px;
    }
}

/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar-brand {
  transition: transform 0.2s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo{
  height: 50px;
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

/* Animation */
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,123,255,0.8) 0%, rgba(0,86,179,0.9) 100%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.min-vh-50 {
  min-height: 50vh;
}

/* Button Styles */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .sticky-top {
    position: relative !important;
    top: auto !important;
  }
  
  .navbar-collapse {
    background-color: #007bff;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
  }
  form{
    margin-left: 0px;
    margin-right: 0px;
    input{
      min-width: 200px;
    }
  }
}

/* Custom Badge Styles */
.badge {
  font-weight: 500;
}

/* Table Styles */
.table th {
  border-top: none;
  font-weight: 600;
}

/* Form Styles */
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-border {
  animation: spin 0.75s linear infinite;
}

/* Color dot for color filters */
.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* Requirement status badges */
.badge.bg-warning {
  color: #000;
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 0.5rem;
}

.modal-header {
  border-bottom: 1px solid #dee2e6;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
}

/* Breadcrumb Styles */
.breadcrumb {
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 0.375rem;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Alert Styles */
.alert {
  border: none;
  border-radius: 0.5rem;
}

.alert-info {
  background-color: #e8f4ff;
  color: #055160;
}

/* Pagination Styles */
.pagination {
  margin-bottom: 0;
}

.page-link {
  border: none;
  color: #007bff;
}

.page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}

/* Custom Utilities */
.text-sm {
  font-size: 0.875rem;
}

.border-2 {
  border-width: 2px !important;
}

/* Category sidebar */
.category-sidebar {
  position: sticky;
  top: 100px;
}

/* Accordion overrides */
.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #000;
  font-weight: 600;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,.125);
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar .dropdown-menu {
    min-width: 250px;
}

.navbar .btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .navbar .w-50 {
        width: 100% !important;
        margin: 1rem 0;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar .dropdown {
        margin: 0.5rem 0;
    }
}

/* Dropdown animations */
.dropdown-menu {
    animation: dropdownFadeIn 0.2s ease-in-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Filter Sidebar */
.category-sidebar .accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.category-sidebar .form-check {
    margin-bottom: 0.5rem;
}

/* Carousel */
.product-media-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.product-media-carousel .carousel-control-prev,
.product-media-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card .card-img-top {
        height: 150px !important;
    }
    
    .category-sidebar {
        margin-bottom: 2rem;
    }
}

/* Color dots for color filter */
.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #dee2e6;
}

/* Team and Services Specific Styles */
.mentor-card,
.team-card,
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.mentor-card:hover,
.team-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.card-image-placeholder {
    transition: all 0.3s ease;
}

.mentor-card:hover .card-image-placeholder,
.team-card:hover .card-image-placeholder {
    transform: scale(1.05);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.fs-7 {
    font-size: 0.75rem;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
}

/* Tab Styles */
.nav-tabs .nav-link {
    font-weight: 600;
    border: none;
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    background: transparent;
}

.border-2 {
    border-width: 2px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .border-end {
        border-right: none !important;
        border-bottom: 2px solid rgba(255,255,255,0.3) !important;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        padding-right: 0 !important;
    }
    
    .border-end.border-2 {
        border-right: none !important;
        border-bottom: 2px solid #dee2e6 !important;
    }
}