/* ========== BASE & VARIABLES ========== */
:root {
    --red: #be1e2d;
    --dark: #040404;
    --dark-bg: #181a1d;
    --white: #ffffff;
    --gray: #999999;
    --light-bg: #f5f5f5;
    --font-primary: 'Inter', sans-serif;
    --font-accent: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-primary);
    color: #212529;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; }

.text-red { color: var(--red) !important; }
.italic-playfair { font-family: var(--font-accent); font-style: italic; }

.section-padding { padding: 80px 0; }
.section-title { font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.section-desc { font-size: 16px; color: var(--gray); line-height: 1.7; }

/* ========== HEADER / NAVBAR ========== */
.header-area .navbar {
    padding: 15px 0;
    transition: all 0.3s;
    background: transparent;
}
.header-area .navbar.scrolled {
    background: rgba(4,4,4,0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-brand img { height: 42px; width: auto; }
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover { color: var(--white); }
.dropdown-menu {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
}
.dropdown-item { color: rgba(255,255,255,0.8); font-size: 14px; padding: 8px 20px; }
.dropdown-item:hover { background: rgba(190,30,45,0.2); color: var(--white); }
.btn-cta {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 14px;
}

/* ========== HERO / MAIN BANNER ========== */
@keyframes slideUp {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-50%); }
}
@keyframes slideDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0px); }
}

.main-banner {
    position: relative;
    min-height: 100vh;
    background: var(--dark);
    overflow: hidden;
}
.main-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(0deg, transparent 15.81%, #040404 83.8%);
    z-index: 3;
    pointer-events: none;
}
.main-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(transparent 15.81%, #040404 100%);
    z-index: 3;
    pointer-events: none;
}

.main-grid {
    min-height: 800px;
    height: 100vh;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 80px;
    position: relative;
}

.left-info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding-left: 80px;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.banner-desc {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    line-height: 30px;
    margin-bottom: 15px;
}

.banner-features {
    list-style: circle;
    padding-left: 20px;
    margin-bottom: 20px;
}
.banner-features li {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    padding: 4px 0;
    list-style: circle;
}

.banner-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.banner-cta .btn {
    background: var(--red);
    border-color: var(--red);
    font-weight: 600;
    font-size: 16px;
}
.starting-price {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}
.price-big {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.right-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    will-change: transform;
}
.image-column img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}
.image-column.slide-up {
    animation: slideUp 40s linear infinite;
}
.image-column.slide-down {
    animation: slideDown 40s linear infinite;
}

.btn-need-design {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: var(--white) !important;
    color: var(--red);
    border: 1px solid var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-need-design:hover { color: var(--white); background: transparent !important; }

/* Banner Stats Bar */
.banner-stats-bar {
    position: relative;
    z-index: 4;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--white); display: block; }
.stat-text { font-size: 13px; color: var(--gray); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ========== PARTNERS / AWARDS MARQUEE ========== */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.main-award {
    background: var(--white);
    padding: 25px 0;
    overflow: hidden;
}
.marquee-container { overflow: hidden; }
.marquee-content {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}
.marquee-item span {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0,0,0,0.4);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-section { background: var(--white); color: var(--dark); }
.portfolio-section .section-title { color: var(--dark); }
.portfolio-section .section-desc { color: #666; }

.portfolio-slider {
    overflow: hidden;
    position: relative;
}
.portfolio-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}
.portfolio-slide {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
}
.portfolio-slide img {
    width: 393px;
    border-radius: 16px;
    display: block;
    height: 400px;
    object-fit: cover;
}

.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    color: var(--dark);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-nav-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ========== CREATIVE WORDS ========== */
.creative-words-section {
    padding: 60px 0;
    background: var(--white);
    overflow: hidden;
}
.creative-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.creative-word {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--dark);
}
.word-img {
    height: 60px;
    width: auto;
    border-radius: 30px;
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
}
.pill-img { border-radius: 50px; }

