* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    width: 100%;
    background: #0a0a0a;
}

/* Extra large screens */
@media (min-width: 1200px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
    will-change: transform;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateOnLoad 1s ease-in-out;
    transition: transform 0.3s ease;
}

.nav-logo-icon:hover {
    transform: rotate(180deg);
}

@keyframes rotateOnLoad {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

.starburst-icon {
    width: 46px;
    height: 46px;
    transition: transform 0.3s ease;
}

.starburst-icon.spinning {
    animation: spin 0.6s ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.sun-core {
    fill: url(#navSunGradient);
}

.ray-line {
    stroke: url(#navSunGradient);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.8;
}

.pixel-dot {
    fill: #ff8c00;
}

.nav-logo-text {
    font-family: 'Archivo', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-apollo {
    color: #fff;
}

.nav-sunn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.nav-instagram {
    display: flex;
    align-items: center;
    width: 55px;
    height: 55px;
    /* border-radius: 50%; */
    /* background: rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
    margin-left: 20px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.nav-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    border-radius: 15px;
}

.instagram-icon {
    width: 60px;
    height: 60px;
    opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {

}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 100;
}

.mobile-menu-toggle.active span:nth-child(3) {

}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    transition: top 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateZ(0);
    will-change: top;
}

.mobile-menu.active {
    top: 0;
}

.mobile-menu-header {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%); */
    margin-top: 200px;
}

.mobile-menu-close {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.mobile-menu-close span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    position: absolute;
}

.mobile-menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-menu-content {
    flex: 1;
    padding: 13px 0px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-radius: 30px;
}

.mobile-menu-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 15px 26px;
    /* border-bottom: 1px solid rgba(255, 107, 53, 0.2); */
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #ff6b35;
}


@media (max-width: 968px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
        transform: translateZ(0) !important;
    }
    
    .nav-container {
        padding: 20px 30px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active {
       
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 80px 0;
}

/* Desktop styles - show desktop elements, hide mobile elements */
.showcase-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cta-container {
    display: none;
}

.desktop-cta {
    display: inline-block;
}

.desktop-controls {
    display: flex;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
    top: 0%;
    left: 0%;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f7931e 0%, transparent 70%);
    bottom: 0%;
    right: 0%;
    animation-delay: -7s;
}

.orb3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
}

.code-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    color: rgba(255, 107, 53, 0.1);
    font-size: 12px;
    pointer-events: none;
}

.code-line {
    position: absolute;
    white-space: nowrap;
    animation: slideCode 15s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes slideCode {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
}

.standard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.content {
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-content {
    opacity: 1;
    animation: none;
    transition: opacity 0.6s ease;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 72px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.showcase {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease;
    width: 100%;
    max-width: 100%;
}

.browser-mockup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 1;
    animation: none;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    top: 37px;
}

.mobile-mockup {
    position: absolute;
    left: 77%;
    bottom: 32px;
    width: 200px;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 25px;
    overflow: hidden;
    border: 8px solid #1a1a1a;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 1;
    animation: none;
    z-index: 2;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
    pointer-events: none;
}

/* Ensure mobile notch is hidden on small screens when not needed */
@media (max-width: 768px) {
    .mobile-mockup[style*="display: none"] .mobile-notch {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.mobile-content {
    height: 400px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-content .website-design {
    transform: scale(0.35);
    transform-origin: top left;
    width: 286%;
    height: 286%;
}

.browser-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.browser-content {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #000;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-design {
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG fitting for slides 2 and 3 - make SVGs fit the edges of their containers */
.browser-content img[src*="branding-svg-animation.svg"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.browser-content img[src*="hosting-maintenance-svg.svg"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Make browser-mockup height match SVG image height on sizes above 968px for slides 2 and 3 */
@media (min-width: 969px) {
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]),
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) {
        height: auto;
        max-height: 85vh;
    }
    
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .browser-content,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .browser-content {
        height: auto;
        display: block;
        overflow: visible;
        padding: 0;
        margin: 0;
    }
    
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .browser-content img,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .browser-content img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .website-design,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .website-design {
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        display: block;
    }
}

/* Mobile content SVG fitting */
.mobile-content img[src*="branding-svg-animation.svg"],
.mobile-content img[src*="hosting-maintenance-svg.svg"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Ensure SVGs scale properly on all screen sizes */
@media (max-width: 1200px) {
    .browser-content img[src*="branding-svg-animation.svg"],
    .browser-content img[src*="hosting-maintenance-svg.svg"],
    .mobile-content img[src*="branding-svg-animation.svg"],
    .mobile-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Make browser-mockup take full width with no padding and ensure SVG matches container on sizes below 968px for slides 2 and 3 */
@media (max-width: 968px) {
    /* Use slide-specific classes for better browser compatibility */
    .browser-mockup.slide-1,
    .browser-mockup.slide-2,
    .browser-mockup.branding-slide,
    .browser-mockup.hosting-slide {
        width: 100% !important;
        height: auto !important;
    }

    .browser-mockup.slide-1 .browser-content,
    .browser-mockup.slide-2 .browser-content,
    .browser-mockup.branding-slide .browser-content,
    .browser-mockup.hosting-slide .browser-content {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .browser-mockup.slide-2 .website-design,
    .browser-mockup.branding-slide .website-design,
    .browser-mockup.hosting-slide .website-design {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    .browser-content img[src*="branding-svg-animation.svg"], 
    .browser-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: top !important;
    }

    .mobile-content img[src*="branding-svg-animation.svg"], 
    .mobile-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    .browser-mockup {
        top: 0px;
    }
    
    /* Fallback for :has() selector if supported */
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]),
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) {
        width: 100% !important;
        height: auto !important;
    }

    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .browser-content,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .browser-content {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
        overflow: visible !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .website-design,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .website-design {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0 !important;
        display: block !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .browser-mockup:has(.browser-content img[src*="branding-svg-animation.svg"]) .browser-content img,
    .browser-mockup:has(.browser-content img[src*="hosting-maintenance-svg.svg"]) .browser-content img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: top !important;
    }
    
    /* Disable slides 2 and 3 and controls on screens 968px and below */
    .desktop-controls {
        display: none !important;
    }
    
    .mobile-controls-row {
        display: none !important;
    }
    
    .slide-indicators {
        display: none !important;
    }
    
    .mobile-indicators {
        display: none !important;
    }
    
    .swipe-hint {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .browser-content img[src*="branding-svg-animation.svg"],
    .browser-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: top !important;
    }
    
    .mobile-content img[src*="branding-svg-animation.svg"],
    .mobile-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .browser-content img[src*="branding-svg-animation.svg"],
    .browser-content img[src*="hosting-maintenance-svg.svg"],
    .mobile-content img[src*="branding-svg-animation.svg"],
    .mobile-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* E-commerce Design */
.ecommerce-design {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
}

.hero-product {
    grid-column: 1 / -1;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(247,147,30,0.1) 100%);
}

.hero-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
    mix-blend-mode: luminosity;
}

.hero-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.hero-overlay h2 {
    font-size: 52px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.shop-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #ff6b35;
    color: #fff;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0px;
}

.product-grid {
    display: contents;
}

.product-card {
    height: 140px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.03);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

/* Portfolio Design */
.portfolio-design {
    background: #0a0a0a;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: #000;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: grayscale(30%);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,107,53,0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-title {
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0px;
}

/* Abstract Design Animation */
.abstract-design-animation {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-canvas {
    width: 80%;
    height: 80%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
}

/* Animated Layout Blocks */
.layout-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: blockFadeIn 0.8s ease forwards;
    padding: 12px;
}

.layout-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: none;
}

.block-line {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin-bottom: 6px;
    z-index: 1;
}

.block-line.title {
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.4), transparent);
}

.block-line.text {
    width: 85%;
}

.block-line.short {
    width: 70%;
}

.block-line.medium {
    width: 75%;
}

.block-box {
    position: relative;
    width: 100%;
    height: calc(100% - 30px);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.block-icon {
    position: relative;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.2));
    border-radius: 4px;
    margin-bottom: 6px;
    z-index: 1;
}

.block-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: calc(100% - 30px);
    margin-top: 8px;
    z-index: 1;
}

.block-grid-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header Block */
.layout-block.header {
    grid-column: 1 / -1;
    animation-delay: 0.1s;
}

.header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    border-radius: 2px;
    animation: slideInLeft 1s ease 0.5s forwards;
    opacity: 0;
}

/* Sidebar Block */
.layout-block.sidebar {
    grid-column: 1;
    grid-row: 2 / 5;
    animation-delay: 0.2s;
}

/* Content Blocks */
.layout-block.content-1 {
    grid-column: 2 / 4;
    grid-row: 2;
    animation-delay: 0.3s;
}

.layout-block.content-2 {
    grid-column: 2;
    grid-row: 3 / 5;
    animation-delay: 0.4s;
}

.layout-block.content-3 {
    grid-column: 3;
    grid-row: 3 / 5;
    animation-delay: 0.5s;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: none;
}

.floating-element.color-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.color-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
    animation-delay: -4s;
}

.floating-element.color-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #f7931e 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -2s;
}

/* Grid Lines Effect */
.grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: gridFadeIn 1s ease 1s forwards;
}

.grid-line {
    position: absolute;
    background: rgba(255, 107, 53, 0.1);
}

.grid-line.horizontal {
    width: 0%;
    height: 1px;
    left: 0;
    animation: lineGrowHorizontal 1.5s ease forwards;
}

.grid-line.vertical {
    width: 1px;
    height: 0%;
    top: 0;
    animation: lineGrowVertical 1.5s ease forwards;
}

.grid-line:nth-child(1) {
    top: 25%;
    animation-delay: 1.2s;
}

