/* style.css */

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
    /* Triadic Color Scheme */
    --primary-color: #D4A373; /* Earthy Brown/Tan */
    --primary-darker: #b0845c; /* Darker shade for hovers */
    --secondary-color: #73D4A3; /* Soft Green */
    --secondary-darker: #5aa882; /* Darker shade for hovers */
    --accent-color: #A373D4;   /* Soft Purple */
    --accent-darker: #825aa8;   /* Darker shade for hovers */

    /* Neutral & Background Colors */
    --light-bg: #FDF8F0;       /* Light Cream */
    --dark-bg: #2c2c2c;        /* Dark background for contrast sections if needed */
    --card-bg: #FFFFFF;
    --footer-bg: #333333;
    --border-color: #e0e0e0;

    /* Text Colors */
    --dark-text: #3A3A3A;      /* For light backgrounds */
    --light-text: #FFFFFF;     /* For dark backgrounds */
    --subtle-text: #757575;    /* For less important text */
    --link-color: var(--primary-color);
    --link-hover-color: var(--primary-darker);

    /* Fonts */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Lato', sans-serif;

    /* Transitions & Shadows */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
    --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);

    /* Header Height (approximate, adjust if navbar changes) */
    --header-height: 70px;
}

/*--------------------------------------------------------------
# Base & Global Styles
--------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    padding-top: 0 !important; 
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #222222; /* Darker for section titles for high contrast */
    margin-top: 0;
    margin-bottom: 1.5rem; /* Increased bottom margin for better spacing */
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 3.5rem; /* Increased margin */
    font-size: 2.5rem; /* Bootstrap .display-* classes might be better for hero */
    color: #222222;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after { /* Subtle underline effect for titles */
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


p {
    margin-bottom: 1rem;
    color: var(--dark-text); /* Ensure good contrast */
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}
a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove bottom space */
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-light { color: var(--light-text) !important; }
.text-dark { color: var(--dark-text) !important; }

.bg-primary-light { background-color: rgba(212, 163, 115, 0.1); } /* Light tint of primary */
.bg-secondary-light { background-color: rgba(115, 212, 163, 0.1); }
.bg-accent-light { background-color: rgba(163, 115, 212, 0.1); }

/*--------------------------------------------------------------
# Layout & Sections
--------------------------------------------------------------*/
section {
    padding: 80px 0; /* Increased padding for more breathing room */
    overflow: hidden; /* For animations and potential overflows */
    position: relative;
}

.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Padding for pages with fixed header if necessary */
.page-content-padding {
    padding-top: calc(var(--header-height) + 30px); /* Adjust based on actual header height */
}
/* Specifically for privacy and terms pages as requested */
body.privacy-page main,
body.terms-page main {
    padding-top: var(--header-height);
}
body.privacy-page .page-title-section,
body.terms-page .page-title-section {
    padding-top: 40px; /* Additional padding for the title section itself */
    padding-bottom: 40px;
}

/*--------------------------------------------------------------
# Header / Navbar
--------------------------------------------------------------*/
.navbar {
    background: rgba(34, 34, 34, 0.85); /* Darker, slightly more opaque glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: background-color var(--transition-speed) var(--transition-ease), padding var(--transition-speed) var(--transition-ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar.scrolled { /* Optional: style for when scrolled */
    background: rgba(20, 20, 20, 0.95);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.75rem;
    padding: 0.5rem 0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-speed) var(--transition-ease);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width var(--transition-speed) var(--transition-ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light-text) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon { /* Custom SVG or Bootstrap's default, ensure it's visible */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(34, 34, 34, 0.98); /* Solid background for mobile menu */
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
    }
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }
    .navbar-nav .nav-link::after {
        display: none; /* Remove underline effect on mobile for cleaner look */
    }
}

/*--------------------------------------------------------------
# Global Button Styles
--------------------------------------------------------------*/
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.8rem; /* Generous padding */
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all var(--transition-speed) var(--transition-ease);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--box-shadow-light);
    text-align: center;
}

.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25); /* Bootstrap focus style or custom */
}

.btn-primary, button.btn-primary, input[type="submit"].btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}
.btn-primary:hover, button.btn-primary:hover, input[type="submit"].btn-primary:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
}

.btn-secondary, button.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text); /* Assuming secondary is dark enough for light text, adjust if not */
}
.btn-secondary:hover, button.btn-secondary:hover {
    background-color: var(--secondary-darker);
    border-color: var(--secondary-darker);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text); /* Adjust if secondary is light */
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
}