/* ========== CTA BANNER ========== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.cta-banner h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}
.cta-form { max-width: 600px; margin: 0 auto; position: relative; }
.cta-input-wrap {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    padding: 5px;
}
.cta-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
}
.cta-input-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.cta-input-wrap .btn {
    background: var(--red);
    border-color: var(--red);
    font-weight: 600;
    padding: 10px 25px;
    white-space: nowrap;
}

/* ========== SERVICES SECTION ========== */
.services-section { background: var(--dark-bg); }

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    justify-content: center;
}
.service-tabs .nav-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.service-tabs .nav-link.active,
.service-tabs .nav-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.service-image img { border-radius: 16px; }

.service-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.service-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}
.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
}
.service-arrow:hover { background: #a01825; transform: scale(1.1); color: var(--white); }

/* ========== EXPERIENCE SECTION ========== */
.experience-section { background: var(--dark-bg); color: var(--white); }

.experience-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.big-number {
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}
.vertical-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}
.vertical-text span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.experience-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
}

/* ========== ABOUT SECTION ========== */
.about-section { background: var(--dark-bg); }

.about-image img { border-radius: 16px; }

.about-stat h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}
.stat-line {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin: 10px 0;
}
.about-stat p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gray);
}

/* ========== PRICING SECTION ========== */
.pricing-section { background: var(--dark-bg); color: var(--white); }

.pricing-tabs .nav-link {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 5px;
}
.pricing-tabs .nav-link.active {
    background: var(--red);
    border-color: var(--red);
}

.pricing-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.pricing-card:hover { border-color: var(--red); transform: translateY(-5px); }
.pricing-card.featured { border-color: var(--red); }

.pricing-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pricing-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}
.save-badge {
    background: rgba(190,30,45,0.2);
    color: var(--red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.pricing-amount { margin-top: 15px; }
.pricing-amount .price {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
}
.pricing-amount .original-price {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.pricing-body { padding: 30px; }
.pricing-features { list-style: none; padding: 0; }
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i {
    color: var(--red);
    margin-right: 10px;
    font-size: 12px;
}

.pricing-header .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    font-size: 13px;
}
.pricing-header .btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

/* ========== INDUSTRIES SECTION ========== */
.industries-section {
    background: var(--light-bg);
    color: var(--dark);
}

.industry-tag {
    display: block;
    text-align: center;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s;
}
.industry-tag:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section { background: var(--dark-bg); }

.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    margin: 10px;
}
.testimonial-card .stars i {
    color: #ffc107;
    font-size: 14px;
}
.testimonial-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 20px;
}
.testimonial-author strong { display: block; font-size: 16px; }
.testimonial-author span { font-size: 13px; color: var(--gray); }

/* ========== FAQ SECTION ========== */
.faq-section {
    background: var(--light-bg);
    color: var(--dark);
}

.accordion-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    background: var(--white);
    box-shadow: none !important;
    padding: 18px 24px;
}
.accordion-button:not(.collapsed) { color: var(--red); background: var(--white); }
.accordion-button::after { filter: brightness(0); }
.accordion-body { color: #666; line-height: 1.7; padding: 0 24px 18px; }

/* ========== CONTACT SECTION ========== */
.contact-section { background: var(--dark-bg); color: var(--white); }

.contact-info { margin-top: 20px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}
.contact-item i { color: var(--red); font-size: 18px; width: 20px; }

.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 35px;
}
.contact-form-wrap .input-group-text {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--gray);
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 14px;
}
.contact-form-wrap .form-control::placeholder { color: var(--gray); }
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(190,30,45,0.15);
}
.contact-form-wrap .form-select option { background: #1a1a1a; }

/* ========== POPUP MODAL ========== */
.customMainPopup .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
}
.customMainPopup .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    opacity: 1;
}

