:root {
    --primary-red: #D71920;
    --primary-red-hover: #b3141a;
    --primary-red-rgb: 215, 25, 32;
    --primary-pink: #FFF1F1;
    --text-black: #1A1A1A;
    --text-white: #ffffff;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light-gray: #F9FAFB;
    --bg-footer: #0a0c10;
    --border-light: #F0F0F0;
    --shadow-premium: 0 10px 30px rgba(0,0,0,0.04);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw; /* Safeguard for iOS/Android viewport bounds */
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-black);
    background-color: var(--bg-white);
    line-height: 1.5;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
a { text-decoration: none; transition: var(--transition-smooth); }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 2000;
    padding: 16px 0;
    background: white;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar.sticky {
    padding: 12px 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

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

/* Navbar logo */
.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 28px; }

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-black);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary-red); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn i {
    width: 18px;
    height: 18px;
}

.btn-primary { 
    background-color: var(--primary-red); 
    color: white; 
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.2);
}
.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 25, 32, 0.3);
    color: white;
}

.btn-outline {
    background: white;
    border: 1.5px solid #E5E7EB;
    color: var(--text-black);
}
.btn-outline:hover { 
    border-color: var(--primary-red); 
    color: var(--primary-red);
    background: var(--primary-pink);
}

.btn-white { background: white; color: var(--primary-red); padding: 15px 30px; font-size: 15px; }
.btn-white:hover { background: #f5f5f5; color: var(--primary-red); }

.btn-dark-whatsapp { background: #111b1e; color: white; padding: 15px 30px; font-size: 15px; }
.btn-dark-whatsapp:hover { background: #1e2d32; color: white; }

.btn-full { width: 100%; padding: 16px; font-size: 16px; border-radius: 12px; }

/* ===== HERO ===== */
.hero {
    background-color: var(--bg-light-gray);
    padding: 80px 0 0;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: stretch;
}

.hero .container {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
}

.hero-content {
    padding: 80px 60px 100px 60px;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-black);
}

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

.hero > .container > .hero-grid > .hero-content p,
.hero p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-btns { display: flex; gap: 14px; margin-bottom: 44px; }

.hero-features { 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    align-items: center;
}

.hero-features::-webkit-scrollbar {
    display: none;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-black);
}

.feature-badge i { color: var(--primary-red); font-size: 15px; }

/* Hero image: fills right side completely, no border-radius, no wrapper padding */
.hero-image {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.hero-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Lucide Icon Default Styling */
[data-lucide] {
    stroke-width: 2px;
}

/* ===== SERVICES ===== */
.services { padding: 50px 0; background: white; }

.section-tag {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-header { text-align: center; }

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-black);
}

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

.service-card {
    padding: 36px 30px 40px;
    background: white;
    border: 1px solid #F3F4F6;
    border-radius: 20px;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-pink);
    border-radius: 50%; /* Perfect circle based on the image */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-circle i, .icon-circle svg { 
    font-size: 24px;
    color: var(--primary-red) !important;
    stroke: var(--primary-red) !important;
}

.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 14px;
    color: var(--primary-red);
    opacity: 1; /* Keeping it permanently visible as in design */
    transition: var(--transition-smooth);
}

.service-card:hover .card-arrow {
    transform: translateX(4px);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-black);
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}



/* ===== PROJECT ===== */
.project { padding: 50px 0; background-color: var(--bg-light-gray); overflow: hidden; }

.project .container {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 70px;
    align-items: center;
    padding: 0 40px;
    max-width: 1300px;
}

.project-header .section-tag { margin-bottom: 14px; }

.project-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-black);
    line-height: 1.15;
}

.project-header p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
    cursor: col-resize;
    user-select: none;
    height: 480px;
}

.image-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.image-before-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 50%; height: 100%;
    overflow: hidden;
    z-index: 10;
}

.image-before {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: auto;
    min-width: 200%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0; left: 50%;
    width: 3px; height: 100%;
    background: white;
    z-index: 20;
    transform: translateX(-50%);
}

.handle-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    color: var(--primary-red);
}

.label {
    position: absolute;
    bottom: 16px;
    padding: 5px 13px;
    background: rgba(0,0,0,0.78);
    color: white;
    font-weight: 800;
    font-size: 11px;
    border-radius: 6px;
    z-index: 25;
    letter-spacing: 1px;
}

.label-before { left: 16px; }
.label-after { right: 16px; background: var(--primary-red); }

/* ===== STATS ===== */
.stats { padding: 50px 0; background: white; }

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

