/* 
   Palette: Pastel Plum & Soft Pink (Version 5)
   Colors: Deep Plum (#4A0E4E), Soft Pink (#FFB6C1), Lavender (#E6E6FA), Warm Gold (#FFD700), Off-White (#FDFBF7), Dark Grey (#2C2C2C)
   NO BLUE, NO GREEN.
*/

:root {
    --primary: #4A0E4E;
    --secondary: #FFB6C1;
    --accent: #FFD700;
    --bg-light: #E6E6FA;
    --bg-white: #FDFBF7;
    --text-dark: #2C2C2C;
    --text-light: #FFFFFF;
    --border-color: rgba(74, 14, 78, 0.1);
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* Typography */
.main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.text-block {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--accent);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary);
    color: var(--text-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-light);
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--primary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* V5 Unique Hero: Vertical Composition */
.hero-vertical {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-light);
}

.hero-image-wrapper {
    width: 100%;
    height: 50vh;
    min-height: 400px;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-overlap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.overlap-card {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(74, 14, 78, 0.1);
    max-width: 900px;
    text-align: center;
    border-top: 5px solid var(--secondary);
}

.accent-tag {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .overlap-card { padding: 30px 20px; }
    .hero-content-overlap { margin-top: -50px; }
}

/* V5 Unique: Horizontal Scroll Gallery */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-light);
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px;
}

.scroll-card {
    flex: 0 0 300px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-title {
    color: var(--primary);
    margin-bottom: 10px;
}

/* V5 Unique: Split Overlap Section */
.split-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
    .split-image-box {
        flex: 1;
        position: relative;
    }
    .split-text-box {
        flex: 1;
        padding: 40px;
        background-color: var(--bg-light);
        border-radius: 20px;
        margin-left: -50px;
        z-index: 2;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.05);
    }
}

.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    min-height: 400px;
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(74, 14, 78, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* V5 Unique: Masonry Testimonials */
.masonry-grid {
    column-count: 1;
    column-gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .masonry-grid { column-count: 2; }
}

.masonry-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.highlight-item {
    background-color: var(--primary);
    color: var(--text-light);
    border-left: 4px solid var(--accent);
}

.quote-text {
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background-color: var(--bg-light);
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

/* V5 Unique: Pure CSS Tabs */
.css-tabs-container {
    max-width: 900px;
    margin: 40px auto 0;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tab-input {
    display: none;
}

.tab-labels {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary);
}

.tab-label {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    color: var(--text-light);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    min-width: 150px;
}

.tab-label:hover {
    background-color: rgba(255,255,255,0.1);
}

.tab-content-area {
    padding: 40px;
    position: relative;
    min-height: 300px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.panel-title {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.panel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"] {
    background-color: var(--secondary);
    color: var(--primary);
}

#tab1:checked ~ .tab-content-area #panel1,
#tab2:checked ~ .tab-content-area #panel2,
#tab3:checked ~ .tab-content-area #panel3,
#tab4:checked ~ .tab-content-area #panel4 {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA Sidebar Layout */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-grid { grid-template-columns: 2fr 1fr; }
}

.cta-info {
    padding: 50px;
}

.cta-action-box {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-title {
    color: var(--accent);
    margin-bottom: 15px;
}

.cta-action-box p {
    margin-bottom: 20px;
}

/* V5 Unique: Vertical Storytelling */
.story-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

@media (min-width: 768px) {
    .story-row {
        flex-direction: row;
    }
    .story-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    .story-content, .story-image {
        flex: 1;
    }
}

.story-year {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
}

.story-title {
    color: var(--primary);
    margin-bottom: 20px;
}

.rounded-img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.vision-box {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Asymmetric Grid */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .large-card {
        grid-column: span 2;
        grid-row: span 2;
    }
    .wide-card {
        grid-column: span 3;
    }
}

.value-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    display: inline-block;
}

/* V5 Unique: Sidebar Contact Layout */
.sidebar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .sidebar-grid {
        grid-template-columns: 300px 1fr;
    }
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.sidebar-widget.bg-light {
    border: none;
}

.sidebar-widget h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details-list {
    list-style: none;
}

.contact-details-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.contact-details-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-q {
    color: var(--primary);
    margin-top: 15px;
}

.faq-a {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Form */
.form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    background-color: var(--bg-white);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 14, 78, 0.1);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.last-updated {
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 30px;
    background: var(--bg-light);
    border-radius: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.next-steps {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 10px;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer (Strict Template & Protection) */
.site-footer {
    background-color: #2C2C2C !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF !important;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-desc {
    color: #CCCCCC !important;
}

.footer-heading {
    color: #FFB6C1 !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #FFFFFF !important;
}

.site-footer a:hover {
    color: #FFB6C1 !important;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #CCCCCC !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999999 !important;
    font-size: 0.9rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 0.9rem;
}

#cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.cookie-btn-accept {
    background-color: var(--accent);
    color: var(--primary);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}