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

    /* Core Colors */
    --color-text-base: #343a40; /* Dark grey for body text, good contrast on light backgrounds */
    --color-text-muted: #6c757d;
    --color-text-light: #f8f9fa; /* Light grey/white for text on dark backgrounds */
    --color-heading-dark: #1a1a1a; /* Very dark for strong headings */
    --color-heading-light: #FFFFFF;

    /* Gradient Palette */
    --primary-gradient-start: #6a11cb; /* Deep Purple */
    --primary-gradient-end: #2575fc;   /* Bright Blue */
    --secondary-gradient-start: #007991; /* Teal */
    --secondary-gradient-end: #78ffd6;  /* Light Mint */
    --accent-gradient-start: #ff7e5f;   /* Coral */
    --accent-gradient-end: #feb47b;    /* Light Orange */
    
    /* Solid Accent Colors (derived or complementary to gradients) */
    --accent-color-1: #2575fc; /* Bright Blue from primary gradient */
    --accent-color-2: #5BEFF1; /* Cyan Accent */
    --accent-color-3: #007991; /* Teal from secondary gradient */

    /* Background Colors */
    --bg-light: #fdfdff; /* Very light, almost white */
    --bg-light-alt: #f1f3f5; /* Slightly off-white for subtle section differentiation */
    --bg-dark-section: #1f2431; /* Dark blue/grey for sections */
    --bg-dark-footer: #12151c; /* Very dark for footer */
    --bg-card-dark-alpha: rgba(255, 255, 255, 0.07); /* For cards on dark backgrounds */
    --bg-glassmorphism: rgba(25, 28, 36, 0.75); /* For navbar */

    /* Borders and Shadows */
    --border-radius-soft: 12px;
    --border-radius-medium: 8px;
    --border-color-light: #dee2e6;
    --border-color-dark-alpha: rgba(255, 255, 255, 0.15);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;
    --transition-easing: ease-in-out;

    /* Spacing */
    --section-padding-y: 5rem;
}

/* Global Styles */
body {
    font-family: var(--font-secondary);
    color: var(--color-text-base);
    background-color: var(--bg-light);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-heading-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-base);
}

p.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color var(--transition-speed-normal) var(--transition-easing);
}
a:hover {
    color: var(--primary-gradient-start);
    text-decoration: underline;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem; /* Increased bottom margin for better separation */
    font-weight: 900;
}

.section-subtitle {
    color: var(--color-heading-dark); /* Ensure good contrast for subtitles */
}

/* Text on dark backgrounds */
.text-light .section-title,
.text-white .section-title,
.section-bg-gradient-dark .section-title,
.section-bg-gradient-medium .section-title,
.hero-section .section-title, /* Though hero has its own h1 style */
.footer-section .section-title {
    color: var(--color-heading-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.text-light p, .text-light span, .text-light small,
.section-bg-gradient-dark p, .section-bg-gradient-dark span, .section-bg-gradient-dark small,
.section-bg-gradient-medium p, .section-bg-gradient-medium span, .section-bg-gradient-medium small {
    color: var(--color-text-light);
    opacity: 0.9;
}
.text-light p.lead, .text-white-50 {
    color: rgba(255,255,255,0.85) !important;
}


/* Backgrounds & Gradients Utilities */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block; /* Ensures gradient applies correctly */
}

.section-bg-gradient-light {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light-alt) 100%);
}
.section-bg-gradient-medium {
    background: linear-gradient(135deg, var(--primary-gradient-end) 0%, var(--primary-gradient-start) 100%);
    color: var(--color-text-light);
}
.section-bg-gradient-dark {
    background: linear-gradient(135deg, var(--bg-dark-section) 0%, var(--color-heading-dark) 100%);
    color: var(--color-text-light);
}

/* Buttons - GLOBAL STYLES */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.75rem; /* Generous padding */
    border-radius: var(--border-radius-medium);
    border: none; /* Remove default border for gradient buttons */
    cursor: pointer;
    transition: all var(--transition-speed-normal) var(--transition-easing);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    line-height: 1.5;
}

/* Primary Gradient Button */
.btn-primary-gradient,
.btn-primary { /* Bootstrap class override for consistency */
    background-image: linear-gradient(90deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    background-size: 200% auto; /* For hover animation */
    color: var(--color-heading-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-primary-gradient:hover,
.btn-primary:hover {
    background-position: right center; /* Change gradient direction */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: var(--color-heading-light); /* Ensure text color remains */
}

/* Hero Specific Button */
.btn-primary-gradient-alt {
    background-image: linear-gradient(90deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    color: var(--color-heading-dark); /* Contrast on lighter gradient */
    padding: 0.85rem 2rem; /* Slightly larger */
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}
.btn-primary-gradient-alt:hover {
    background-position: right center;
    box-shadow: 0 6px 25px rgba(37, 117, 252, 0.4);
    transform: translateY(-3px);
    color: var(--color-heading-dark);
}

/* Outline Gradient Button */
.btn-outline-primary-gradient {
    background-color: transparent;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--primary-gradient-end); /* Match one of the gradient colors */
    padding: calc(0.75rem - 2px) calc(1.75rem - 2px); /* Account for border */
}
.btn-outline-primary-gradient:hover {
    background-image: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--color-heading-light);
    border-image-source: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-gradient-start-rgb), 0.2); /* Add some shadow */
}

