html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #050000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Scroll Reveal Fade-Up Animation Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Navbar Styling */
.navbar-container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(5, 0, 0, 0.75);
    backdrop-filter: blur(10px);
}

.navbar {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.4);
    border-radius: 40px;
    padding: 12px 35px;
    position: relative;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 35px;
    width: auto;
    max-height: 35px;
    object-fit: contain;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ffcccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff2222;
}

.menu-icon {
    font-size: 24px;
    color: #ff3333;
    cursor: pointer;
    display: block;
}

/* Right-Aligned Scale-In Glassy Dropdown Menu */
.mobile-dropdown {
    display: flex;
    position: absolute;
    top: 75px;
    right: 35px;
    width: 220px;
    background: linear-gradient(135deg, rgba(30, 2, 2, 0.95) 0%, rgba(10, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 40, 40, 0.5);
    border-radius: 20px;
    padding: 15px 20px;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 0, 0, 0.2);
    
    opacity: 0;
    transform: scale(0.7) translateY(-15px);
    transform-origin: top right;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
}

.mobile-dropdown.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.mobile-dropdown a {
    color: #ffcccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-dropdown a:hover {
    color: #ffffff;
    background: rgba(255, 30, 30, 0.2);
    transform: translateX(5px);
}

/* Hero Section Full Screen */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

.hero-top-labels {
    position: absolute;
    width: 100%;
    max-width: 1350px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    top: 180px; 
    padding: 0 45px;
    z-index: 10;
    font-size: 23px; 
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(5, 0, 0, 0) 0%, rgba(5, 0, 0, 0.8) 60%, #050000 100%);
    z-index: 2;
    pointer-events: none;
}

.watermark-cover {
    position: absolute;
    bottom: 45px;
    right: 25px;
    z-index: 9999;
    background: rgba(15, 2, 2, 0.98);
    border: 1px solid rgba(255, 40, 40, 0.7);
    padding: 18px 36px;
    border-radius: 45px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
}

.watermark-cover span {
    font-size: 18px;
    font-weight: 700;
    color: #ffcccc;
    letter-spacing: 1.2px;
}

