/* ============================================
   PROFESSIONAL PORTFOLIO & SERVICE SITE CSS
   Colors: Red (#f71735) Primary, Black (#000000) Secondary
   ============================================ */

:root {
    --primary-color: #f71735;
    --primary-dark: #d6142f;
    --primary-light: #ff4d5d;
    --secondary-color: #000000;
    --secondary-light: #1a1a1a;
    --secondary-dark: #000000;
    --accent-color: #2d2d2d;
    --light-color: #ffffff;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #f5f5f5;
    --gray-lighter: #f8f8f8;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    overflow-x: hidden;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.01em;
    padding-top: clamp(60px, 8vh, 80px);
}

main {
    flex: 1;
}

/* ============================================
   FLUID TYPOGRAPHY SYSTEM
   ============================================ */

/* HEADINGS - FLUID TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 4rem);
    color: var(--secondary-color);
}

h2 {
    color: var(--secondary-color);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    color: var(--primary-color);
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    color: var(--secondary-color);
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    color: var(--primary-color);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: var(--secondary-color);
}

/* PARAGRAPHS & BODY TEXT - FLUID TYPOGRAPHY */
p,
.lead,
.section-title p,
.card-text,
.feature-card p,
.service-card p,
.testimonial-body p,
.footer-about,
.contact-details li,
.copyright {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--gray-medium);
    letter-spacing: 0.01em;
}

/* Fine-tune for specific paragraph styles */
.lead {
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    line-height: 1.4;
}

.section-title p.lead {
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--gray-medium);
}

/* ============================================
   LINKS & BUTTONS
   ============================================ */
a {
    text-decoration: none;
    color: inherit;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* BUTTONS - FLUID TYPOGRAPHY */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: clamp(12px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 23, 53, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: clamp(12px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 23, 53, 0.3);
}

/* ============================================
   SECTION STYLES
   ============================================ */
/* Base Section Styles */
.section-padding,
.section-about-pro,
.services-section,
.product-listing-section,
.testimonials-section,
.faq-section,
#team {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    background: var(--light-color);
    border-bottom: 1px solid var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    font-size: 2rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Alternate section background */
.section-alt-bg {
    background: linear-gradient(to bottom, var(--light-color) 0%, var(--gray-lighter) 100%);
}

/* ============================================
   CARD STYLES - UNIFIED DESIGN
   ============================================ */
/* Base Card Style for ALL cards */
.service-card,
.feature-card,
.product-listing-section .feature-card,
.team-card,
.testimonial-card {
    background: var(--light-color);
    border: 1px solid var(--gray-light);
    box-shadow: var(--box-shadow);
    border-radius: 16px;
    padding: 36px 24px 30px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.service-card:hover,
.feature-card:hover,
.product-listing-section .feature-card:hover,
.team-card:hover,
.testimonial-card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

/* Card accent border on hover */
.service-card::after,
.feature-card::after,
.product-listing-section .feature-card::after,
.team-card::after,
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::after,
.feature-card:hover::after,
.product-listing-section .feature-card:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after {
    transform: scaleX(1);
}

/* Unified Icon Style for ALL cards */
.service-icon,
.feature-icon,
.product-listing-section .feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    transition: var(--transition);
    font-size: 1rem;
}

/* Icon hover effect for ALL cards */
.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.product-listing-section .feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* Unified Title Style for ALL cards */
.service-card h4,
.feature-card h4,
.product-listing-section .feature-card h4,
.team-card h5,
.testimonial-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: center;
}

/* Unified Paragraph Style for ALL cards */
.service-card p,
.feature-card p,
.product-listing-section .feature-card p,
.team-card p,
.testimonial-card p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

/* Testimonial card specific adjustments */
.testimonial-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: rgba(247, 23, 53, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-avatar,
.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    margin: 0 auto 15px auto;
    flex-shrink: 0;
}

.client-info {
    flex: 1;
    text-align: center;
}

.client-info h5 {
    margin: 0 0 5px 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.client-info .rating {
    color: #ffa500;
    font-size: clamp(0.9rem, 1vw, 1rem);
}

.client-info .rating i {
    margin-right: 2px;
}

.testimonial-rating {
    color: #ffa500;
    margin-bottom: 8px;
    font-size: clamp(1rem, 1.1vw, 1.1rem);
}

.testimonial-body {
    margin-top: 15px;
}

.testimonial-body p {
    font-style: italic;
    color: var(--gray-medium);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Team card specific adjustments */
.team-card {
    text-align: center;
    padding: 30px 20px;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 5px solid var(--gray-light);
    transition: var(--transition);
}

.team-card:hover .team-img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Team Social Links */
.team-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #65676b;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.team-social-link:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.team-social-link:hover .fab.fa-facebook-f {
    background: #1877f2;
}

.team-social-link:hover .fab.fa-twitter,
.team-social-link:hover .fab.fa-x-twitter {
    background: #000000;
}

.team-social-link:hover .fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.team-social-link:hover .fab.fa-linkedin-in {
    background: #0077b5;
}

.team-social-link .fab {
    line-height: 1;
}

/* Show social links section if present */
.team-member-card .team-social-links ~ .btn {
    margin-top: 8px;
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-container .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-lighter);
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--gray-light);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: var(--light-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    padding: clamp(10px, 2vh, 15px) 0;
}