/* Secondary Gradient Button */
.btn-secondary-gradient,
.btn-secondary { /* Bootstrap class override for consistency */
    background-image: linear-gradient(90deg, var(--secondary-gradient-start) 0%, var(--secondary-gradient-end) 100%);
    color: var(--color-heading-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-secondary-gradient:hover,
.btn-secondary:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: var(--color-heading-dark);
}

/* General button focus state (accessibility) */
.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
    outline: 2px solid var(--accent-color-1);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-gradient-end-rgb), 0.25); /* Using a color from gradient */
}

/* Input Fields (Complementing Bootstrap) */
.form-control {
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color-light);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-speed-normal) var(--transition-easing), box-shadow var(--transition-speed-normal) var(--transition-easing);
}
.form-control:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-gradient-end-rgb), 0.25); /* Using a color from gradient */
}
textarea.form-control {
    min-height: 120px;
}

/* Header / Navbar */
.navbar.sticky-top {
    /* Bootstrap handles stickiness */
}
.navbar.bg-dark-transparent {
    background-color: var(--bg-glassmorphism) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color-dark-alpha);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem !important; /* Bootstrap override */
    transition: transform var(--transition-speed-normal) var(--transition-easing);
}
.navbar-brand:hover {
    transform: scale(1.03);
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.7rem 1.1rem;
    font-weight: 500;
    transition: color var(--transition-speed-normal) var(--transition-easing), background-color var(--transition-speed-normal) var(--transition-easing);
    border-radius: var(--border-radius-medium);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: rgba(255,255,255,0.12);
}
.navbar-dark .navbar-nav .nav-link.btn { /* Nav link styled as a button */
    padding: 0.75rem 1.75rem !important; /* Ensure padding is consistent with other buttons */
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    /* min-height: 90vh; Remove fixed min-height for natural flow */
    padding-top: calc(var(--section-padding-y) + 2rem); /* Adjust padding based on content */
    padding-bottom: calc(var(--section-padding-y) + 2rem);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; Parallax effect - enable if desired and tested for performance */
    display: flex; /* To center content */
    align-items: center; /* To center content */
    text-align: center; /* To center content */
}
/* Overlay for text readability on hero background, applied via style attribute in HTML */
.hero-section h1.hero-title {
    color: var(--color-heading-light) !important; /* Strictly white */
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6); /* Enhance readability */
}
.hero-section p.hero-subtitle {
    color: var(--color-text-light) !important; /* Strictly white/light */
    opacity: 0.9;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Page Headers (for sub-pages like about, contact, etc.) */
.page-header {
    padding: 4rem 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
}
.page-header .page-title {
    color: var(--color-heading-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-header .lead {
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Cards General Styling */
.card {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-speed-normal) var(--transition-easing), box-shadow var(--transition-speed-normal) var(--transition-easing);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a row */
}
.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

/* Card Image Container & Image */
.card .card-image, .card .image-container {
    width: 100%;
    /* Fixed height for image containers, adjust as needed per card type */
    /* e.g. height: 250px; */
    overflow: hidden;
    position: relative; /* For potential overlays or text on image */
    display: flex; /* To center image if it's smaller than container */
    justify-content: center;
    align-items: center;
}
.card .card-image img, .card .image-container img {
    width: 100%;
    height: 100%; /* Will be constrained by parent's height if set */
    object-fit: cover; /* Crucial for fixed height containers */
    transition: transform var(--transition-speed-slow) var(--transition-easing);
}
.card:hover .card-image img, .card:hover .image-container img {
    transform: scale(1.08);
}

/* Card Body & Content */
.card .card-body {
    padding: 1.75rem;
    flex-grow: 1; /* Allows card body to take remaining space */
    display: flex;
    flex-direction: column;
}
.card .card-title {
    font-weight: 700;
    color: var(--color-heading-dark);
}
.card .card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1; /* Text takes available space before buttons/links */
}
.card .card-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color-3); /* Teal accent for subtitles */
}
.card .mt-auto { /* Push elements like buttons to the bottom of the card */
    margin-top: auto;
}
/* Centering content within cards */
.card.text-center .card-body, .card.text-center .card-image {
    text-align: center;
}
.card.text-center .card-image img {
    margin-left: auto;
    margin-right: auto;
}

