/* 
    KRV Management - Design System
    Brand Color: #fc037b (Pink)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #fc037b;
    --primary-hover: #d10266;
    --secondary-color: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1 {
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 800; /* Extra Bold */
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

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

ul {
    list-style: none;
}

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

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-padding {
    padding: clamp(50px, 8vw, 100px) 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 3, 123, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), #ff4d94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Ensure visibility on primary color backgrounds */
.page-header .text-gradient,
.slide .text-gradient {
    background: linear-gradient(45deg, #ffffff, #ffd1e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creative-title {
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* --- Header --- */
header {
    position: absolute;
    top: 40px; /* Sits below the 40px offer banner */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.sticky {
    position: fixed;
    top: 0;
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo span {
    color: var(--white);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--white);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

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

.page-header {
    background-color: var(--primary-color);
    padding: 150px 0 100px;
    color: white;
    text-align: center;
}

/* --- Hero Slider --- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    overflow: hidden; /* For floating icons */
}

/* --- Floating Background Icons --- */
.bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: clamp(2rem, 10vw, 8rem);
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.bg-icons i:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.bg-icons i:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; }
.bg-icons i:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 4s; }
.bg-icons i:nth-child(4) { bottom: 10%; right: 5%; animation-delay: 6s; }
.bg-icons i:nth-child(5) { top: 50%; left: 80%; animation-delay: 1s; font-size: 12rem; }
.bg-icons i:nth-child(6) { top: 40%; left: 40%; animation-delay: 3s; opacity: 0.05; }

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* --- Floating Elements --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* --- Why Choose Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.feature-item i {
    color: #25d366;
    font-size: 1.2rem;
}

/* --- Process --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

/* --- Form --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background: #111;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* --- Offer Banner --- */
.offer-banner {
    background: #fff;
    color: var(--primary-color);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 700;
    height: 40px;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* --- Testimonials --- */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Pricing Table --- */
.table-container {
    overflow-x: auto;
    margin-top: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th, .pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* --- Service Cards V2 --- */
.service-card-v2 {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.card-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

/* --- Auth & Dashboard --- */
.auth-container {
    max-width: 900px;
    margin: 120px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 100px;
}

.dash-sidebar {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.dash-link {
    display: block;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.dash-link.active {
    background: var(--primary-color);
    color: white;
}

/* --- Checkout --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.order-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.payment-method {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(252, 3, 123, 0.05);
}

/* --- Additional Styles --- */
.feature-list {
    list-style: none;
    margin-top: 15px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-list i {
    color: #25d366;
}

.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .auth-container, .checkout-grid, .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 120px; /* Banner (40) + Header padding/height (80) */
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: 0.5s;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-menu .nav-link {
        color: var(--text-dark);
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .nav-menu.active {
        left: 0;
    }
    header.sticky .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    .mobile-menu-btn {
        display: block;
    }
    .process-steps {
        flex-direction: column;
    }
    .hero {
        height: 70vh;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .service-card-v2 {
        padding: 20px;
    }
    .card-btns {
        grid-template-columns: 1fr;
    }
}
