/* Global Styles */
:root {
    --primary-color: #0000ff;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    background: #000 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding: 6rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(0,0,255,0.85));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/virus-7829713_960_720.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero-section .tagline {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-text {
    margin-bottom: 2.5rem;
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.brand-highlight {
    color: var(--secondary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.brand-highlight:hover {
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--primary-color);
    filter: blur(90px);
    opacity: 0.15;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-image {
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,255,0.2))
           drop-shadow(0 0 40px rgba(0,0,255,0.1));
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-image:hover {
    filter: drop-shadow(0 15px 30px rgba(0,0,255,0.3))
           drop-shadow(0 0 50px rgba(0,0,255,0.2));
    transform: scale(1.12) translateY(-5px);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0000cc;
    border-color: #0000cc;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
}

.course-category {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin: 0;
}

.course-content {
    padding: 1.5rem;
}

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

.course-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.course-list i {
    color: var(--primary-color);
    width: 20px;
}

/* Popular Courses Carousel */
.popular-carousel {
    position: relative;
    padding: 0 40px;
}

.popular-courses-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.popular-courses-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #0000cc;
    transform: scale(1.1);
}

/* Popular Course Cards */
.popular-course-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
}

.popular-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.popular-course-card .course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-meta i {
    color: var(--primary-color);
}

/* Update existing styles */
.popular-course-card .course-content {
    padding: 1.5rem;
}

.popular-course-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-outline-light {
    border-width: 2px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #000;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.3;
    }

    .hero-section .tagline {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 1.5rem;
    }

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

    .hero-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-image-container {
        display: none;
    }

    .course-image {
        height: 150px;
    }

    .popular-carousel {
        padding: 0 20px;
    }

    .popular-course-card {
        flex: 0 0 300px;
    }

    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .course-card, .popular-course-card {
    animation: fadeIn 1s ease-out;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform-origin: 0%;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    z-index: 1000;
}