.grid-line:nth-child(2) {
    top: 50%;
    animation-delay: 1.4s;
}

.grid-line:nth-child(3) {
    top: 75%;
    animation-delay: 1.6s;
}

.grid-line:nth-child(4) {
    left: 33.33%;
    animation-delay: 1.3s;
}

.grid-line:nth-child(5) {
    left: 66.66%;
    animation-delay: 1.5s;
}

/* Abstract Logo in Browser */
.abstract-logo-display {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 180px;
    height: 180px;
    opacity: 0;
    animation: logoAppear 1.5s ease 1.8s forwards;
    z-index: 5;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    animation: none;
}

.logo-ring.outer {
    width: 180px;
    height: 180px;
    border-color: rgba(255, 107, 53, 0.4);
    top: 0;
    left: 0;
}

.logo-ring.middle {
    width: 130px;
    height: 130px;
    border-color: rgba(247, 147, 30, 0.5);
    top: 25px;
    left: 25px;
    animation-direction: reverse;
    animation-duration: 6s;
}

.logo-ring.inner {
    width: 80px;
    height: 80px;
    border-color: rgba(255, 215, 0, 0.6);
    top: 50px;
    left: 50px;
    animation-duration: 4s;
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
    animation: none;
}

.logo-ray {
    position: absolute;
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.8), transparent);
    top: 50%;
    left: 50%;
    transform-origin: center center;
    animation: none;
}

.logo-ray:nth-child(1) { transform: translate(-50%, -100%) translateY(-20px) rotate(0deg); }
.logo-ray:nth-child(2) { transform: translate(-50%, -100%) translateY(-20px) rotate(45deg); }
.logo-ray:nth-child(3) { transform: translate(-50%, -100%) translateY(-20px) rotate(90deg); }
.logo-ray:nth-child(4) { transform: translate(-50%, -100%) translateY(-20px) rotate(135deg); }
.logo-ray:nth-child(5) { transform: translate(-50%, -100%) translateY(-20px) rotate(180deg); }
.logo-ray:nth-child(6) { transform: translate(-50%, -100%) translateY(-20px) rotate(225deg); }
.logo-ray:nth-child(7) { transform: translate(-50%, -100%) translateY(-20px) rotate(270deg); }
.logo-ray:nth-child(8) { transform: translate(-50%, -100%) translateY(-20px) rotate(315deg); }

/* Mobile Products Grid */
.mobile-products-grid {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
}

/* Mobile Swipe Animation */
.mobile-swipe-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mobile-pages-wrapper {
    display: flex;
    width: 300%;
    height: calc(100% - 40px);
    animation: pageSwipe 12s ease-in-out infinite;
}

.mobile-page {
    width: 33.333%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.mobile-page-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

/* Page 1 - Hero Style */
.page-hero-image {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 215, 0, 0.2));
    border-radius: 8px;
    animation: imageShimmer 3s ease-in-out infinite;
    margin-bottom: 8px;
}

.page-text-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    animation: lineGlow 2s ease-in-out infinite;
    margin-bottom: 8px;
}

.page-text-line.long {
    width: 90%;
}

.page-text-line.medium {
    width: 70%;
    animation-delay: 0.2s;
}

.page-text-line.short {
    width: 50%;
    animation-delay: 0.4s;
}

/* Additional content blocks for page 1 */
.page-content-blocks {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.content-block {
    flex: 1;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    animation: none;
}


@keyframes blockPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

.page-action-button {
    width: 100%;
    height: 35px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.3));
    border-radius: 8px;
    margin-top: 10px;
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 0 rgba(255, 107, 53, 0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
    }
}

.page-grid-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    flex: 1;
    grid-template-rows: 1fr 1fr;
}

.page-grid-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    animation: gridBoxPulse 3s ease-in-out infinite;
}

.page-grid-box::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(255, 215, 0, 0.3));
    border-radius: 4px;
}

.page-grid-box::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.page-grid-box:nth-child(1) { animation-delay: 0s; }
.page-grid-box:nth-child(2) { animation-delay: 0.4s; }
.page-grid-box:nth-child(3) { animation-delay: 0.8s; }
.page-grid-box:nth-child(4) { animation-delay: 1.2s; }

@keyframes gridBoxPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

/* Page 2 - Grid Style */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex: 1;
}

.grid-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    animation: none;
}


/* Page 3 - List Style */
.page-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    animation: none;
    flex-shrink: 0;
}


.list-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 6px;
    flex-shrink: 0;
}

.list-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.list-text-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.list-text-line.primary {
    width: 80%;
    background: rgba(255, 255, 255, 0.25);
}

.list-text-line.secondary {
    width: 60%;
    background: rgba(255, 255, 255, 0.15);
}

.list-status {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: none;
}

@keyframes statusBlink {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 0 rgba(74, 222, 128, 0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    }
}

/* Stats Bar for Page 3 */
.page-stats-bar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    flex-shrink: 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-value {
    width: 100%;
    height: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(255, 215, 0, 0.3));
    border-radius: 4px;
    animation: statValueGlow 2.5s ease-in-out infinite;
}

.stat-label {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.stat-item:nth-child(1) .stat-value { animation-delay: 0s; }
.stat-item:nth-child(2) .stat-value { animation-delay: 0.3s; }
.stat-item:nth-child(3) .stat-value { animation-delay: 0.6s; }

@keyframes statValueGlow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    }
}

/* Progress Bars for Page 3 */
.page-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    flex: 1;
}

.progress-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    overflow: hidden;
    position: relative;
    min-height: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    border-radius: 6px;
    animation: progressFill 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.progress-item:nth-child(1) .progress-bar {
    width: 75%;
    animation-delay: 0s;
}

.progress-item:nth-child(2) .progress-bar {
    width: 60%;
    animation-delay: 0.5s;
}

@keyframes progressFill {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    }
}

/* Page Indicators */
.page-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.page-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: #ff6b35;
    width: 24px;
    border-radius: 4px;
    animation: dotActive 12s ease-in-out infinite;
}

/* Swipe Animations */
@keyframes pageSwipe {
    0%, 25% {
        transform: translateX(0%);
    }
    33%, 58% {
        transform: translateX(-33.333%);
    }
    66%, 91% {
        transform: translateX(-66.666%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Mobile Hero Swipe Animations */
@media (max-width: 768px) {
    .hero {
        --swipe-progress: 0;
        position: relative;
        overflow: hidden;
    }
    
    /* Swipe feedback overlay */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            rgba(255, 215, 0, 0.1) 0%, 
            rgba(255, 140, 0, 0.1) 50%, 
            rgba(255, 215, 0, 0.1) 100%);
        opacity: calc(var(--swipe-progress) * 0.3);
        pointer-events: none;
        z-index: 10;
        transition: opacity 0.2s ease;
    }
    
    /* Swipe direction indicators */
    .hero.swipe-left::after {
        content: '→';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: rgba(255, 215, 0, 0.8);
        z-index: 15;
        animation: swipeIndicator 0.3s ease-out;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    
    .hero.swipe-right::after {
        content: '←';
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: rgba(255, 215, 0, 0.8);
        z-index: 15;
        animation: swipeIndicator 0.3s ease-out;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    
    /* Slide transition animations */
    .showcase.slide-transition,
    .text-content.slide-transition {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    }
    
    .showcase.slide-left {
        transform: translateX(-20px);
        opacity: 0.7;
    }
    
    .showcase.slide-right {
        transform: translateX(20px);
        opacity: 0.7;
    }
    
    .text-content.slide-left {
        transform: translateX(-30px);
        opacity: 0.6;
    }
    
    .text-content.slide-right {
        transform: translateX(30px);
        opacity: 0.6;
    }
    
    /* Swipe progress bar */
    .hero.swipe-active::before {
        background: linear-gradient(90deg, 
            rgba(255, 215, 0, calc(var(--swipe-progress) * 0.4)) 0%, 
            rgba(255, 140, 0, calc(var(--swipe-progress) * 0.4)) 50%, 
            rgba(255, 215, 0, calc(var(--swipe-progress) * 0.4)) 100%);
    }
    
    /* Enhanced mobile controls visibility during swipe */
    .mobile-controls-row {
        transition: opacity 0.3s ease;
    }
    
    .hero.swipe-active .mobile-controls-row {
        opacity: 0.8;
    }
    
    /* Swipe hint for mobile users */
    .swipe-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 15px;
        opacity: 0.7;
        animation: swipeHintPulse 3s ease-in-out infinite;
        animation-delay: 2s;
    }
    
    .swipe-hint-text {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .swipe-hint-arrows {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    .swipe-arrow {
        font-size: 1.2rem;
        color: rgba(255, 215, 0, 0.6);
        animation: arrowBounce 2s ease-in-out infinite;
    }
    
    .swipe-arrow:first-child {
        animation-delay: 0s;
    }
    
    .swipe-arrow:last-child {
        animation-delay: 1s;
    }
    
    /* Hide swipe hint after first interaction */
    .swipe-hint.hidden {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        pointer-events: none;
    }
    
    @keyframes swipeHintPulse {
        0%, 80%, 100% {
            opacity: 0.7;
        }
        90% {
            opacity: 1;
        }
    }
    
    @keyframes arrowBounce {
        0%, 100% {
            transform: translateX(0);
            opacity: 0.6;
        }
        50% {
            transform: translateX(5px);
            opacity: 1;
        }
    }
}

/* Swipe indicator animation */
@keyframes swipeIndicator {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) scale(1);
    }
}

/* Hide swipe hint on desktop */
@media (min-width: 769px) {
    .swipe-hint {
        display: none;
    }
}

/* Enhanced mobile slide transitions */
@media (max-width: 768px) {
    .showcase {
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .text-content {
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Add subtle bounce effect to slide changes */
    .showcase.slide-transition {
        animation: slideBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    @keyframes slideBounce {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(0.98);
        }
        100% {
            transform: scale(1);
        }
    }
}

@keyframes imageShimmer {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes gridPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes listSlide {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@keyframes dotActive {
    0%, 25% {
        transform: translateX(0);
    }
    33%, 58% {
        transform: translateX(16px);
    }
    66%, 91% {
        transform: translateX(32px);
    }
    100% {
        transform: translateX(0);
    }
}

.mobile-header {
    height: 130px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    animation: headerFadeIn 0.8s ease 0.2s forwards;
}

.mobile-logo-small {
    width: 35px;
    height: 35px;
    position: relative;
}

.mobile-logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
    animation: none;
}

.mobile-logo-ring.outer {
    width: 35px;
    height: 35px;
    border-color: rgba(255, 107, 53, 0.4);
    top: 0;
    left: 0;
}

.mobile-logo-ring.middle {
    width: 25px;
    height: 25px;
    border-color: rgba(247, 147, 30, 0.5);
    top: 5px;
    left: 5px;
    animation-direction: reverse;
    animation-duration: 6s;
}

.mobile-logo-ring.inner {
    width: 15px;
    height: 15px;
    border-color: rgba(255, 215, 0, 0.6);
    top: 10px;
    left: 10px;
    animation-duration: 4s;
}

.mobile-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
    animation: none;
}

.mobile-products-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

.mobile-product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: cardFadeIn 0.6s ease forwards;
}

.mobile-product-card:nth-child(1) { animation-delay: 0.2s; }
.mobile-product-card:nth-child(2) { animation-delay: 0.3s; }
.mobile-product-card:nth-child(3) { animation-delay: 0.4s; }
.mobile-product-card:nth-child(4) { animation-delay: 0.5s; }

.mobile-product-image {
    width: 100%;
    height: 65%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.1));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: productShimmer 2s ease-in-out infinite;
}

.mobile-product-image::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-product-info {
    height: 35%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.mobile-product-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.mobile-product-line.short {
    width: 50%;
}

.mobile-product-line.medium {
    width: 70%;
}

.mobile-product-line.long {
    width: 90%;
}

.mobile-product-stars {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.mobile-star {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 107, 53, 0.3));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mobile-product-price {
    margin-top: 2px;
    display: flex;
    gap: 4px;
}

.mobile-price-bar {
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.6), rgba(255, 215, 0, 0.4));
    border-radius: 2px;
}

