/*
  Himberry Consulting - style.css
  Design: Glassmorphism, Biomorphic elements
  Color Scheme: Monochromatic
  Animation: Scroll-dependent effects
  Fonts: Inter (Headings), IBM Plex Sans (Body)
*/

/* CSS Variables */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;

    /* Monochromatic Palette - Cool Greys & Professional Blues */
    --color-primary: #3b82f6; /* A clear, professional blue */
    --color-primary-dark: #2563eb; /* Darker blue for hover/active */
    --color-primary-light: #60a5fa; /* Lighter blue */

    --color-secondary: #10B981; /* A subtle contrasting accent for specific highlights if needed */
    --color-secondary-dark: #059669;

    --color-text-light: #F9FAFB; /* Off-white for dark backgrounds */
    --color-text-dark: #1F2937;  /* Very dark grey for headings */
    --color-text-body: #374151;  /* Dark grey for body text */
    --color-text-muted: #6B7280; /* Medium grey for less important text */

    --color-background-body: #F3F4F6; /* Lightest grey for page background */
    --color-background-light-section: #FFFFFF; /* White for light sections */
    --color-background-dark-section: #111827; /* Very dark grey for dark sections/footer */
    
    --color-glass-bg: rgba(255, 255, 255, 0.1); /* For dark backgrounds */
    --color-glass-bg-light: rgba(243, 244, 246, 0.6); /* For light backgrounds - more opaque */
    --color-glass-border: rgba(255, 255, 255, 0.2);
    --color-glass-border-light: rgba(209, 213, 219, 0.7);


    --color-border: #D1D5DB; /* Standard border color */
    --color-input-border: #9CA3AF;
    --color-input-focus-border: var(--color-primary);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.5rem;   /* 8px */
    --border-radius-lg: 0.75rem;  /* 12px */
    --border-radius-xl: 1rem;     /* 16px */
    --border-radius-biomorphic: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Example for biomorphic touch */
    --border-radius-round: 50%;

    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.3s ease-in-out;

    --header-height: 80px;
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
}

/* Global Resets & Base 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-secondary);
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-background-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-wrapper {
    overflow: hidden; /* Contains parallax and animations */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-bottom: 0.75em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; } /* Section Titles */
h3 { font-size: 1.6rem; } /* Card Titles / Sub-section titles */
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

.bg-light {
    background-color: var(--color-background-light-section);
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    position: relative;
}
.section-title.light-text {
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
p.light-text.lead-text {
    color: var(--color-text-light);
    opacity: 0.9;
}


/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    height: var(--header-height);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85); /* More opaque white */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-glass-border-light);
}

.glassmorphic-nav {
    background: rgba(31, 41, 55, 0.3); /* Darker semi-transparent for initial state */
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.main-header.scrolled.glassmorphic-nav { /* When scrolled, adapt glassmorphism */
    background: rgba(243, 244, 246, 0.7); /* Lighter glass */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-bottom: 1px solid var(--color-glass-border-light);
}
.main-header.scrolled .logo,
.main-header.scrolled .nav-links a {
    color: var(--color-text-dark); /* Text color changes on scroll */
}
.main-header.scrolled .nav-links a:hover {
    color: var(--color-primary);
}
.main-header.scrolled .hamburger span {
    background-color: var(--color-text-dark);
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text-light); /* Initial: white */
    transition: var(--transition-smooth);
}
.logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav .nav-links li {
    margin-left: 1.8rem;
}

.main-nav .nav-links a {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-light); /* Initial: white */
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}
.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--color-primary-light); /* Initial hover color */
    text-decoration: none;
}
.main-header.scrolled .nav-links a:hover,
.main-header.scrolled .nav-links a.active {
    color: var(--color-primary); /* Scrolled hover color */
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-toggle .arrow-down {
    font-size: 0.7em;
    margin-left: 0.3em;
    display: inline-block;
    transition: transform 0.2s ease;
}
.dropdown:hover .arrow-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-background-light-section);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1001; /* Above other nav items */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text-dark); /* Text color in dropdown */
    font-weight: 400;
    white-space: nowrap;
}
.dropdown-menu li a::after { /* Remove underline effect from main nav */
    display: none;
}

.dropdown-menu li a:hover {
    background-color: var(--color-background-body);
    color: var(--color-primary);
}


/* Hamburger Menu (Mobile) */
.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 20px; /* Total height of 3 lines + 2 spaces */
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-light); /* Initial: white */
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.main-header.scrolled .hamburger span {
    background-color: var(--color-text-dark); /* When header is scrolled */
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; } /* Adjust spacing */
.hamburger span:nth-child(3) { top: 16px; } /* Adjust spacing */

