/* style.css */

/* --- CSS Variables --- */
:root {
    /* Tetradic Color Scheme - Based on provided HTML palette */
    --primary-color: #003366;       /* Dark Navy Blue - Main, serious tone */
    --primary-color-darker: #002244;  /* Darker shade of primary */
    --secondary-color: #006699;     /* Medium Blue - Supporting, links */
    --secondary-color-lighter: #3385ad; /* Lighter shade of secondary */

    --accent-color-1: #FFC107;      /* Amber - Primary CTA, highlights */
    --accent-color-1-darker: #e0a800; /* Darker Amber for hover */
    --accent-color-2: #4CAF50;      /* Green - Positive actions, secondary accent */
    --accent-color-2-darker: #3e8e41; /* Darker Green for hover */

    --creative-accent-1: #FF6B6B;   /* Coral Red - Creative, vibrant accent */
    --creative-accent-1-darker: #E05252; /* Darker Coral Red for hover */
    --creative-accent-2: #FFD166;   /* Sunglow Yellow - Bright, supporting accent */

    /* Text & Background Colors */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-darker: #222222;         /* For main headings */
    --text-muted: #6c757d;

    --background-light: #F8F9FA;    /* Light grey for section differentiation */
    --background-white: #FFFFFF;
    --background-gradient-subtle: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(233, 236, 239, 0.5));

    /* Footer */
    --footer-bg: #2A3E50;           /* Dark Slate Blue */
    --footer-text: rgba(255, 255, 255, 0.8);
    --footer-link-hover: var(--accent-color-1);

    /* Typography */
    --font-heading: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Rubik', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* UI Elements */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;      /* Main border radius */
    --border-radius-lg: 0.75rem;
    --box-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --box-shadow-lifted: 0 12px 35px rgba(0, 51, 102, 0.15); /* For 3D hover */

    /* Transitions */
    --transition-fast: all 0.2s ease-out;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Typography --- */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.7;
    font-size: clamp(1rem, 0.9rem + 0.25vw, 1.125rem); /* Adaptive base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* Manrope bold */
    color: var(--text-darker);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem; /* Consistent bottom margin */
}

h1 { font-size: clamp(2.3rem, 1.8rem + 2.5vw, 3.8rem); text-shadow: 1px 1px 2px rgba(0,0,0,0.05); }
h2.section-title {
    font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
    color: var(--primary-color);
    margin-bottom: 2.5rem !important; /* Bootstrap override */
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}
h2.section-title::after { /* Subtle underline effect */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color-1);
    border-radius: var(--border-radius-sm);
}

h3 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
h4 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
h5 { font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); }

p {
    margin-bottom: 1.25rem;
    font-size: clamp(0.95rem, 0.85rem + 0.2vw, 1.1rem);
}
p.lead {
    font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem);
    font-weight: 400; /* Rubik regular */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.manrope-bold { font-family: var(--font-heading); font-weight: 800; }
.rubik-regular { font-family: var(--font-body); font-weight: 400; }
.rubik-medium { font-family: var(--font-body); font-weight: 500; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent-1 { color: var(--accent-color-1) !important; }
.text-accent-2 { color: var(--accent-color-2) !important; }
.text-creative-1 { color: var(--creative-accent-1) !important; }

.section-bg-light {
    background-color: var(--background-light);
    /* background-image: var(--background-gradient-subtle); */
}

/* --- Global Button Styles --- */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-md);
    border-width: 2px;
    border-style: solid;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-soft);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1rem);
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--box-shadow-medium);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--box-shadow-soft);
}

.btn-primary { /* Overriding Bootstrap */
    background-color: var(--accent-color-1);
    border-color: var(--accent-color-1);
    color: var(--text-dark); /* Good contrast on Amber */
}
.btn-primary:hover {
    background-color: var(--accent-color-1-darker);
    border-color: var(--accent-color-1-darker);
    color: var(--text-dark);
}

.btn-secondary { /* Overriding Bootstrap */
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--primary-color); /* Darker blue on hover */
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-success { /* Overriding Bootstrap */
    background-color: var(--accent-color-2);
    border-color: var(--accent-color-2);
    color: var(--text-light);
}
.btn-success:hover {
    background-color: var(--accent-color-2-darker);
    border-color: var(--accent-color-2-darker);
    color: var(--text-light);
}

