@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #E6192B;
    --primary-dark: #b91422;
    --bg-light: #ffffff;
    --bg-offwhite: #f8f9fa;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 120px 0; }
.bg-light { background-color: var(--bg-offwhite); }

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(230, 25, 43, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(6px);
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-dark);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--text-main);
    color: white;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

header.scrolled .header-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    background: var(--bg-offwhite);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    width: 100vw; height: 100vw;
    background: radial-gradient(circle, rgba(230,25,43,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-shape {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 200px; height: 200px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNFMjE5MkIiIGZpbGwtb3BhY2l0eT0iMC4yIi8+PC9zdmc+');
    z-index: 1;
}

/* Page Header (Inner) */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-offwhite);
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.breadcrumb {
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text-main);
}

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

/* Services Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 64px; height: 64px;
    background: var(--bg-offwhite);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 32px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 24px;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
    color: var(--primary);
}

.service-card:hover .service-link i {
    transform: translateX(6px);
}

/* Features/About Split */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

/* Detail Pages */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-content p {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.feature-list {
    margin-top: 48px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.feature-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-weight: 500;
}

.feature-list li i {
    color: var(--primary);
    background: rgba(230, 25, 43, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--text-main);
    color: white;
    padding: 48px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item h4 {
    color: white;
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    color: rgba(255,255,255,0.7);
}

.form-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-offwhite);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(230, 25, 43, 0.1);
}

/* Footer */
footer {
    background: var(--text-main);
    color: white;
    padding: 80px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    margin-bottom: 24px;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px; left: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 14px 24px;
    display: flex; align-items: center; gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 1024px) {
    .section-padding { padding: 100px 0; }
    .page-header { padding: 140px 0 60px; }
    .hero { padding-top: 140px; padding-bottom: 100px; }
    
    .hero-title { font-size: 3.5rem; }
    .hero-container, .split-section { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; margin-bottom: 20px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-content .btn { width: auto; }
    .hero-content > div { justify-content: center; }
    
    .split-image { order: -1; }
    
    .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { text-align: center; }
    .footer-text { margin: 0 auto; }
    
    .services-grid { gap: 24px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .page-header { padding: 120px 0 50px; }
    
    .section-title, .page-title { font-size: 2.25rem; margin-bottom: 16px; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 32px; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-content > div { flex-direction: column; gap: 12px; }
    .hero-content .btn { width: 100%; }
    
    .header-container { height: 70px; }
    .logo { font-size: 1.25rem; }
    .logo-icon { width: 28px; height: 28px; font-size: 0.9rem; }
    
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 30px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-links a {
        padding: 18px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.15rem;
        display: block;
        text-align: center;
    }
    .nav-links a::after { display: none; }
    
    .mobile-menu-btn { display: block; font-size: 1.6rem; color: var(--primary); }
    
    .stats-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .stat-item h4 { font-size: 2.5rem; }
    
    .service-card { padding: 32px 24px; }
    .service-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 24px; }
    
    .feature-list { padding: 24px; }
    .feature-list ul { grid-template-columns: 1fr; gap: 16px; }
    
    .contact-info-card { padding: 32px 24px; }
    .contact-info-card::before { display: none; }
    .contact-item { flex-direction: column; text-align: center; align-items: center; gap: 12px; }
    
    .form-card { padding: 32px 24px; }
    form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 0 !important; }
    
    .whatsapp-float {
        bottom: 20px; left: 20px;
        padding: 14px;
        border-radius: 50%;
    }
    .whatsapp-float span { display: none; }
    .whatsapp-float i { font-size: 1.75rem; margin: 0; }
    
    .footer-grid { gap: 40px; margin-bottom: 40px; }
    .footer-bottom .container { flex-direction: column; text-align: center; justify-content: center !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title, .page-title { font-size: 2rem; }
    .hero-shape { width: 120px; height: 120px; bottom: -15px; right: -15px; }
    .container { padding: 0 20px; }
}