/* Active state for hamburger */
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Buttons - GLOBAL STYLES */
.cta-button, .cta-button-secondary, button.form-submit-button {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius-lg); /* Slightly biomorphic touch with larger radius */
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cta-button:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-light);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Forms - GLOBAL STYLES */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-body);
    background-color: var(--color-background-light-section);
    border: 1px solid var(--color-input-border);
    border-radius: var(--border-radius-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-input-focus-border);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 59, 130, 246), 0.25); /* Create --color-primary-rgb if needed or hardcode */
}
/* Fallback for --color-primary-rgb. You should define it properly or use hex to rgba. */
:root { --color-primary-rgb: 59, 130, 246; } /* Example, adjust if primary changes */

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.glassmorphic-form {
    background: var(--color-glass-bg-light);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--color-glass-border-light);
    box-shadow: var(--shadow-lg);
}


/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-text-light); /* IMPORTANT: Hero text is white */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-section.parallax-bg {
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Dark overlay for text readability */
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-text-light); /* IMPORTANT */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--color-text-light); /* IMPORTANT */
    opacity: 0.9;
    font-weight: 400;
}

.hero-content .cta-button {
    font-size: 1.1rem;
    padding: 1em 2.5em;
}

/* About Us Section */
#about-us .content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}
#about-us .column-main {
    flex: 2; /* Takes 2/3 width */
    min-width: 300px; /* Ensure it doesn't get too small */
}
#about-us .column-side {
    flex: 1; /* Takes 1/3 width */
    min-width: 250px;
}

.statistic-widget {
    background-color: var(--color-background-light-section);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--color-primary);
}
.statistic-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}
.statistic-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Cards - Base Styles */
.card {
    background-color: var(--color-background-light-section);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image { /* Container for image */
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fixed height for image containers in cards */
    height: 250px; /* Adjust as needed, e.g., 200px, 250px, 300px */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, may crop */
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to expand and push actions to bottom if any */
    display: flex;
    flex-direction: column;
}
.card-content .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes button down if card-content is flex column */
}
.card-content .cta-button, .card-content .cta-button-secondary, .card-content .external-link {
    margin-top: auto; /* Pushes button to the bottom of the card content */
    align-self: flex-start; /* Align button to the left */
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Vision Section */
.vision-section.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
}
.vision-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}
.vision-content {
    position: relative;
    z-index: 2;
}

/* Workshops & Gallery Carousel (Basic Styling for Items) */
.content-carousel { /* This would be controlled by a JS library like Swiper or Slick */
    display: flex; /* Simplistic representation if no JS library styling */
    overflow-x: auto; /* Basic scroll for demo if no JS */
    gap: 1.5rem;
    padding-bottom: 1rem; /* Space for scrollbar */
}
.content-carousel .carousel-item {
    min-width: 320px; /* Adjust as needed */
    flex-shrink: 0;
}
/* Ensure cards within carousels also follow card styling */
.workshops-carousel .card, .gallery-carousel .card {
    height: auto; /* Override if equal height not desired for carousel items */
}
.gallery-carousel .card-image {
    height: 300px; /* Specific height for gallery images */
}
.gallery-caption {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
    text-align: center;
    margin-top: 0.5rem;
}


/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Make cards same height */
}
.pricing-card {
    text-align: center;
}
.pricing-card .price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0;
}
.pricing-card .cta-button {
    margin-top: 1.5rem;
}

/* Glassmorphic Elements (like pricing cards, event items) */
.glassmorphic-element {
    background: var(--color-glass-bg-light); /* Use light variant for light backgrounds */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid var(--color-glass-border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}


/* Behind The Scenes Section */
.bts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-post-card .post-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}
.read-more-link {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition-fast);
}
.read-more-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
    transform: translateX(3px);
}

/* Events Calendar Section */
.events-list .event-item {
    display: flex;
    align-items: flex-start; /* Align badge and content to top */
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    /* glassmorphic-element class handles background/border */
}
.event-date-badge {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--border-radius-md);
    padding: 0.8rem 1rem;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}
.event-date-badge .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}
.event-item .card-content { padding: 0; } /* Remove default card padding */
.event-item .card-title { margin-top: 0; margin-bottom: 0.5rem; }
.event-item .event-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.resource-card .card-content { padding: 1.5rem; }
.resource-card .card-title { font-size: 1.2rem; }
.external-link {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-block;
    margin-top: 1rem;
}
.external-link:hover {
    color: var(--color-primary-dark);
}