.mobile-price-bar.main {
    width: 25px;
}

.mobile-price-bar.discount {
    width: 18px;
    opacity: 0.5;
}

.mobile-footer {
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    animation: footerFadeIn 0.8s ease 0.8s forwards;
}

.mobile-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: iconFloat 2s ease-in-out infinite;
}

.mobile-social-icon:nth-child(1) { animation-delay: 0s; }
.mobile-social-icon:nth-child(2) { animation-delay: 0.3s; }
.mobile-social-icon:nth-child(3) { animation-delay: 0.6s; }
.mobile-social-icon:nth-child(4) { animation-delay: 0.9s; }

.mobile-social-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 50%;
}

.mobile-social-icon:nth-child(2)::before {
    border-radius: 3px;
}

.mobile-social-icon:nth-child(3)::before {
    width: 14px;
    height: 10px;
    border-radius: 2px;
}

.mobile-social-icon:nth-child(4)::before {
    width: 10px;
    height: 14px;
    border-radius: 2px;
}

/* Cursor/Pointer Effect */
.design-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ff6b35;
    border-radius: 50%;
    opacity: 0;
    animation: cursorMove 6s ease-in-out 2s infinite;
    pointer-events: none;
    z-index: 10;
    transition: left 0.15s ease-out, top 0.15s ease-out;
    transform: translate(-50%, -50%);
}

.design-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
}

/* Animations */
@keyframes blockFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 0.6;
        width: 40px;
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

@keyframes gridFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lineGrowHorizontal {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes lineGrowVertical {
    from {
        height: 0%;
    }
    to {
        height: 100%;
    }
}

@keyframes cursorMove {
    0% {
        opacity: 0;
        top: 20%;
        left: 15%;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        top: 30%;
        left: 40%;
    }
    50% {
        top: 60%;
        left: 70%;
    }
    75% {
        top: 45%;
        left: 35%;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        top: 25%;
        left: 20%;
    }
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(255, 107, 53, 0.8);
    }
}

@keyframes rayGlow {
    0%, 100% {
        opacity: 0.3;
        height: 25px;
    }
    50% {
        opacity: 0.8;
        height: 35px;
    }
}

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

@keyframes productShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

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

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

/* Branding Design - Custom Browser Mockup */
.branding-design {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Transform browser mockup into an A4 Poster/Flyer for branding slide */
.browser-mockup:has(.branding-design) {
    /* A4 paper aspect ratio and appearance */
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 
        /* Paper curl shadow at corners */
        -2px -2px 8px rgba(0, 0, 0, 0.05),
        2px 2px 8px rgba(0, 0, 0, 0.08),
        /* Main depth shadow */
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 20px 48px rgba(0, 0, 0, 0.12),
        /* Subtle edge highlight */
        inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: visible;
    /* Remove default backdrop blur */
    backdrop-filter: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

/* Paper texture and grain */
.browser-mockup:has(.branding-design)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        /* Horizontal paper grain */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.008) 1px,
            rgba(0, 0, 0, 0.008) 2px
        ),
        /* Slight paper color variation */
        radial-gradient(
            ellipse at 20% 30%,
            rgba(255, 255, 255, 0.5),
            transparent
        );
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.4;
}

/* Colorful decorative stripe across top like poster design */
.browser-mockup:has(.branding-design)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700, #f7931e, #ff6b35);
    background-size: 200% 100%;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.25);
}

/* Paper edge wear/tear effect on corners */
.showcase:has(.branding-design) .browser-mockup::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 30px;
    height: 30px;
    background: 
        radial-gradient(
            circle at top right,
            transparent 50%,
            rgba(0, 0, 0, 0.03) 50%
        );
    pointer-events: none;
    z-index: 20;
}

/* Push pins or tacks holding the poster */
.browser-mockup:has(.branding-design) .browser-content::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5px;
    width: 14px;
    height: 14px;
    background: 
        radial-gradient(circle, 
            #ff6b35 0%, 
            #ff6b35 40%,
            rgba(255, 107, 53, 0.4) 40%,
            rgba(255, 107, 53, 0.2) 60%,
            transparent 70%
        );
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        /* Second pin at bottom */
        0 calc(100% - 50px) 0 -2px #ffd700,
        0 calc(100% - 48px) 4px -2px rgba(0, 0, 0, 0.2);
    z-index: 15;
}

.browser-mockup:has(.branding-design) .browser-header {
    display: none;
}

.browser-mockup:has(.branding-design) .browser-content {
    border-radius: 0;
    position: relative;
    background: transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Ensure text content in branding slide doesn't move during animations */
.hero-slide:nth-child(2) .text-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    isolation: isolate;
    opacity: 1;
    animation: none;
    transform: none;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
}

/* Branding slide text content positioning */
.showcase:has(.branding-design) .text-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px;
    box-sizing: border-box;
}

/* Ensure showcase area in branding slide has consistent width */
.hero-slide:nth-child(2) .showcase {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure browser-mockup in branding slide has consistent width */
.hero-slide:nth-child(2) .browser-mockup {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure consistent container width for branding slide */
.hero-slide:nth-child(2) .container {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

/* Transform mobile mockup into a DL Tri-fold Brochure for branding slide */
.mobile-mockup:has(.branding-mobile) {
    /* DL brochure dimensions (no mobile device appearance) */
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 
        /* Paper curl at edges */
        -1px -1px 6px rgba(0, 0, 0, 0.06),
        1px 1px 6px rgba(0, 0, 0, 0.08),
        /* Depth shadows for folded paper */
        0 6px 16px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.15),
        /* Edge definition */
        inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: perspective(1000px) rotateY(6deg) rotateX(-4deg) translateZ(10px);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
}

/* Paper texture for brochure */
.mobile-mockup:has(.branding-mobile)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        /* Vertical paper grain */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.006) 1px,
            rgba(0, 0, 0, 0.006) 2px
        ),
        /* Subtle paper color variation */
        radial-gradient(
            ellipse at 80% 40%,
            rgba(255, 255, 255, 0.3),
            transparent
        );
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* First fold line - prominent crease */
.mobile-mockup:has(.branding-mobile)::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: 33.33%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 2%,
        rgba(0, 0, 0, 0.12) 5%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.12) 95%,
        transparent 98%
    );
    box-shadow: 
        1px 0 1px rgba(255, 255, 255, 0.4),
        -1px 0 2px rgba(0, 0, 0, 0.1);
    z-index: 5;
}




/* Business card or binder clip at top */
.mobile-mockup:has(.branding-mobile) .mobile-content::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 12px;
    width: 28px;
    height: 12px;
    background: 
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.15) 40%,
            rgba(255, 107, 53, 0.3) 40%,
            rgba(255, 107, 53, 0.25) 100%
        );
    border-radius: 3px 3px 0 0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    z-index: 15;
}

/* Slight page curl effect on bottom right */
.showcase:has(.branding-mobile) .mobile-mockup::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 25px;
    height: 25px;
    background: 
        linear-gradient(
            225deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.02) 50%,
            transparent 50%
        );
    z-index: 20;
}

.mobile-mockup:has(.branding-mobile) .mobile-notch {
    display: none;
}

