/* Reset & Base Styles */
:root {
    --primary-color: #4a148c;
    /* Deep Purple */
    --secondary-color: #d4af37;
    /* Gold */
    --bg-color: #f9f5f0;
    /* Warm Off-white */
    --text-color: #333333;
    --light-text: #ffffff;
    --card-bg: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

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

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--primary-color);
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--light-text) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(74, 20, 140, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* About Section */
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* History Section */
.history {
    background-color: #f4eef7;
    /* Very light purple tint */
}

.curiosities-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.curiosities-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.curiosities-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.curiosities-box ul li::before {
    content: '✦';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Benefits Section */
.benefits {
    background-color: #fff;
}

.benefits h2 {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

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

/* Methodology Section */
.methodology-list {
    margin-top: 20px;
}

.methodology-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.methodology-list li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.alert-box {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

/* Cases Section */
.cases {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cases h2 {
    color: var(--secondary-color);
}

.cases-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.case-study {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    backdrop-filter: blur(5px);
}

.case-study blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.case-study cite {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--secondary-color);
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    padding-bottom: 20px;
}

/* CTA Section */
.cta {
    background-image: linear-gradient(to right, #f9f5f0, #eaddcf);
    padding: 100px 0;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px;
}

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

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    display: block;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-links h3,
.footer-social h3 {
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

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

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

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

/* Animations */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    /* just opacity */
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation needed if required, keeping simple for now */
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
    }
}