/* ================ */
/* Global Variables */
/* ================ */
:root {
    --primary-color: #1a237e;
    --primary-light: rgba(13, 110, 253, 0.1);
    --gradient-dark: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

/* ============= */
/* Base Styles */
/* ============= */
body {
    padding-top: 80px;
    /* Space for fixed navbar */
}

/* ============= */
/* Utility Classes */
/* ============= */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-lift:hover,
.hover-shadow:hover,
.team-card:hover,
.process-card:hover,
.product-card:hover,
.contact-method:hover,
.specialization-card:hover {
    transform: translateY(-5px);
}

/* ============= */
/* Hero Sections */
/* ============= */
.hero-section,
.about-hero,
.consultation-hero,
.contact-hero,
.products-hero,
.solutions-hero,
.shop-hero {
    background: var(--gradient-dark);
    color: white;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-section .overlay,
.about-hero::before,
.consultation-hero::before,
.contact-hero::before,
.products-hero::before,
.solutions-hero::before,
.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-section .overlay {
    background: rgba(0, 0, 0, 0.3);
}

.hero-section .container,
.about-hero .container,
.consultation-hero .container,
.contact-hero .container,
.products-hero .container,
.solutions-hero .container,
.shop-hero .container {
    position: relative;
    z-index: 2;
}

/* ============= */
/* Card Styles */
/* ============= */
.solution-img,
.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.hover-shadow,
.team-card,
.process-card,
.product-card,
.contact-method,
.specialization-card {
    transition: all 0.3s ease;
}

.hover-shadow:hover,
.product-card:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.process-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ============= */
/* Navbar */
/* ============= */
#mainNavbar {
    transition: all 0.4s ease;
    background-color: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#mainNavbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

#mainNavbar.scrolled .navbar-brand,
#mainNavbar.scrolled .nav-link,
#mainNavbar.scrolled .navbar-text {
    color: #202124 !important;
}

.navbar-brand .logo-icon {
    background-color: rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.45rem;
    border-radius: 0.6rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#mainNavbar.scrolled .navbar-brand .logo-icon {
    background-color: rgba(26, 35, 126, 0.12);
    box-shadow: 0 0 0 1px rgba(26, 35, 126, 0.16);
}

#mainNavbar.scrolled .navbar-toggler-icon {
    filter: invert(0) brightness(0.7) contrast(1.2);
}

#mainNavbar.scrolled .btn-outline-light {
    color: #202124;
    border-color: #202124;
}

#mainNavbar.scrolled .btn-outline-light:hover {
    background-color: #202124;
    color: white;
}

#mainNavbar.scrolled .dropdown-menu {
    background-color: rgba(255,255,255,0.98);
}

#mainNavbar.scrolled .dropdown-item {
    color: #202124;
}

#mainNavbar.scrolled .dropdown-item:hover,
#mainNavbar.scrolled .dropdown-item:focus {
    background-color: rgba(26, 35, 126, 0.08);
}

/* ============= */
/* Footer */
/* ============= */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline !important;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--bs-primary);
    transform: translateY(-3px);
}

/* ============= */
/* Product Features */
/* ============= */
.product-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-weight: bold;
}

/* ============= */
/* About Page */
/* ============= */
.team-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============= */
/* Consultation Page */
/* ============= */
.process-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.specialization-card:hover {
    background-color: #f8f9fa;
}

/* ============= */
/* Contact Page */
/* ============= */
.contact-method:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--bs-primary);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

/* Product Page Specific */
.products-hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.product-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.product-img-container {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}

.product-features ul {
    list-style: none;
    padding-left: 1.25rem;
}

.product-features li {
    position: relative;
    margin-bottom: 0.5rem;
}

.product-features li:before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: var(--bs-primary);
    font-weight: bold;
}

/* Table styling */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: var(--bs-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table tbody tr:nth-child(odd) {
    background-color: rgba(13, 110, 253, 0.03);
}

/* Solutions Page Specific */
.solutions-hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.solution-card {
    transition: all 0.3s ease;
    position: relative;
}

.solution-img-container {
    position: relative;
    overflow: hidden;
    height: 260px;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.solution-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.solution-features ul {
    list-style: none;
    padding-left: 1.25rem;
}

.solution-features li {
    position: relative;
    margin-bottom: 0.5rem;
}

.solution-features li:before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: var(--bs-primary);
    font-weight: bold;
}

.process-steps {
    position: relative;
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.process-steps:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(13, 110, 253, 0.2);
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}