.mobile-mockup:has(.branding-mobile) .mobile-content {
    border-radius: 0;
    position: relative;
    background: transparent;
}

/* Mobile text content positioning for branding slide */
.mobile-mockup:has(.branding-mobile) .text-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 15px;
    box-sizing: border-box;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.branding-header {
    text-align: center;
    opacity: 1;
    animation: none;
    margin-bottom: 10px;
}

.brand-label {
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
}

.logo-variations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    opacity: 1;
    animation: none;
}

.logo-variant {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-variant:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.variant-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.logo-icon-large {
    width: 60px;
    height: 60px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-icon-large .icon-shape {
    position: absolute;
}

.icon-shape.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    top: 0;
    left: 0;
    animation: shapeRotate 4s ease-in-out infinite;
}

.icon-shape.triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #ffd700;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: shapeFloat 3s ease-in-out infinite;
}

.icon-shape.square {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f7931e, #ffd700);
    border-radius: 4px;
    top: 8px;
    right: 0;
    animation: shapeRotate 3.5s ease-in-out infinite reverse;
}

.logo-icon-large.mono .icon-shape.circle {
    background: #333;
}

.logo-icon-large.mono .icon-shape.triangle {
    border-bottom-color: #666;
}

.logo-icon-large.mono .icon-shape.square {
    background: #999;
}

.logo-icon-small {
    width: 40px;
    height: 40px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-icon-small .icon-shape.circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    top: 0;
    left: 0;
}

.logo-icon-small .icon-shape.triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #ffd700;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo-icon-small .icon-shape.square {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #f7931e, #ffd700);
    border-radius: 3px;
    top: 5px;
    right: 0;
}

.variant-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.brand-colors {
    opacity: 1;
    animation: none;
}

.color-label {
    font-family: 'Archivo', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.color-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.swatch-color {
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-swatch:hover .swatch-color {
    transform: scale(1.05);
}

.primary-color .swatch-color {
    background: #ff6b35;
}

.secondary-color .swatch-color {
    background: #ffd700;
}

.dark-color .swatch-color {
    background: #0a0a0a;
}

.light-color .swatch-color {
    background: #ffffff;
    border: 2px solid #e0e0e0;
}

.swatch-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #666;
    text-align: center;
}

.typography-section {
    opacity: 1;
    animation: none;
}

.typo-label {
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.font-sample {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.font-sample.heading {
    font-family: 'Archivo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a0a0a;
}

.font-sample.body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* Branding Mobile */
.branding-mobile {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.mobile-brand-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInDown 0.6s ease 0.2s forwards;
}

.mobile-header-line {
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    border-radius: 2px;
}

.business-cards {
    display: flex;
    gap: 10px;
    opacity: 1;
    animation: none;
}

.business-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.business-card.front {
    justify-content: space-between;
}

.card-logo {
    display: flex;
    justify-content: center;
}

.logo-icon-card {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-icon-card .icon-shape.circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    position: absolute;
    top: 0;
    left: 0;
}

.logo-icon-card .icon-shape.triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #ffd700;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo-icon-card .icon-shape.square {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #f7931e, #ffd700);
    border-radius: 3px;
    position: absolute;
    top: 5px;
    right: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-line {
    height: 3px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    width: 80%;
}

.card-line.short {
    width: 50%;
}

.business-card.back {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    justify-content: space-between;
}

.card-pattern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
}

.pattern-dot {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.card-contact {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
    width: 70%;
}

.stationery-items {
    flex: 1;
    display: flex;
    gap: 10px;
    opacity: 1;
    animation: none;
}

.letterhead {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.letterhead-logo {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 6px;
}

.letterhead-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.lh-line {
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}

.lh-line:nth-child(1) {
    width: 90%;
}

.lh-line:nth-child(2) {
    width: 85%;
}

.lh-line:nth-child(3) {
    width: 70%;
}

/* Print Materials Showcase */
.print-materials-showcase {
    flex: 1;
    opacity: 1;
    animation: none;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Leaflet Container */
.leaflet-container {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.leaflet-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 15px 20px;
    text-align: center;
    color: #fff;
}

.leaflet-title {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.leaflet-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    opacity: 0.9;
    font-weight: 500;
}

.leaflet-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex: 1;
}

.service-row:last-child {
    margin-bottom: 0;
}

.print-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.print-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.print-preview {
    width: 100%;
    height: 60px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Business Card Preview */
.card-preview {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.card-logo-mini {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 4px;
    position: relative;
}

.card-logo-mini::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
}

/* Letterhead Preview */
.letterhead-preview {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.letterhead-logo-mini {
    width: 24px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 2px;
    margin-bottom: 4px;
}

/* Brochure Preview */
.brochure-preview {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 2px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 4px;
}

.brochure-panel {
    flex: 1;
    background: #fff;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.brochure-panel::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 1px;
    background: rgba(255, 107, 53, 0.3);
}

/* Package Preview */
.package-preview {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-face {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f7931e, #ffd700);
    border-radius: 2px;
    position: relative;
}

.package-face::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 1px;
}

/* Leaflet Footer */
.leaflet-footer {
    background: rgba(255, 107, 53, 0.05);
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.contact-info {
    text-align: center;
}

.contact-line {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #666;
    margin-bottom: 2px;
    font-weight: 500;
}

.contact-line:last-child {
    margin-bottom: 0;
}


.service-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.print-process-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    opacity: 1;
    animation: none;
}

.process-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    animation: dotPulse 2s ease-in-out infinite;
}

.process-dot.active {
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    width: 20px;
    border-radius: 3px;
    animation: activeDotPulse 2s ease-in-out infinite;
}

.process-dot:nth-child(1) { animation-delay: 0s; }
.process-dot:nth-child(2) { animation-delay: 0.5s; }
.process-dot:nth-child(3) { animation-delay: 1s; }
.process-dot:nth-child(4) { animation-delay: 1.5s; }

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes activeDotPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Animations */

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

@keyframes shapeRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* Abstract Brand Elements */
.abstract-brand-elements {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.brand-shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    width: 88%;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: brandShapeFloat 8s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #f7931e);
    top: 20%;
    right: 20%;
    animation-delay: -2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    bottom: 30%;
    left: 10%;
    animation-delay: -4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    bottom: 15%;
    right: 15%;
    animation-delay: -6s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ff6b35);
    top: 50%;
    left: 50%;
    animation-delay: -3s;
}

@keyframes brandShapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, -15px) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-10px, 20px) scale(0.9);
        opacity: 0.15;
    }
    75% {
        transform: translate(15px, 10px) scale(1.05);
        opacity: 0.2;
    }
}

.brand-process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 4px 0;
    position: relative;
    z-index: 2;
    width: 90%;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: processStepFadeIn 0.8s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.6s; }
.process-step:nth-child(7) { animation-delay: 0.8s; }

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: stepIconPulse 2s ease-in-out infinite;
}

.step-icon.concept {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.step-icon.design {
    background: linear-gradient(135deg, #f7931e, #ffd700);
}

.step-icon.refine {
    background: linear-gradient(135deg, #ffd700, #ff6b35);
}

.step-icon.deliver {
    background: linear-gradient(135deg, #ff6b35, #ffd700);
}

.step-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.9;
}

.step-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.process-arrow {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    position: relative;
    opacity: 0;
    animation: arrowFadeIn 0.6s ease forwards;
}

.process-arrow:nth-child(2) { animation-delay: 0.3s; }
.process-arrow:nth-child(4) { animation-delay: 0.5s; }
.process-arrow:nth-child(6) { animation-delay: 0.7s; }

.process-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #ffd700;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

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

@keyframes stepIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 107, 53, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
}

@keyframes arrowFadeIn {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 30px;
    }
}

.brand-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
    width: 90%;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: serviceItemFadeIn 0.6s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.2s; }
