@font-face {
    font-family: 'Auxilia';
    src: url('../fonts/auxilia-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary: #ff3333;
    --primary-dark: #cc0000;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.7);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Auxilia', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Top Header */
.top-header {
    background: #000;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-muted);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s;
}

.top-social a {
    color: var(--text-muted);
    margin-left: 15px;
    transition: color 0.3s;
}

.top-social a:hover {
    color: var(--primary);
}

#main-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 48px;
    /* Adjusted for larger top-header */
    z-index: 1000;
    transition: all 0.3s;
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    top: 0;
    /* Move to top on scroll */
}

/* Add margin to top-header hide logic if needed */
body.scrolled .top-header {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid var(--glass-border);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .container {
    text-align: center;
}

/* Slide Content Animation */
.hero-slide.active .container {
    animation: slideUpFade 1.2s cubic-bezier(0.17, 0.55, 0.55, 1) forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 30px;
    background: var(--primary);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        margin-left: 0 !important;
    }
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass);
}

.hero-slide .container {
    padding-bottom: 0;
}

.hero-common-btns {
    position: absolute !important;
    top: calc(50% + 180px);
    /* Increased offset for more margin */
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .parallax-bg {
        width: 150%;
        /* More coverage for mobile */
        height: 150%;
    }

    .hero-common-btns {
        top: calc(50% + 120px);
        /* Slightly more for mobile due to text wrapping */
    }

    .hero-slide .container {
        transform: translateY(-20px);
        /* Shift text up slightly on mobile */
    }
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even)>div {
    direction: ltr;
}

@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }
}

/* Page Banner (Inner Pages) */
.page-banner {
    padding: 220px 0 100px;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    animation: moveGlow 10s infinite alternate;
    z-index: 1;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    animation: moveGlow 15s infinite alternate-reverse;
    z-index: 1;
}

@keyframes moveGlow {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 100px);
    }
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .page-banner h1 br {
        display: none;
    }
}

.page-banner .breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.page-banner .breadcrumb span {
    color: var(--text-muted);
}