.btn-light { /* Example, use Bootstrap's or customize */
    background-color: var(--light-bg);
    border-color: var(--light-bg);
    color: var(--dark-text);
}
.btn-light:hover {
    background-color: #e6e0d5; /* Darker cream */
    border-color: #e6e0d5;
    color: var(--dark-text);
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}
.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

/* Read More Link Style */
.read-more-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 1rem;
    position: relative;
    padding-right: 20px; /* Space for arrow */
}
.read-more-link::after {
    content: '\2192'; /* Right arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right var(--transition-speed) var(--transition-ease);
}
.read-more-link:hover {
    color: var(--accent-darker);
    text-decoration: none;
}
.read-more-link:hover::after {
    right: -5px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.form-control {
    border-radius: 8px; /* Softly rounded corners */
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    font-family: var(--font-body);
    background-color: var(--card-bg); /* Ensure good contrast */
    color: var(--dark-text);
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 163, 115, 0.25); /* Primary color focus ring */
    outline: none;
}
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--light-text); /* Default to white for text on hero */
    padding: 150px 0; /* More padding */
    min-height: 90vh; /* Slightly less than full viewport to show scroll hint */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    text-align: center; /* Center text within the container */
    position: relative;
}
#hero::before { /* Dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)); /* Slightly darker overlay */
    z-index: 1;
}
#hero .container {
    position: relative;
    z-index: 2;
}
#hero h1 {
    font-size: 3.8rem; /* Larger hero title */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text); /* Explicitly white for hero title */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
#hero p.lead {
    font-size: 1.35rem; /* Larger lead paragraph */
    margin-bottom: 2.5rem;
    color: var(--light-text); /* Explicitly white for hero paragraph */
    max-width: 700px; /* Constrain width for readability */
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
#particle-container { /* For JS particle library */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind overlay and content */
}

/* Curved Section Divider (SVG is in HTML) */
.curved-divider {
    position: absolute;
    bottom: -1px; /* Ensure it covers the bottom edge perfectly */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Flips the SVG if it's designed pointing up */
    z-index: 1; /* Above hero bg, below next section content */
}
.curved-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px); /* Ensure full width coverage */
    height: 80px; /* Adjust height of curve */
}
.curved-divider .shape-fill {
    fill: var(--light-bg); /* Color of the next section's background */
}
.section-curved-top-padding { /* Use on section AFTER a curved divider */
    padding-top: 120px; /* Make space for the curve from section above */
}

/*--------------------------------------------------------------
# Cards (Portfolio, Team, Random Links, etc.)
--------------------------------------------------------------*/
.card {
    border: none; /* Minimalist: remove default border */
    border-radius: 12px; /* Softer radius */
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    background-color: var(--card-bg);
    height: 100%; /* For equal height cards in Bootstrap row */
    display: flex;
    flex-direction: column;
    /* align-items: center; This centers the .card-image and .card-content blocks IF they are narrower than the card. Usually they are 100% width. */
    text-align: center; /* Centers text within card-content */
}
.card:hover {
    transform: translateY(-8px); /* More pronounced hover effect */
    box-shadow: var(--box-shadow-medium);
}

.card-image { /* This is the container for the image */
    width: 100%;
    height: 220px; /* Fixed height for consistency, adjust as needed */
    overflow: hidden;
    /* margin-bottom: 1rem; Removed, padding in card-content is enough */
    /* display: flex; justify-content: center; align-items: center; Not needed if img is 100%x100% object-fit */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crucial for consistent image display */
    transition: transform var(--transition-speed) var(--transition-ease);
}
.card:hover .card-image img {
    transform: scale(1.08); /* Subtle zoom on image hover */
}

.card-content, .card-body { /* .card-content as per prompt, .card-body for Bootstrap compatibility */
    padding: 1.8rem; /* More padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to fill space, useful for buttons at bottom */
    justify-content: space-between; /* Pushes button to bottom if used */
}
.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.card p, .card .card-text {
    color: var(--subtle-text); /* Softer color for card text */
    font-size: 0.95rem;
    flex-grow: 1; /* Allows text to take available space */
    margin-bottom: 1rem;
}
.card .btn {
    margin-top: auto; /* Pushes button to bottom of card-content if it's a flex column */
    align-self: center; /* Center button if card-content is flex column */
}

/* Portfolio Section - Carousel */
#portfolio .carousel-inner {
    border-radius: 12px;
    box-shadow: var(--box-shadow-medium);
}
#portfolio .carousel-item img {
    object-fit: cover;
    /* height: 500px; Set specific height for carousel images if needed */
}
#portfolio .carousel-caption {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)); /* Ensure readability */
    border-radius: 0 0 10px 10px; /* Match image radius */
    padding: 1.5rem;
}
#portfolio .carousel-caption h5 {
    color: var(--light-text);
    font-size: 1.5rem;
}
#portfolio .carousel-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}
#portfolio .carousel-indicators button {
    background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Community Section