/* About Section Styling */
.about-section {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 30px 70px 30px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #b31414;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-card {
    width: 100%;
    background: rgba(15, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.25);
    border-radius: 20px;
    padding: 40px 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

#typewriter-text {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: center;
    border-right: 2px solid #ff2222;
    white-space: pre-wrap;
    display: inline-block;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stats-container.show-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-box {
    background: rgba(15, 2, 2, 0.75);
    border: 1px solid rgba(255, 40, 40, 0.2);
    border-radius: 15px;
    padding: 20px 30px;
    min-width: 220px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.stat-box h3 {
    font-size: 36px;
    color: #ff3333;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 15px;
    color: #cccccc;
    font-weight: 500;
}

.software-row {
    margin-top: 45px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.software-row.show-software {
    opacity: 1;
    transform: translateY(0);
}

.software-subtitle {
    font-size: 15px;
    color: #ff8888;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.software-icons-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.software-item {
    background: rgba(20, 2, 2, 0.9);
    border: 1px solid rgba(255, 40, 40, 0.25);
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.software-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 50, 50, 0.7);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25);
}

.software-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.software-item span {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Interactive Editorial Services Section Styling */
.services-section {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
}

.editorial-services-container {
    position: relative;
    width: 100%;
    background: rgba(12, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.25);
    border-radius: 25px;
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editorial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 40, 40, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.editorial-item:last-child {
    border-bottom: none;
}

.service-num {
    font-size: 16px;
    color: #ff4444;
    font-weight: 600;
    width: 40px;
}

.service-name {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    flex-grow: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-tag {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.editorial-item:hover {
    background: rgba(255, 30, 30, 0.05);
    border-color: rgba(255, 40, 40, 0.4);
}

.editorial-item:hover .service-name {
    color: #ff3333;
    transform: translateX(10px);
}

.editorial-item:hover .service-tag {
    color: #ffcccc;
}

.service-preview-box {
    position: absolute;
    pointer-events: none;
    background: rgba(20, 2, 2, 0.95);
    border: 1px solid rgba(255, 50, 50, 0.6);
    padding: 15px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-content i {
    font-size: 20px;
    color: #ff3333;
}

.preview-content span {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Portfolio & Tab Showcase Styling */
.portfolio-tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 30px auto 10px auto;
    padding: 0 20px;
}

.portfolio-tab-btn {
    background: rgba(15, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.3);
    color: #ffcccc;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.portfolio-tab-btn:hover {
    border-color: #ff2222;
    color: #ffffff;
    background: rgba(255, 30, 30, 0.15);
    transform: translateY(-2px);
}

.portfolio-tab-btn.active {
    background: #ff2222;
    color: #ffffff;
    border-color: #ff2222;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

.portfolio-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.portfolio-panel.active {
    display: block;
    opacity: 1;
    animation: fadeInPanel 0.5s ease-in-out forwards;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logofolio-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.logofolio-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.logofolio-track-container {
    width: 100%;
    overflow: visible;
    padding: 50px 0;
}

.logofolio-track {
    display: flex;
    gap: 35px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: center;
    will-change: transform;
}

.logofolio-card {
    min-width: 280px;
    width: 280px;
    height: 280px;
    background: rgba(12, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.25);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.82);
    opacity: 0.35;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
}

.logofolio-card.active {
    min-width: 380px;
    width: 380px;
    height: 380px;
    transform: scale(1);
    opacity: 1;
    border-color: #ff2222;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.45);
    z-index: 10;
}

.card-item {
    min-width: 380px;
    width: 380px;
    height: 240px;
}
.card-item.active {
    min-width: 500px;
    width: 500px;
    height: 300px;
}

.letter-item {
    min-width: 240px;
    width: 240px;
    height: 340px;
}
.letter-item.active {
    min-width: 310px;
    width: 310px;
    height: 440px;
}

.logo-placeholder-content {
    font-size: 18px;
    color: #ffcccc;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Unique Floating Glassmorphism Contact Section Styling */
.unique-contact-section {
    width: 100%;
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 30px;
}

.contact-glass-card {
    background: rgba(15, 2, 2, 0.85);
    border: 1px solid rgba(255, 40, 40, 0.4);
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: cardGlowPulse 4s infinite alternate;
}

@keyframes cardGlowPulse {
    0% { border-color: rgba(255, 40, 40, 0.3); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.1); }
    100% { border-color: rgba(255, 50, 50, 0.7); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 0, 0, 0.3); }
}

.contact-left-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-designer-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 2px solid #ff3333;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    animation: floatAvatar 3s ease-in-out infinite alternate;
}

@keyframes floatAvatar {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-text-box h2 {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-text-box p {
    font-size: 16px;
    color: #ffcccc;
    font-weight: 400;
}

.contact-right-socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-dm-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook-btn {
    background: #0084ff;
}

.whatsapp-btn {
    background: #25d366;
}

.social-dm-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Testimonials Marquee */
.testimonials-section {
    width: 100%;
    max-width: 100%;
    padding: 90px 0;
    text-align: center;
    background: radial-gradient(circle at center, #150202 0%, #050000 100%);
    overflow: hidden;
}

.testimonial-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
    padding: 30px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.testimonial-marquee-wrapper:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: rgba(15, 2, 2, 0.9);
    border: 1px solid rgba(255, 40, 40, 0.3);
    border-radius: 24px;
    padding: 35px 30px;
    width: 360px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: scale(1.06) translateY(-5px);
    border-color: #ff2222;
    background: rgba(25, 3, 3, 0.95);
    box-shadow: 0 0 45px rgba(255, 0, 0, 0.4);
    z-index: 10;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff3333;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.client-stars {
    color: #ffaa00;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.client-name {
    font-size: 19px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.client-feedback {
    font-size: 14px;
    color: #cccccc;
    font-weight: 400;
    line-height: 1.6;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 2, 2, 0.9);
    border: 1px solid rgba(255, 40, 40, 0.5);
    color: #ff3333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.slider-btn:hover {
    background: #ff2222;
    color: #ffffff;
    border-color: #ff2222;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* Professional Footer Styling */
footer {
    background: rgba(8, 1, 1, 0.95);
    border-top: 1px solid rgba(255, 40, 40, 0.25);
    padding: 50px 20px 30px 20px;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.back-to-top {
    width: 45px;
    height: 45px;
    background: rgba(20, 2, 2, 0.9);
    border: 1px solid rgba(255, 40, 40, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.back-to-top:hover {
    background: #ff2222;
    color: #ffffff;
    border-color: #ff2222;
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.footer-contact-info {
    display: flex;
    gap: 15px;
    font-size: 16px;
    color: #ffcccc;
    font-weight: 500;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-separator {
    color: #ff3333;
}

.footer-copyright {
    font-size: 14px;
    color: #888888;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .contact-glass-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .contact-left-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-right-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-top-labels { top: 130px; font-size: 17px; padding: 0 20px; }
    .about-card { padding: 25px 20px; }
    #typewriter-text { font-size: 16px; }
    .stats-container { flex-direction: column; gap: 20px; align-items: center; }
    .stat-box { width: 100%; max-width: 280px; }
    .software-icons-grid { gap: 15px; }
    .software-item { padding: 10px 18px; }
    .editorial-services-container { padding: 15px 20px; }
    .service-name { font-size: 18px; }
    .service-tag { display: none; }
    .service-preview-box { display: none !important; }
    .logofolio-card { min-width: 180px; width: 180px; height: 180px; }
    .logofolio-card.active { min-width: 240px; width: 240px; height: 240px; }
    .card-item { min-width: 240px; width: 240px; height: 150px; }
    .card-item.active { min-width: 300px; width: 300px; height: 185px; }
    .letter-item { min-width: 180px; width: 180px; height: 250px; }
    .letter-item.active { min-width: 240px; width: 240px; height: 330px; }
    .testimonial-card { width: 300px; min-height: 280px; padding: 25px 20px; }
    .slider-btn { width: 40px; height: 40px; left: 10px; }
    .next-btn { right: 10px; }
    .footer-contact-info { flex-direction: column; gap: 5px; }
    .footer-separator { display: none; }
}