header.scrolled {
    padding: clamp(8px, 1.5vh, 10px) 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive header adjustments */
@media (max-width: 991.98px) {
    header {
        padding: 12px 0;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
}

@media (max-width: 575.98px) {
    header {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 36px;
        max-width: 120px;
    }
}

/* ============================================
    PAGE SECTIONS WITH FIXED HEADER SPACING
    ============================================ */
/* These sections need extra padding-top to account for fixed header */
.careers-section,
.page-section {
    padding-top: clamp(80px, 10vh, 120px) !important;
    padding-bottom: 60px;
}

@media (max-width: 991.98px) {
    .careers-section,
    .page-section {
        padding-top: clamp(70px, 9vh, 100px) !important;
    }
}

@media (max-width: 575.98px) {
    .careers-section,
    .page-section {
        padding-top: clamp(60px, 8vh, 85px) !important;
    }
}

/* Careers Page Specific Styles */
.careers-section .feature-card {
    background: var(--light-color);
    border: 1px solid var(--gray-light);
    box-shadow: var(--box-shadow);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.careers-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.careers-section .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    transition: var(--transition);
    font-size: 1.5rem;
}

.careers-section .feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--light-color);
}

.careers-section .feature-card h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.careers-section .feature-card p {
    color: var(--gray-medium);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    margin-bottom: 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.navbar-brand img {
    height: 44px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    margin-right: 0;
}

.navbar-brand span {
    color: var(--secondary-color);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 800;
    white-space: nowrap;
}

.nav-link {
    /* font-weight: 600; */
    padding: clamp(8px, 1vw, 10px) clamp(12px, 1.5vw, 18px) !important;
    position: relative;
    color: var(--secondary-color);
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
    color: var(--primary-color) !important;
    background: rgba(247, 23, 53, 0.07);
    outline: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: var(--light-color);
        padding: 24px 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.08);
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(.4, 0, .2, 1);
        z-index: 1040;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }

    .nav-link {
        width: 100%;
        padding: 12px 24px !important;
        font-size: 1.12rem;
        border-radius: 8px;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        background: var(--gray-lighter);
        border-radius: 0 0 12px 12px;
        padding: 0;
        display: none;
    }

    /* Mobile dropdown menu */
    .dropdown-menu-mobile {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        background: var(--gray-lighter);
        border-radius: 0 0 12px 12px;
        padding: 0;
        display: none;
    }

    .nav-item.dropdown.active > .dropdown-menu,
    .nav-item.dropdown.active > .dropdown-menu-mobile {
        display: block;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    }

    .dropdown-item {
        padding: 14px 32px;
        font-size: clamp(0.95rem, 1.1vw, 1.08rem);
        color: var(--gray-dark);
        border-radius: 0;
        background: none;
        border-bottom: 1px solid #f0f0f0;
        transition: var(--transition);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: rgba(247, 23, 53, 0.13);
        color: var(--primary-color);
    }

    .mobile-submenu-toggle {
        position: static;
        margin-left: 2px;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .mobile-submenu-toggle.active i {
        transform: rotate(180deg);
    }
    

    
    .mobile-submenu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .mobile-submenu-toggle.active i {
        transform: rotate(180deg);
    }
}

/* ============================================
   DESKTOP NAVIGATION
   ============================================ */