--------------------------------------------------------------*/
#community {
    /* Parallax is applied via HTML style + JS/CSS background-attachment: fixed */
    position: relative; /* For overlay */
}
#community::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); /* Dark overlay for text readability */
    z-index: 1;
}
#community .container {
    position: relative;
    z-index: 2;
}
#community .section-title, #community h4, #community p {
    color: var(--light-text);
}
#community .section-title::after {
    background: var(--secondary-color); /* Different color for variety */
}
#community img { /* For icons like forum-icon.png */
    filter: brightness(0) invert(1); /* Makes black icons white */
    opacity: 0.8;
    margin-bottom: 1rem;
}


/*--------------------------------------------------------------
# Random Links Section
--------------------------------------------------------------*/
#random-links .card {
    background-color: #f9f9f9; /* Slightly different bg for these cards */
}
#random-links .card-title a {
    color: var(--primary-color);
    text-decoration: none;
}
#random-links .card-title a:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------------
# FAQ Section - Accordion
--------------------------------------------------------------*/
#faq .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden; /* For rounded corners */
}
#faq .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color); /* Separator */
}
#faq .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
    box-shadow: none; /* Remove Bootstrap's default focus shadow */
}
#faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 163, 115, 0.25);
}
#faq .accordion-body {
    padding: 1.5rem;
    background-color: var(--card-bg);
    font-size: 0.95rem;
    color: var(--subtle-text);
}

/*--------------------------------------------------------------
# Careers & Team Section
--------------------------------------------------------------*/
#careers { background-color: var(--light-bg); } /* Ensure it uses the main light bg */
#careers ul { padding-left: 1.5rem; }
#careers ul li { margin-bottom: 0.5rem; }
#careers .bi-check-circle-fill { color: var(--secondary-color); } /* Green checkmark */

#team .card-image img {
    border-radius: 50%; /* For profile pictures */
    width: 150px;   /* Fixed size for profile pics */
    height: 150px;
    object-fit: cover;
    margin: 1.5rem auto 1rem auto; /* Spacing for profile pic */
    border: 4px solid var(--card-bg); /* Inner border to lift from card */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
#team .card-content p.text-muted { /* Role/Title */
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Contact Section (Index Page Link & Contact Page Form)
--------------------------------------------------------------*/
#contact-section-link {
    background-color: var(--primary-color);
    padding: 60px 0;
}
#contact-section-link .section-title,
#contact-section-link p.lead {
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
#contact-section-link .section-title::after {
    background-color: var(--light-text);
}

#contact-section { /* Full contact page section */
    background-color: var(--light-bg); /* Slightly off-white if main bg is pure white */
}
.contact-form {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-medium);
}
.social-links-contactpage a {
    color: var(--dark-text);
    margin-right: 1rem;
    font-size: 1.1rem;
}
.social-links-contactpage a:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Page Title Sections (About, Contact, Legal pages)
--------------------------------------------------------------*/
.page-title-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.page-title-section::before { /* Overlay for readability */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
    z-index: 1;
}
.page-title-section .container {
    position: relative;
    z-index: 2;
}
.page-title-section h1, .page-title-section p.lead {
    color: var(--light-text);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-title-section.bg-color-title { /* For legal pages with solid color bg */
    padding: 60px 0;
}
.page-title-section.bg-color-title::before {
    display: none; /* No overlay if solid color */
}
.page-title-section.bg-color-title h1,
.page-title-section.bg-color-title p.lead {
    color: var(--dark-text); /* Adjust if bg color is dark */
    text-shadow: none;
}
.page-title-section.bg-color-title h1 { color: var(--light-text); } /* If bg is accent or secondary that are darkish */
.page-title-section.bg-color-title p.lead { color: rgba(255,255,255,0.9); }


/* Legal Text Pages (Privacy, Terms) */
.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.6rem;
}
.legal-text p, .legal-text ul {
    color: var(--dark-text); /* Ensure readability */
    line-height: 1.8;
}
.legal-text ul {
    list-style-position: outside;
    padding-left: 1.5rem;
}
.legal-text ul li {
    margin-bottom: 0.5rem;
}


