:root {
    --primary-color: #2563eb;
    --secondary-color: #784BA0;
    --accent-color: #3b82f6;
    --text-color: #1e293b;
    --bg-color: #ffffff;
    --card-bg: #f8fafc;
    --transition: all 0.3s ease;
    --gradient-vibrant: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --hover-primary: #3b82f6;
    --primary-rgb: 37, 99, 235;
    --accent-rgb: 59, 130, 246;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --footer-bg: #1e293b;
    --footer-text: #ffffff;
    --footer-heading: #ffffff;
    --footer-link: #ffffff;
    --footer-border: #ffffff;
    --gradient-sleek: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --accent: #3b82f6;
    --input-bg: #ffffff;
    --input-bg-dark: #1e293b;
    --border-color: #d1d5db;
    --border-color-dark: #1e293b;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
}

/* Navbar */
.navbar {
    background: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    position: relative;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-vibrant);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: var(--gradient-sleek);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0) }
    10% { transform: translate(-5%, -10%) }
    20% { transform: translate(-15%, 5%) }
    30% { transform: translate(7%, -25%) }
    40% { transform: translate(-5%, 25%) }
    50% { transform: translate(-15%, 10%) }
    60% { transform: translate(15%, 0%) }
    70% { transform: translate(0%, 15%) }
    80% { transform: translate(3%, 35%) }
    90% { transform: translate(-10%, 10%) }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-vibrant);
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-primary);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-vibrant);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-outline-primary:hover {
    color: white;
    border-color: transparent;
}

.btn-outline-primary:hover::before {
    opacity: 1;
}

/* Cards */
.service-card,
.portfolio-card,
.testimonial-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.service-card::before,
.portfolio-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-vibrant);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before,
.portfolio-card:hover::before,
.testimonial-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Portfolio Section */
.portfolio {
    background: var(--section-bg);
}

.portfolio-filters {
    margin-bottom: 3rem;
}

.filter-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content .category {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    transition: background 0.3s ease;
}

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

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.portfolio-info p {
    margin: 0 0 1rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: var(--section-bg);
    border-radius: 1rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .filter-list {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-overlay {
    background: linear-gradient(to top, rgba(74, 0, 224, 0.9), rgba(142, 45, 226, 0.7));
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Contact Form */
.contact-form .form-control {
    background: var(--bg-light);
    border: 2px solid transparent;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

/* Footer */
.footer {
    background: var(--gradient-sleek);
    color: var(--footer-text);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-vibrant);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-vibrant);
    transform: translateY(-3px);
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        background: var(--bg-white);
    }

    .hero {
        padding: 80px 0;
    }

    .service-card,
    .portfolio-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Loading Effects */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Custom Shapes */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.shape-divider .shape-fill {
    fill: var(--bg-white);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-top: 76px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bs-light) 0%, rgba(var(--bs-primary-rgb), 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 540px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--bs-gray-700);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--bs-gray-700);
}

