/* IMPORT PROFESSIONAL FONTS */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --primary: #0f172a;      /* Deep Navy */
    --accent: #f59e0b;       /* Amber */
    --bg-light: #f8fafc;     /* Light Gray */
    --text-dark: #334155;    /* Dark Slate */
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* GLOBAL RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden; /* Prevents horizontal scroll during animation */
}

/* LAYOUT UTILITIES */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-bg { background-color: var(--white); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { color: var(--primary); font-weight: 800; line-height: 1.2; }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; text-align: center; }
p { margin-bottom: 1rem; color: var(--text-dark); }

/* NAVIGATION */
nav {
    background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0; position: fixed; top: 0; width: 100%; z-index: 1000;
    height: 80px; display: flex; align-items: center;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.logo img { height: 45px; width: 45px; border-radius: 8px; object-fit: cover; }
.logo span { font-size: 1.25rem; font-weight: 800; color: var(--primary); text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; text-align: center; }
.btn-primary { background-color: var(--primary); color: var(--white); box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2); }
.btn-primary:hover { background-color: #1e293b; transform: translateY(-2px); }
.btn-accent { background-color: var(--accent); color: var(--primary); box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2); }
.btn-accent:hover { background-color: #d97706; transform: translateY(-2px); }

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7)), url('images/hero.jpg');
    background-size: cover; background-position: center; color: var(--white); padding: 100px 0; text-align: center;
}
.hero h1 { color: var(--white); }
.hero p { color: #cbd5e1; font-size: 1.25rem; max-width: 600px; margin: 0 auto 30px auto; }

/* CARDS */
.grid-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.card {
    background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-image { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 32px; flex-grow: 1; display: flex; flex-direction: column; }
.price-badge { background-color: #dbeafe; color: var(--primary); font-weight: 700; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; width: fit-content; margin-bottom: 12px; }

.mini-card { text-align: center; padding: 32px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid #e2e8f0; }
.mini-card img { width: 64px; height: 64px; margin-bottom: 16px; object-fit: contain; }

.step-card { display: flex; gap: 24px; background: var(--white); padding: 24px; border-radius: 12px; margin-bottom: 24px; border: 1px solid #e2e8f0; box-shadow: var(--shadow-md); align-items: flex-start; }
.step-number { background: var(--primary); color: var(--white); font-size: 1.5rem; font-weight: 800; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* SLIDER */
.slider-container { position: relative; overflow: hidden; border-radius: 16px; margin: 40px 0; box-shadow: var(--shadow-lg); height: 400px; }
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; height: 100%; }
.slider-item { min-width: 100%; height: 100%; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; }
.slider-nav { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--white); }

/* FOOTER */
footer { background-color: var(--primary); color: #94a3b8; padding: 60px 0 20px 0; margin-top: 60px; }
footer h3 { color: var(--white); margin-bottom: 20px; }
footer a { color: var(--white); text-decoration: none; opacity: 0.8; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.copyright { text-align: center; border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.9rem; }

/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.8); backdrop-filter: blur(4px); }
.modal-content { background-color: var(--white); margin: 5vh auto; padding: 40px; width: 90%; max-width: 500px; border-radius: 16px; position: relative; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; right: 24px; top: 24px; font-size: 24px; cursor: pointer; color: #94a3b8; }
input { width: 100%; padding: 12px 16px; margin: 8px 0 20px 0; display: block; border: 1px solid #cbd5e1; border-radius: 8px; }

/* RESPONSIVE */
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    h1 { font-size: 2.25rem; }
}

/* =========================================
   SCROLL REVEAL ANIMATION STYLES
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(60px); /* Move item down by 60px initially */
    transition: all 1s ease-out; /* Slow 1-second swipe up */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}