/* Custom CSS for UCP Website */

/* Import Weiihou Fonts */
@import url('https://cdn.weiihou.com/fonts.css');

/* Root Variables */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --nav-color:#08ff56;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-indigo: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-teal: linear-gradient(135deg, #14b8a6 0%, #10b981 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'RB-Regular', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    font-family: 'RB-Bold', sans-serif;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Gradients */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-green {
    background: var(--gradient-secondary);
}

.bg-gradient-purple {
    background: var(--gradient-purple);
}

.bg-gradient-indigo {
    background: var(--gradient-indigo);
}

.bg-gradient-teal {
    background: var(--gradient-teal);
}

/* Page Header with Background Image */
.page-header {
    position: relative;
    background-image: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%),
        url('../images/CoBRfvDKjdqa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
}

/* Enhanced About Page Styles */
.about-hero {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.achievement-highlights {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.achievement-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.achievement-item span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Enhanced Company Story Image */
.company-story-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-story-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.company-story-img:hover::before {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

.company-story-img img {
    transition: all 0.3s ease;
}

.company-story-img:hover img {
    transform: scale(1.05);
}

/* Enhanced Stats Section */
.stat-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-stat 2s infinite;
}

.stat-icon i {
    font-size: 2rem;
    z-index: 1;
}

@keyframes pulse-stat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

/* Enhanced Vision Mission Cards */
.vision-mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    z-index: 0;
}

.vision-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.vision-mission-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.vision-mission-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.vision-mission-card h4,
.vision-mission-card p {
    position: relative;
    z-index: 1;
}

/* Enhanced Team Cards */
.team-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    z-index: 0;
}

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

.team-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.team-card:hover .team-image::before {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-card h5,
.team-card p {
    position: relative;
    z-index: 1;
}

/* Enhanced Section Titles */
.section-title-enhanced {
    position: relative;
    display: inline-block;
}

.section-title-enhanced::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* .about-hero,
.stat-card:nth-child(2n),
.vision-mission-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
} */

/* .stat-card:nth-child(2n+1),
.vision-mission-card:nth-child(even) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
} */

/* Enhanced Contact Page Styles */
.contact-info-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-card .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    z-index: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-color);
}

.contact-info-card:hover .card::before {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-contact 3s infinite;
}

.contact-icon i {
    font-size: 2rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card:hover .contact-icon i {
    transform: scale(1.2);
}

@keyframes pulse-contact {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.2; }
}

/* Enhanced Contact Icon Colors */
.contact-info-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.2));
}

.contact-info-card:nth-child(1) .contact-icon::before {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.contact-info-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.2));
}

.contact-info-card:nth-child(2) .contact-icon::before {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.contact-info-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.2));
}