/*--------------------------------------------------------------
# Success Page (success.html)
--------------------------------------------------------------*/
body.success-page main { /* Apply to body of success.html for 100vh */
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height) - var(--footer-height, 200px)); /* Adjust footer height */
}
.success-animation-container { /* Use this class on the section in success.html */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.checkmark { width: 100px; height: 100px; border-radius: 50%; display: block; stroke-width: 3; stroke: #fff; stroke-miterlimit: 10; margin: 2rem auto; box-shadow: inset 0px 0px 0px var(--secondary-color); animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
.checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: var(--secondary-color); fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.checkmark__check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; }
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 60px var(--secondary-color); } }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background-color: var(--footer-bg);
    color: rgba(255,255,255,0.7); /* Lighter text for footer */
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}
footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}
footer p {
    color: rgba(255,255,255,0.6);
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}
footer a:hover {
    color: var(--primary-color);
    text-decoration: none; /* Usually no underline for footer links unless specific */
}
footer ul {
    list-style: none;
    padding-left: 0;
}
footer ul li {
    margin-bottom: 0.8rem;
}
footer .social-links a {
    display: inline-block;
    margin-right: 15px; /* Space between text links */
    font-size: 0.95rem;
    padding: 5px 0; /* Vertical padding to increase clickable area slightly */
}
footer .social-links a:last-child {
    margin-right: 0;
}

footer .form-control-sm {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--light-text);
    border-radius: 30px;
}
footer .form-control-sm::placeholder {
    color: rgba(255,255,255,0.5);
}
footer .btn-sm.btn-primary { /* Newsletter subscribe button */
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}
footer .btn-sm.btn-primary:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/*--------------------------------------------------------------
# Scroll Animations & Parallax
--------------------------------------------------------------*/
/* ScrollReveal classes are handled by JS, this is for initial state */
.reveal, .reveal-left, .reveal-right, .reveal-top, .reveal-bottom {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Easing with a bit of bounce */
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
/* Add more specific reveals if needed by ScrollReveal config */

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Note: True parallax often requires JS for more complex effects on elements within a section */

/*--------------------------------------------------------------
# Cookie Consent Popup
--------------------------------------------------------------*/
#cookiePopup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95); /* Dark, slightly transparent */
    color: rgba(255,255,255,0.9);
    padding: 25px 20px; /* More padding */
    text-align: center;
    z-index: 9999;
    display: none; /* Hidden by default, shown by JS */
    font-size: 0.9rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
}
#cookiePopup p {
    margin: 0 0 15px 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}
#cookiePopup a { /* Link within cookie popup */
    color: var(--primary-color);
    text-decoration: underline;
}
#cookiePopup a:hover {
    color: var(--primary-darker);
}
#cookieAcceptButton { /* Uses global button styles but can be overridden */
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px; /* Specific padding */
    cursor: pointer;
    border-radius: 30px; /* Pill shape */
    font-weight: 600;
    margin-left: 15px;
}
#cookieAcceptButton:hover {
    background-color: var(--primary-darker);
    transform: translateY(-1px);
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
    /* XL */
}

@media (max-width: 991.98px) {
    /* LG */
    h1 { font-size: 2.5rem; }
    h2, .section-title { font-size: 2rem; }
    #hero h1 { font-size: 3rem; }
    #hero p.lead { font-size: 1.2rem; }
    section { padding: 60px 0; }
    .section-curved-top-padding { padding-top: 100px; }
}

@media (max-width: 767.98px) {
    /* MD */
    h1 { font-size: 2.2rem; }
    h2, .section-title { font-size: 1.8rem; }
    #hero { padding: 100px 0; min-height: 70vh; }
    #hero h1 { font-size: 2.5rem; }
    #hero p.lead { font-size: 1.1rem; }
    section { padding: 50px 0; }
    .section-curved-top-padding { padding-top: 90px; }
    .curved-divider svg { height: 60px; }

    .btn, button, input[type="submit"], input[type="button"] {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
    }
    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    .card-content, .card-body { padding: 1.5rem; }
    .card-image { height: 180px; }

    footer .social-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    footer .social-links a {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 575.98px) {
    /* SM */
    h1 { font-size: 2rem; }
    h2, .section-title { font-size: 1.6rem; }
    #hero h1 { font-size: 2rem; }
    #hero p.lead { font-size: 1rem; }
    section { padding: 40px 0; }
    .section-curved-top-padding { padding-top: 80px; }
    .curved-divider svg { height: 50px; }
    .contact-form { padding: 1.5rem; }
    #cookiePopup { padding: 20px 15px; font-size: 0.85rem;}
    #cookiePopup p { margin-bottom: 10px;}
    #cookieAcceptButton { margin-left: 0; margin-top: 10px; display: block; width: 100%;}
}
*{
    opacity: 1 !important;
}