/* Specific Card Type Adjustments */
/* Vision Cards */
.vision-card .card-image { height: 220px; }

/* Innovation Cards */
.innovation-card { text-align: center; }
.innovation-card .card-image { height: auto; /* Icon size dictates height */ padding-top: 1rem; }
.innovation-card .innovation-icon {
    max-width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.innovation-card .progress {
    height: 8px;
    border-radius: var(--border-radius-medium);
    background-color: var(--bg-light-alt);
}
.innovation-card .progress-bar {
    background-image: linear-gradient(90deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    border-radius: var(--border-radius-medium);
}
.innovation-card small { font-size: 0.8rem; color: var(--color-text-muted); }

/* Project Cards (Carousel) */
#projectsCarousel .project-card {
    box-shadow: none; /* Override general card shadow if carousel handles it or for cleaner look */
}
#projectsCarousel .project-card .card-image { height: 100%; } /* Full height in row */
@media (max-width: 767px) { /* Stacked on mobile */
    #projectsCarousel .project-card .card-image { height: 250px; }
    #projectsCarousel .project-card .row > [class*="col-md-"] {
        width: 100%; /* Ensure columns stack properly */
    }
}
/* Styling for cards on dark backgrounds (e.g., projects, external resources) */
.text-bg-dark-card {
    background-color: var(--bg-card-dark-alpha) !important;
    border: 1px solid var(--border-color-dark-alpha);
    color: var(--color-text-light);
}
.text-bg-dark-card .card-title {
    color: var(--color-heading-light);
}
.text-bg-dark-card .card-text {
    color: rgba(255,255,255,0.8);
}
.text-bg-dark-card .text-muted-light {
    color: rgba(255,255,255,0.6) !important;
}
.text-bg-dark-card a:not(.btn) {
    color: var(--accent-color-2); /* Light cyan links */
}
.text-bg-dark-card a:not(.btn):hover {
    color: #ffffff;
}

/* Workshop Cards */
.workshop-card .card-image { height: 280px; }
.workshop-card .btn { 
    width: 100%; /* Make button full width */
    margin-top: 1rem;
 }

/* Resource Cards */
.resource-card .card-body { padding: 1.25rem; }
.resource-card .card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.resource-card .card-text.small { font-size: 0.85rem; line-height: 1.5; }

/* Team Cards (About Page) */
.team-card { text-align: center; }
.team-card .card-image {
    width: 150px; /* Circular image size */
    height: 150px;
    margin: 1.5rem auto 1rem auto; /* Spacing for circular image */
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-medium);
}
.team-card .card-image img { border-radius: 50%; }

/* Value Items (About Page) */
.value-item { transition: transform var(--transition-speed-normal) var(--transition-easing); }
.value-item:hover { transform: translateY(-5px); }
.value-icon img {
    opacity: 0.9;
    transition: opacity var(--transition-speed-normal) var(--transition-easing);
    margin-bottom: 1rem;
}
.value-item:hover .value-icon img { opacity: 1; }

/* Progress Indicators (used in Innovation) */
/* Styles already covered in .innovation-card .progress */

/* Carousels (Bootstrap) */
#projectsCarousel .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border: none;
}
#projectsCarousel .carousel-indicators button.active {
    background-color: #ffffff;
}
#projectsCarousel .carousel-control-prev-icon,
#projectsCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.25);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background-size: 50% 50%;
}
#projectsCarousel .carousel-control-prev-icon:hover,
#projectsCarousel .carousel-control-next-icon:hover {
    background-color: rgba(0,0,0,0.4);
}


/* Contact Form Section */
.contact-form-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-soft);
    padding: 2rem;
    box-shadow: var(--shadow-strong);
}
.contact-info-card {
    background-color: var(--bg-light-alt) !important;
    border-radius: var(--border-radius-soft);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}
.contact-info-card img {
    filter: invert(47%) sepia(83%) saturate(388%) hue-rotate(158deg) brightness(91%) contrast(90%); /* Teal color for icons */
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    vertical-align: middle;
}
.contact-info-card p { margin-bottom: 0.75rem; }
.contact-info-card hr { margin: 1rem 0; }

/* Footer */
.footer-section {
    background-color: var(--bg-dark-footer);
    color: var(--color-text-light);
    padding: var(--section-padding-y) 0;
    font-size: 0.9rem;
}
.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-section .small {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.footer-section ul {
    list-style: none;
    padding-left: 0;
}
.footer-section ul li {
    margin-bottom: 0.6rem;
}
.footer-link { /* For general footer links */
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition-speed-normal) var(--transition-easing), padding-left var(--transition-speed-normal) var(--transition-easing);
}
.footer-link:hover {
    color: #ffffff;
    padding-left: 5px; /* Slight move effect */
    text-decoration: none; /* Remove underline for cleaner look */
}
/* Social Media Links in Footer (Text only as per requirement) */
.footer-section .list-unstyled a[target="_blank"] { /* Specific styling for social links */
    font-weight: 500; /* Make them slightly bolder */
}
.footer-section .list-unstyled a[target="_blank"]:hover {
    color: var(--accent-color-2); /* Use a bright accent for hover */
}
.footer-section hr {
    border-color: rgba(255,255,255,0.15);
}