.banner-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.7rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .page-banner {
        padding: 160px 0 80px;
        text-align: center;
    }

    .page-banner .breadcrumb {
        justify-content: center;
    }
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: #000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .top-header {
        padding: 6px 0;
    }

    .top-header-container {
        flex-direction: column;
        gap: 5px;
    }

    .top-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .top-info-contact {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-info-item {
        margin-left: 0 !important;
        font-size: 0.7rem;
    }

    .whatsapp-top-link {
        margin-left: 0 !important;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .top-social {
        display: none;
    }

    #main-header {
        top: 65px !important;
        /* Adjusted for two-line top-header on mobile */
    }

    #main-header.scrolled {
        top: 0 !important;
    }

    .nav-links,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background: white;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        clip-path: circle(0% at 90% 5%);
        transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        pointer-events: none;
    }

    .mobile-menu.active {
        clip-path: circle(150% at 90% 5%);
        pointer-events: all;
    }

    .mobile-nav-links {
        list-style: none;
        text-align: center;
    }

    .mobile-nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .mobile-menu.active .mobile-nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for list items */
    .mobile-menu.active .mobile-nav-links li:nth-child(1) {
        transition-delay: 0.3s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(2) {
        transition-delay: 0.4s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(3) {
        transition-delay: 0.5s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(4) {
        transition-delay: 0.6s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(5) {
        transition-delay: 0.7s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(6) {
        transition-delay: 0.8s;
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(7) {
        transition-delay: 0.9s;
    }

    .mobile-nav-links a {
        color: white;
        text-decoration: none;
        font-size: 2rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: color 0.3s;
    }

    .mobile-nav-links a:hover {
        color: var(--primary);
    }
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: #000;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.clients-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 50px 0;
    margin: -50px 0;
}

.clients-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: scrollClients 40s linear infinite;
}

.client-logo-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
    display: block;
}

.client-logo-item img {
    height: 80px;
    max-width: 200px;
    filter: grayscale(1) brightness(0.8) invert(1);
    opacity: 0.5;
    transition: all 0.3s;
    object-fit: contain;
}

.client-logo-item:hover img {
    filter: grayscale(0) brightness(1) invert(0);
    opacity: 1;
    transform: scale(1.1);
}

.client-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 100;
}

.client-logo-item:hover .client-tooltip {
    opacity: 1;
    top: -45px;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients-track {
        gap: 40px;
        animation-duration: 20s;
    }

    .client-logo-item img {
        height: 40px;
    }
}

/* Stats Section */
.stats-section {
    background: rgba(255, 51, 51, 0.03);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/logo_square.svg');
    background-size: 80px;
    background-repeat: repeat;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
}

.stat-item p {
    color: var(--text-muted);
}

/* Icons & Cards */
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card-text-muted {
    color: var(--text-muted);
    margin-top: 1rem;
}

.portfolio-teaser {
    background: #080808;
}

.card-no-padding {
    padding: 0 !important;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 1.5rem;
}

.card-category {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-title {
    margin: 0.5rem 0;
}

.card-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.card-link i {
    margin-left: 5px;
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.ml-1 {
    margin-left: 1rem;
}

.mt-3 {
    margin-top: 3rem;
}

.primary-text {
    color: var(--primary);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-1 {
    margin-bottom: 1.5rem;
}

/* Contact Page Specific */
.contact-info-card {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 51, 51, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.contact-info-value {
    font-weight: 600;
}

.whatsapp-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    margin-bottom: 2rem;
    border-color: #25D366 !important;
    background: rgba(37, 211, 102, 0.05);
}

.whatsapp-icon-box {
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.whatsapp-title {
    color: white;
    font-size: 1rem;
}

.whatsapp-subtitle {
    color: #25D366;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.social-link-item {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link-item:hover {
    background: var(--primary);
}

.success-alert {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.success-alert i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    color: white;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* Services Page Specific */
.service-items-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-card-visual {
    padding: 0 !important;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 51, 0.03);
}

.service-visual-icon {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.5;
}

.service-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
}

.service-feature-item i {
    color: var(--primary);
    margin-right: 10px;
}

/* Portfolio Page Specific */
.portfolio-item-detailed {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

.portfolio-gallery-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.portfolio-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100%;
}

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

.portfolio-info-card {
    padding: 3rem !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-client-name {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.portfolio-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.portfolio-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .portfolio-item-detailed {
        grid-template-columns: 1fr;
    }

    .portfolio-gallery-wrapper {
        height: 350px;
    }

    .portfolio-info-card {
        padding: 2rem !important;
    }
}

/* Product Page Specific */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-visual-box {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 51, 0.05);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.product-visual-box img {
    max-height: 100px;
}

.product-features-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-features-list {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-feature-item {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.product-feature-item i {
    color: var(--primary);
    margin-right: 8px;
}

.product-footer {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.empty-shop-box {
    grid-column: 1/-1;
    text-align: center;
    padding: 4rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px dashed var(--glass-border);
}

.empty-shop-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Header Utility Classes */
.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
}

.top-info-contact {
    display: flex;
    align-items: center;
}

.top-info-item {
    margin-left: 20px;
}

.top-info-item:first-child {
    margin-left: 0;
}

.whatsapp-top-link {
    margin-left: 20px;
    color: #25D366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.site-logo-img {
    height: 60px;
}

.header-cta-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.mobile-cta-li {
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .site-logo-img {
        height: 45px;
    }
}

/* Footer Utility Classes */
.footer-logo-img {
    height: 60px;
}

.footer-desc-text {
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 2rem;
}

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

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

.footer-link-li {
    margin-bottom: 0.5rem;
}

.footer-link-li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact-item {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact-item i {
    color: var(--primary);
    margin-right: 10px;
}

/* Form Select Fixes */
select {
    background-color: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
}

select option {
    background-color: #1a1a1a;
    /* Dark background for options */
    color: white;
    padding: 10px;
}

/* --- Modern Transitions & Reveal Effects --- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.17, 0.55, 0.55, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-down {
    transform: translateY(-60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0) !important;
}

/* Staggered delay for children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-stagger.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.revealed>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.revealed>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.revealed>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.revealed>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.revealed>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* Parallax Background Wrapper */
.parallax-wrapper {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    --bg-glow-opacity: 0.08;
    /* Default for inner pages */
    background: radial-gradient(circle, rgba(255, 51, 51, var(--bg-glow-opacity)) 0%, transparent 70%);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: white;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.portfolio-card-item {
    transition: all 0.5s ease;
}

.portfolio-card-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #128c7e;
    color: white;
}

@media (max-width: 600px) {
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 12px;
        bottom: 20px;
        right: 20px;
    }
}

/* Contact Links Reset */
.top-info-item,
.footer-contact-item,
.contact-info-value {
    text-decoration: none !important;
    color: inherit !important;
    transition: color 0.3s;
}

.top-info-item:hover,
.footer-contact-item:hover,
.contact-info-value:hover {
    color: var(--primary) !important;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.w-full {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Alerts */
.success-alert {
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease;
}

.success-alert i {
    font-size: 3rem;
    color: #00ff64;
    margin-bottom: 1rem;
    display: block;
}

.success-alert h3 {
    color: #00ff64;
    margin-bottom: 0.5rem;
}

.error-alert {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    color: #ff3333;
    text-align: center;
    margin-bottom: 2rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Dropdown */
.custom-dropdown-container {
    position: relative;
    width: 100px;
}

.custom-dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 220px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.custom-dropdown-list.active {
    display: block;
    animation: dropdownFade 0.2s ease;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(255, 51, 51, 0.1);
    color: var(--primary);
}

.dropdown-item span {
    font-weight: 600;
    color: white;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar for Dropdown */
.custom-dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.custom-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 2rem;
    }

    .form-row {
        gap: 1rem;
    }

    .custom-dropdown-container {
        width: 80px;
    }

    .custom-dropdown-list {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

/* Service Details Grid */
.service-details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Vyapar Partner Card */
.partner-card {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.partner-card img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.partner-card-content {
    flex: 1;
    min-width: 250px;
}

.service-hero {
    padding: 220px 0 100px;
}

/* Vision Section Styles */
.vision-visual-wrapper {
    position: relative;
}

.vision-main-card {
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vision-main-card img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.vision-stats-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.4);
    z-index: 2;
}

.vision-stats-badge h3 {
    color: white;
    font-size: 2.5rem;
    line-height: 1;
}

.vision-stats-badge p {
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partner-card {
        padding: 2rem;
        gap: 1.5rem;
        justify-content: center;
        text-align: center;
    }

    .partner-card img {
        max-width: 150px;
    }

    .partner-card-content {
        min-width: 100%;
    }

    .service-hero {
        padding: 160px 0 60px !important;
    }
}

@media (max-width: 768px) {
    .vision-stats-badge {
        bottom: 20px;
        right: 20px;
        padding: 1.5rem;
    }

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

    .service-features-list {
        grid-template-columns: 1fr;
    }

    .service-card-visual {
        height: 250px;
    }

    .service-visual-icon {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .vision-main-card {
        height: 300px;
    }

    .vision-stats-badge {
        position: static;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        text-align: center;
    }

    .phone-input-group {
        flex-direction: column;
    }
}