/* Enhanced Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(0,0,255,0.85));
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Course Cards */
.course-card {
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.course-card:hover::before {
    transform: translateX(100%);
}

/* Enhanced Popular Course Cards */
.popular-course-card {
    position: relative;
    overflow: hidden;
}

.popular-course-card .course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-course-card:hover .course-image::after {
    opacity: 1;
}

/* Enhanced Buttons */
.btn-primary, .btn-outline-light {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before, .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before, .btn-outline-light:hover::before {
    transform: translateX(100%);
}

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

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.section-title:hover::before {
    width: 100%;
}

/* Enhanced Footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.social-links a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .scroll-progress {
        height: 2px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .hero-section {
        padding-top: 5rem;
    }

    .section-title::before {
        bottom: -5px;
    }
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #1a1a1a, #0d2b45);
    color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00ffff;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Features Section Responsive */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .col-md-6 {
        width: 100%; /* Force single column on mobile */
    }
}

/* Animation for feature cards */
.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Stagger animation delay for cards */
.col-md-6:nth-child(1) .feature-card { animation-delay: 0.1s; }
.col-md-6:nth-child(2) .feature-card { animation-delay: 0.2s; }
.col-md-6:nth-child(3) .feature-card { animation-delay: 0.3s; }
.col-md-6:nth-child(4) .feature-card { animation-delay: 0.4s; }
.col-md-6:nth-child(5) .feature-card { animation-delay: 0.5s; }
.col-md-6:nth-child(6) .feature-card { animation-delay: 0.6s; }

/* Add glow effect on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Latest Updates Section */
.latest-section {
    background: linear-gradient(135deg, #0d1117, #1a1f2c);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.latest-section .section-title {
    color: #fff;
}

.latest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.latest-courses-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.latest-courses-wrapper::-webkit-scrollbar {
    display: none;
}

.latest-course-card {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.latest-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.latest-course-card .course-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.latest-course-card .course-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
}

.update-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

.latest-course-card .course-content {
    padding: 1.5rem;
    color: white;
}

.latest-course-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.update-info {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-course-card .description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.latest-course-card .course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.latest-course-card .course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.latest-course-card .course-meta i {
    color: var(--secondary-color);
}

.latest-course-card .btn-primary {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
}

.latest-course-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.latest-course-card .btn-primary:hover::before {
    transform: translateX(100%);
}

/* Latest Section Responsive */
@media (max-width: 768px) {
    .latest-section {
        padding: 3rem 0;
    }

    .latest-course-card {
        flex: 0 0 300px;
    }

    .latest-course-card .course-image {
        height: 180px;
    }

    .latest-course-card h3 {
        font-size: 1.2rem;
    }

    .update-info {
        font-size: 0.9rem;
    }

    .latest-course-card .description {
        font-size: 0.9rem;
    }

    .latest-course-card .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 0, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-section .section-title {
    color: var(--text-color);
    margin-bottom: 3rem;
}

.testimonials-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 500px;
    background: linear-gradient(135deg, #1a1a1a, #0d2b45);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: #00ffff;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ffff;
}

.author-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-location {
    color: #00ffff !important;
    font-size: 0.85rem !important;
    font-weight: 500;
}

/* Testimonials Carousel Navigation */
.testimonials-carousel {
    position: relative;
    padding: 0 40px;
}

.testimonials-carousel .carousel-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.testimonials-carousel .carousel-prev,
.testimonials-carousel .carousel-next {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials-carousel .carousel-prev:hover,
.testimonials-carousel .carousel-next:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
    transform: scale(1.1);
}

.testimonials-carousel .carousel-prev {
    left: 0;
}

.testimonials-carousel .carousel-next {
    right: 0;
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .testimonials-carousel .carousel-prev,
    .testimonials-carousel .carousel-next {
        width: 35px;
        height: 35px;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a, #0d2b45);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.newsletter-section h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.newsletter-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.newsletter-features i {
    color: #00ffff;
    font-size: 1.2rem;
}

.newsletter-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-subscribe {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-subscribe i {
    transition: transform 0.3s ease;
}

.btn-subscribe:hover i {
    transform: translateX(5px);
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-subscribe:hover::before {
    transform: translateX(100%);
}

/* Newsletter Section Responsive */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-content {
        padding: 2rem;
    }

    .newsletter-section h2 {
        font-size: 2rem;
    }

    .newsletter-section p {
        font-size: 1rem;
    }

    .newsletter-features li {
        font-size: 1rem;
    }

    .newsletter-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

/* Footer Styles */
.footer-section {
    background: #000;
    color: #fff;
    position: relative;
    padding-bottom: 2rem;
}

/* Footer Top - Updates & News */
.footer-top {
    background: #000;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}

.btn-whatsapp {
    background: #FFD700;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #FFC700;
    color: #000;
    transform: translateY(-2px);
}

/* Footer Main Content */
.footer-main {
    padding: 4rem 0;
    background: #000;
}

.footer-main h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    padding: 0 15px;
}

.activate-windows {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.activate-windows p {
    margin: 0;
    line-height: 1.4;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0;
    }

    .footer-cta-title {
        font-size: 2rem;
    }

    .footer-main {
        padding: 3rem 0;
    }

    .footer-main .col-md-3 {
        margin-bottom: 2rem;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* Search Bar Styles */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-wrapper input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00ffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 255, 0.25);
    outline: none;
    color: #fff;
}

.search-wrapper button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.search-wrapper button:hover {
    color: #00ffff;
}

/* Search Results Styles */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results.active {
    display: block;
}

.search-section {
    margin-bottom: 20px;
}

.search-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #00ffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item {
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.search-result-item h6 {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.search-result-item p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.search-result-item small {
    display: block;
    margin-top: 5px;
    color: #00ffff;
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .search-wrapper input {
        width: 200px;
    }
}

@media (max-width: 767px) {
    .search-wrapper {
        margin: 10px 0;
    }
    
    .search-wrapper input {
        width: 100%;
    }
    
    .search-results {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 0;
        max-height: calc(100vh - 60px);
    }
    
    .search-result-item {
        padding: 10px 12px;
    }
} 

/* Add this to the end of your public/css/style.css file */

.social-links-container {
  /* Mobile-first: A 3-column grid for the rectangular shape */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; /* Equivalent to gap-5 */
  justify-items: center;
}

/* Desktop: Switch to a flex row for larger screens */
@media (min-width: 640px) { /* This is the 'sm' breakpoint in Tailwind */
  .social-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem; /* Equivalent to gap-5 */
  }
}