.service-item:nth-child(2) { animation-delay: 0.3s; }
.service-item:nth-child(3) { animation-delay: 0.4s; }
.service-item:nth-child(4) { animation-delay: 0.5s; }
.service-item:nth-child(5) { animation-delay: 0.6s; }
.service-item:nth-child(6) { animation-delay: 0.7s; }

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon.logo-design {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.service-icon.brand-guidelines {
    background: linear-gradient(135deg, #f7931e, #ffd700);
}

.service-icon.business-cards {
    background: linear-gradient(135deg, #ffd700, #ff6b35);
}

.service-icon.letterhead {
    background: linear-gradient(135deg, #ff6b35, #ffd700);
}

.service-icon.packaging {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.service-icon.marketing {
    background: linear-gradient(135deg, #ffd700, #f7931e);
}

.service-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 4px;
    opacity: 0.9;
    display: none;
}

.service-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

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

/* Standalone Animation Container */
.standalone-animation {
    display: none;
    width: 100%;
    height: 140%;
    position: relative;
    z-index: 10;
}

/* Hide mobile mockup elements when standalone animation is active */
.standalone-animation[style*="display: flex"] ~ .mobile-mockup,
.standalone-animation[style*="display: flex"] ~ .mobile-mockup .mobile-notch,
.standalone-animation[style*="display: flex"] ~ .browser-mockup {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hosting Standalone Animation */
.hosting-standalone {
    width: 100%;
    height: 395px;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    max-width: 100%;
}

/* Animated Background Grid */
.hosting-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: none;
    pointer-events: none;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Central Server Hub */
.server-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    opacity: 0;
    animation: fadeIn 1s ease 0.2s forwards;
    z-index: 1;
}

.hub-core {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-pulse {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.8),
        0 0 60px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(255, 107, 53, 0.8),
            0 0 60px rgba(255, 215, 0, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 
            0 0 50px rgba(255, 107, 53, 1),
            0 0 100px rgba(255, 215, 0, 0.6),
            inset 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: none;
}

.core-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    border-color: rgba(255, 107, 53, 0.4);
    animation-duration: 8s;
}

.core-ring:nth-child(3) {
    width: 110px;
    height: 110px;
    border-color: rgba(247, 147, 30, 0.3);
    animation-duration: 12s;
    animation-direction: reverse;
}

.core-ring:nth-child(4) {
    width: 140px;
    height: 140px;
    border-color: rgba(255, 215, 0, 0.2);
    animation-duration: 16s;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 600px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
    z-index: 0;
    pointer-events: none;
}

.data-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease forwards;
}

.data-line.line-1 { animation-delay: 0.6s; }
.data-line.line-2 { animation-delay: 0.7s; }
.data-line.line-3 { animation-delay: 0.8s; }
.data-line.line-4 { animation-delay: 0.9s; }
.data-line.line-5 { animation-delay: 1s; }
.data-line.line-6 { animation-delay: 1.1s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Server Racks in Circular Arrangement */
.server-racks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    height: 120px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
}

.server-rack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 85px;
    opacity: 0;
    animation: rackFadeIn 0.8s ease forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.server-rack:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

@keyframes rackFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.server-rack.rack-1 {
    animation-delay: 0.8s;
}

.server-rack.rack-2 {
    animation-delay: 1s;
}

.server-rack.rack-3 {
    animation-delay: 1.2s;
}

.server-unit {
    width: 100%;
    height: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 6px;
    position: relative;
    overflow: hidden;
}

.server-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: dataStream 3s ease-in-out infinite;
}

@keyframes dataStream {
    0% { left: -100%; }
    100% { left: 100%; }
}

.server-light {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6b35;
    box-shadow: 0 0 4px rgba(255, 107, 53, 0.6);
    animation: serverBlink 2s ease-in-out infinite;
    z-index: 1;
}

.server-light:nth-child(1) {
    animation-delay: 0s;
}

.server-light:nth-child(2) {
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation-delay: 0.3s;
}

.server-light:nth-child(3) {
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
    animation-delay: 0.6s;
}

/* Service Icons - Top Row */
.service-icons-top {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 3;
    opacity: 1;
    animation: none;
    pointer-events: none;
    padding: 0 20px;
}

/* Service Icons - Bottom Row */
.service-icons-bottom {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 3;
    opacity: 1;
    animation: none;
    pointer-events: none;
    padding: 0 20px;
}

.service-grid-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    animation: iconFloat 4s ease-in-out infinite;
}

.service-grid-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Top row animation delays */
.service-icons-top .service-grid-icon:nth-child(1) {
    animation-delay: 0s;
}

.service-icons-top .service-grid-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.service-icons-top .service-grid-icon:nth-child(3) {
    animation-delay: 1s;
}

/* Bottom row animation delays */
.service-icons-bottom .service-grid-icon:nth-child(1) {
    animation-delay: 1.5s;
}

.service-icons-bottom .service-grid-icon:nth-child(2) {
    animation-delay: 2s;
}

.service-icons-bottom .service-grid-icon:nth-child(3) {
    animation-delay: 2.5s;
}

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

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

.service-grid-icon svg {
    width: 65px;
    height: 65px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.service-grid-icon:hover svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
}

/* Responsive Styles for Hosting Standalone */
@media (max-width: 768px) {
    .hosting-standalone {
        gap: 30px;
        padding: 30px 15px;
    }
    
    .server-hub {
        width: 120px;
        height: 120px;
    }
    
    .core-pulse {
        width: 40px;
        height: 40px;
    }
    
    .core-ring:nth-child(2) {
        width: 60px;
        height: 60px;
    }
    
    .core-ring:nth-child(3) {
        width: 85px;
        height: 85px;
    }
    
    .core-ring:nth-child(4) {
        width: 110px;
        height: 110px;
    }
    
    .server-racks {
        max-width: 100%;
        height: 60px;
        gap: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }
    
    .server-rack {
        width: 75px;
        padding: 8px;
        gap: 4px;
        position: relative;
    }
    
    .server-unit {
        height: 30px;
        padding: 0 8px;
        gap: 5px;
    }
    
    .server-light {
        width: 5px;
        height: 5px;
    }
    
    .service-icons-top {
        top: 15%;
        padding: 0 10px;
        max-width: 100%;
    }
    
    .service-icons-bottom {
        bottom: 15%;
        padding: 0 10px;
        max-width: 100%;
    }
    
    .service-icons-top,
    .service-icons-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .service-grid-icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .service-grid-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hosting-standalone {
        gap: 25px;
        padding: 25px 10px;
    }
    
    .server-hub {
        width: 100px;
        height: 100px;
    }
    
    .core-pulse {
        width: 35px;
        height: 35px;
    }
    
    .core-ring:nth-child(2) {
        width: 50px;
        height: 50px;
    }
    
    .core-ring:nth-child(3) {
        width: 70px;
        height: 70px;
    }
    
    .core-ring:nth-child(4) {
        width: 90px;
        height: 90px;
    }
    
    .connection-lines {
        max-width: 600px;
        height: 450px;
    }
    
    .server-racks {
        max-width: 100%;
        height: 50px;
        gap: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
    }
    
    .server-rack {
        width: 60px;
        padding: 6px;
        gap: 3px;
        position: relative;
    }
    
    .server-unit {
        height: 26px;
        padding: 0 6px;
        gap: 4px;
    }
    
    .server-light {
        width: 4px;
        height: 4px;
    }
    
    .service-icons-top {
        top: 20%;
        padding: 0 5px;
        max-width: 100%;
    }
    
    .service-icons-bottom {
        bottom: 20%;
        padding: 0 5px;
        max-width: 100%;
    }
    
    .service-icons-top,
    .service-icons-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }
    
    .service-grid-icon {
        width: 55px;
        height: 55px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    
    .service-grid-icon svg {
        width: 45px;
        height: 45px;
    }
}

/* Hosting Animation Mobile */
.hosting-animation-mobile {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
    position: relative;
}

.uptime-display {
    text-align: center;
    opacity: 0;
    animation: fadeInDown 1s ease 0.2s forwards;
}

.uptime-number {
    font-family: 'Archivo', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.uptime-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    font-weight: 600;
}

.status-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    animation: none;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    width: 40px;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    position: relative;
    animation: barGrow 2s ease forwards;
}

.cpu-bar {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    width: 65%;
}

.ram-bar {
    background: linear-gradient(90deg, #ffd700, #f7931e);
    width: 45%;
    animation-delay: 0.2s;
}

.disk-bar {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    width: 30%;
    animation-delay: 0.4s;
}

.activity-pulse {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #ff6b35;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 3s ease-out infinite;
}

.pulse-ring:nth-child(1) {
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
}

.pulse-center {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    animation: none;
}

/* Animations */
@keyframes serverBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes dataFlow {
    0% {
        left: -30px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes barGrow {
    from {
        width: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.9);
    }
}


@keyframes floatOrbit1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -15px);
    }
    50% {
        transform: translate(10px, -25px);
    }
    75% {
        transform: translate(-10px, -15px);
    }
}

@keyframes floatOrbit2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-15px, 20px);
    }
    50% {
        transform: translate(-25px, 10px);
    }
    75% {
        transform: translate(-15px, -10px);
    }
}

@keyframes floatOrbit3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15px, 15px);
    }
    50% {
        transform: translate(25px, -5px);
    }
    75% {
        transform: translate(10px, 10px);
    }
}

@keyframes floatOrbit4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-20px, -10px);
    }
    50% {
        transform: translate(-10px, -20px);
    }
    75% {
        transform: translate(-15px, 15px);
    }
}

/* Agency Design */
.agency-design {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.agency-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.agency-content h2 {
    font-size: 52px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #0a0a0a;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.agency-content .highlight {
    color: #ff6b35;
}

.agency-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.agency-cta {
    display: inline-block;
    padding: 14px 36px;
    background: #0a0a0a;
    color: #fff;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0px;
}

.agency-image {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.agency-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.agency-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #ff6b35;
    margin: 0;
}

.stat-label {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #666;
    margin: 5px 0 0 0;
}

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


@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.control-btn:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
    transform: scale(1.05);
}

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

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator.active {
    background: rgba(255, 107, 53, 0.3);
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    width: 0%;
    transition: width 0.1s linear;
}

.indicator.active .indicator-progress {
    animation: progressBar 8s linear;
}