.btn-outline-primary { /* Overriding Bootstrap */
    color: var(--accent-color-1);
    border-color: var(--accent-color-1);
}
.btn-outline-primary:hover {
    background-color: var(--accent-color-1);
    color: var(--text-dark);
}

/* "Read More" Link Style */
.read-more-link {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.3em 0;
    position: relative;
    transition: var(--transition-fast);
}
.read-more-link::after {
    content: '→';
    margin-left: 0.5em;
    transition: var(--transition-fast);
}
.read-more-link:hover {
    color: var(--primary-color);
    text-decoration: none; /* Remove underline from general 'a:hover' */
}
.read-more-link:hover::after {
    transform: translateX(4px);
}

/* --- Header / Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.85); /* Glassmorphism base */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
    color: var(--primary-color) !important;
}
.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-darker) !important;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
}
.navbar .nav-link::before { /* Underline effect for hover/active */
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width 0.3s ease-in-out;
    border-radius: 1px;
}
.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    width: 60%;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color) !important;
    background-color: transparent; /* Remove BG color if any was there */
}
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}
.navbar-toggler-icon { /* Custom SVG or improved default */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 51, 102, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 0.5rem;
        border-radius: var(--border-radius-md);
        box-shadow: var(--box-shadow-medium);
        padding: 1rem;
    }
    .navbar .nav-link {
        margin-left: 0;
        margin-right: 0;
        padding: 0.8rem 1rem !important;
        display: block;
        text-align: center;
    }
    .navbar .nav-link::before { bottom: 8px; }
}

/* --- Hero Section --- */
.hero-section {
    /* min-height removed as per instruction - height comes from content or specific padding */
    padding: 8vh 0; /* Use vh for responsive padding */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    position: relative; /* For overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Overlay is already in HTML style: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)) */
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px; /* Control content width */
}
.hero-title { /* Already in HTML */
    font-size: clamp(2.8rem, 2rem + 3.5vw, 4.8rem); /* Larger adaptive title */
    color: var(--text-light) !important;
    text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
}
.hero-section .lead {
    font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.6rem);
    color: var(--text-light) !important;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}
.hero-section .cta-button { /* Already in HTML, uses .btn-primary */
    padding: 1rem 2.8rem;
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem);
    background-color: var(--creative-accent-1);
    border-color: var(--creative-accent-1);
    color: var(--text-light);
}
.hero-section .cta-button:hover {
    background-color: var(--creative-accent-1-darker);
    border-color: var(--creative-accent-1-darker);
}

/* --- Card Styles (Global) --- */
.card {
    border: none;
    border-radius: var(--border-radius-lg); /* Slightly larger radius for creative feel */
    box-shadow: var(--box-shadow-medium);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    background-color: var(--background-white);
    /* STRICT: Centering content and flex properties */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers flex items (like card-image and card-content) if they are not full width */
    text-align: center; /* Centers inline/text content within flex items */
    height: 100%; /* For consistent height in rows, if using Bootstrap .row > .col > .card */
}
.card:hover {
    transform: translateY(-8px) perspective(1200px) rotateX(3deg) rotateY(-2deg) scale(1.02);
    box-shadow: var(--box-shadow-lifted);
}
/* Card Image Container */
.card-image {
    width: 100%; /* Ensure it spans the card width */
    /* Fixed height will be set by specific card types or inline style from HTML */
    overflow: hidden;
    position: relative; /* For potential overlays or 3D effects on image */
    /* margin: 0 auto; Removed as align-items: center on .card handles this for block elements */
}
.card-image img {
    width: 100%;
    height: 100%; /* Fill the .card-image container */
    object-fit: cover; /* STRICT */
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}
/* Card Content Area */
.card-content, .card-body { /* .card-content as per requirement, .card-body for Bootstrap compatibility */
    padding: 1.8rem 1.5rem;
    width: 100%; /* Ensure content area spans card width */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to take up remaining space, useful for footer buttons */
    justify-content: space-between; /* If there's a button at the bottom */
}
.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: clamp(1.2rem, 1rem + 0.5vw, 1.6rem);
}
.card-text {
    font-size: clamp(0.9rem, 0.85rem + 0.15vw, 1rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allow text to take available space before buttons */
}
.card .btn, .card button { /* Ensure buttons in cards also get hover effects */
    margin-top: auto; /* Pushes button to bottom if card-content is flex column */
}

/* Specific Card Heights for Image Containers */
.portfolio-card .card-image,
.event-card .card-image {
    height: 250px;
}
.webinar-card .card-image {
    height: 300px; /* As per HTML, ensure consistency */
}
.team-card .card-image {
    width: 150px; /* As per HTML */
    height: 150px; /* As per HTML */
    border-radius: 50%; /* For circular team member photos */
    margin-top: 1.5rem; /* Space from card top */
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 51, 102, 0.2);
}
.team-card .card-image img {
    border-radius: 50%;
}