/* "Read More" Link Style */
.read-more-link {
    font-weight: 600;
    color: var(--accent-color-1);
    display: inline-block;
    margin-top: 1rem;
    transition: color var(--transition-speed-normal) var(--transition-easing), transform var(--transition-speed-normal) var(--transition-easing);
}
.read-more-link::after {
    content: ' →'; /* Arrow icon */
    transition: transform var(--transition-speed-normal) var(--transition-easing);
    display: inline-block;
}
.read-more-link:hover {
    color: var(--primary-gradient-start);
    transform: translateX(3px);
    text-decoration: none;
}
.read-more-link:hover::after {
    transform: translateX(2px);
}

/* Animation Utility Class (JS will toggle is-visible) */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-easing), transform 0.7s var(--transition-easing);
}
.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Privacy and Terms Page Specific Styling */
body.privacy-page main,
body.terms-page main {
    padding-top: 100px; /* Avoid overlap with fixed header */
}
.legal-content h3 {
    color: var(--primary-gradient-start); /* Use a theme color for headings */
    margin-top: 2.5rem;
}
.legal-content p, .legal-content ul li {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Success Page Specific Styling */
body.success-page #main-content, /* Assuming success content is wrapped in #main-content */
main.success-page-main { /* If main has a specific class for success page */
    min-height: calc(100vh - var(--header-height, 70px) - var(--footer-height, 200px)); /* Adjust header/footer heights */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Add some padding */
}
.success-page-main{
    min-height: 100vh;
}
.success-card {
    text-align: center;
    background-color: #ffffff;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-strong);
    max-width: 650px;
    width: 100%;
}
.success-card .success-animation img {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}
.success-card h1 {
    color: var(--secondary-gradient-start); /* Greenish/Teal for success */
}

/* Cookie Popup (minimal overrides if Bootstrap used, otherwise full style) */
/* Assuming #cookie-popup and #accept-cookie are styled in HTML as per prompt */
/* The prompt provided inline styles for the cookie popup, which is generally okay for such a small, self-contained component. */
/* If styles were to be moved here: */
/*
#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 30, 0.95);
    color: var(--color-text-light);
    padding: 20px;
    text-align: center;
    z-index: 9999;
    border-top: 1px solid var(--border-color-dark-alpha);
    font-family: var(--font-secondary);
}
#cookie-popup p {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}
#cookie-popup a {
    color: var(--accent-color-2);
    text-decoration: underline;
}
#cookie-popup #accept-cookie {
    background-image: linear-gradient(90deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-medium);
    cursor: pointer;
}
#cookie-popup #accept-cookie:hover {
    background-position: right center;
}
*/

/* Responsive Adjustments (complementing Bootstrap) */
@media (max-width: 991.98px) { /* Medium devices (tablets) */
    .section-title {
        font-size: 2.2rem; /* Adjusted for smaller screens */
        margin-bottom: 2rem;
    }
    h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
    h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

    .hero-section {
        padding-top: var(--section-padding-y);
        padding-bottom: var(--section-padding-y);
    }
    .navbar-nav {
        background-color: var(--bg-glassmorphism); /* Ensure dropdown has background on mobile */
        border-radius: 0 0 var(--border-radius-soft) var(--border-radius-soft);
        padding: 1rem 0;
    }
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 1.5rem; /* Make tap targets larger */
    }
    .navbar-dark .navbar-nav .nav-link.btn {
        margin: 0.5rem 1rem;
        display: block; /* Stack button in mobile nav */
    }
}

@media (max-width: 767.98px) { /* Small devices (landscape phones) */
    :root {
        --section-padding-y: 3.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .btn, button, input[type="submit"], input[type="button"] {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
    }
    .card .card-body {
        padding: 1.25rem;
    }
    #projectsCarousel .project-card .row > [class*="col-md-"] {
        text-align: center; /* Center content when stacked */
    }
    #projectsCarousel .project-card .card-image img {
        border-radius: var(--border-radius-soft) var(--border-radius-soft) 0 0;
    }
}

@media (max-width: 575.98px) { /* Extra small devices (portrait phones) */
    :root {
        --section-padding-y: 3rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

    .hero-section .hero-title {
        font-size: 2rem;
    }
    .hero-section .hero-subtitle {
        font-size: 0.95rem;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section .col-lg-4, .footer-section .col-lg-2, .footer-section .col-lg-3 {
        margin-bottom: 1.5rem; /* Stack footer columns nicely */
    }
}