/* Contact Form Section */
#contact-form-section .contact-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background-color: var(--color-background-dark-section);
    color: var(--color-text-light);
    padding-top: 3rem;
    padding-bottom: 1rem;
}
.glassmorphic-footer { /* Specific glassmorphism for dark footer */
    background: rgba(17, 24, 39, 0.85); /* Darker base for footer glass */
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-top: 1px solid rgba(55, 65, 81, 0.7); /* Darker border */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-column p, .footer-column .footer-nav-links a, .footer-column .social-media-links a {
    color: #A0AEC0; /* Lighter grey for footer text on dark bg */
    font-size: 0.95rem;
}
.footer-column .footer-nav-links, .footer-column .social-media-links {
    list-style: none;
    padding-left: 0;
}
.footer-column .footer-nav-links li, .footer-column .social-media-links li {
    margin-bottom: 0.6rem;
}
.footer-column .footer-nav-links a:hover, .footer-column .social-media-links a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Social media TEXT links in footer */
.social-media-links a {
    /* Styles are mostly inherited, can add specific like display block if needed */
}


.footer-bottom {
    border-top: 1px solid #4A5568; /* Slightly lighter border within footer */
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom p { margin-bottom: 0.5rem; }

#backToTop {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: var(--shadow-md);
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}


/* Modal Windows */
.modal {
    display: none; /* Hidden by default, JS will toggle */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Dimmed background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 60px; /* Space from top */
}
.modal-content {
    /* glassmorphic-element class can be applied in HTML for styling */
    margin: 5% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 700px;
    position: relative;
    border-radius: var(--border-radius-xl); /* Ensure consistency */
}
.modal-content.glassmorphic-element { /* If class is applied */
    background: rgba(255, 255, 255, 0.9); /* More opaque for readability */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(200,200,200,0.5);
    box-shadow: var(--shadow-xl);
}
.modal-content h2 {
    margin-top: 0;
    color: var(--color-text-dark);
}
.modal-content p {
    color: var(--color-text-body);
}

.close-modal-button {
    color: var(--color-text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    transition: var(--transition-fast);
}
.close-modal-button:hover,
.close-modal-button:focus {
    color: var(--color-text-dark);
    text-decoration: none;
    cursor: pointer;
}


/* ScrollReveal initial hidden state */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.scroll-reveal.is-visible { /* Class added by ScrollReveal.js */
    opacity: 1;
    transform: translateY(0);
}


/* Specific Page Styles */
/* success.html */
body.success-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--color-background-body); /* Or a specific success page background */
}
.success-page .success-container {
    background-color: var(--color-background-light-section);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
}
.success-page .success-icon {
    font-size: 4rem;
    color: var(--color-secondary); /* Green for success */
    margin-bottom: 1rem;
}
.success-page h1 {
    color: var(--color-text-dark);
    font-size: 2rem;
}
.success-page p {
    color: var(--color-text-body);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* privacy.html & terms.html */
body.privacy-page main,
body.terms-page main {
    padding-top: calc(var(--header-height) + 2rem); /* Header height + extra space */
    padding-bottom: 3rem;
}
.privacy-page .container h1,
.terms-page .container h1 {
    margin-bottom: 2rem;
    text-align: left;
}
.privacy-page .container h2,
.terms-page .container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 2.8rem; }
    h2, .section-title { font-size: 2rem; }
    h3 { font-size: 1.4rem; }

    .main-nav .nav-links {
        display: none; /* Hide on mobile by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-background-light-section); /* Solid background for mobile menu */
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
        border-top: 1px solid var(--color-border);
    }
    .main-nav .nav-links.active { /* Class toggled by JS */
        display: flex;
    }
    .main-nav .nav-links li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-links a {
        padding: 1rem;
        display: block;
        width: 100%;
        color: var(--color-text-dark); /* Mobile nav link color */
    }
    .main-nav .nav-links a:hover,
    .main-nav .nav-links a.active {
        background-color: var(--color-background-body);
        color: var(--color-primary);
    }
     .main-nav .nav-links a::after {
        display: none; /* Remove underline effect for mobile dropdown items */
    }

    .nav-toggle {
        display: block; /* Show hamburger */
    }

    /* Dropdown on mobile - can be integrated into main nav list or styled differently */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding-left: 1rem; /* Indent dropdown items */
        display: block; /* Always show submenu items when parent is visible */
    }
    .dropdown-menu li a {
         color: var(--color-text-dark); /* Ensure correct color */
         padding: 0.75rem 1rem;
    }
     .dropdown:hover .arrow-down { /* Disable arrow rotation if it conflicts with touch */
        transform: none;
    }
    .main-header.scrolled .logo,
    .main-header.scrolled .nav-links a {
        color: var(--color-text-dark); /* Ensure mobile nav links are dark on scroll */
    }
    .main-header.scrolled .hamburger span {
        background-color: var(--color-text-dark);
    }

    #about-us .content-columns {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
    }
    .footer-column h4 {
        margin-top: 1rem;
    }
     .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
    #backToTop {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto; /* Adjust for smaller screens */
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }

    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .services-grid, .pricing-grid, .bts-grid, .blog-grid, .resources-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }

    .events-list .event-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .event-date-badge {
        margin-bottom: 1rem;
    }
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 1rem; }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .cta-button, .cta-button-secondary, button.form-submit-button {
        font-size: 0.9rem;
        padding: 0.7em 1.5em;
    }
    .glassmorphic-form {
        padding: 1.5rem;
    }
}
*{
    opacity: 1 !important;
}