/* --- Section Specific Styles --- */
/* History Section */
#history .stat-widget {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}
#history .stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}
#history .stat-number {
    font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3.5rem);
    color: var(--accent-color-2);
    font-weight: 800;
    margin-bottom: 0.25rem;
}
#history .animated-icon { /* For 📊 👥 💼 */
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: inline-block; /* To allow transform */
    transition: transform 0.3s ease;
}
#history .stat-widget:hover .animated-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Pricing Section */
.pricing-card {
    border: 1px solid #e0e0e0;
}
.pricing-card .card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.2rem;
    border-bottom: none; /* Clean look */
}
.pricing-card.featured-plan {
    border: 3px solid var(--accent-color-1); /* Make featured plan stand out more */
    transform: scale(1.03);
    z-index: 1; /* Bring to front */
}
.pricing-card.featured-plan .card-header {
    background-color: var(--accent-color-1);
    color: var(--text-dark);
}
.pricing-card .price-amount {
    font-size: clamp(2.5rem, 2rem + 2vw, 3.8rem);
    font-weight: 800;
    color: var(--primary-color);
}
.pricing-card.featured-plan .price-amount {
    color: var(--accent-color-1);
}
.pricing-card ul {
    margin-bottom: 1.5rem;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Innovation Section */
#innovation .d-flex .animated-icon { /* For 💡 🔗 📱 */
    font-size: 2rem;
    color: var(--creative-accent-2);
    margin-right: 1rem;
}
#innovation .d-flex p {
    margin-bottom: 0;
}

/* External Resources Section */
.resource-card {
    background-color: var(--background-white);
    padding: 1.5rem; /* Padding is now in card-body */
    border-left: 4px solid var(--secondary-color-lighter);
}
.resource-card:hover {
    border-left-color: var(--accent-color-1);
}
.resource-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
}
.resource-card .card-title a:hover {
    color: var(--accent-color-1);
}

/* Contact Section */
#contactForm label, #contactPageForm label {
    color: var(--primary-color);
    font-weight: 500; /* Rubik Medium */
    margin-bottom: 0.3rem;
    display: block;
}
.form-control {
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1.1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    background-color: var(--background-white); /* Ensure good contrast */
}
.form-control:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.3);
    background-color: var(--background-white); /* Keep bg on focus */
}
.form-control::placeholder {
    color: #999;
    opacity: 1;
}
#contact .submit-button, #contactPageForm .submit-button { /* Already uses global .btn-primary */
    background-color: var(--creative-accent-1);
    border-color: var(--creative-accent-1);
    color: var(--text-light);
}
#contact .submit-button:hover, #contactPageForm .submit-button:hover {
    background-color: var(--creative-accent-1-darker);
    border-color: var(--creative-accent-1-darker);
}
#contact .animated-icon, #contacts .animated-icon { /* For 📍 📞 📧 */
    color: var(--secondary-color);
    font-size: 1.2em;
}

/* --- Footer --- */
.footer-bg {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.footer-bg h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block; /* For padding and better hover */
    padding: 0.2rem 0;
}
.footer-link:hover {
    color: var(--footer-link-hover);
    text-decoration: none; /* Override default */
    transform: translateX(3px);
}
.footer-bg .border-top-light {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 2rem;
    padding-top: 2rem;
}
/* Styling for text-based social links */
.footer-bg .col-md-3 h5 + p a { /* Targeting social links specifically */
    font-weight: 500;
}
.footer-bg .col-md-3 h5 + p a:hover {
    letter-spacing: 0.5px; /* Subtle effect */
}