.indicator.active.paused .indicator-progress {
    animation-play-state: paused;
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* About Section */
.about-section {
    background: #0a0a0a;
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/1;
    max-width: 300px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.about-image::after {
    display: none;
}

/* Portfolio Section */
.portfolio-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 120px 0;
    position: relative;
}

/* Portfolio Filter Buttons */
.portfolio-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.portfolio-filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(247, 147, 30, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-filter-btn:hover {
    border-color: rgba(255, 107, 53, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.portfolio-filter-btn:hover::before {
    opacity: 1;
}

.portfolio-filter-btn.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(247, 147, 30, 0.1) 100%);
    border-color: rgba(255, 107, 53, 0.5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.portfolio-filter-btn.active::before {
    opacity: 1;
}

/* Portfolio Grid Section */
.portfolio-grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-flow: row;
    align-items: start;
}

.portfolio-item-wrapper {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

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

.portfolio-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

/* Orientation-specific styles */
.portfolio-box-square {
    aspect-ratio: 1;
}

.portfolio-box-portrait {
    aspect-ratio: 2/3;
}

.portfolio-box-landscape {
    aspect-ratio: 3/2;
}

.portfolio-item-wrapper:hover .portfolio-box {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.3);
}

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

.portfolio-item-wrapper:hover .portfolio-box img {
    transform: scale(1.1);
}

/* Portfolio Overlay */
.portfolio-box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 30px 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

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

.portfolio-box-text {
    padding: 20px 8px 0 8px;
}

.portfolio-box-text h3 {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.portfolio-box-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Services Section */
.services-section {
    background: #0a0a0a;
    padding: 120px 0;
    position: relative;
}

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

.service-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-icon {
    width: 100%;
    max-width: 215px;
    height: 215px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px auto;
    position: relative;
    z-index: 1;
    padding: 30px;
    flex-shrink: 0;
}

.service-box h3 {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-radius: 30px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease;
}

.services-modal-fullscreen {
    max-width: 95vw;
    max-height: 95vh;
    width: 95vw;
    height: 95vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
    transform: rotate(90deg);
}

/* Hide modal close buttons when mobile menu is open */
.mobile-menu.active ~ * .modal-close,
body:has(.mobile-menu.active) .modal-close {
    display: none !important;
}

/* Ensure modal close buttons match user controls styling */
#servicesModal .modal-close {
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#servicesModal .modal-close:hover {
    background: rgba(255, 107, 53, 0.3) !important;
    border-color: #ff6b35 !important;
}

.modal-header {
    margin-bottom: 40px;
}

.services-modal-fullscreen .modal-header {
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: center;
}

.modal-category {
    font-size: 16px;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-body p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.services-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    gap: 0;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.service-modal-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 30px 0 0 30px;
}

.service-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.service-modal-text-container {
    padding: 60px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-radius: 0 30px 30px 0;
}

.service-modal-description {
    flex: 1;
}

.service-modal-description p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

.modal-features {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.5;
}

.feature-check {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-item span {
    line-height: 1.5;
    letter-spacing: 0.3px;
}


/* Modal Controls */
.modal-controls {
    position: absolute;
    bottom: -8px;
    left: 66%;
    transform: translateX(-50%);
    display: none;
    gap: 16px;
    align-items: center;
    z-index: 100;
}

.modal-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #bc3b00;
}

.modal-control-btn:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: #f7931e;
    transform: scale(1.05);
}

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

.modal-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-indicator.active {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    padding: 120px 0;
    position: relative;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.contact-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.contact-form {
    display: grid;
    gap: 24px;
    margin-bottom: 0;
}

.form-group {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

input, textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 15px;
    margin-bottom: 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}


/* Rocket Animation */
.rocket-container {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 150px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
}

.rocket-container.launching {
    animation: rocketLaunch 6s ease-in forwards;
}

.rocket {
    width: 100%;
    height: 100%;
}

/* Flame animations */
.rocket-container.launching .flame-1 {
    animation: flameFlicker 0.1s infinite alternate;
}

.rocket-container.launching .flame-2 {
    animation: flameFlicker 0.15s infinite alternate;
}

.rocket-container.launching .flame-3 {
    animation: flameFlicker 0.2s infinite alternate;
}

/* Particle animations */
.rocket-container.launching .particle {
    animation: particleFloat 1.5s ease-out infinite;
}

.rocket-container.launching .p1 {
    animation-delay: 0s;
}

.rocket-container.launching .p2 {
    animation-delay: 0.3s;
}

.rocket-container.launching .p3 {
    animation-delay: 0.6s;
}

.rocket-container.launching .p4 {
    animation-delay: 0.9s;
}

/* Keyframe animations */
@keyframes rocketLaunch {
    0% {
        bottom: -200px;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    20% {
        bottom: 20%;
    }
    30% {
        bottom: 30%;
    }
    40% {
        bottom: 40%;
    }
    50% {
        bottom: 50%;
    }
    60% {
        bottom: 60%;
    }
    70% {
        bottom: 70%;
    }
    80% {
        bottom: 80%;
    }
    85% {
        opacity: 1;
    }
    90% {
        bottom: 90%;
        transform: translateX(-50%) scale(1) rotate(-5deg);
    }
    95% {
        bottom: 100%;
        opacity: 0.5;
        transform: translateX(-50%) scale(0.8) rotate(5deg);
    }
    100% {
        bottom: 120vh;
        opacity: 0;
        transform: translateX(-50%) scale(0.5) rotate(0deg);
    }
}

@keyframes flameFlicker {
    0% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    100% {
        opacity: 0.9;
        transform: scaleY(1.3);
    }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-40px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.5);
    }
}

/* Rocket shake effect on launch */
.rocket-container.launching .rocket {
    animation: rocketShake 0.1s infinite;
}

@keyframes rocketShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-1px);
    }
    75% {
        transform: translateX(1px);
    }
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
    height: 0;
    overflow: hidden;
    margin: 0;
}

.thank-you-message.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    overflow: visible;
}

.thank-you-message p {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(247, 147, 30, 0.95) 100%);
    color: #fff;
    padding: 30px 50px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    letter-spacing: 0.3px;
    display: inline-block;
}