@media (min-width: 992px) {
    .mobile-submenu-toggle {
        display: none;
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .dropdown-menu {
        border: none;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        padding: 12px 0;
        margin-top: 10px;
        border-top: 3px solid var(--primary-color);
        animation: fadeInDown 0.3s ease;
        min-width: 220px;
        background: var(--light-color);
    }
    
    /* Hide mobile dropdown menu on desktop - using JS instead */
    /* .dropdown-menu-mobile {
        display: none !important;
    } */

    .dropdown-item {
        padding: 12px 32px;
        font-weight: 500;
        font-size: clamp(0.95rem, 1.1vw, 1.1rem);
        color: var(--gray-dark);
        transition: var(--transition);
        border-radius: 8px;
        margin: 0 6px;
        width: auto;
        font-family: 'Montserrat', sans-serif;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(247, 23, 53, 0.13);
        color: var(--primary-color);
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -15px;
        margin-left: -5px;
        border-radius: 12px;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: clamp(80px, 12vh, 140px) 0 clamp(50px, 8vh, 80px);
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments for hero section */
@media (max-width: 1199.98px) {
    .hero-section {
        padding: clamp(70px, 10vh, 120px) 0 clamp(45px, 7vh, 70px);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: clamp(60px, 9vh, 100px) 0 clamp(40px, 6vh, 60px);
    }
    
    .hero-swiper {
        height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: clamp(55px, 8vh, 90px) 0 clamp(35px, 5vh, 50px);
    }
    
    .hero-swiper {
        height: 280px;
        border-radius: 15px;
    }
    
    .hero-swiper .swiper-slide {
        border-radius: 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: clamp(50px, 7vh, 80px) 0 clamp(30px, 4vh, 40px);
    }
    
    .hero-swiper {
        height: 220px;
        border-radius: 12px;
    }
    
    .hero-swiper .swiper-slide {
        border-radius: 12px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

.hero-section h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    color: var(--light-color);
}

.hero-section p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    padding: clamp(8px, 1vw, 12px) clamp(15px, 2vw, 25px);
    border-radius: 50px;
    margin-right: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.rating-badge i {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    margin-right: 12px;
    color: #ffa500;
}

.rating-badge span {
    color: #ffa500;
    font-weight: 600;
    font-size: clamp(1rem, 1.1vw, 1.1rem);
}

/* Hero Swiper */
.hero-swiper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    height: 450px;
    animation: floatY 3.5s ease-in-out infinite;
}

.hero-swiper .swiper-slide {
    overflow: hidden;
    border-radius: 20px;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.hero-swiper .swiper-slide-active img {
    transform: scale(1.05);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.2);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* ============================================
   CLIENT LOGOS SWIPER
   ============================================ */
.logo-swiper {
    padding: 10px 0;
    overflow: hidden;
}

.logo-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.logo-swiper .swiper-slide img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-swiper .swiper-slide:hover img {
    filter: grayscale(0%);
    opacity: 1 !important;
}

.logo-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

/* ============================================
   TESTIMONIAL CUSTOM NAVIGATION
   ============================================ */
.testimonial-swiper-button-next,
.testimonial-swiper-button-prev {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #000;
    transition: all 0.3s ease;
}

/* Hide default Swiper arrow icons */
.testimonial-swiper-button-next::after,
.testimonial-swiper-button-prev::after {
    display: none;
}

.testimonial-swiper-button-next:hover,
.testimonial-swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    transform: scale(1.1);
}

.testimonial-swiper-button-next i,
.testimonial-swiper-button-prev i {
    font-size: 1.2rem;
    font-weight: bold;
}

.testimonial-swiper-button-next {
    right: 0;
}

.testimonial-swiper-button-prev {
    left: 0;
}

@media (max-width: 768px) {
    .testimonial-swiper-button-next,
    .testimonial-swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-swiper-button-next i,
    .testimonial-swiper-button-prev i {
        font-size: 1rem;
    }
}

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-img-wrapper-pro-pro {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.about-img-border {
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 1.5px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.about-img-border:hover {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.about-img-pro-pro {
    border-radius: 50%;
    border: 7px solid var(--light-color);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.2), 0 1.5px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(.68, -0.55, .27, 1.55), box-shadow 0.3s;
}

.about-img-pro-pro:hover {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.about-badge-pro-pro {
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 30px;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    padding: clamp(10px, 1vw, 12px) clamp(20px, 2vw, 28px);
    font-weight: 600;
    box-shadow: 0 2px 16px rgba(247, 23, 53, 0.3);
    white-space: nowrap;
    display: inline-block;
}

/* ============================================
   PRODUCT/PRODUCT LISTING SECTION
   ============================================ */
.product-listing-section .section-title h2 {
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.product-listing-section .section-title p.lead {
    color: var(--gray-medium);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.product-listing-section .feature-card {
    background: var(--light-color);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
    padding: 32px 24px;
    margin-bottom: 0;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.product-listing-section .feature-card:hover {
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
    transform: translateY(-8px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section .section-title h2 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.faq-section .section-title p.lead {
    color: var(--gray-medium);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.faq-section .accordion-item {
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    margin-bottom: 24px;
    background: var(--light-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-section .accordion-item:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.faq-section .accordion-button {
    font-weight: 600;
    padding: clamp(20px, 2vw, 28px) clamp(24px, 2.5vw, 32px);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--secondary-color);
    background: var(--light-color);
    border: none;
    box-shadow: none;
    transition: var(--transition);
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: rgba(247, 23, 53, 0.07);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    outline: none;
}

.faq-section .accordion-body {
    padding: clamp(20px, 2vw, 28px) clamp(24px, 2.5vw, 32px);
    color: var(--gray-medium);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    background: var(--gray-lighter);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info {
    background: var(--light-color);
    padding: 40px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    border: 1px solid var(--gray-light);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-info .d-flex {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--light-color);
    font-size: 1.2rem;
}

.contact-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--gray-medium);
}

.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.map-container {
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive adjustments for contact page */
@media (max-width: 992px) {
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contact-info .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.form-control {
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 20px);
    border-radius: 10px;
    border: 1px solid var(--gray-light);
    margin-bottom: 25px;
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    transition: var(--transition);
    background: var(--light-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 23, 53, 0.15);
    background: var(--light-color);
}

/* ============================================
   FLOATING CONTACT BUTTONS
   ============================================ */
.floating-contact {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: clamp(50px, 5vw, 65px);
    height: clamp(50px, 5vw, 65px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    border: none;
    outline: none;
    cursor: pointer;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-btn.call {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.contact-btn.email {
    background: linear-gradient(135deg, #EA4335, #D14836);
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-tooltip {
    position: absolute;
    right: 75px;
    background: var(--secondary-color);
    color: var(--light-color);
    padding: clamp(8px, 1vw, 10px) clamp(12px, 1.5vw, 18px);
    border-radius: 8px;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary-color);
}

.contact-btn:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 100px 0 30px;
    position: relative;
}

.footer-logo {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-links h5 {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: var(--light-color);
    font-family: 'Montserrat', sans-serif;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-details li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.1rem;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 4vw, 45px);
    height: clamp(35px, 4vw, 45px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    background: var(--primary-color);
    transform: translateY(-3px);
}


.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
}

/* Custom Footer Styles */
.footer-section.custom-footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    border-top: 5px solid var(--primary-color);
}

.footer-section .footer-logo img {
    filter: brightness(1.1);
    transition: filter 0.2s;
}

.footer-section .footer-logo img:hover {
    filter: brightness(1.3);
}

.footer-section .footer-title {
    color: var(--primary-color);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-section .footer-list,
.footer-section .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-list li,
.footer-section .footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-section .footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    border-radius: 3px;
    padding: 2px 4px;
    display: inline-block;
}

.footer-section .footer-list a:hover {
    color: var(--light-color);
    background: var(--primary-color);
    text-decoration: none;
}

.footer-contact {
    font-size: clamp(0.9rem, 1vw, 0.98rem);
}

.footer-section .footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-section .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section .footer-contact a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section .social-links a {
    color: var(--light-color);
    font-size: clamp(0.9rem, 1vw, 0.98rem);
    display: inline-block;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    margin-right: 6px;
}

.footer-section .social-links a:hover {
    color: var(--light-color);
    background: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
}

.footer-section .footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.2;
}

.footer-section .footer-links-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: clamp(0.9rem, 1vw, 0.97rem);
    transition: var(--transition);
    margin: 0 8px;
}

.footer-section .footer-links-inline a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    color: var(--light-color);
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 23, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.portfolio-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--light-color);
    box-shadow: var(--box-shadow);
    position: relative;
    height: 100%;
    border: 1px solid var(--gray-light);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.portfolio-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    transition: color 0.3s ease;
    color: var(--secondary-color);
}

.portfolio-title a:hover {
    color: var(--primary-color) !important;
}

.filter-btn {
    border: 2px solid var(--gray-light);
    background: var(--light-color);
    color: var(--gray-medium);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: clamp(8px, 1vw, 10px) clamp(15px, 2vw, 25px);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Portfolio Single Page */
.detail-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--gray-lighter);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.detail-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.achievements-list {
    list-style: none;
    padding-left: 0;
}

.achievements-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.achievements-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.portfolio-sidebar {
    position: sticky;
    top: 100px;
}

.project-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.project-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-light);
}

.project-details li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-details i {
    width: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

.project-details strong {
    margin-right: 5px;
    min-width: 80px;
    color: var(--secondary-color);
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--light-color);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.blog-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-light);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.blog-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: clamp(0.75rem, 0.9vw, 0.8rem);
    font-weight: 600;
    z-index: 1;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--gray-medium);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-content h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.4;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.blog-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 1vw, 0.95rem);
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.blog-tag {
    background: rgba(247, 23, 53, 0.1);
    color: var(--primary-color);
    padding: clamp(4px, 0.5vw, 5px) clamp(8px, 1vw, 12px);
    border-radius: 50px;
    font-size: clamp(0.8rem, 0.9vw, 0.85rem);
    font-weight: 500;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.read-more-btn:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Blog Grid Page Styles */
.blog-search-form {
    max-width: 500px;
    margin: 0 auto 25px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: rgb(109 17 17 / 70%);
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 45px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.1);
    color: #2e2c2c;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.search-btn {
    position: absolute;
    right: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Filter Section */
.filter-section {
    margin-bottom: 40px;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--light-color);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: var(--gray-medium);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Search Info */
.search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.search-info-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.search-info-icon {
    color: var(--primary-color);
}

.clear-filters {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.clear-filters:hover {
    color: var(--primary-color);
}

/* Featured Blog */
.featured-blog {
    background: var(--light-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
    border: 1px solid var(--gray-light);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-color);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin: 20px 0 0 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px;
}

.featured-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.category-tag {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.affiliate-tag {
    background: #28a745;
    color: var(--light-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-medium);
}

.featured-meta i {
    color: var(--primary-color);
}

.featured-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--primary-color);
}

.featured-excerpt {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.empty-icon {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.empty-state h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* Responsive adjustments for blog page */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 1.2rem;
    }
    
    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Blog Grid - Updated design */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

/* Blog Card Styles - Already defined above, this is additional */
.blog-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.blog-card .card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card .card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--primary-color);
}

.blog-card .card-excerpt {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-card .card-meta {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.75rem;
    background: var(--gray-lighter);
    border-top: 1px solid var(--gray-light);
    font-size: 0.85rem;
    color: var(--gray-medium);
}

.post-date, .post-comments {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-date i, .post-comments i {
    color: var(--primary-color);
}
.blog-single-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: var(--light-color);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.blog-single-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single-body {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
    margin-top: -50px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--gray-light);
}

/* Blog Single Page - Professional Typography */
.blog-single-body .blog-content {
    padding: 0;
    display: block;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.blog-single-body .blog-content p {
    margin-bottom: 1.25rem;
}

.blog-single-body .blog-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.blog-single-body .blog-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-single-body .blog-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-single-body .blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-single-body .blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.blog-single-body .blog-content h5,
.blog-single-body .blog-content h6 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-single-body .blog-content ul,
.blog-single-body .blog-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.blog-single-body .blog-content li {
    margin-bottom: 0.75rem;
    color: #444;
    font-size: 1.075rem;
    line-height: 1.7;
}

.blog-single-body .blog-content ul li {
    list-style-type: disc;
}

.blog-single-body .blog-content ol li {
    list-style-type: decimal;
}

.blog-single-body .blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.blog-single-body .blog-content a:hover {
    color: #d01030;
}

/* Blockquote styling */
.blog-single-body .blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(247, 23, 53, 0.03) 0%, rgba(247, 23, 53, 0.08) 100%);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
}

.blog-single-body .blog-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Image styling */
.blog-single-body .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-single-body .blog-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Table styling */
.blog-single-body .blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
}

.blog-single-body .blog-content table th,
.blog-single-body .blog-content table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.blog-single-body .blog-content table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d01030 100%);
    color: white;
    font-weight: 600;
}

.blog-single-body .blog-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Code styling */
.blog-single-body .blog-content pre,
.blog-single-body .blog-content code {
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
}

.blog-single-body .blog-content pre {
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    line-height: 1.6;
}

.blog-single-body .blog-content code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

/* Drop cap for first paragraph */
.blog-single-body .blog-content > p:first-of-type::first-letter {
    float: left;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.8;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    color: var(--primary-color);
}

/* Strong and emphasis */
.blog-single-body .blog-content strong,
.blog-single-body .blog-content b {
    font-weight: 600;
    color: #222;
}

.blog-single-body .blog-content em,
.blog-single-body .blog-content i {
    font-style: italic;
}

/* Horizontal rule */
.blog-single-body .blog-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 3rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-single-body .blog-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .blog-single-body .blog-content h1 {
        font-size: 1.75rem;
    }
    
    .blog-single-body .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-single-body .blog-content h3 {
        font-size: 1.25rem;
    }
    
    .blog-single-body .blog-content blockquote {
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
    }
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gray-lighter);
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 180px 0 100px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.team-card .text-muted {
    color: var(--gray-medium) !important;
    font-size: clamp(0.9rem, 1vw, 0.95rem);
}

.stats-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--light-color);
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><rect width="100" height="100" fill="none" stroke="%23f71735" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 20px 20px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SERVICE SINGLE PAGE
   ============================================ */
.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
}

.service-content {
    margin-bottom: 30px;
}

.service-content p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-content h3, 
.service-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-card-sm {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    background: var(--gray-lighter);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-card-sm:hover {
    background: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.feature-card-sm i {
    margin-right: 10px;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
}

.service-details-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-details-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-light);
}

.service-details-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-details-list i {
    width: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

.service-details-list strong {
    margin-right: 5px;
    min-width: 100px;
    color: var(--secondary-color);
}

.related-services {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.related-services li {
    margin-bottom: 0.75rem;
}

.related-services li:last-child {
    margin-bottom: 0;
}

.related-services a {
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.related-services a:hover {
    background-color: rgba(247, 23, 53, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.related-services i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* ============================================
   RESPONSIVE DESIGN - LAYOUT ADJUSTMENTS
   ============================================ */

/* Smart Watch & Extra Small */

/* Sticky Sidebar */
.service-sidebar.position-sticky {
    top: 120px;
    z-index: 1;
}
@media (max-width: 400px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-swiper {
        height: 220px;
    }
    
    .service-card, .feature-card, .testimonial-card {
        padding: 20px 15px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .floating-contact {
        right: 10px;
        bottom: 10px;
        gap: 8px;
    }
    
    .portfolio-hero, .blog-hero, .about-hero {
        padding: 120px 0 60px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .hero-swiper {
        height: 250px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .contact-form, .contact-info {
        padding: 25px;
    }
    
    footer {
        padding: 60px 0 25px;
    }
    
    .floating-contact {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .contact-tooltip {
        display: none;
    }
    
    .portfolio-hero, .blog-hero, .about-hero {
        padding: 140px 0 60px;
    }
    
    .blog-single-body {
        padding: 25px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .rating-badge {
        display: block;
        margin-bottom: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-swiper {
        height: 300px;
    }
    
    .service-card, .feature-card, .testimonial-card {
        padding: 30px 25px;
    }
    
    .contact-form, .contact-info {
        padding: 30px;
    }
}

/* Small Laptops */
@media (max-width: 992px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-swiper {
        height: 350px;
        margin-top: 40px;
    }
    
    .floating-contact {
        right: 20px;
        bottom: 20px;
    }
    
    footer {
        padding: 80px 0 30px;
    }
    
    /* Section responsive adjustments */
    .section-padding,
    .section-about-pro,
    .services-section,
    .product-listing-section,
    .testimonials-section,
    .faq-section,
    #team {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .service-card,
    .feature-card,
    .team-card,
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .section-title h2 {
        margin-bottom: 15px;
    }
    
    .faq-section .accordion-item {
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .faq-section .accordion-button,
    .faq-section .accordion-body {
        padding: 18px 16px;
    }
    
    .footer-section .footer-logo,
    .footer-section .footer-title,
    .footer-section .footer-about,
    .footer-section .footer-list,
    .footer-section .footer-contact {
        text-align: left !important;
    }
}

/* Large Laptops & Desktops */
@media (max-width: 1200px) {
    .hero-swiper {
        height: 400px;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Smart Watch Specific */
@media (max-width: 350px) {
    .hero-section {
        padding: 120px 0 40px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .service-card, .feature-card {
        padding: 15px 10px;
    }
    
    .floating-contact {
        right: 8px;
        bottom: 8px;
        gap: 6px;
    }
}

/* ============================================
   EXTRA FINE-TUNING FOR ULTRA-SMALL DEVICES (Smartwatch)
   ============================================ */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
    
    .section-title h2 {
        margin-bottom: 0.5rem;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 10px 16px;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 20px 12px;
    }
}

/* ============================================
   ACCESSIBILITY & UTILITY
   ============================================ */

/* ============================================
   BLOG PAGE - RED THEME VERSION
   Adapted from blog.html with red color (#f71735)
   ============================================ */

/* Blog Container */
.blog-page-container {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Blog Navigation Header */
.blog-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #dee7ef;
    margin-bottom: 2rem;
}

.blog-header .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f71735 !important;
    font-size: 1.5rem;
}

.blog-header .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
}

.blog-header .nav-link:hover {
    color: #f71735 !important;
}

/* Amazon Partner Badge */
.partner-strip {
    background: white;
    border-radius: 60px;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border: 1px solid #cfdeed;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.amazon-badge {
    background: #232f3e;
    color: white;
    border-radius: 40px;
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

/* Section Header - Latest Blog */
.blog-section-header {
    margin-bottom: 2.5rem;
}

.blog-section-header h2 {
    font-weight: 700;
    color: #f71735;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.blog-header-line {
    height: 4px;
    width: 70px;
    background: #f71735;
    border-radius: 4px;
    margin-top: 8px;
}

/* Blog Card - Professional Style */
.blog-card-red {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-card-red:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.blog-card-red .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-red .card-image-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.blog-card-red .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-red:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.blog-card-red .card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f71735;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Date/Comment Meta */
.blog-date-comment {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-date-comment i {
    color: #d1d5db;
}

/* Blog Title */
.blog-card-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    max-height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #111827;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #f71735;
}

/* Blog Excerpt */
.blog-card-excerpt {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    max-height: 3.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card-excerpt .free-consultation {
    background-color: #fff0f0;
    color: #f71735;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.9rem;
}

/* Read More Button */
.blog-read-more-btn {
    color: #ffffff;
    background-color: #f71735;
    padding: 0.55rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: 0.2s;
    display: inline-block;
    cursor: pointer;
}

.blog-read-more-btn:hover {
    background-color: #d6142f;
    color: white;
    text-decoration: none;
}

/* Blog Footer */
.blog-page-footer {
    border-top: 1px solid #dee7ef;
    color: #5c6f87;
    font-size: 0.9rem;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-section-header h2 {
        font-size: 1.75rem;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   END BLOG PAGE - RED THEME
   ============================================ */

/* Header hide/show on scroll */
header.navbar-hidden {
    top: -100px !important;
}

/* ============================================
   PORTFOLIO SECTION STYLES
   ============================================ */

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-card-wrapper {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(247, 23, 53, 0.15);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 23, 53, 0.95) 0%, rgba(214, 20, 47, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 25px;
}

.overlay-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.overlay-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #f71735;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    margin-bottom: 15px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f71735, #d6142f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.client-location {
    font-size: 0.8rem;
    color: #888;
}

.client-location i {
    color: #f71735;
    margin-right: 4px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.achievements-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #f71735;
}

.achievements-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.achievements-title i {
    color: #f71735;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 6px;
}

.achievements-list li:last-child {
    margin-bottom: 0;
}

.achievements-list li i {
    color: #28a745;
    margin-top: 2px;
    flex-shrink: 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.timeline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #888;
}

.timeline i {
    color: #f71735;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b2b82;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.empty-icon {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.empty-state h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* Portfolio Empty State Specific */
.portfolio-grid .empty-state {
    grid-column: 1 / -1;
}

/* Portfolio Responsive */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Print Styles */
@media print {
    .floating-contact,
    .navbar-toggler,
    .btn-primary,
    .btn-outline-primary,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ff0000;
        --secondary-color: #000000;
        --light-color: #ffffff;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000000;
    }
    
    p, .lead, .card-text {
        color: #000000;
    }
    
    .service-card, .feature-card, .testimonial-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-swiper {
        animation: none;
    }
}



/* Hamburger icon color */
.navbar-toggler {
    border: none !important;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.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%28247, 23, 53, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #333;
    border-color: #333;
    color: var(--light-color);
}

/* Gradient backgrounds */
.bg-gradient-red-black {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-gradient-black-red {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================
   UTILITY CLASSES - MODERN ENHANCEMENTS
   ============================================ */

/* Smooth animations */
.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

.animate-scale {
    animation: scale 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Image zoom effect */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Gradient overlays */
.overlay-gradient {
    position: relative;
}

.overlay-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-gradient:hover::before {
    opacity: 1;
}

/* Text shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Modern badge styles */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Section padding utilities */
.section-py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Container max widths */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 23, 53, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 23, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 23, 53, 0);
    }
}

/* Floating animation */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shine effect */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.shine:hover::after {
    left: 100%;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 30px 0;
}

/* Icon circle */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive visibility */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Spacing utilities */
.mt-6 { margin-top: 4rem; }
.mb-6 { margin-bottom: 4rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

/* Grid Container Slide Animations */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.grid-slide-in-left {
    animation: slideFromLeft 0.8s ease-out forwards;
}

.grid-slide-in-right {
    animation: slideFromRight 0.8s ease-out forwards;
}

/* Staggered animation delays for grid items */
.grid-item-animated {
    opacity: 0;
}

.grid-item-animated.grid-slide-in-left {
    animation: slideFromLeft 0.8s ease-out forwards;
}

.grid-item-animated.grid-slide-in-right {
    animation: slideFromRight 0.8s ease-out forwards;
}

.grid-item-animated:nth-child(1) { animation-delay: 0s; }
.grid-item-animated:nth-child(2) { animation-delay: 0.2s; }
.grid-item-animated:nth-child(3) { animation-delay: 0.4s; }
.grid-item-animated:nth-child(4) { animation-delay: 0.6s; }
.grid-item-animated:nth-child(5) { animation-delay: 0.8s; }

/* Border utilities */
.border-radius-12 { border-radius: 12px; }
.border-radius-16 { border-radius: 16px; }
.border-radius-20 { border-radius: 20px; }
.border-radius-24 { border-radius: 24px; }

/* ============================================
    PORTFOLIO SINGLE PAGE STYLES
    ============================================ */

/* Portfolio Single Hero */
.portfolio-single .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.portfolio-single .hero-description {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
}

.portfolio-single .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(247, 23, 53, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
   
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.portfolio-single .back-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.portfolio-single .hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-single .category-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.portfolio-single .featured-badge {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a2e;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.portfolio-single .hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-single .meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-single .meta-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.portfolio-single .meta-content {
    display: flex;
    flex-direction: column;
}

.portfolio-single .meta-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.portfolio-single .meta-value {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
}

.portfolio-single .meta-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.portfolio-single .meta-value a:hover {
    text-decoration: underline;
}

.portfolio-single .hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Featured Image */
.portfolio-single .featured-image-section {
    padding: 0 0 60px;
    background: #fff;
}

.portfolio-single .featured-image {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Portfolio Content Section */
.portfolio-single .portfolio-content-section {
    padding: 60px 0 80px;
    background: #fff;
}

.portfolio-single .content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
}

.portfolio-single .main-content {
    min-width: 0;
}

.portfolio-single .content-block {
    background: #f8fafc;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.portfolio-single .block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.portfolio-single .block-title i {
    color: var(--primary-color);
}

.portfolio-single .block-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.portfolio-single .block-content h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin: 30px 0 15px;
}

.portfolio-single .block-content p {
    margin-bottom: 20px;
}

.portfolio-single .achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-single .achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-single .achievements-list li i {
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Gallery */
.portfolio-single .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.portfolio-single .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-single .gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-single .gallery-item:hover img {
    transform: scale(1.05);
}

/* Tech Stack */
.portfolio-single .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-single .tech-tag {
    background: #fff;
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.portfolio-single .tech-tag i {
    color: #28a745;
}

/* Sidebar */
.portfolio-single .sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.portfolio-single .sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    border: 1px solid #f0f0f0;
}

.portfolio-single .sidebar-card .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.portfolio-single .sidebar-card .card-title i {
    color: var(--primary-color);
}

.portfolio-single .project-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-single .project-details li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.portfolio-single .project-details li:last-child {
    border-bottom: none;
}

.portfolio-single .detail-label {
    color: #888;
    font-size: 0.9rem;
}

.portfolio-single .detail-value {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.portfolio-single .results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-single .results-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #444;
}

.portfolio-single .results-list li i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

.portfolio-single .cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-align: center;
}

.portfolio-single .cta-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-single .cta-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.portfolio-single .cta-card .btn-primary {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    width: 100%;
    border: none;
}

.portfolio-single .cta-card .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Navigation */
.portfolio-single .portfolio-navigation {
    background: #f8fafc;
    padding: 40px 0;
}

.portfolio-single .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.portfolio-single .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #fff;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-single .nav-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(247, 23, 53, 0.3);
}

.portfolio-single .nav-link:last-child {
    margin-left: auto;
}

/* Portfolio Single Responsive */
@media (max-width: 1199.98px) {
    .portfolio-single .content-grid {
        gap: 40px;
    }
}

@media (max-width: 991.98px) {
    .portfolio-single .content-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-single .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .portfolio-single .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 767.98px) {
    .portfolio-single .hero-meta {
        grid-template-columns: 1fr;
    }
    
    .portfolio-single .nav-links {
        flex-direction: column;
    }
    
    .portfolio-single .nav-link:last-child {
        margin-left: 0;
    }
    
    .portfolio-single .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-single .content-block {
        padding: 25px;
    }
    
    .portfolio-single .block-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .portfolio-single .featured-image {
        max-height: 300px;
        border-radius: 12px;
    }
    
    .portfolio-single .sidebar-card {
        min-width: 100%;
    }
    
    .portfolio-single .meta-item {
        padding: 15px;
    }
}
/* ============================================
    BLOG PAGE STYLES
    ============================================ */

/* Blog Search Form */
.blog-search-form {
    max-width: 500px;
    margin: 0 auto 25px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: rgb(177 40 40 / 70%);
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 45px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.search-btn {
    position: absolute;
    right: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Blog Filter Section */
.filter-section {
    margin-bottom: 40px;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Search Info */
.search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.search-info-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
}

.search-info-icon {
    color: var(--primary-color);
}

.clear-filters {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.clear-filters:hover {
    color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1199.98px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.blog-card .card-image {
    position: relative;
    display: block;
    overflow: hidden;
    height: 200px;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.1);
}

.blog-card .card-content {
    padding: 20px;
}

.blog-card .category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card .card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--primary-color);
}

.blog-card .card-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card .read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card .read-more-btn:hover {
    color: var(--primary-dark);
}

.blog-card .read-more-btn i {
    transition: transform 0.3s ease;
}

.blog-card .read-more-btn:hover i {
    transform: translateX(5px);
}

.blog-card .card-meta {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.8rem;
    color: #888;
}

.blog-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--gray-medium);
}

.empty-state h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-title {
        font-size: 1.2rem;
    }
    
    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }
}
