/**
 * Custom Styles for S2S Core Theme
 *
 * @package S2S_Core
 * @since 1.0.0
 */

/* ===================================
   Preloader
   =================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#preloader .preloader-spinner {
    width: 50px;
    height: 50px;
}

/* Ensure content is visible even if AOS hasn't initialized */
body {
    opacity: 1 !important;
    visibility: visible !important;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Prevent horizontal scroll */
/* Ensure hero section doesn't cause overflow */
.hero-slider-section,
.hero-section {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent scrollbars on sections during lazy load */
section {
    overflow-x: hidden;
    overflow-y: visible;
}

.section-padding {
    overflow-x: hidden;
    overflow-y: visible;
}

/* Make sure elements with AOS are visible by default */
[data-aos] {
    opacity: 1;
    pointer-events: auto;
}

/* Only apply AOS effects after initialization */
html:not(.no-js) [data-aos].aos-init {
    opacity: 0;
}

html:not(.no-js) [data-aos].aos-animate {
    opacity: 1;
}

/* ===================================
   Header / Navigation - Transparent on Load
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Transparent header only on front page */
.home .site-header {
    background-color: transparent;
    box-shadow: none;
}

.site-header.scrolled,
.home .site-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add top padding to content on non-front-page pages */
.site-main {
    padding-top: 120px;
}

.home .site-main {
    padding-top: 0;
}

.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background-color: transparent !important;
}

.site-header.scrolled .navbar {
    padding: 0.75rem 0;
}

/* Navbar Brand Colors */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* White brand on front page only */
.home .site-header .navbar-brand {
    color: #ffffff;
}

.site-header.scrolled .navbar-brand {
    color: var(--secondary-color);
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* White title on front page only */
.home .site-header .site-title {
    color: #ffffff;
}

.site-header.scrolled .site-title {
    color: var(--secondary-color);
}

.site-description {
    font-size: 0.875rem;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

/* White description on front page only */
.home .site-header .site-description {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.scrolled .site-description {
    color: var(--medium-gray);
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #444444;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

/* White links on front page only */
.home .site-header .navbar-nav .nav-link {
    color: #ffffff;
}

/* Burger icon styles - white on transparent header */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Make burger icon white on home page transparent header */
.home .site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark burger icon when scrolled */
.site-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Front page hover effect */
.home .site-header .navbar-nav .nav-link:hover,
.home .site-header .navbar-nav .nav-link:focus,
.home .site-header .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.site-header.scrolled .navbar-nav .nav-link {
    color: #444444;
}

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

/* Hide Bootstrap default dropdown arrow */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0;
}

/* Add padding to dropdown container to create hover bridge */
.navbar-nav > .dropdown {
    padding-bottom: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Multi-level dropdown styling */
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0.125rem;
    display: none;
}

.dropdown .dropend {
    position: relative;
}

.dropdown .dropend > .dropdown-toggle::after {
    display: none;
}

/* Show submenu on hover for desktop */
@media (min-width: 992px) {
    .dropdown .dropend:hover > .dropdown-menu {
        display: block;
    }
}

/* Mobile - submenu styling */
@media (max-width: 991.98px) {
    /* Hide dropdown menus by default - controlled by JavaScript */
    .navbar-collapse .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    /* Nested dropdown styling */
    .dropdown-submenu {
        position: static;
        box-shadow: none;
        border-left: 2px solid var(--primary-color);
        margin-left: 1rem;
        padding-left: 0.5rem;
        border-radius: 0;
    }

    /* Style for dropdown items in mobile */
    .navbar-collapse .dropdown-item {
        padding: 0.5rem 1rem;
        white-space: normal;
    }

    /* Add spacing for mobile nav items */
    .navbar-collapse .nav-item {
        margin: 0.25rem 0;
    }

    /* Dropdown toggle icon rotation on mobile */
    .navbar-collapse .dropdown.show > .nav-link .fa-chevron-down,
    .navbar-collapse .dropend.show > .dropdown-item .fa-chevron-right {
        transform: rotate(180deg);
    }
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

/* Header Centered Navigation Styles */
.navbar .row {
    margin: 0;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.dropdown .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown.show .fa-chevron-down {
    transform: rotate(180deg);
}

/* Search Toggle Button */
.search-toggle {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--secondary-color) !important;
}

/* White search toggle on front page only */
.home .site-header .search-toggle {
    color: #ffffff !important;
}

.site-header.scrolled .search-toggle {
    color: var(--secondary-color) !important;
}

.search-toggle:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

/* CTA Button in Header */
.header-cta .btn-primary {
    padding: 12px 28px;
    font-size: 0.9375rem;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    max-width: 800px;
    width: 90%;
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.search-wrapper {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 1.5rem 5rem 1.5rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    background: #fff;
    outline: none;
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* ===================================
   Hero Slider Section - Touches Top of Page
   =================================== */

/* Remove top spacing for pages with hero slider */
body .site-content {
    padding-top: 0;
}

.hero-slider-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider-section .carousel {
    height: 100vh;
    min-height: 600px;
}

.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    height: 100%;
}

.hero-slider-section .carousel-item {
    position: relative;
}

/* Hero Background with Fade Effect */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.carousel-item.active .hero-bg {
    animation: kenBurns 10s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-slider-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 162, 215, 0.7) 0%, rgba(17, 162, 215, 0.3) 100%);
    z-index: 1;
}

.hero-slider-section .carousel-caption {
    position: static;
    z-index: 2;
    height: 100%;
    padding: 0;
}

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

.hero-tagline {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color) !important;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Carousel Controls */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.hero-slider-section .carousel-control-prev {
    left: 30px;
}

.hero-slider-section .carousel-control-next {
    right: 30px;
}

.hero-slider-section .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-slider-section .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* Carousel Indicators */
.hero-slider-section .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.hero-slider-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider-section .carousel-indicators button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* Legacy Hero Section Styles */
/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
}

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

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    margin: 0.5rem;
    min-width: 180px;
}

/* Hero Section Button Overrides */
.hero-section .btn-primary,
.hero-slider-section .btn-primary {
    padding: 18px 40px;
    font-size: 1.0625rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-primary:hover,
.hero-slider-section .btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero-section .btn-secondary,
.hero-slider-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.hero-section .btn-secondary:hover,
.hero-slider-section .btn-secondary:hover {
    border-color: #ffffff;
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-down {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    animation: bounce 2s infinite;
}

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

/* ===================================
   About Section
   =================================== */

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 12px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.feature-icon {
    transition: all 0.3s ease;
}

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

/* ===================================
   Services Section - Modern Design
   =================================== */
.services-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.services-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.services-section .section-title .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-card-modern {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card-inner {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
    z-index: 1;
    transition: all 0.4s ease;
    opacity: 0.7;
}

.service-card-modern:hover .service-card-bg {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--secondary-rgb), 0.08) 100%);
    opacity: 1;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.service-card-modern:hover::before {
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-icon-modern {
    position: relative;
}

.icon-circle-modern {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.icon-circle-modern::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card-modern:hover .icon-circle-modern::before {
    opacity: 1;
}

.service-card-modern:hover .icon-circle-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.icon-circle-modern i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card-modern:hover .icon-circle-modern i {
    color: #ffffff;
    transform: scale(1.1);
}

.service-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.75rem;
}

.service-title-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-title-modern {
    color: var(--primary-color);
}

.service-card-modern:hover .service-title-modern::after {
    width: 60px;
    background: var(--primary-color);
}

.service-description-modern {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-description-modern {
    color: #4a5568;
}

.service-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.5rem 0;
    position: relative;
    width: fit-content;
}

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

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

.service-link-modern i {
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-link-modern i {
    transform: translateX(5px);
}

.service-link-modern:hover {
    color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-section .section-title h2 {
        font-size: 2rem;
    }
    
    .service-card-inner {
        padding: 2rem;
    }
    
    .icon-circle-modern {
        width: 70px;
        height: 70px;
    }
    
    .icon-circle-modern i {
        font-size: 1.75rem;
    }
}
/* ===================================
   Features Section - Modern Design
   =================================== */

.feature-box-modern {
    position: relative;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-box-modern:hover::before {
    opacity: 1;
}

.feature-icon-wrapper-modern {
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-icon-hexagon {
    position: relative;
    width: 100px;
    height: 100px;
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hexagon-inner::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    transition: all 0.5s ease;
}

.feature-box-modern:hover .hexagon-inner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotate(60deg) scale(1.05);
}

.feature-box-modern:hover .hexagon-inner::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hexagon-inner i {
    font-size: 2.25rem;
    color: var(--primary-color);
    z-index: 1;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box-modern:hover .hexagon-inner i {
    color: #ffffff;
    transform: rotate(-60deg) scale(1.1);
}

.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    transition: color 0.3s ease;
}

.feature-box-modern:hover .feature-title-modern {
    color: var(--primary-color);
}

.feature-description-modern {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===================================
   Statistics Section - Modern Design
   =================================== */

.statistics-section {
    position: relative;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%);
 /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0,0,0 , 0.09));  */
    
    
}

.stat-card-modern {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

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

.stat-card-modern:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon-modern {
    position: relative;
    display: inline-block;
}

.icon-ring-modern {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-ring-modern::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-right-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transform: rotate(0deg);
    transition: all 0.6s ease;
}

.stat-card-modern:hover .icon-ring-modern::before {
    opacity: 0.8;
    transform: rotate(180deg);
}

.stat-card-modern:hover .icon-ring-modern {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.icon-ring-modern i {
    font-size: 2.25rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.stat-card-modern:hover .icon-ring-modern i {
    transform: scale(1.1) rotate(10deg);
}

.stat-number-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.counter-modern {
    display: inline-block;
    transition: all 0.3s ease;
}

.suffix-modern {
    font-size: 3rem;
    margin-left: 0.25rem;
    opacity: 0.9;
}

.stat-title-modern {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.stat-line-modern {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 0 auto;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.stat-card-modern:hover .stat-line-modern {
    width: 80px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* ===================================
   Portfolio Section - Modern Grid Design
   =================================== */

.portfolio-card-modern {
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.portfolio-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern:hover .portfolio-img-modern {
    transform: scale(1.15);
}

.placeholder-image-modern {
    height: 320px;
}

.portfolio-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.92) 0%, rgba(var(--secondary-rgb), 0.92) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-content-modern {
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    width: 100%;
}

.portfolio-card-modern:hover .portfolio-content-modern {
    transform: translateY(0);
}

.portfolio-category-modern {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.portfolio-title-modern {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.portfolio-link-btn-modern {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-card-modern:hover .portfolio-link-btn-modern {
    transform: scale(1);
}

.portfolio-link-btn-modern:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(45deg);
}

.portfolio-link-btn-modern i {
    font-size: 1.125rem;
}

/* ===================================
   Team Section - V2 Design (Overlay Style)
   =================================== */

.team-card-v2 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 450px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Background Image Wrapper */
.team-image-wrapper-v2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.team-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.team-placeholder-v2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 5rem;
    opacity: 0.3;
}

/* Content Overlay */
.team-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-v2:hover .team-overlay-v2 {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.team-content-v2 {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

/* Team Header (Name & Position) */
.team-header-v2 {
    margin-bottom: 1rem;
}

.member-name-v2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.member-position-v2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Description (shows on hover) */
.member-description-v2 {
    margin-bottom: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-v2:hover .member-description-v2 {
    max-height: 200px;
    opacity: 1;
}

.member-description-v2 p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Team Footer (Social Links & Learn More) */
.team-footer-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Social Links - Horizontal */
.team-social-links-v2 {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.team-card-v2:hover .team-social-links-v2 {
    opacity: 1;
    transform: translateX(0);
}

.team-social-icon-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-social-icon-v2:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.team-social-icon-v2 i {
    font-size: 0.875rem;
}

/* Learn More Button */
.team-learn-more-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
    white-space: nowrap;
}

.team-learn-more-v2:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6);
    color: #ffffff;
}

.team-learn-more-v2 i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.team-learn-more-v2:hover i {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .team-card-v2 {
        height: 400px;
    }

    .member-name-v2 {
        font-size: 1.5rem;
    }

    .team-overlay-v2 {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .team-card-v2 {
        height: 450px;
    }

    .member-name-v2 {
        font-size: 1.375rem;
    }

    .member-position-v2 {
        font-size: 0.9375rem;
    }

    .team-overlay-v2 {
        padding: 1.25rem;
    }

    .team-footer-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .team-learn-more-v2 {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Single Team Member Page
   =================================== */

.team-single-hero {
    padding-top: 120px;
}

.team-single-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.team-single-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.team-single-image:hover img {
    transform: scale(1.05);
}

.team-single-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 8rem;
    opacity: 0.3;
    border-radius: 16px;
}

.team-single-name {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.team-single-position {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Contact Info */
.team-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: #4b5563;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
}

.contact-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Social Links on Single Page */
.team-single-social h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
}

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

.social-icon-single {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    color: var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

.social-icon-single:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.3);
}

/* Bio Content */
.team-bio-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-bio-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    position: relative;
    padding-bottom: 1rem;
}

.team-bio-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.bio-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.bio-text h3,
.bio-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.bio-text ul,
.bio-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.bio-text li {
    margin-bottom: 0.5rem;
}

/* Responsive Single Team */
@media (max-width: 991px) {
    .team-single-name {
        font-size: 2.5rem;
    }

    .team-single-position {
        font-size: 1.25rem;
    }

    .team-bio-content {
        padding: 2rem;
    }

    .bio-text {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .team-single-hero {
        padding-top: 100px;
    }

    .team-single-name {
        font-size: 2rem;
    }

    .team-single-position {
        font-size: 1.125rem;
    }

    .team-single-placeholder {
        height: 350px;
        font-size: 5rem;
    }

    .team-bio-content {
        padding: 1.5rem;
    }

    .team-bio-content h2 {
        font-size: 1.75rem;
    }

    .bio-text {
        font-size: 0.9375rem;
    }

    .social-icon-single {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
}

/* ===================================
   Testimonials Section - V2 Design (Minimal & Clean)
   =================================== */

/* Testimonials Background */
.testimonials-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Testimonial Item - Full Height */
.testimonial-item {
    display: flex;
    height: 100%;
}

/* Testimonial Card - V2 Clean Design */
.testimonial-card-v2 {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-v2:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.2);
}

/* Quote Icon - Large Subtle Background */
.quote-icon-v2 {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(var(--primary-rgb), 0.06);
    line-height: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.quote-icon-v2 svg {
    display: block;
}

.testimonial-card-v2:hover .quote-icon-v2 {
    color: rgba(var(--primary-rgb), 0.1);
}

/* Testimonial Title */
.testimonial-title-v2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Testimonial Text */
.testimonial-text-v2 {
    position: relative;
    flex: 1;
    margin-bottom: 2rem;
    z-index: 1;
}

.testimonial-quote-v2 {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
}

/* Author Section - V2 Layout */
.testimonial-author-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Author Avatar - V2 Simple Circle */
.author-avatar-v2 {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.author-avatar-v2 .avatar-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-avatar-v2 .avatar-placeholder-v2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Author Details - V2 */
.author-details-v2 {
    flex: 1;
    text-align: left;
}

.author-name-v2 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-date-v2 {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.3;
}

/* Legacy Styles for Compatibility */
.quote-icon {
    text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background-color: var(--primary-color);
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: #fff;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline-light:hover::before {
    transform: scaleX(1);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Contact Section - Modern Design
   =================================== */

.contact-info-modern {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.info-item-modern {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.info-item-modern:hover::before {
    transform: scaleY(1);
}

.info-item-modern:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.info-icon-modern {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item-modern:hover .info-icon-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    transform: scale(1.05) rotate(5deg);
}

.info-content-modern {
    flex: 1;
}

.info-label-modern {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.info-text-modern {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.info-link-modern {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form-wrapper-modern {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.contact-form-wrapper-modern .form-group {
    position: relative;
}

.contact-form-wrapper-modern .form-label {
    margin-bottom: 0.75rem;
    color: #1a202c;
    font-weight: 600;
    font-size: 0.9375rem;
}

.contact-form-wrapper-modern .form-control,
.contact-form-wrapper-modern .form-select {
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1.25rem;
    border-radius: 7px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-size: 1rem;
}

.contact-form-wrapper-modern .form-control:focus,
.contact-form-wrapper-modern .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
    outline: none;
}

.contact-form-wrapper-modern .form-control::placeholder {
    color: #94a3b8;
}

.contact-form-wrapper-modern textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form-wrapper-modern .btn-primary {
    padding: 1rem 2.5rem;
}

.contact-form-wrapper-modern .btn-primary span,
.contact-form-wrapper-modern .btn-primary i {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper-modern .btn-primary i {
    transition: transform 0.3s ease;
}

.contact-form-wrapper-modern .btn-primary:hover i {
    transform: translateX(5px);
}

.form-message {
    min-height: 30px;
}

.form-message.alert {
    animation: slideInDown 0.5s ease;
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
}

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

.contact-map {
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    padding-top: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb), 0.5) 50%, transparent 100%);
}

.footer-widgets {
    padding: 80px 0 60px;
}

.footer-widgets .widget {
    margin-bottom: 2rem;
}

.footer-widgets .widget-title,
.footer-widgets h3,
.footer-widgets h4,
.footer-widgets h5 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
footer .footer-menu-list li {
    border-bottom: none !important;
}
.footer-widgets .widget-title::after,
.footer-widgets h3::after,
.footer-widgets h4::after,
.footer-widgets h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.footer-widgets p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-widgets a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-widgets a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-widgets ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 20px;
}

.footer-widgets ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-widgets ul li:hover::before {
    transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9375rem;
}

.footer-menu .list-inline-item {
    margin: 0 15px;
}

.footer-menu .list-inline-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 15px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

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


.footer-menu ul.list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-menu ul.list-inline li {
    display: inline-block;
    margin: 0 5px;
}

/* ===================================
   Back to Top Button
   =================================== */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

#back-to-top.show {
    display: flex;
}

/* ===================================
   Sidebar
   =================================== */

.widget {
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

aside .widget {
    padding: 0 !important;
    /* margin: 0 !important; */
}
.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray);
}

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

.widget ul li a {
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    /* Force dark text on mobile menu when opened */
    .navbar-collapse .navbar-nav .nav-link {
        color: #444444 !important;
    }

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

    /* Dark dropdown items on mobile */
    .navbar-collapse .dropdown-item {
        color: #444444 !important;
    }

    .navbar-collapse .dropdown-item:hover {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: 20px;
        right: 20px;
    }

    .experience-badge h3 {
        font-size: 2rem;
    }

    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

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

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

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

    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .experience-badge h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Accessibility
   =================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   Owl Carousel Custom Navigation
   =================================== */

/* Portfolio Carousel Navigation */
.portfolio-carousel-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.portfolio-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.portfolio-prev,
.portfolio-next {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.portfolio-prev:hover,
.portfolio-next:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.portfolio-prev i,
.portfolio-next i {
    font-size: 18px;
}

/* Testimonials Carousel Navigation */
/* Carousel Wrapper - Elegant Navigation */
.testimonials-carousel-wrapper {
    position: relative;
    padding-bottom: 80px;
}

.testimonials-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 12px;
    z-index: 10;
}

/* Navigation Buttons - Modern Elegant Design */
.testimonials-prev,
.testimonials-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(var(--primary-rgb), 0.25),
        0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonials-prev::before,
.testimonials-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-prev:hover::before,
.testimonials-next:hover::before {
    opacity: 1;
}

.testimonials-prev:hover,
.testimonials-next:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(var(--primary-rgb), 0.35),
        0 4px 8px rgba(0, 0, 0, 0.12);
}

.testimonials-prev:active,
.testimonials-next:active {
    transform: translateY(0);
}

.testimonials-prev i,
.testimonials-next i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* Owl Carousel Overrides */
.owl-carousel .owl-stage-outer {
    padding: 10px 0;
}

.owl-carousel .owl-item {
    opacity: 1;
}

/* Testimonials V2 Responsive Styles */
@media (max-width: 991px) {
    .testimonial-card-v2 {
        padding: 2rem 1.75rem;
    }

    .testimonial-title-v2 {
        font-size: 1.375rem;
    }

    .quote-icon-v2 svg {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    .portfolio-carousel-wrapper,
    .testimonials-carousel-wrapper {
        padding-bottom: 70px;
    }

    .portfolio-nav,
    .testimonials-nav {
        right: 50%;
        transform: translateX(50%);
        bottom: 15px;
    }

    .portfolio-prev,
    .portfolio-next,
    .testimonials-prev,
    .testimonials-next {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .portfolio-prev i,
    .portfolio-next i,
    .testimonials-prev i,
    .testimonials-next i {
        font-size: 16px;
    }

    /* Mobile testimonial card V2 adjustments */
    .testimonial-card-v2 {
        padding: 2rem 1.5rem;
    }

    .quote-icon-v2 {
        top: 15px;
        left: 15px;
    }

    .quote-icon-v2 svg {
        width: 60px;
        height: 60px;
    }

    .testimonial-title-v2 {
        font-size: 1.25rem;
    }

    .testimonial-quote-v2 {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .author-avatar-v2 {
        width: 48px;
        height: 48px;
    }

    .author-name-v2 {
        font-size: 0.9375rem;
    }

    .author-date-v2 {
        font-size: 0.8125rem;
    }
}

/* ===================================
   Custom S2Score Widgets - Beautiful Pre-styled Widgets
   =================================== */

/* Widget Base Styles */
.s2score-widget {
    margin-bottom: 2rem;
}
.s2score-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.s2score-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* About Widget */
.s2score-about-widget-content .widget-logo {
    max-width: 180px;
}

.s2score-about-widget-content .widget-logo img {
    width: 100%;
    height: auto;
}

.s2score-about-widget-content .widget-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.s2score-about-widget-content .widget-description p {
    margin-bottom: 1rem;
}

.s2score-about-widget-content .widget-description p:last-child {
    margin-bottom: 0;
}

/* Contact Info Widget */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}





.contact-info-list .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
}

.contact-info-list .contact-item:first-child {
    padding-top: 0;
}

.contact-info-list .contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-list .contact-item:hover {
    padding-left: 0.5rem;
}

.contact-info-list .contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.contact-info-list .contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-info-list .contact-text {
    flex: 1;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.contact-info-list .contact-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-list .contact-link:hover {
    color: var(--primary-color);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list .recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
}

.recent-posts-list .recent-post-item:first-child {
    padding-top: 0;
}

.recent-posts-list .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts-list .recent-post-item:hover {
    padding-left: 0.5rem;
}

.recent-posts-list .post-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.recent-posts-list .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-posts-list .recent-post-item:hover .post-thumbnail img {
    transform: scale(1.1);
}

.recent-posts-list .post-details {
    flex: 1;
}

.recent-posts-list .post-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.recent-posts-list .post-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts-list .post-title a:hover {
    color: var(--primary-color);
}

.recent-posts-list .post-date {
    font-size: 0.8125rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.recent-posts-list .post-date i {
    font-size: 0.75rem;
}

/* Social Media Widget */
.social-links-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links-widget .social-link-widget {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    color: var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links-widget .social-link-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-links-widget .social-link-widget:hover::before {
    opacity: 1;
}

.social-links-widget .social-link-widget:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.3);
}

.social-links-widget .social-link-widget i {
    position: relative;
    z-index: 1;
}

/* Newsletter Widget */
.s2score-newsletter-widget-content .newsletter-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.newsletter-button:hover::before {
    opacity: 1;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.newsletter-button i,
.newsletter-button .button-text {
    position: relative;
    z-index: 1;
}

.newsletter-button i {
    transition: transform 0.3s ease;
}

.newsletter-button:hover i {
    transform: translateX(3px);
}

.newsletter-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.newsletter-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-left: 3px solid #10b981;
}

.newsletter-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 3px solid #ef4444;
}

/* Widget Responsive Styles */
@media (max-width: 767px) {
    .s2score-widget .widget-title {
        font-size: 1.125rem;
    }

    .contact-info-list .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .recent-posts-list .post-thumbnail {
        width: 60px;
        height: 60px;
    }

    .social-links-widget .social-link-widget {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Sidebar Specific Styles */
.sidebar .s2score-widget {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
}

/* Footer Widget Styles */
/* Remove white background from all footer widgets */
.site-footer .widget,
.site-footer .s2score-widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.site-footer .widget .widget-title,
.site-footer .widget h3,
.site-footer .widget h4,
.site-footer .widget h5,
.site-footer .s2score-widget .widget-title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.75rem !important;
    padding-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    position: relative;
}

.site-footer .widget .widget-title::after,
.site-footer .widget h3::after,
.site-footer .widget h4::after,
.site-footer .widget h5::after,
.site-footer .s2score-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* All text elements in footer widgets */
.site-footer .widget p,
.site-footer .widget a,
.site-footer .widget li,
.site-footer .widget span,
.site-footer .widget div,
.site-footer .widget label,
.site-footer .widget input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}

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

.site-footer .s2score-about-widget-content .widget-description {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.8;
}

/* Contact Widget in Footer */
.site-footer .contact-info-list .contact-item {
    border-bottom: none;
    padding: 1rem 0;
}

.site-footer .contact-info-list .contact-item:first-child {
    padding-top: 0;
}

.site-footer .contact-info-list .contact-icon {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.site-footer .contact-info-list .contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.site-footer .contact-info-list .contact-text,
.site-footer .contact-info-list .contact-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.site-footer .contact-info-list .contact-link:hover {
    color: var(--primary-color) !important;
}

/* Quick Links Widget in Footer */
.site-footer .quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .quick-links-list li {
    padding-left: 20px;
    margin-bottom: 0.75rem;
    position: relative;
}

.site-footer .quick-links-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.site-footer .quick-links-list a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.3s ease;
}

.site-footer .quick-links-list a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

/* Social Links Widget in Footer */
.site-footer .social-links-widget {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.site-footer .social-link-widget {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer .social-link-widget:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Newsletter Widget in Footer */
.site-footer .newsletter-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
}

.site-footer .newsletter-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    color: #ffffff;
}

.site-footer .newsletter-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    border: none;
}

.site-footer .newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.site-footer .recent-posts-list .recent-post-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Smaller font size for post titles in footer */
.site-footer .recent-posts-list .post-title {
    font-size: 0.813rem;
}

.site-footer .recent-posts-list .post-title a {
    color: #ffffff;
}

.site-footer .recent-posts-list .post-date {
    color: rgba(255, 255, 255, 0.6);
}

/* Most Visited Posts Widget in Footer */
.site-footer .most-visited-post-title {
    font-size: 0.813rem;
}

.site-footer .most-visited-post-title a {
    color: #ffffff;
}

.site-footer .most-visited-post-meta {
    color: rgba(255, 255, 255, 0.6);
}

/* Remove underline from widget titles in footer */
footer  .widget-title::after,
footer  .widget-title::after {
    display: none;
}

.site-footer .social-links-widget .social-link-widget {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.site-footer .social-links-widget .social-link-widget:hover {
    background: rgba(255, 255, 255, 0.2);
}

.site-footer .newsletter-description {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer .newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.site-footer .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-footer .newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

/* Footer Menu Widget Styles */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0;
}

.footer-menu-list li:last-child {
    margin-bottom: 0;
}

.footer-menu-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-menu-list li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-menu-list li a:hover {
    color: #ffffff;
    padding-left: 25px;
    transform: translateX(2px);
}

.footer-menu-list li a:hover::before {
    opacity: 1;
    color: var(--primary-light);
}

/* Footer Menu in Sidebar (if used) */
.sidebar .footer-menu-list li a {
    color: var(--text-dark);
}

.sidebar .footer-menu-list li a:hover {
    color: var(--primary-color);
}

/* ===================================
   Blog Section - Modern Design
   =================================== */

.blog-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.blog-section .section-title .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-card-modern {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.blog-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-modern:hover .blog-img-modern {
    transform: scale(1.15);
}

.blog-placeholder-modern {
    height: 280px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 4rem;
    opacity: 0.3;
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 2;
    min-width: 70px;
}

.blog-date-badge .date-day {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 2px;
}

.blog-date-badge .date-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.blog-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.blog-meta .meta-item i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.blog-title-modern {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-title-modern a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title-modern a:hover {
    color: var(--primary-color);
}

.blog-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    width: fit-content;
}

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

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

.blog-link-modern i {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.blog-card-modern:hover .blog-link-modern i {
    transform: translateX(5px);
}

.blog-link-modern:hover {
    color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-section .section-title h2 {
        font-size: 2rem;
    }

    .blog-image-wrapper {
        height: 240px;
    }

    .blog-placeholder-modern {
        height: 240px;
        font-size: 3rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-date-badge {
        padding: 10px 14px;
        min-width: 60px;
    }

    .blog-date-badge .date-day {
        font-size: 1.5rem;
    }

    .blog-date-badge .date-month {
        font-size: 0.75rem;
    }

    .blog-title-modern {
        font-size: 1.25rem;
    }

    .blog-meta {
        gap: 1rem;
    }
}

/* ===================================
   Blog Section Styles
   =================================== */

/* Common Styles */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Style 1 - Entertainment Style */
.blog-section-style1 {
    background: #fff;
}

.section-header-style1 {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title-style1 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #1a1a1a;
}

.blog-card-style1 {
    height: 100%;
    transition: transform 0.3s ease;
}

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

.blog-image-style1 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 250px;
}

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

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

.blog-content-style1 {
    padding: 0;
}

.blog-title-style1 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-title-style1 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title-style1 a:hover {
    color: #2563eb;
}

.blog-meta-style1 {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-meta-style1 .category,
.blog-meta-style1 .date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-style1 .category {
    font-weight: 500;
}

/* Style 2 - Money Style */
.blog-section-style2 {
    background: #fff;
}

.section-header-style2 {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title-style2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #1a1a1a;
}

.blog-card-style2 {
    height: 100%;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-card-style2:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-thumbnail-style2 {
    height: 100%;
    min-height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.blog-content-style2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.blog-title-style2 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-title-style2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title-style2 a:hover {
    color: #2563eb;
}

.blog-meta-style2 {
    font-size: 0.813rem;
    color: #666;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-meta-style2 .category,
.blog-meta-style2 .date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-style2 .category {
    font-weight: 500;
}

/* Style 3 - Latest Technology Style */
.blog-section-style3 {
    background: #f8f9fa;
}

.section-header-style3 {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title-style3 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #1a1a1a;
}

/* Featured Post */
.blog-card-style3-featured {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card-style3-featured:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-image-style3-featured {
    height: 350px;
    overflow: hidden;
}

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

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

.blog-content-style3-featured {
    padding: 25px;
}

.blog-title-style3-featured {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-title-style3-featured a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title-style3-featured a:hover {
    color: #2563eb;
}

/* Regular Posts */
.blog-card-style3 {
    height: 100%;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-card-style3:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-thumbnail-style3 {
    height: 100%;
    min-height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.blog-content-style3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.blog-title-style3 {
    font-size: 0.938rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-title-style3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title-style3 a:hover {
    color: #2563eb;
}

.blog-meta-style3 {
    font-size: 0.813rem;
    color: #666;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-meta-style3 .category,
.blog-meta-style3 .date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-style3 .category {
    font-weight: 500;
}

/* Placeholder Image */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .blog-image-style3-featured {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title-style1,
    .section-title-style2,
    .section-title-style3 {
        font-size: 1.5rem;
    }

    .blog-image-style1 {
        height: 200px;
    }

    .blog-image-style3-featured {
        height: 200px;
    }
}

/* ===================================
   Most Visited Posts Widget
   =================================== */

.widget.s2score-most-visited-widget {
    background: #fff;
    padding: 25px !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Widget Title Styling */
.widget.s2score-most-visited-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    color: #1a1a1a;
}

.most-visited-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.most-visited-post-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.most-visited-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.most-visited-post-content {
    display: flex;
    gap: 15px;
}

.most-visited-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.most-visited-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.most-visited-post-item:hover .most-visited-post-thumbnail img {
    transform: scale(1.1);
}

.most-visited-post-details {
    flex: 1;
    min-width: 0;
}

.most-visited-post-title {
    margin: 0 0 8px 0;
    font-size: 0.938rem;
    font-weight: 600;
    line-height: 1.4;
}

.most-visited-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.most-visited-post-title a:hover {
    color: #2563eb;
}

.most-visited-post-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.813rem;
    color: #666;
}

.most-visited-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.most-visited-post-meta i {
    font-size: 0.75rem;
}

.post-views {
    color: #2563eb;
    font-weight: 500;
}

/* ===================================
   Themes Showcase Section
   =================================== */

.themes-showcase-section {
    background: #f8f9fa;
    overflow: hidden;
}

.themes-carousel-wrapper {
    position: relative;
    margin-top: 50px;
}

.themes-carousel {
    position: relative;
}

.theme-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.theme-slide.active {
    display: block;
    opacity: 1;
}

/* Left Column - Theme Details */
.theme-details {
    padding: 30px;
}

.theme-price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.theme-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.theme-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.theme-features {
    margin-bottom: 30px;
}

.features-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

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

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #444;
}

.features-list li i {
    color: #00a32a;
    font-size: 1.125rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.theme-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.theme-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.theme-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.theme-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.theme-actions .btn-outline-primary {
    border: 2px solid #2563eb;
    color: #2563eb;
    background: transparent;
}

.theme-actions .btn-outline-primary:hover {
    background: #2563eb;
    color: #fff;
}

/* Right Column - Browser Mockup */
.theme-preview-wrapper {
    position: relative;
}

.browser-mockup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.browser-header {
    background: #e5e7eb;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #d1d5db;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    background: #fff;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.browser-content {
    height: 500px;
    overflow: hidden;
    position: relative;
    background: #f9fafb;
}

.screenshot-scroller {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Auto-scroll Animation */
.screenshot-scroller:hover .theme-screenshot {
    animation: auto-scroll 20s linear infinite;
}

@keyframes auto-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-100% + 500px));
    }
}

.theme-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.screenshot-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* Carousel Navigation */
.themes-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    background: #fff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.carousel-nav-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
}

.carousel-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator.active {
    background: #2563eb;
    transform: scale(1.3);
}

.carousel-indicators .indicator:hover {
    background: #2563eb;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .theme-title {
        font-size: 2rem;
    }

    .browser-content {
        height: 400px;
    }

    @keyframes auto-scroll {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-100% + 400px));
        }
    }
}

@media (max-width: 767px) {
    .theme-details {
        padding: 20px 0;
    }

    .theme-title {
        font-size: 1.75rem;
    }

    .browser-content {
        height: 300px;
    }

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

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

    @keyframes auto-scroll {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-100% + 300px));
        }
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .top-bar,
    .site-header,
    .hero-section,
    .cta-section,
    #back-to-top,
    .widget {
        display: none;
    }
}