/* Responsive adjustments for thank you message */
@media (max-width: 768px) {
    .thank-you-message {
        padding: 40px 20px;
    }
    
    .thank-you-message p {
        font-size: 18px;
        padding: 24px 36px;
    }
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

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

/* Removed footer-brand styling since brand section is removed */

/* Footer Instagram styling - matching navbar exactly */
.footer-instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    border-radius: 12px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-contact-info {
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: #ffd700;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-contact-item span {
    line-height: 1.4;
}


.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.footer-logo {
    position: relative;
    grid-column: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer-logo-image {
    width: 450px;
    height: 450px;
    object-fit: contain;
    position: absolute;
    right: -306px;
    bottom: -234px;
    opacity: 1;
    z-index: 1;
}

@media (max-width: 968px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container,
    .standard-container {
        padding: 0 30px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    
    .showcase-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0px;
    }
    
    .desktop-controls {
        display: none;
    }
    
    .mobile-cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 50px;
    }
    
    .mobile-controls-row {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-controls-row .control-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .mobile-controls-row .control-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .cta-button {
        display: none;
    }
    
    .mobile-cta {
        display: inline-block;
    }
    
    .mobile-indicators {
        display: flex;
        gap: 10px;
        justify-content: center;
    }
    
    .mobile-indicators .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-indicators .indicator.active {
        background: rgba(255, 255, 255, 0.9);
    }
    
    .mobile-indicators .indicator:hover {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .desktop-cta {
        display: none;
    }
    
    .desktop-controls {
        display: none;
    }



    .hero {
        padding: 130px 0 30px 0;
        min-height: 60vh;
    }

    h1 {
        font-size: 48px;
    }

    p {
        font-size: 20px;
        line-height: 1.6;
    }
    
    .text-content p {
        font-size: 20px;
    }

    .controls {
        padding: 0 30px;
        bottom: -3px;
    }

    /* Ensure consistent width for all slides on medium screens */
    .branding-design {
        max-width: 100%;
        width: 100%;
    }
    
    .browser-mockup:has(.branding-design) {
        max-width: 100%;
        width: 100%;
    }
    
    .showcase:has(.branding-design) .text-content {
        padding: 30px;
        margin: 15px;
    }
    
    .showcase:has(.branding-design) .text-content h1 {
        font-size: 48px;
    }
    
    .showcase:has(.branding-design) .text-content p {
        font-size: 18px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content {
        padding: 25px;
        margin: 12px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content h1 {
        font-size: 40px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .portfolio-grid-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .portfolio-filter-container {
        gap: 10px;
    }
    
    .portfolio-filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .portfolio-box-text {
        padding: 15px 8px 0 8px;
    }
    
    .portfolio-box-text h3 {
        font-size: 20px;
    }
    
    .portfolio-box-category {
        font-size: 13px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-icon {
        max-width: 180px;
        height: 180px;
        padding: 25px;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column:last-child {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo {
        grid-column: 1;
        justify-content: center;
    }
    
    .footer-logo-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 150px;
        height: 150px;
        opacity: 0.2;
    }

    .modal-content {
        padding: 0px;
        max-height: 95vh;
    }


    .services-modal-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .service-modal-image-container {
        height: 40vh;
        min-height: 250px;
        border-radius: 30px 30px 0 0;
    }

    .service-modal-text-container {
        padding: 30px;
        height: auto;
        border-radius: 0 0 30px 30px;
    }

    .modal-controls {
        top: 23%;
        bottom: auto;
        transform: translateY(-50%);
        width: calc(100% + 40px);
        justify-content: space-between;
        padding: 0;
        gap: 0;
        left: -20px;
    }

    .modal-control-btn {
        position: relative;
        z-index: 102;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-color: #ff6b35;
    }
    
    .modal-control-btn:hover {
        background: linear-gradient(135deg, #f7931e 0%, #ffd700 100%);
    }

    #servicePrevBtn {
        order: 1;
    }

    #serviceNextBtn {
        order: 2;
    }

    .modal-indicators {
        display: none;
    }
}



/* Medium screens - keep profile pic in right column */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        grid-template-columns: 1fr 250px;
        gap: 60px;
    }
    
    .about-image {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
        transform: translateZ(0) !important;
    }
    
    
    .hero {
        padding: 150px 0 30px 0;
        min-height: 50vh;
    }
    
    .showcase-container {
        position: relative;
        margin: 30px 0;
    }
    
    .desktop-controls {
        display: none;
    }
    
    /* Position mobile controls around CTA button */
    .mobile-cta-container {
        position: relative;
        margin-top: 25px;
    }
    
    .mobile-controls-row {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
        pointer-events: none;
        width: 100%;
    }
    
    .mobile-controls-row .control-btn {
        display: none; /* Hide all control buttons on mobile - using swipe instead */
    }
    
    .mobile-controls-row #playPauseBtn {
        display: none; /* Hide play/pause button */
    }
    
    /* Hide mobile indicators */
    .mobile-indicators {
        display: none !important;
    }
    
    .mobile-indicators .indicator {
        width: 10px;
        height: 10px;
    }

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .text-content p {
        font-size: 18px;
    }

    .portfolio-grid-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-filter-container {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .portfolio-filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .portfolio-box-text {
        padding: 15px 8px 0 8px;
    }
    
    .portfolio-box-text h3 {
        font-size: 18px;
    }
    
    .portfolio-box-category {
        font-size: 12px;
    }

    .service-icon {
        max-width: 150px;
        height: 150px;
        padding: 20px;
    }

    .portfolio-mobile-mockup {
        display: none !important;
    }

    .portfolio-mobile-mockup:hover {
        transform: translateY(-50%) translateY(-5px) scale(1.02);
    }

    .portfolio-mobile-notch {
        width: 50px;
        height: 10px;
    }


    /* Ensure consistent width for all slides on small screens */
    .branding-design {
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }
    
    .browser-mockup:has(.branding-design) {
        max-width: 100%;
        width: 100%;
    }
    
    .showcase:has(.branding-design) .text-content {
        padding: 25px;
        margin: 10px;
    }
    
    .showcase:has(.branding-design) .text-content h1 {
        font-size: 40px;
    }
    
    .showcase:has(.branding-design) .text-content p {
        font-size: 16px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content {
        padding: 20px;
        margin: 10px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content h1 {
        font-size: 32px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero {
        padding: 105px 0 57px 0;
        min-height: 45vh;
    }
    
    .showcase-container {
        margin: 25px 0;
    }
    
    .desktop-controls {
        display: none;
    }
    
    /* Position mobile controls around CTA button */
    .mobile-cta-container {
        position: relative;
        margin-top: 20px;
    }
    
    .mobile-controls-row .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-color: #ff6b35;
    }
    
    .mobile-controls-row #prevBtn {
        left: -20px; /* 50% overlap (40px / 2) */
    }
    
    .mobile-controls-row #nextBtn {
        right: -20px; /* 50% overlap (40px / 2) */
    }
    
    .mobile-controls-row #playPauseBtn {
        display: none; /* Hide play/pause button */
    }
    
    /* Hide mobile indicators */
    .mobile-indicators {
        display: none !important;
    }
    
    .mobile-indicators .indicator {
        width: 8px;
        height: 8px;
    }

    h1 {
        font-size: 36px;
    }

    p {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .text-content p {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .about-image {
        max-width: 270px;
        margin: 0 auto;
    }

    .service-icon {
        max-width: 120px;
        height: 120px;
        padding: 15px;
    }

    .portfolio-mobile-mockup {
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 96px;
        height: 192px;
        animation: slideInMobile 0.6s ease-out 0.3s both;
    }

    .portfolio-mobile-mockup:hover {
        transform: translateY(-50%) translateY(-5px) scale(1.02);
    }

    .portfolio-mobile-notch {
        width: 40px;
        height: 8px;
    }


    /* Ensure SVG images use auto height to fit properly for slides 2 and 3 */
    .browser-content img[src*="branding-svg-animation.svg"],
    .browser-content img[src*="hosting-maintenance-svg.svg"] {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: top !important;
    }
    
    /* Ensure browser content has no padding that could create gaps */
    .browser-mockup.slide-1 .browser-content,
    .browser-mockup.slide-2 .browser-content,
    .browser-mockup.branding-slide .browser-content,
    .browser-mockup.hosting-slide .browser-content {
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        height: auto !important;
        display: block !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    /* Ensure website-design container has no spacing for slides 2 and 3 */
    .browser-mockup.slide-1 .website-design,
    .browser-mockup.slide-2 .website-design,
    .browser-mockup.branding-slide .website-design,
    .browser-mockup.hosting-slide .website-design {
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        display: block !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    /* Ensure consistent width for all slides on mobile screens */
    .branding-design {
        max-width: 100%;
        width: 100%;
        padding: 15px;
    }
    
    .browser-mockup:has(.branding-design) {
        max-width: 100%;
        width: 100%;
    }
    
    .showcase:has(.branding-design) .text-content {
        padding: 20px;
        margin: 8px;
    }
    
    .showcase:has(.branding-design) .text-content h1 {
        font-size: 36px;
    }
    
    .showcase:has(.branding-design) .text-content p {
        font-size: 15px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content {
        padding: 15px;
        margin: 8px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content h1 {
        font-size: 28px;
    }
    
    .mobile-mockup:has(.branding-mobile) .text-content p {
        font-size: 13px;
    }
}

/* NEW BRANDING DESIGN - Brand Identity Showcase */
.branding-design {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
  }
  
  
  /* Animated Background Pattern */
  .branding-design::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    animation: brandingBgFloat 20s ease-in-out infinite;
    pointer-events: none;
  }
  
  @keyframes brandingBgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(10deg); }
  }
  
  /* Main Logo Creation Area */
  .brand-logo-showcase {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }
  
  /* Animated Logo Build */
  .logo-build-animation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Logo Elements that Build */
  .logo-element {
    position: absolute;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: elementAppear 2s ease forwards;
  }
  
  .logo-element.circle-main {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation-delay: 0.3s;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
  }
  
  .logo-element.ring-outer {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid rgba(255, 215, 0, 0.6);
    animation-delay: 0.6s;
  }
  
  .logo-element.shape-accent {
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 8px;
    top: 30px;
    right: 30px;
    animation-delay: 0.9s;
    transform-origin: center;
    animation: elementAppear 2s ease forwards, shapeFloat 3s ease-in-out 1.2s infinite;
  }
  
  .logo-element.ray-1,
  .logo-element.ray-2,
  .logo-element.ray-3,
  .logo-element.ray-4 {
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #ff6b35, transparent);
    animation-delay: 1.2s;
  }
  
  .logo-element.ray-1 { top: -25px; left: 50%; transform-origin: center bottom; }
  .logo-element.ray-2 { right: -25px; top: 50%; transform-origin: left center; animation-delay: 1.3s; }
  .logo-element.ray-3 { bottom: -25px; left: 50%; transform-origin: center top; animation-delay: 1.4s; }
  .logo-element.ray-4 { left: -25px; top: 50%; transform-origin: right center; animation-delay: 1.5s; }
  
  @keyframes elementAppear {
    0% {
      opacity: 0;
      transform: scale(0) rotate(-180deg);
    }
    60% {
      transform: scale(1.1) rotate(10deg);
    }
    100% {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }
  }
  
  @keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5px, -5px) rotate(180deg); }
  }
  
  /* Brand Color Palette */
  .brand-color-palette {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 1.8s forwards;
  }
  
  .color-swatch-animated {
    flex: 1;
    height: 80px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: swatchAppear 0.6s ease forwards;
  }
  
  .color-swatch-animated:nth-child(1) {
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    animation-delay: 2s;
  }
  
  .color-swatch-animated:nth-child(2) {
    background: linear-gradient(135deg, #f7931e, #ffb347);
    animation-delay: 2.2s;
  }
  
  .color-swatch-animated:nth-child(3) {
    background: linear-gradient(135deg, #ffd700, #ffe55c);
    animation-delay: 2.4s;
  }
  
  .color-swatch-animated:nth-child(4) {
    background: linear-gradient(135deg, #0a0a0a, #2a2a2a);
    animation-delay: 2.6s;
  }
  
  .color-swatch-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .color-swatch-animated:hover::after {
    opacity: 1;
  }
  
  @keyframes swatchAppear {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeSlideUp {
    to {
      opacity: 1;
    }
  }
  
  /* Print Materials Showcase */
  .print-materials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 2.8s forwards;
  }
  
  .print-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    animation: printItemAppear 0.6s ease forwards;
    position: relative;
    overflow: hidden;
  }
  
  .print-item:nth-child(1) { animation-delay: 3s; }
  .print-item:nth-child(2) { animation-delay: 3.2s; }
  .print-item:nth-child(3) { animation-delay: 3.4s; }
  
  .print-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    transform: scaleX(0);
    transform-origin: left;
    animation: barGrow 0.8s ease forwards;
    animation-delay: inherit;
  }
  
  @keyframes printItemAppear {
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
  
  @keyframes barGrow {
    to {
      transform: scaleX(1);
    }
  }
  
  /* Business Card Mockup */
  .business-card-mini {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .business-card-mini::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
  }
  
  .business-card-mini::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
  }
  
  /* Letterhead Mockup */
  .letterhead-mini {
    width: 100%;
    height: 60px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .letterhead-line {
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
  }
  
  .letterhead-line:first-child {
    width: 40%;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
  }
  
  .letterhead-line:nth-child(2) { width: 60%; }
  .letterhead-line:nth-child(3) { width: 50%; }
  
  /* Package Mockup */
  .package-mini {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .package-mini::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
  }
  
  .package-mini::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
  }
  
  .print-item-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Floating Design Elements */
  .design-accent {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
  }
  
  .design-accent.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff6b35, transparent);
    top: 10%;
    right: 5%;
    animation: floatAccent 8s ease-in-out infinite;
  }
  
  .design-accent.square {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, transparent);
    bottom: 15%;
    left: 5%;
    border-radius: 10px;
    animation: floatAccent 10s ease-in-out infinite reverse;
  }
  
  @keyframes floatAccent {
    0%, 100% {
      transform: translate(0, 0) rotate(0deg);
    }
    50% {
      transform: translate(20px, -20px) rotate(180deg);
    }
  }

/* Desktop mobile mockup positioning for screens above 968px */
@media (min-width: 969px) {
  .portfolio-view-site-btn {
    display: block;
    width: auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    font-family: 'Inter', sans-serif;
  }
  
  .portfolio-view-site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
  }
  
  .portfolio-modal-text-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    height: 100%;
    padding: 40px 30px;
  }
  
  .portfolio-modal-description {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .portfolio-mobile-mockup {
    position: relative;
    width: 207px;
    height: 414px;
    margin: 20px auto;
    animation: slideInMobileDesktop 0.6s ease-out 0.3s both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    top: 0%;
    left: 103px;
  }
  
  .portfolio-mobile-mockup:hover {
    transform: translateY(-5px) scale(1.02);
  }
  
  .portfolio-mobile-notch {
    width: 60px;
    height: 12px;
  }
  

  
  /* Category overlay on main image for desktop */
  
  /* Portfolio controls positioning for desktop */
  .portfolio-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
  }
  
  .portfolio-controls .modal-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
  }
  
  #portfolioPrevBtn {
    left: -25px;
  }
  
  #portfolioNextBtn {
    right: -24px;
  }
  
  .portfolio-controls .modal-indicators {
    position: absolute;
    bottom: -167px;
    left: 65%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
  }
}