.popup-left {
    background: var(--red);
    padding: 35px 25px;
    display: flex;
    align-items: center;
}
.popup-left-content { text-align: center; width: 100%; }
.popup-logo { margin-bottom: 20px; filter: brightness(0) invert(1); }
.popup-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}
.popup-images-grid img {
    border-radius: 10px;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.popup-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.popup-stat { text-align: center; }
.popup-stat h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}
.popup-stat p {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.popup-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.3);
}

.popup-right { padding: 35px 30px; }
.popup-right-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
}
.popup-right-content h2 strong { color: var(--red); font-weight: 700; }
.popup-right-content h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 400;
}
.popup-right-content h4 span { color: var(--red); font-weight: 600; }
.popup-right-content > p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 18px;
}

.popup-field {
    position: relative;
    margin-bottom: 12px;
}
.popup-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    z-index: 2;
}
.popup-field textarea ~ i { top: 16px; transform: none; }
.popup-field input,
.popup-field textarea {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
    font-family: var(--font-primary);
    color: #333;
}
.popup-field input:focus,
.popup-field textarea:focus { border-color: var(--red); }
.popup-field textarea { resize: none; }

.btn-popup-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transition: all 0.3s;
}
.btn-popup-submit:hover { background: #a01825; }

/* ========== FOOTER ========== */
.footer-area {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo { height: 40px; width: auto; }
.footer-widget p { color: var(--gray); font-size: 14px; line-height: 1.7; }
.footer-widget h5 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--red); border-color: var(--red); }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray); font-size: 14px; }
.footer-links a:hover { color: var(--white); }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: var(--gray); font-size: 14px; margin-bottom: 10px; }

.newsletter-form .input-group {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.newsletter-form .form-control {
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--white);
    font-size: 14px;
}
.newsletter-form .form-control::placeholder { color: var(--gray); }
.newsletter-form .btn { border-radius: 0; }

.footer-divider { border-color: rgba(255,255,255,0.08); margin: 30px 0 20px; }
.copyright { font-size: 14px; color: var(--gray); margin: 0; }
.footer-bottom-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; justify-content: flex-end; }
.footer-bottom-links a { color: var(--gray); font-size: 14px; }
.footer-bottom-links a:hover { color: var(--white); }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.back-to-top.active { opacity: 1; visibility: visible; }

/* ========== OWL CAROUSEL OVERRIDES ========== */
.owl-carousel .owl-dots { text-align: center; margin-top: 20px; }
.owl-carousel .owl-dot span {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s;
}
.owl-carousel .owl-dot.active span { background: var(--red); width: 30px; border-radius: 5px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .main-grid { grid-template-columns: 1fr; min-height: auto; height: auto; gap: 30px; }
    .left-info { padding: 120px 30px 40px; }
    .right-info { height: 400px; }
    .banner-content h1 { font-size: 36px; }
    .section-title { font-size: 32px; }
    .creative-word { font-size: 40px; }
    .big-number { font-size: 100px; }
    .stats-row { gap: 30px; }
    .pricing-tabs { flex-wrap: wrap; }
}

@media (max-width: 767.98px) {
    .left-info { padding: 100px 20px 30px; }
    .right-info { height: 300px; }
    .banner-content h1 { font-size: 28px; }
    .section-title { font-size: 26px; }
    .section-padding { padding: 50px 0; }
    .creative-word { font-size: 28px; }
    .word-img { height: 35px; }
    .big-number { font-size: 70px; }
    .stats-row { flex-direction: column; gap: 15px; }
    .stat-divider { width: 40px; height: 1px; }
    .portfolio-slide { min-width: calc(50% - 10px); }
    .cta-banner h2 { font-size: 28px; }

    .popup-left { display: none; }
    .popup-right { padding: 25px 20px; }
}

@media (max-width: 575.98px) {
    .banner-content h1 { font-size: 24px; }
    .creative-word { font-size: 22px; }
    .portfolio-slide { min-width: 100%; }
    .creative-text { gap: 15px; }
}