.stat-item { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i, .stat-icon svg { 
    font-size: 26px;
    color: var(--primary-red) !important;
    stroke: var(--primary-red) !important;
    stroke-width: 2px;
}

.stat-item h3 {
    font-size: 30px;
    font-weight: 900;
    color: var(--text-black);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

/* ===== CONTACT ===== */
.contact { padding: 60px 0; background-color: var(--bg-light-gray); }

.contact .section-header { text-align: left; margin-bottom: 2rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

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

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #EEEEEE;
    border-radius: 10px;
    background: #FAFAFA;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--text-black);
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary-red); background: white; }

.form-group textarea { resize: vertical; }

.contact-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.contact-map-wrapper { height: 280px; }
.contact-map-wrapper iframe { display: block; }

.contact-info-list { padding: 30px; }

.info-block {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.info-block:last-child { margin-bottom: 0; }

.info-block i { 
    color: var(--primary-red); 
    margin-top: 3px; 
    width: 18px; 
    height: 18px; 
    flex-shrink: 0; 
}
.info-block strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.info-block p { font-size: 13px; color: var(--text-gray); }

/* ===== CTA ===== */
.cta-banner { 
    background-color: var(--bg-white); 
    padding: 40px 20px 60px 20px; 
}

.cta-banner .container {
    background: linear-gradient(90deg, #CE151C 0%, #9F0B10 100%);
    border-radius: 16px;
    padding: 24px 40px; 
    box-shadow: 0 15px 40px rgba(180, 15, 20, 0.3);
}

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

.cta-logo-text { display: flex; align-items: center; gap: 20px; }

/* CTA Icon */
.cta-icon-box {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 10px;
}

.cta-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cta-text h2 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 2px; }
.cta-text p { color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 0; }

.cta-btns { display: flex; gap: 14px; }

/* ===== FOOTER ===== */
.footer { background-color: var(--bg-footer); color: white; padding: 70px 0 0; }

/* Footer logo */
.footer-logo {
    margin-bottom: 18px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col.about p { 
    color: rgba(255,255,255,0.6); 
    font-size: 15px; 
    line-height: 1.8; 
    max-width: 320px;
}

.footer h4 { 
    margin-bottom: 30px; 
    font-size: 18px; 
    font-weight: 700; 
    letter-spacing: 0.5px;
}

.footer ul li {
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition-smooth);
}

.footer ul li:hover {
    color: white;
}

.footer ul li i { 
    color: var(--primary-red); 
    margin-top: 4px; 
    flex-shrink: 0; 
    font-size: 16px; 
}

.social-links { display: flex; gap: 10px; margin-top: 26px; }

.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    transition: var(--transition-smooth);
}
.social-links a:hover { background: var(--primary-red); color: white; }

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    color: rgba(255,255,255,0.22);
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.38); margin: 0 6px; }
.footer-bottom a:hover { color: white; }

/* ===== MOBILE MENU ===== */
.menu-toggle { display: none; font-size: 22px; cursor: pointer; color: var(--text-black); }

/* ===== ANIMATIONS ===== */
.animate-left, .animate-right, .animate-up {
    opacity: 0;
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }
.animate-up { transform: translateY(50px); }
.show { opacity: 1; transform: translate(0, 0); }

/* ===== PROFESSIONAL RESPONSIVE SYSTEM ===== */
@media (max-width: 1280px) {
    .container { max-width: 1100px; }
}

@media (max-width: 1024px) {
    .container { max-width: 900px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 60px 40px; text-align: center; max-width: 100%; margin: 0 auto; order: 2; }
    .hero-btns, .hero-features { justify-content: center; flex-wrap: wrap; }
    .hero-image { order: 1; height: 450px; min-height: auto; border-radius: 0; width: 100%; margin-left: 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .project .container { grid-template-columns: 1fr; gap: 50px; padding: 0 40px !important; max-width: 100%; }
    .comparison-slider { height: 450px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .navbar { padding: 10px 0; }
    .navbar.sticky { padding: 8px 0; }
    .logo-img { height: 36px; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--primary-pink); border-radius: 8px; color: var(--primary-red); }
    .nav-right .btn { display: none; }
    
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        gap: 20px;
        transform: translateX(100%);
        visibility: hidden;
    }
    .nav-links.active { transform: translateX(0); visibility: visible; }
    .nav-links a { font-size: 24px; font-weight: 700; color: var(--text-black); }
    .nav-links a::after { display: none; }
    
    .hero { min-height: 0; padding-top: 70px; }
    .hero-content { padding: 50px 24px; }
    .hero-btns { flex-direction: column; gap: 12px; margin-bottom: 30px; }
    .hero-btns .btn { width: 100%; }
    .hero-features { flex-wrap: wrap; gap: 12px; }
    .feature-badge { flex: 1 1 auto; justify-content: center; padding: 12px 18px; font-size: 13px; }
    
    .section-header h2 { font-size: 28px; margin-bottom: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    
    .project .container { padding: 0 24px !important; }
    .comparison-slider { height: 350px; width: auto; margin-left: -24px; margin-right: -24px; border-radius: 0; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .footer ul li { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .navbar { padding: 8px 0; }
    .navbar.sticky { padding: 6px 0; }
    .logo-img { height: 32px; }
    .menu-toggle { width: 34px; height: 34px; }
    
    .hero-content { padding: 40px 20px; }
    .hero h1 { font-size: clamp(32px, 8vw, 40px); }
    .hero-image { height: 300px; min-height: 0; }
    
    .project .container { padding: 0 20px !important; }
    .comparison-slider { height: 280px; width: auto; margin-left: -20px; margin-right: -20px; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-item { flex-direction: column; text-align: center; }
    
    .cta-flex { flex-direction: column; gap: 30px; text-align: center; }
    .cta-logo-text { flex-direction: column; }
    .cta-btns { flex-direction: column; width: 100%; }
    .cta-btns .btn { width: 100%; }
    
    .footer-grid { text-align: center; }
    .footer ul li { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-col.about p { margin: 0 auto; }
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-black);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.feature-badge:hover {
    transform: translateY(-3px);
}

.feature-badge .icon,
.feature-badge i,
.feature-badge svg {
    color: var(--primary-red) !important;
    stroke: var(--primary-red) !important;
    stroke-width: 2px;
}