@keyframes slideInMobileDesktop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* ========================================
   NEW PORTFOLIO MODAL STYLES
   ======================================== */

/* Portfolio Modal Base Styles */
.portfolio-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-radius: 30px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    min-height: 600px;
    height: 90vh;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Portfolio Modal Container */
.portfolio-modal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    flex: 1;
}

/* Portfolio Image Section */
.portfolio-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    position: relative;
    /* Strict height constraint - must respect grid cell height */
    height: 100%;
    min-height: 0;
    max-height: 100%;
    /* Prevent container from expanding beyond viewport */
    box-sizing: border-box;
    padding: 20px;
    /* Use flex to ensure buttons stay at bottom */
}

/* Image wrapper to constrain image size */
.portfolio-image-section > img {
    width: 100%;
    height: auto;
    max-width: 100%;
    /* Use a fixed calculation based on viewport height minus modal padding and button space */
    max-height: calc(90vh - 140px);
    object-fit: contain;
    object-position: center top;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    flex-shrink: 1;
    flex-grow: 0;
    opacity: 1;
    /* Ensure image doesn't cause container to expand */
    min-height: 0;
    /* Force image to respect container bounds */
    display: block;
    /* Prevent image from expanding parent */
    max-width: 100%;
    /* Override any natural height that might cause expansion */
    height: auto !important;
    /* Ensure image respects max-height strictly */
    overflow: hidden;
}

.portfolio-image-section:has(.portfolio-version-buttons[style*="display: none"]) img {
    max-height: 100%;
    margin-bottom: 0;
}

/* Smooth image transition when changing versions */
.portfolio-image-section img {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.portfolio-image-clickable {
    cursor: pointer;
}

.portfolio-image-clickable:hover {
    opacity: 0.9;
}

/* Portfolio Image Fullscreen Viewer */
.portfolio-fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-fullscreen-viewer.active {
    display: flex;
    opacity: 1;
}

.portfolio-fullscreen-viewer img {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-fullscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.portfolio-fullscreen-close:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Responsive styles for fullscreen viewer */
@media (max-width: 768px) {
    .portfolio-fullscreen-viewer img {
        max-width: 98%;
        max-height: 98%;
    }
    
    .portfolio-fullscreen-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .portfolio-fullscreen-viewer img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .portfolio-fullscreen-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Portfolio Version Buttons */
.portfolio-version-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0 20px 20px;
    width: 100%;
    box-sizing: border-box;
    /* Prevent buttons from being pushed down */
    flex-shrink: 0;
    margin-top: auto;
    /* Ensure buttons stay within viewport */
    position: relative;
    z-index: 10;
}

.portfolio-version-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.portfolio-version-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.portfolio-version-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: #ff6b35;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Portfolio Info Section */
.portfolio-info-section {
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border-radius: 0 30px 30px 0;
}

.portfolio-header {
    margin-bottom: 40px;
}

.portfolio-category {
    font-size: 16px;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.portfolio-header h2 {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.portfolio-description {
    flex: 1;
}

.portfolio-description p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.portfolio-button-container {
    position: relative;
    width: 100%;
    display: inline-block;
}

.portfolio-view-btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    font-family: 'Inter', sans-serif;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    z-index: 1;
}

.portfolio-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.portfolio-demo-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.portfolio-demo-btn:hover {
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.5);
}

.coming-soon-overlay {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), -3px 3px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
}

/* Portfolio Navigation */
.portfolio-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 20px;
    align-items: center;
    z-index: 100;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
}

.nav-btn:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
    transform: scale(1.05);
}

.portfolio-indicators {
    display: flex;
    gap: 10px;
    background: rgba(26, 26, 46, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-indicators .indicator.active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* Modal Close Button */
#portfolioModal .modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
}

#portfolioModal .modal-close:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
    transform: rotate(90deg);
}

/* ========================================
   RESPONSIVE STYLES FOR SCREENS BELOW 968px
   ======================================== */

@media (max-width: 968px) {
    .modal.active {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .portfolio-modal-content {
        max-width: 95vw;
        width: fit-content;
        max-height: 95vh;
        height: auto;
        min-width: 300px;
        margin-top: 0;
    }
    
    .portfolio-modal-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: 60vh;
    }
    
    .portfolio-image-section {
        padding: 0;
        border-radius: 30px 30px 0 0;
        min-height: 50vh;
        max-height: 60vh;
        height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Prevent container from expanding */
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .portfolio-image-section img {
        width: auto;
        height: auto;
        max-width: 90vw;
        max-height: calc(50vh - 70px);
        object-fit: contain;
        object-position: center;
        display: block;
        margin-bottom: 15px;
        flex-shrink: 1;
        flex-grow: 0;
        min-height: 0;
    }
    
    .portfolio-version-buttons {
        padding: 0 15px 15px;
        gap: 8px;
    }
    
    .portfolio-version-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .portfolio-info-section {
        padding: 30px 20px;
        border-radius: 0 0 30px 30px;
        min-height: 40vh;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    .portfolio-header h2 {
        font-size: 28px;
    }
    
    .portfolio-description p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .portfolio-view-btn {
        padding: 12px 28px;
        font-size: 13px;
    }
    
    .coming-soon-overlay {
        padding: 3px 6px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
    
    .portfolio-navigation {
        bottom: 20px;
        gap: 15px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .portfolio-indicators {
        padding: 6px 12px;
    }
    
    .portfolio-indicators .indicator {
        width: 6px;
        height: 6px;
    }
}

/* ========================================
   RESPONSIVE STYLES FOR SCREENS BELOW 768px
   ======================================== */

@media (max-width: 768px) {
    .modal.active {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .portfolio-modal-content {
        max-width: 98vw;
        width: fit-content;
        max-height: 98vh;
        height: auto;
        min-width: 280px;
        margin-top: 0;
    }
    
    .portfolio-image-section {
        padding: 0;
        min-height: 45vh;
        max-height: 55vh;
        height: 45vh;
        /* Prevent container from expanding */
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .portfolio-image-section img {
        max-width: 95vw;
        max-height: calc(45vh - 70px);
        object-fit: contain;
        object-position: center;
        flex-shrink: 1;
        flex-grow: 0;
        min-height: 0;
    }
    
    .portfolio-info-section {
        padding: 25px 15px;
        min-height: 35vh;
        max-height: 45vh;
    }
    
    .portfolio-header h2 {
        font-size: 24px;
    }
    
    .portfolio-category {
        font-size: 14px;
    }
    
    .portfolio-description p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .portfolio-view-btn {
        padding: 10px 24px;
        font-size: 12px;
    }
    
    .coming-soon-overlay {
        padding: 3px 6px;
        font-size: 8px;
        top: -5px;
        right: -5px;
    }
    
    .portfolio-navigation {
        bottom: 15px;
        gap: 12px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    #portfolioModal .modal-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ========================================
   RESPONSIVE STYLES FOR SCREENS BELOW 480px
   ======================================== */

@media (max-width: 480px) {
    .modal.active {
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .portfolio-modal-content {
        max-width: 100vw;
        width: fit-content;
        max-height: 100vh;
        height: auto;
        border-radius: 0;
        min-width: 250px;
        margin-top: 0;
    }
    
    .portfolio-modal-container {
        height: auto;
        min-height: 100vh;
    }
    
    .portfolio-image-section {
        padding: 0;
        min-height: 40vh;
        max-height: 50vh;
        height: 40vh;
        border-radius: 0;
        /* Prevent container from expanding */
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .portfolio-image-section img {
        max-width: 98vw;
        max-height: calc(40vh - 65px);
        object-fit: contain;
        object-position: center;
        margin-bottom: 10px;
        flex-shrink: 1;
        flex-grow: 0;
        min-height: 0;
    }
    
    .portfolio-version-buttons {
        padding: 0 8px 10px;
        gap: 5px;
    }
    
    .portfolio-version-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .portfolio-info-section {
        padding: 20px 15px;
        min-height: 30vh;
        max-height: 40vh;
        border-radius: 0;
    }
    
    .portfolio-header h2 {
        font-size: 20px;
    }
    
    .portfolio-category {
        font-size: 12px;
    }
    
    .portfolio-description p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .portfolio-view-btn {
        padding: 8px 20px;
        font-size: 11px;
    }
    
    .coming-soon-overlay {
        padding: 2px 5px;
        font-size: 7px;
        top: -4px;
        right: -4px;
    }
    
    .portfolio-navigation {
        bottom: 10px;
        gap: 10px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .portfolio-indicators {
        padding: 4px 8px;
    }
    
    .portfolio-indicators .indicator {
        width: 5px;
        height: 5px;
    }
    
    #portfolioModal .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}