.feature-item i {
    font-size: 1.25rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.image-wrapper {
    position: relative;
    padding: 2rem;
}

.main-image {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
}

.floating-card i {
    font-size: 1.25rem;
}

.card-1 {
    top: 15%;
    left: 0;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: 0;
    animation: float 5s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation: float 5s ease-in-out infinite 1s;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .floating-card {
        transform: scale(0.8);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-card {
        display: none;
    }
}

/* Services Section */
.service-card {
    padding: 2rem;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 1rem;
    transition: var(--transition);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Bez starosti Section */
.bez-starosti {
    background-color: var(--bg-color);
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

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

.feature-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.price-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

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

.price-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
}

.pricing-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.price-header h3 {
    color: var(--text-color);
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-features {
    margin-top: 1.5rem;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-features ul li:last-child {
    border-bottom: none;
}

.price-features ul li i {
    width: 20px;
    text-align: center;
}

.price-features ul li span {
    flex: 1;
}

.text-muted {
    color: var(--secondary-color) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

@media (max-width: 991.98px) {
    .price-card {
        margin-bottom: 2rem;
    }
}

/* Services Pricing Section */
.services-pricing {
    background-color: var(--section-bg);
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.service-icon i {
    font-size: 1.5rem;
}

.service-title {
    flex-grow: 1;
    margin-right: 2rem;
}

.service-title h3 {
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.service-price {
    text-align: right;
    white-space: nowrap;
}

.service-price span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.service-price small {
    color: var(--text-muted);
}

.service-features {
    margin: 2rem 0;
}

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

.service-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
}

.service-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .service-title {
        margin-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }

    .service-price {
        text-align: center;
    }

    .service-actions {
        flex-direction: column;
    }
}

/* Additional Services */
.additional-services {
    position: relative;
    background: var(--bg-white);
    overflow: hidden;
}

.additional-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 0, 224, 0.05), rgba(142, 45, 226, 0.05));
    pointer-events: none;
}

.additional-services .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.additional-services .section-title h2 {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-box {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    display: flex;
    flex-direction: column;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-vibrant);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-box:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-vibrant);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.service-box:hover .service-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.service-price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

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

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-action {
    margin-top: auto;
}

.service-action .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Grid Layout */
@media (min-width: 768px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.stat-item {
    position: relative;
    padding: 2rem;
}

.stat-item h2 {
    margin-bottom: 0.5rem;
    color: white;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Detailed Services Section */
.detailed-services {
    background-color: var(--bg-color);
}

.service-detail-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-detail-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-card .icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-detail-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

/* Web Hosting Section */
.web-hosting {
    background-color: var(--bg-light);
}

.hosting-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hosting-card.featured {
    border: 2px solid var(--primary);
}

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

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.hosting-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hosting-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.price small {
    font-size: 1rem;
    color: var(--text-muted);
}

.hosting-features {
    margin: 2rem 0;
}

.hosting-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hosting-features li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.hosting-features li i {
    color: var(--primary);
    margin-right: 1rem;
}

/* Collaboration Process Section */
.collaboration-process {
    background-color: var(--bg-white);
    position: relative;
    padding: 50px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 15px 30px;
    position: relative;
    width: 50%;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -50px;
}

.timeline-content {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* RTL Support for Timeline */
[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item {
    left: auto;
    right: 0;
}

[dir="rtl"] .timeline-item:nth-child(even) {
    left: auto;
    right: 50%;
}

[dir="rtl"] .timeline-dot {
    right: auto;
    left: -50px;
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
    right: -50px;
    left: auto;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
        right: auto;
    }

    /* RTL Responsive Timeline */
    [dir="rtl"] .timeline::before {
        left: auto;
        right: 40px;
    }

    [dir="rtl"] .timeline-item {
        padding-left: 15px;
        padding-right: 70px;
        left: auto;
        right: 0;
    }

    [dir="rtl"] .timeline-item:nth-child(even) {
        left: auto;
        right: 0;
    }

    [dir="rtl"] .timeline-dot {
        left: auto;
        right: 20px;
    }

    [dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
        left: auto;
        right: 20px;
    }
}

/* FAQ Section */
.faq-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 0, 224, 0.1), rgba(142, 45, 226, 0.05));
    pointer-events: none;
}

.faq-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title h2 {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(74, 0, 224, 0.05), rgba(142, 45, 226, 0.05));
    color: var(--primary-color);
}

/* RTL Support */
[dir="rtl"] .hosting-features li i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .popular-badge {
    right: auto;
    left: -2rem;
    transform: rotate(-45deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hosting-card {
        margin-bottom: 2rem;
    }

    .process-card {
        margin-bottom: 2rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Dark theme adjustments */
[data-bs-theme=dark] .feature-card,
[data-bs-theme=dark] .service-detail-card {
    border-color: rgba(255,255,255,0.1);
}

[data-bs-theme=dark] .price-card,
[data-bs-theme=dark] .service-item {
    border-color: rgba(255,255,255,0.1);
}

[data-bs-theme=dark] .price-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

[data-bs-theme=dark] .statistics::before {
    background: rgba(0, 0, 0, 0.2);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-color);
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero img {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-white);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.contact-form .form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-primary);
}

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

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.footer h3 {
    color: var(--footer-heading);
    font-weight: 600;
}

.footer ul {
    margin: 0;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-list i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.footer hr {
    border-color: var(--footer-border);
    opacity: 0.1;
}

/* RTL Support */
[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-list li {
    flex-direction: row-reverse;
}

/* Dark Theme Adjustments */
[data-bs-theme="dark"] .contact-form .form-control {
    background-color: var(--input-bg-dark);
    border-color: var(--border-color-dark);
}

[data-bs-theme="dark"] .contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--bs-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--bs-primary);
    border-radius: 50%;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -20px;
}

.timeline-content {
    padding: 20px;
    background: var(--bs-light);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-image {
    margin-bottom: 15px;
    text-align: center;
}

.timeline-image img {
    max-width: 120px;
    height: auto;
}

.timeline-content h3 {
    color: var(--bs-primary);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.timeline-content p {
    margin: 0;
    color: var(--bs-gray-700);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

/* Cart Styles */
.cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon i {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--bs-danger);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Cart Modal Styles */
.selected-package {
    background: var(--bs-light);
    padding: 15px;
    border-radius: 8px;
}

#cartItems .cart-item {
    border-bottom: 1px solid var(--bs-gray-200);
    padding: 15px 0;
}

#cartItems .cart-item:last-child {
    border-bottom: none;
}

.cart-item-title {
    font-weight: bold;
    color: var(--bs-primary);
}

.cart-item-price {
    font-weight: bold;
}

.cart-item-remove {
    color: var(--bs-danger);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cart-item-remove:hover {
    opacity: 0.7;
}

#domainOptions .input-group {
    max-width: 100%;
}

.total-price {
    background: var(--bs-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Form Styles */
.form-check {
    margin-bottom: 10px;
}

.form-select, .form-control {
    border-color: var(--bs-gray-300);
}

.form-select:focus, .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Animation for price updates */
#totalPrice, #cartTotalPrice {
    transition: color 0.3s ease;
}

#totalPrice.updated, #cartTotalPrice.updated {
    color: var(--bs-success);
}

/* Detailed Cart Styles */
.cart-item {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-item-details {
    padding-right: 20px;
}

.detail-section {
    background: var(--bs-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.detail-title {
    color: var(--bs-gray-600);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content {
    font-size: 0.95rem;
}

.cart-item-summary {
    padding: 15px;
    background: var(--bs-light);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-total {
    text-align: right;
}

/* Order Summary Styles */
.order-summary {
    position: sticky;
    top: 100px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-section {
    background: var(--bs-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.summary-section-title {
    color: var(--bs-gray-600);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-subtotals {
    font-size: 0.95rem;
}

.total-section {
    background: var(--bs-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cart-item-details {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .cart-item-summary {
        text-align: left;
    }
    
    .order-summary {
        position: static;
        margin-top: 30px;
    }
}

/* Empty Cart Styles */
.empty-cart {
    padding: 60px 0;
}

.empty-cart i {
    color: var(--bs-gray-400);
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: var(--bs-gray-700);
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--bs-gray-600);
    margin-bottom: 30px;
}

/* Discount Banner Styles */
.discount-banner {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discount-banner::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"><rect fill="rgba(255,255,255,0.1)" x="0" y="0" width="100" height="100"/></svg>') repeat;
    opacity: 0.1;
    animation: grain 8s steps(10) infinite;
}

.discount-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.discount-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    min-width: 80px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-2px);
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.apply-discount-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.apply-discount-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: var(--bg-light);
}

.apply-discount-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.has-discount .original-price {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

.has-discount .discount-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    animation: pulsePrice 2s infinite;
}

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

.price-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

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

.price-period {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.price-features {
    margin-top: 1.5rem;
}

.price-features p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.price-features ul li:last-child {
    border-bottom: none;
}

.price-features ul li i {
    width: 16px;
    text-align: center;
    margin-top: 0.25rem;
}

.price-features ul li span {
    flex: 1;
    line-height: 1.4;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: var(--secondary-color) !important;
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .price-card {
        margin-bottom: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .price-features ul li {
        font-size: 0.9rem;
    }
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.2));
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-settings {
    white-space: nowrap;
}

/* Cookie Settings Modal */
.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option .form-check {
    margin-bottom: 0.5rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    padding-left: 2.5rem;
}

.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-text {
        text-align: center;
        flex-direction: column;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

/* Cookie Modal Styles */
.cookie-modal-body {
    padding: 2rem;
    text-align: center;
}

.cookie-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#cookieConsentModal .modal-content,
#cookieSettingsModal .modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: var(--card-shadow);
}

.cookie-option {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: var(--section-bg);
    border-radius: 0.5rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option .form-check {
    margin-bottom: 0.5rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cookie-settings,
.accept-cookies {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

#cookieConsentModal .btn-outline-primary {
    border-width: 2px;
}

#cookieConsentModal .modal-body h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#cookieConsentModal .modal-body p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-settings,
    .accept-cookies {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    #cookieConsentModal .d-flex {
        flex-direction: column;
    }
}

/* Logo Styles */
.navbar-brand {
    padding: 0;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 35px;
    }
}

/* Cookie Consent */
#cookieConsentModal .modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-modal-body {
    padding: 2rem;
    text-align: center;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.cookie-option {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

/* Discount Banner Urgent State */
#discountBanner.urgent {
    animation: urgentPulse 2s infinite;
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
}

#discountBanner.urgent .countdown-number {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes urgentPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    }
}

/* RTL Support */
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .navbar-nav .nav-link {
    text-align: right;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .navbar-nav .nav-item:last-child {
    margin-right: 0.5rem;
}

[dir="rtl"] .cart-count {
    margin-right: 0.25rem;
}

[dir="rtl"] .navbar .navbar-toggler {
    margin-left: 0;
    margin-right: auto;
}

/* RTL support for other components */
[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .service-box {
    text-align: right;
}

[dir="rtl"] .service-features {
    padding-right: 0;
    text-align: right;
}

[dir="rtl"] .service-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .service-features li i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .btn i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Gradient Headings */
.section-title {
    position: relative;
    margin: 3rem 0;
    text-align: center;
}

.section-title h2 {
    position: relative;
    text-transform: uppercase;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    font-weight: 600;
}

.section-title h2::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: var(--gradient-vibrant);
    bottom: -15px;
    width: 80px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title h2:hover::before {
    width: 120px;
}

.section-title p {
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        margin: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
}
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cookie-settings-btn i {
    font-size: 24px;
    color: #666;
}

.cookie-settings-btn:hover i {
    color: #333;
}