:root {
    --primary: #ec1431;
    --primary-dark: #c71028;
    --accent: #ff6b6b;
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--border);
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.header.header-hidden {
    transform: translateY(-130%);
    /* Increased to hide logo foot */
    opacity: 0;
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    z-index: 1001;
}

.logo-container {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border: 3px solid var(--white);
    transition: var(--transition);
    margin-bottom: -50px;
    /* Floating effect */
    position: relative;
}

.logo-container:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.logo-container img {
    height: 65px;
    width: 65px;
    object-fit: contain;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.desktop-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

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

/* Hero Slider */
.hero-slider {
    height: 60vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: left 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    left: 0;
}

.slide.prev {
    left: -100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
    max-width: 900px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.slide-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
}

.slide-content .btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(236, 20, 49, 0.3);
    transition: var(--transition);
}

.slide-content .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(236, 20, 49, 0.4);
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

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

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

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    color: var(--white);
}

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

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us */
#about.section {
    padding: 60px 0;
    /* Proportional padding */
}

.about-intro-box p {
    font-size: 1.05rem;
    /* Standard readable size */
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    /* Balanced padding */
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.about-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 1.2rem;
}

.about-card h3 {
    font-size: 1.25rem;
    /* Standard heading size */
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card ul {
    text-align: left;
    padding-left: 20px;
    font-size: 0.95rem;
    /* Standard size */
    color: var(--text);
}

.about-card ul li {
    margin-bottom: 5px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text);
}

.about-commitment {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(236, 20, 49, 0.05);
    /* Light primary bg */
    border-radius: 12px;
    border: 1px dashed var(--primary);
}

.about-commitment i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.about-commitment p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text);
    margin: 0;
}

.brands-box {
    margin: 20px auto;
    /* Centers the box */
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: table;
    /* Shrink to fit content but allows margin auto */
    text-align: center;
}

.brands-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.brands-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(236, 20, 49, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-img::after {
    opacity: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--dark);
}

.project-info p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.875rem;
}

/* Clients */
.clients-container {
    margin-top: 20px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-slider {
    overflow: hidden;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.client-logo {
    width: 180px;
    height: 90px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-logo img {
    max-width: 130px;
    max-height: 65px;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

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

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

/* Contact Top Details */
.contact-details-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail-info h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-detail-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Grid (Map & Form) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Modern Contact Form */
.contact-form-modern {
    background: var(--white);
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-modern h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.alert-success,
.alert-error {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

.form-field label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(236, 20, 49, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(236, 20, 49, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 20, 49, 0.4);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(3px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 45px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-about p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Bottom Nav (Mobile) - Hidden by default */
.bottom-nav {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .header-container {
        justify-content: center;
        /* Center logo on mobile */
    }

    .logo-container {
        width: 80px;
        height: 80px;
        margin-bottom: -45px;
    }

    .logo-container img {
        height: 55px;
        width: 55px;
    }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        padding: 10px 0;
        z-index: 1000;
        border-top: 1px solid var(--border);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        color: var(--text-light);
        padding: 6px 10px;
        border-radius: 10px;
        transition: var(--transition);
    }

    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .nav-item.active,
    .nav-item:hover {
        color: var(--primary);
        background: rgba(236, 20, 49, 0.1);
    }

    .hero-slider {
        height: 55vh;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .slider-dots {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }

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

    .slider-dot.active {
        width: 24px;
    }

    .section {
        padding: 30px 0;
        /* Further reduced for mobile */
    }

    #about.section {
        padding: 40px 0;
        /* Balanced mobile padding */
    }

    .about-intro-box p,
    .about-card ul,
    .about-card p,
    .about-commitment p {
        font-size: 0.95rem;
        /* Readable mobile font */
    }

    .section-subtitle {
        margin-bottom: 25px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 65px;
    }
}

@media (max-width: 480px) {
 