@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #34495E;
  --secondary-color: #9B59B6;
  --accent-color: #8E44AD;
  --light-color: #F2F2F2;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #9B59B6 0%, #34495E 100%);
  --hover-color: #7D3C98;
  --background-color: #FFFFFF;
  --text-color: #4B5563;
  --border-color: rgba(155, 89, 182, 0.2);
  --divider-color: rgba(52, 73, 94, 0.1);
  --shadow-color: rgba(155, 89, 182, 0.15);
  --highlight-color: #F1C40F;
  --main-font: 'Lora', serif;
  --alt-font: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--alt-font);
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    color: var(--primary-color);
}

.text-white { color: #ffffff !important; }

/* Layout Helpers */
.container { width: 90%; max-width: 1140px; margin: 0 auto; }
.pad-section { padding-top: 10dvh; padding-bottom: 10dvh; }
.bg-alt { background-color: var(--light-color); }
.faq-bg { background-color: var(--dark-color); }

/* Neo-morphism Design */
.neo-card {
    background: var(--background-color);
    border-radius: 20px;
    box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px #ffffff;
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: transform 0.3s;
}
.neo-card:hover { transform: translateY(-5px); }

.custom-input {
    background: var(--light-color);
    border: none;
    border-radius: 10px;
    box-shadow: inset 5px 5px 10px rgba(0,0,0,0.05), inset -5px -5px 10px #ffffff;
    padding: 16px;
    font-family: var(--alt-font);
    color: var(--text-color);
}
.custom-input:focus {
    outline: none;
    box-shadow: inset 7px 7px 14px rgba(0,0,0,0.08), inset -7px -7px 14px #ffffff;
}

/* Header & Nav */
.main-header {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 999;
}
.toggle-checkbox { display: none; }
.hamburger { display: none; font-size: 30px; cursor: pointer; color: #fff; }
.nav-items { display: flex; list-style: none; gap: 25px; }
.nav-items a { color: #fff; text-decoration: none; font-weight: bold; transition: color 0.3s; }
.hover-fx:hover { color: var(--highlight-color); }

/* Buttons */
.btn-action, .btn-highlight {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--main-font);
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.btn-action { background: var(--gradient-primary); color: #fff; }
.btn-action:hover { background: var(--hover-color); box-shadow: 0 5px 15px var(--shadow-color); }
.btn-highlight { background-color: var(--highlight-color); color: var(--primary-color); }
.btn-highlight:hover { background-color: #d4ac0d; }

/* Hero Block */
.hero-block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('./img/bg.jpg') center/cover;
    margin-top: 85px; /* Offset for fixed header */
}
.overlay-dark { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(44, 62, 80, 0.7); z-index: 1; }
.hero-inner { position: relative; z-index: 2; color: #fff; }
.hero-inner h1 { color: #fff; }

/* Flex Sections */
.flex-row, .flex-row-rev { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.w-40 { width: calc(40% - 20px); }
.w-50 { width: calc(50% - 20px); }
.w-60 { width: calc(60% - 20px); }
.styled-img { border-radius: 20px; box-shadow: 15px 15px 30px var(--shadow-color); width: 100%; display: block; }

/* Section Break */
.section-break { display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.line-break { height: 2px; background: var(--secondary-color); opacity: 0.3; flex: 1; max-width: 25%; }
.text-break { padding: 0 25px; font-family: var(--main-font); color: var(--secondary-color); font-weight: bold; }

/* Parallax CTA */
.parallax-cta { position: relative; padding: 12dvh 0; background-attachment: fixed; background-size: cover; color: #fff; }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; }

/* Grids */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }
.card-icon { font-size: 45px; color: var(--secondary-color); margin-bottom: 20px; }

.grid-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

.faq-container { max-width: 750px; margin: 0 auto; }
.faq-card { background: var(--background-color); }

/* Contact */
.form-box { background: var(--light-color); }
.info-line { display: flex; align-items: center; gap: 15px; font-size: 18px; }
.info-line i { color: var(--secondary-color); font-size: 24px; }

/* Footer */
.main-footer { background: var(--dark-color); color: #fff; padding: 50px 0 20px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links ul { display: flex; list-style: none; gap: 20px; }
.footer-links a { color: #fff; text-decoration: none; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .top-nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--primary-color); padding: 20px 0; text-align: center;
    }
    .toggle-checkbox:checked ~ .top-nav { display: block; }
    .nav-items { flex-direction: column; gap: 15px; }
    
    .w-40, .w-50, .w-60 { width: 100%; }
    .flex-row-rev { flex-direction: column-reverse; }
    .footer-flex { flex-direction: column; gap: 25px; text-align: center; }
    .footer-links ul { flex-direction: column; }
    .hero-block { margin-top: 75px; }
}