.contact-info-card:nth-child(3) .contact-icon::before {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

/* Enhanced Contact Card Content */
.contact-info-card .card-body {
    position: relative;
    z-index: 1;
}

.contact-info-card h5 {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-info-card:hover h5 {
    color: var(--primary-color) !important;
}

.contact-info-card p {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Contact Card Hover Effects */
.contact-info-card:nth-child(1):hover .card {
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2) !important;
}

.contact-info-card:nth-child(2):hover .card {
    border-color: #22c55e;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2) !important;
}

.contact-info-card:nth-child(3):hover .card {
    border-color: #06b6d4;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2) !important;
}

/* Contact Info Animation */
.contact-info-card:nth-child(odd) {
    animation: float-contact 6s ease-in-out infinite;
}

.contact-info-card:nth-child(even) {
    animation: float-contact 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float-contact {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Enhanced Contact Section Background */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .about-hero {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .achievement-highlights {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .vision-mission-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
    
    .contact-info-card {
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}
.navbar-brand img{
    height: 30px;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-color) !important;
}

/* Navbar scrolled state - change nav links to dark */
.navbar.scrolled .nav-link {
    color: var(--dark-color) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Logo switching styles */
.navbar.scrolled .logo-white {
    display: none !important;
}

.navbar.scrolled .logo-dark {
    display: block !important;
}

.navbar:not(.scrolled) .logo-white {
    display: block !important;
}

.navbar:not(.scrolled) .logo-dark {
    display: none !important;
}

/* Search Bar Styles */
.navbar .search-form {
    margin-left: 1rem;
}

.navbar .search-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px 0 0 25px;
    padding: 0.5rem 1rem;
    min-width: 200px;
    transition: all 0.3s ease;
}

.navbar .search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.navbar .search-form .form-control:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: white;
}

.navbar .search-form .btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0 25px 25px 0;
    border-left: none;
    transition: all 0.3s ease;
}

.navbar .search-form .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Search Bar Styles for Scrolled Navbar */
.navbar.scrolled .search-form .form-control {
    border: 1px solid #dee2e6;
    background-color: white;
    color: var(--dark-color);
}

.navbar.scrolled .search-form .form-control::placeholder {
    color: #6c757d;
}

.navbar.scrolled .search-form .form-control:focus {
    border-color: var(--primary-color);
    background-color: white;
    color: var(--dark-color);
}

.navbar.scrolled .search-form .btn {
    border: 1px solid #dee2e6;
    background-color: white;
    color: var(--primary-color);
    border-left: none;
}


.navbar.scrolled .search-form .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive Search Bar */
@media (max-width: 991.98px) {
    .navbar .search-form {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .navbar .search-form .form-control {
        min-width: auto;
        width: 100%;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(16, 185, 129, 0.8) 100%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Navigation Buttons */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    color: white;
}

.hero-nav-btn.prev {
    right: 20px;
}

.hero-nav-btn.next {
    left: 20px;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Responsive Design for Hero Slider */
@media (max-width: 768px) {
    .hero-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-nav-btn.prev {
        right: 15px;
    }
    
    .hero-nav-btn.next {
        left: 15px;
    }
    
    .hero-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section Styles */
.about-hero,
.services-hero,
.products-hero,
.blog-hero,
.contact-hero {
    border-radius: 25px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Enhanced Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.icon-circle:hover::before {
    left: 100%;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced Value Cards */
.value-card {
    padding: 2.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.value-card h5 {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
}

.value-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Company Story Section Enhancement */
.company-story-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.company-story-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.company-story-img:hover::before {
    opacity: 1;
}

.company-story-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-story-img img {
    transition: transform 0.4s ease;
}

.company-story-img:hover img {
    transform: scale(1.05);
}

/* Vision & Mission Cards Enhancement */
.vision-mission-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(16, 185, 129, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vision-mission-card:hover::before {
    opacity: 1;
}

.vision-mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.vision-mission-card .card-body {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

/* Values Section Grid Enhancement */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Animated Counter for Stats */
.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Section Title Enhancement */
.section-title-enhanced {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title-enhanced::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Parallax Effect for About Section */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .value-card {
        padding: 2rem;
    }
    
    .vision-mission-card .card-body {
        padding: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-counter {
        font-size: 2.5rem;
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
}

/* CTA Section */
.cta-section {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 2rem;
}

.product-list {
    list-style: none;
    padding: 0;
}

.product-list li {
    padding: 0.5rem 0;
    color: #6b7280;
}

/* Partner Cards */
.partner-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Partners Swiper Slider */
.partners-swiper {
    padding: 2rem 0;
    overflow: hidden;
}

.partners-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Navigation Buttons */
.partners-swiper .swiper-button-next,
.partners-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partners-swiper .swiper-button-next:after,
.partners-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.partners-swiper .swiper-button-next:hover,
.partners-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Swiper Pagination */
.partners-swiper .swiper-pagination {
    bottom: 0;
}

.partners-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.partners-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
    background: var(--primary-color);
}

/* Responsive adjustments for partners slider */
@media (max-width: 768px) {
    .partners-swiper {
        padding: 1rem 0;
    }
    
    .partners-swiper .swiper-button-next,
    .partners-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
    }
    
    .partners-swiper .swiper-button-next:after,
    .partners-swiper .swiper-button-prev:after {
        font-size: 12px;
    }
    
    .partners-swiper .swiper-pagination {
        bottom: -10px;
    }
    
    .partners-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .partner-card {
        padding: 1rem 0.5rem;
        height: 120px;
    }
    
    .partner-card img {
        max-width: 80px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .partners-swiper {
        padding: 0.5rem 0;
    }
    
    .partners-swiper .swiper-button-next,
    .partners-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .partners-swiper .swiper-button-next:after,
    .partners-swiper .swiper-button-prev:after {
        font-size: 10px;
    }
    
    .partners-swiper .swiper-pagination {
        bottom: -15px;
    }
    
    .partners-swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 2px;
    }
    
    .partner-card {
        padding: 0.8rem 0.3rem;
        height: 100px;
    }
    
    .partner-card img {
        max-width: 60px;
        height: auto;
    }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
    .partners-swiper .swiper-button-next,
    .partners-swiper .swiper-button-prev {
        display: none;
    }
    
    .partners-swiper {
        padding: 0.5rem 0 2rem 0;
    }
    
    .partners-swiper .swiper-pagination {
        bottom: 0;
    }
    
    .partner-card {
        padding: 0.5rem 0.2rem;
        height: 90px;
    }
    
    .partner-card img {
        max-width: 50px;
        height: auto;
    }
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-excerpt {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Styles */
.contact-info {
    padding: 1rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Form Styles */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

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

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.contact-footer p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.contact-footer i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card,
    .product-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .about-hero,
    .services-hero,
    .products-hero,
    .blog-hero,
    .contact-hero {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.whatsapp-float::after {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float::before {
        font-size: 12px;
        padding: 6px 10px;
        right: 60px;
    }
    
    .whatsapp-float::after {
        right: 50px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Enhanced Footer Styles */
.footer-enhanced {
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #0f172a 100%);
    position: relative;
}

.footer-bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.footer-logo {
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.3) contrast(1.2);
    transform: scale(1.05);
}

.certifications .badge {
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.certifications .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-link-enhanced:hover::before {
    left: 100%;
}

.social-link-enhanced:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.footer-links .footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-radius: 6px;
    position: relative;
}

.footer-links .footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-links .footer-link:hover::before {
    width: 20px;
}

.footer-links .footer-link:hover {
    color: var(--primary-color);
    transform: translateX(10px);
    padding-left: 25px;
}

.footer-links .footer-link i {
    transition: transform 0.3s ease;
}

.footer-links .footer-link:hover i {
    transform: translateX(5px);
}

.contact-footer-enhanced .contact-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-footer-enhanced .contact-item:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
}

.newsletter-signup .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-signup .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    background-color: rgba(31, 41, 55, 0.8);
}

.newsletter-signup .btn {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
}

.newsletter-signup .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.footer-divider {
    position: relative;
}

.gradient-line {
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.gradient-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-bottom-links a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links a:hover {
    color: var(--primary-color) !important;
}

.back-to-top {
    z-index: 1000;
}

.back-to-top .btn {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.back-to-top .btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-enhanced {
        padding: 3rem 0 2rem;
    }
    
    .social-link-enhanced {
        width: 40px;
        height: 40px;
    }
    
    .contact-item {
        margin-bottom: 1rem !important;
    }
    
    .newsletter-signup {
        margin-top: 2rem;
    }
    
    .back-to-top {
        margin: 1rem !important;
    }
    
    .back-to-top .btn {
        padding: 0.75rem !important;
    }
}

/* Enhanced Header Styles */
.navbar-enhanced {
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1050;
}

.navbar-enhanced.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Top Bar Styles */
.top-bar {
    background: var(--gradient-primary) !important;
    font-size: 0.875rem;
}

.social-links-header a {
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.social-links-header a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Main Navigation Styles */
.main-nav {
    transition: all 0.3s ease;
}

.navbar-brand-enhanced {
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-enhanced:hover {
    transform: scale(1.05);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 45px;
    transition: all 0.3s ease;
}

.logo-text h5 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Navigation Links */
.navbar-nav-enhanced {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-enhanced {
    margin: 0 0.5rem;
    position: relative;
}

.nav-link-enhanced {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link-enhanced:hover::before,
.nav-link-enhanced.active::before {
    left: 0;
}

.nav-link-enhanced:hover,
.nav-link-enhanced.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-link-enhanced i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link-enhanced:hover i {
    transform: scale(1.1);
}

/* Enhanced Dropdown Styles */
.dropdown-menu-enhanced {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
    backdrop-filter: blur(10px);
}

.dropdown-menu-enhanced .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu-enhanced .dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

/* Header Actions */
.header-actions .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Toggle */
.navbar-toggler-enhanced {
    border: none;
    background: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.navbar-toggler-enhanced span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-toggler-enhanced:hover span {
    background: var(--secondary-color);
}

/* Mobile Navigation Styles */
.offcanvas {
    width: 320px !important;
}

.navbar-nav-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-mobile {
    margin-bottom: 0.5rem;
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.nav-link-mobile i {
    font-size: 1.2rem;
    width: 24px;
}

/* Mobile Actions */
.mobile-actions .btn {
    border-radius: 8px;
    font-weight: 600;
}

.mobile-actions a {
    transition: all 0.3s ease;
}

.mobile-actions a:hover {
    transform: scale(1.1);
}

/* Search Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.search-form .form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 1rem 1.5rem;
    font-size: small;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.search-form .btn {
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.5rem;
}

.search-suggestions .badge {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.search-suggestions .badge:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* Responsive Header Styles */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
    
    .main-nav {
        padding: 0.5rem 0;
    }
    
    .logo-container img {
        height: 35px;
    }
    
    .logo-text h5 {
        font-size: 1rem;
    }
    
    .logo-text small {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .offcanvas {
        width: 280px !important;
    }
    
    .nav-link-mobile {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .mobile-actions .btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Navbar Scroll Effect */
.navbar-enhanced.scrolled .main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-enhanced.scrolled .logo-white {
    display: none;
}

.navbar-enhanced.scrolled .logo-dark {
    display: block;
}

/* Animation for navbar items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item-enhanced {
    animation: fadeInUp 0.6s ease forwards;
}

.nav-item-enhanced:nth-child(1) { animation-delay: 0.1s; }
.nav-item-enhanced:nth-child(2) { animation-delay: 0.2s; }
.nav-item-enhanced:nth-child(3) { animation-delay: 0.3s; }
.nav-item-enhanced:nth-child(4) { animation-delay: 0.4s; }
.nav-item-enhanced:nth-child(5) { animation-delay: 0.5s; }
.nav-item-enhanced:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Product Filter Styles */
.filter-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.filter-title {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.filter-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.filter-wrapper {
    position: relative;
}

.product-filter {
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    border: none !important;
    border-radius: 12px !important;
    padding: 1rem 1.5rem !important;
    margin: 0 0.25rem !important;
    background: transparent !important;
    color: var(--dark-color) !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    min-width: 140px !important;
    text-align: center !important;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: rgba(var(--primary-color-rgb), 0.1) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.2) !important;
}

.filter-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3) !important;
}

.filter-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.filter-btn span {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    margin-top: 0.25rem;
    min-width: 24px;
    text-align: center;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.filter-btn:hover .filter-count {
    background: rgba(var(--primary-color-rgb), 0.2);
    color: var(--primary-color);
}

.filter-btn.active:hover .filter-count {
    background: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Responsive adjustments for filter */
@media (max-width: 768px) {
    .filter-container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .filter-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .filter-btn {
        min-width: 120px !important;
        padding: 0.8rem 1rem !important;
        margin: 0.25rem !important;
    }
    
    .filter-btn i {
        font-size: 1rem;
    }
    
    .filter-btn span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .filter-container {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .filter-title {
        font-size: 1.1rem;
    }
    
    .product-filter {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        min-width: 100% !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding: 1rem !important;
        margin: 0 !important;
    }
    
    .filter-btn i {
        margin-bottom: 0;
        margin-left: 0.5rem;
    }
    
    .filter-count {
        margin-top: 0;
        margin-right: auto;
    }
}
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
  border-top-left-radius: 0;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 30px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
      border-top-right-radius: 0;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 30px;
}
.search-form .input-group{
        direction: rtl !important;
}
.search-form input{
    font-size: small;
    direction: ltr;
}