/* ============================================
   LEANFLY - RESPONSIVE STYLES
   Properly balanced for ALL screen sizes
   Updated: Complete Mobile Responsiveness
   With Theme Toggle & Social Sidebar
   ============================================ */

/* ============================================
   BASE STYLES - DESKTOP FIRST
   ============================================ */

/* Header */
.site-header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo h1 {
    font-size: 36px;
    color: #FCFCFC;
    margin: 0;
    font-weight: 800;
}

.site-logo a {
    color: inherit;
    text-decoration: none;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #FCFCFC;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #da4141, #b83434);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: #da4141;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.menu-toggle,
.menu-close {
    display: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease, visibility 2s;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(18, 18, 18, 0.85) 0%,
        rgba(11, 12, 16, 0.75) 50%,
        rgba(218, 65, 65, 0.2) 100%);
    z-index: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.slider-slide.active .slider-image {
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 20px;
    color: #FCFCFC;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #da4141;
    margin-bottom: 30px;
    display: inline-block;
    padding: 10px 30px;
    background: rgba(218, 65, 65, 0.2);
    border: 1px solid rgba(218, 65, 65, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(48px, 6vw, 86px);
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FCFCFC !important;
    background: linear-gradient(135deg, #FCFCFC 0%, #D0D0D0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 20px;
    color: #FCFCFC !important;
    margin-bottom: 40px;
    max-width: 750px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 200px;
    justify-content: center;
    padding: 20px 40px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #da4141;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #da4141;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: #e35d5d;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #da4141, #b83434);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(218, 65, 65, 0.5);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #da4141;
    box-shadow: none;
}

.btn-outline:hover {
    background: #da4141;
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, #0B0C10 0%, #121212 100%);
}

.section-overlay {
    position: relative;
}

.section-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(11, 12, 16, 0.85) 100%);
    z-index: 1;
}

.section-overlay > * {
    position: relative;
    z-index: 2;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Headings */
.section-heading {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 48px;
    position: relative;
    display: inline-block;
    color: #FCFCFC;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 70px;
    height: 4px;
    background: linear-gradient(135deg, #da4141, #b83434);
    transform: translateY(-50%);
    border-radius: 4px;
}

.section-title::before {
    left: -80px;
}

.section-title::after {
    right: -80px;
}

.section-subtitle {
    display: block;
    font-size: 16px;
    color: #D0D0D0;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Feature Grid - Desktop */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(11, 12, 16, 0.5);
    border: 1px solid rgba(218, 65, 65, 0.1);
    border-radius: 16px;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(218, 65, 65, 0.3);
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 2px solid #da4141;
    border-radius: 16px;
    font-size: 40px;
    color: #da4141;
    margin-bottom: 30px;
    background: rgba(218, 65, 65, 0.1);
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    background: #da4141;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

.feature-card h3 {
    font-size: 22px;
    color: #FCFCFC;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 15px;
    color: #D0D0D0;
    line-height: 1.8;
}

.feature-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #da4141, #b83434);
    margin: 20px auto;
    border-radius: 4px;
}

/* Service Grid - Desktop */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background: rgba(11, 12, 16, 0.8);
    border: 1px solid rgba(218, 65, 65, 0.1);
    border-radius: 16px;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(218, 65, 65, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(218, 65, 65, 0.3);
}

.service-card .feature-icon {
    width: 90px;
    height: 90px;
    font-size: 36px;
    margin: 0 auto 20px;
}

.service-card h4 {
    font-size: 18px;
    color: #FCFCFC;
    margin: 0;
}

/* Portfolio Grid - Desktop */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    background: rgba(218, 65, 65, 0.1);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h5 {
    font-size: 20px;
    color: #FCFCFC;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.portfolio-overlay p {
    font-size: 14px;
    color: #D0D0D0;
    margin: 0;
}

/* About Section */
.about-section-premium {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.about-section-premium:hover .about-bg-image {
    transform: scale(1);
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(18, 18, 18, 0.95) 0%,
        rgba(11, 12, 16, 0.9) 50%,
        rgba(218, 65, 65, 0.15) 100%);
}

.about-section-premium > .container {
    position: relative;
    z-index: 1;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.about-image-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-image-primary {
    grid-row: 1 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(218, 65, 65, 0.2);
}

.about-image-secondary {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(218, 65, 65, 0.2);
}

.about-image-primary img,
.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #da4141, #b83434);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
    z-index: 2;
}

.experience-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.experience-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-info-card {
    padding: 40px 30px;
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid rgba(218, 65, 65, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.about-info-card:hover {
    background: rgba(11, 12, 16, 0.8);
    border-color: rgba(218, 65, 65, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(218, 65, 65, 0.3);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 65, 65, 0.1);
    border: 2px solid #da4141;
    border-radius: 16px;
    font-size: 28px;
    color: #da4141;
    transition: all 0.3s ease;
}

.about-info-card:hover .about-card-icon {
    background: #da4141;
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

.about-card-header h4 {
    font-size: 20px;
    color: #FCFCFC;
    margin: 0;
}

.about-card-text {
    font-size: 15px;
    color: #D0D0D0;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.about-expertise-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #D0D0D0;
    padding: 8px 0;
}

.about-expertise-list li i {
    color: #da4141;
    font-size: 14px;
}

.about-additional-info {
    padding: 40px;
    background: rgba(11, 12, 16, 0.4);
    border: 1px solid rgba(218, 65, 65, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.about-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-info-item {
    text-align: center;
    padding: 20px;
}

.info-item-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 65, 65, 0.05);
    border: 2px solid rgba(218, 65, 65, 0.2);
    border-radius: 50%;
    font-size: 36px;
    color: #da4141;
    transition: all 0.3s ease;
}

.about-info-item:hover .info-item-icon {
    background: rgba(218, 65, 65, 0.2);
    border-color: #da4141;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

.about-info-item h5 {
    font-size: 20px;
    color: #FCFCFC;
    margin-bottom: 10px;
}

.about-info-item p {
    font-size: 14px;
    color: #D0D0D0;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #121212 0%, #0B0C10 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: rgba(11, 12, 16, 0.8);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(218, 65, 65, 0.1);
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(218, 65, 65, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #da4141;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 16px;
    color: #FCFCFC;
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-role {
    font-size: 14px;
    color: #da4141;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 14px;
    color: #D0D0D0;
    line-height: 1.8;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(218, 65, 65, 0.1) 0%, rgba(18, 18, 18, 0.9) 100%);
}

.cta-title {
    font-size: 42px;
    color: #FCFCFC;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: #D0D0D0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #121212 0%, #000000 100%);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(218, 65, 65, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3,
.footer-column h4 {
    font-size: 20px;
    color: #FCFCFC;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-logo h3 {
    font-size: 28px;
    color: #da4141;
    font-weight: 800;
}

.footer-text {
    font-size: 14px;
    color: #D0D0D0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #D0D0D0;
}

.contact-item i {
    color: #da4141;
    width: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #D0D0D0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #da4141;
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(218, 65, 65, 0.3);
    border-radius: 50%;
    color: #FCFCFC;
    font-size: 18px;
    transition: all 0.3s ease;
    background: rgba(218, 65, 65, 0.05);
}

.footer-social a:hover {
    background: #da4141;
    border-color: #da4141;
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
}

.footer-certifications p {
    font-size: 14px;
    color: #D0D0D0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(218, 65, 65, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #D0D0D0;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #D0D0D0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #da4141;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #da4141, #b83434);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 0 30px rgba(218, 65, 65, 0.3);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(218, 65, 65, 0.5);
}

/* ============================================
   TABLET RESPONSIVE (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE RESPONSIVE (Max 767px)
   ============================================ */
@media (max-width: 767px) {
    /* Header & Navigation */
    .site-header {
        padding: 15px 0;
    }

    .site-logo h1 {
        font-size: 24px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(218, 65, 65, 0.2);
        border: 2px solid #da4141;
        color: #FCFCFC;
        font-size: 20px;
        border-radius: 8px;
        cursor: pointer;
        backdrop-filter: blur(10px);
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #121212 0%, #0B0C10 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 1000;
        padding: 80px 20px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: clamp(18px, 4vw, 24px);
    }

    .menu-close {
        display: none !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background: rgba(218, 65, 65, 0.2);
        border: 2px solid #da4141;
        color: #FCFCFC;
        font-size: 20px;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-close.active {
        display: flex !important;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 999;
        backdrop-filter: blur(5px);
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero Slider */
    .hero-slider {
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 15px;
        text-align: center;
    }

    .hero-tagline {
        font-size: 12px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 16px 30px;
        font-size: 14px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Section Headings */
    .section-title {
        font-size: clamp(28px, 6vw, 36px);
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* Service Grid */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 25px;
    }

    .service-card .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .service-card h4 {
        font-size: 16px;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-overlay h5 {
        font-size: 14px;
    }

    .portfolio-overlay p {
        font-size: 12px;
    }

    /* About Section */
    .about-section-premium {
        padding: 60px 0;
    }

    .about-bg-image {
        background-attachment: scroll;
    }

    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-stack {
        grid-template-columns: 1fr;
    }

    .about-image-primary {
        grid-row: auto;
    }

    .about-experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px;
    }

    .experience-number {
        font-size: 24px;
    }

    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-info-card {
        padding: 30px 20px;
    }

    .about-info-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-additional-info {
        padding: 25px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .cta-text {
        font-size: 16px;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Buttons */
    .btn {
        padding: 16px 30px;
        font-size: 14px;
        min-height: 50px;
    }

    .btn-sm {
        padding: 12px 24px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 18px 36px;
        font-size: 15px;
    }
}

/* ============================================
   SMALL MOBILE (Max 480px)
   ============================================ */
@media (max-width: 480px) {
    .site-logo h1 {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .feature-card h3,
    .service-card h4 {
        font-size: 18px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 22px;
    }

    .footer-logo h3 {
        font-size: 24px;
    }

    /* Social Sidebar - Small Mobile */
    .social-sidebar {
        bottom: 90px;
        top: auto;
    }

    .social-sidebar-links {
        padding: 22px 6px;
        gap: 8px;
        border-radius: 18px 0 0 18px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (Max 360px)
   ============================================ */
@media (max-width: 360px) {
    .site-logo h1 {
        font-size: 18px;
    }

    .hero-title {
        font-size: 24px;
    }

    .social-sidebar {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY & PREFERENCES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   SERVICES PAGES RESPONSIVE
   ============================================ */

/* Tablet - Services Overview Grid */
@media (max-width: 1024px) {
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-intro-image img {
        height: 300px;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile - Services Overview */
@media (max-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-overview-card {
        padding: 30px 20px;
    }

    .breadcrumb-section {
        padding: 15px 0;
    }

    .breadcrumb {
        gap: 8px;
    }

    .breadcrumb li {
        font-size: 13px;
    }

    .service-intro-grid {
        gap: 30px;
    }

    .service-intro-image img {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-step {
        min-width: 100%;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-highlights {
        gap: 10px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .service-overview-card h3 {
        font-size: 1.25rem;
    }

    .service-overview-icon,
    .service-card-icon,
    .approach-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .service-intro-image img {
        height: 200px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-image {
        height: 180px;
    }
}