/* --- Content Pages (About, Privacy, Terms) --- */
.content-page {
    padding-top: 100px; /* Avoid overlap with fixed header */
    padding-bottom: 3rem;
}
.content-page .page-title { /* Already styled via h1 -> .section-title */
    margin-bottom: 2rem !important;
}
.content-page h2.manrope-bold { /* Specific h2s within content */
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color-1);
    display: inline-block; /* For border to fit content */
}
.content-page h2.manrope-bold::after { display: none; } /* Remove global ::after for these */

.content-page p, .content-page li {
    font-size: clamp(1rem, 0.9rem + 0.2vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-dark);
}
.content-page ul {
    padding-left: 1.5rem;
    list-style-type: disc; /* Or use custom styled list items */
}
.content-page ul li {
    margin-bottom: 0.6rem;
}
.content-page address {
    font-style: normal;
    line-height: 1.7;
}

/* --- Success Page (success.html) --- */
body.success-page { /* Add this class to body in success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.success-page main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-animation .checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3; /* Thicker for visibility */
    stroke: var(--accent-color-2);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--accent-color-2);
    animation: success-fill .4s ease-in-out .4s forwards, success-scale .3s ease-in-out .9s both;
    margin: 0 auto 2rem auto;
}
.success-animation .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--accent-color-2);
    fill: none;
    animation: success-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-animation .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: success-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes success-stroke { 100% { stroke-dashoffset: 0; } }
@keyframes success-scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.15, 1.15, 1); } }
@keyframes success-fill { 100% { box-shadow: inset 0px 0px 0px 50px var(--accent-color-2); } }

/* --- Animations (Scroll-triggered) --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px); /* Start slightly lower */
    transition-property: opacity, transform;
    transition-duration: 0.7s; /* Slightly longer for smoother feel */
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Creative ease */
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific reusable animations (can be added via data-animation attribute handled by JS) */
.scroll-animate[data-animation="fade-in-left"] { transform: translateX(-50px); opacity: 0;}
.scroll-animate[data-animation="fade-in-left"].is-visible { transform: translateX(0); opacity: 1;}

.scroll-animate[data-animation="fade-in-right"] { transform: translateX(50px); opacity: 0;}
.scroll-animate[data-animation="fade-in-right"].is-visible { transform: translateX(0); opacity: 1;}

.scroll-animate[data-animation="zoom-in"] { transform: scale(0.85); opacity: 0;}
.scroll-animate[data-animation="zoom-in"].is-visible { transform: scale(1); opacity: 1;}

.scroll-animate[data-animation="slide-up-fade"] { /* Already default .scroll-animate */ }

/* Example for Hero text animation if JS is used */
.animated-hero-title, .animated-hero-subtitle {
    opacity: 0; /* Initial state for JS animation */
}

/* Cookie Consent Popup */
#cookieConsentPopup {
    font-family: var(--font-body);
    /* Basic styling, mostly handled by inline styles in HTML for simplicity */
}
#cookieConsentPopup p {
    font-size: 0.9rem;
    color: #f0f0f0;
}
#cookieConsentPopup button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem; /* Overrides global button style for this specific button */
    text-transform: none; /* Override global */
    letter-spacing: 0; /* Override global */
}

/* Ensure background images are covered and don't repeat */
[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* Responsiveness adjustments */
@media (max-width: 767.98px) {
    h2.section-title {
        margin-bottom: 2rem !important;
    }
    .hero-section {
        padding: 10vh 0;
    }
    .card {
        margin-bottom: 1.5rem; /* Add space between stacked cards on mobile */
    }
    .pricing-card.featured-plan {
        transform: none; /* Disable scale on mobile if it causes layout issues */
    }
    .footer-bg .text-md-start {
        text-align: center !important; /* Center footer content on mobile */
    }
    .footer-bg .col-md-3, .footer-bg .col-md-2, .footer-bg .col-md-4 {
        margin-bottom: 1.5rem; /* Space between footer columns on mobile */
    }
    .content-page {
        padding-top: 80px; /* Adjust for smaller header on mobile */
    }
}