/* --- GLOBAL RESET & BOX-SIZING --- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #10101a; /* Cleaner, slightly brighter dark background */
  color: #E6E6FA; /* Light lavender for contrast, still futuristic */
  overflow-x: hidden;
  background-size: 10px 10px; /* Very small, subtle pattern */
}

/* --- NO-SCROLL CLASS FOR MODAL/HAMBURGER --- */
body.no-scroll {
  overflow: hidden;
}

/* --- HEADER --- */
header {
  background-color: rgba(16, 16, 26, 0.85); /* Slightly transparent for depth */
  padding: 1.2em 2em;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(110, 231, 183, 0.3); /* Stronger header border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* --- NEW: Image Logo Styling --- */
.logo-img {
  height: 30px; /* Adjust height as needed to fit your header */
  width: auto; /* Maintain aspect ratio */
  vertical-align: middle; /* Helps align with nav links if they are on the same line */
  /* If you need space between logo and nav links: */
  /* margin-right: 20px; */
}

/* Optional: Adjust logo size for smaller screens if it looks too big */
@media (max-width: 768px) {
  .logo-img {
    height: 30px; /* Slightly smaller on tablets/mobiles */
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px; /* Even smaller on very small phones */
  }
}


/* --- HAMBURGER MENU STYLES --- */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #6EE7B7; /* Neon green bars */
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(110, 231, 183, 0.7);
}

.hamburger-menu.open .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* --- NAV LINKS CONTAINER (OFF-CANVAS) --- */
.nav-links-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  max-width: 350px;
  height: 100%;
  background: linear-gradient(to bottom, #10101a, #1a1a2a);
  padding-top: 5em;
  box-shadow: -8px 0 20px rgba(0,0,0,0.6);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid rgba(110, 231, 183, 0.1);
}

.nav-links-container.open {
  right: 0;
}

.nav-links-container ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}

.nav-links-container ul li a {
  display: block;
  padding: 15px 0;
  font-size: 1.3em;
  color: #E6E6FA;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links-container ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 40px);
  height: 2px;
  background-color: #6EE7B7;
  transition: transform 0.3s ease-out;
}

.nav-links-container ul li a:hover {
  color: #6EE7B7;
  text-shadow: 0 0 5px rgba(110, 231, 183, 0.5);
}
.nav-links-container ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}


/* --- HERO SECTION - MINIMALISTIC FUTURISTIC IMPACT --- */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2em;
  min-height: 90vh;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2em;
  text-align: center;
}

/* Animations for H1 and P - Only smooth slide-up-fade-in */
.hero-content h1 {
  font-size: 4.8em;
  font-weight: 900;
  color: #6EE7B7;
  margin-bottom: 0.05em;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
  animation: slide-up-fade-in 1s ease-out forwards;
  animation-delay: 0.2s; /* Delay start slightly */
}

.hero-content p {
  font-size: 1.2em;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 3px;
  margin-top: -0.7em;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
  animation: slide-up-fade-in 1s ease-out forwards;
  animation-delay: 0.6s; /* Delay start after h1 */
}

/* Keyframes for smooth entrance */
@keyframes slide-up-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ... (rest of your CSS above) ... */

/* --- BUTTONS (MAIN PAGE) - Minimalistic --- */
.buttons {
  margin-top: 2.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

.buttons .btn {
  background-color: #2a2a3a; /* Solid background for buttons */
  padding: 0.9em 2em;
  color: #E6E6FA; /* Light color for text */
  text-decoration: none;
  font-size: 1.15em;
  border-radius: 50px;
  transition: all 0.3s ease; /* Ensure transition covers transform properties */
  box-shadow: 0 4px 15px rgba(0,0,0,0.4); /* Subtle shadow */
  border: 1px solid #3a3a4a; /* Simple border */
  position: relative;
  overflow: hidden;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0; /* Start hidden for animation */
  transform: translateY(20px); /* Start slightly below for animation */
  animation: slide-up-fade-in 1s ease-out forwards; /* Apply animation */
  animation-delay: 1s; /* Delay after p animation */
}

/* Delay for second button for sequential reveal */
.buttons .btn + .btn { /* Selects the second button if present */
    animation-delay: 1.2s;
}

/* Ripple effect (keep this for inner click feedback) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background-color: rgba(255, 255, 255, 0.3); /* Simpler, subtle white ripple */
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button hover/active states - UPDATED FOR ZOOM EFFECT */
.buttons .btn:hover {
  background-color: #3a3a4a;
  color: #FFFFFF;
  transform: translateY(0px) scale(1.02) !important; /* <-- CHANGED THIS LINE: Lift more and zoom slightly */
  box-shadow: 0 8px 25px rgba(0,0,0,0.7); /* <-- Slightly stronger shadow on hover */
  border-color: #6EE7B7;
  text-shadow: none;
}

.buttons .btn:active {
  transform: translateY(0) scale(0.98); /* <-- Added slight shrink on active for punchiness */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  background-color: #1a1a2a;
}

/* NEW: Scroll Down Button Styles */
.scroll-down-btn {
    position: absolute;
    bottom: -110px; /* Adjusted from 30px to 10px to move it lower */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    background: rgba(110, 231, 183, 0.15); /* Semi-transparent green background */
    color: #6EE7B7; /* Neon green color */
    border: 1px solid rgba(110, 231, 183, 0.4); /* Subtle border */
    border-radius: 50%; /* Make it a circle */
    width: 50px; /* Size of the button */
    height: 50px; /* Size of the button */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em; /* Size of the arrow icon */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(110, 231, 183, 0.4); /* Initial glow */
    z-index: 5; /* Ensure it's above other hero content if needed */
    animation: bounce 2s infinite ease-in-out; /* Apply the bounce animation */
}

.scroll-down-btn:hover {
    background-color: rgba(110, 231, 183, 0.3); /* More opaque green on hover */
    transform: translateX(-50%) translateY(-5px); /* Lift slightly on hover */
    box-shadow: 0 0 25px rgba(110, 231, 183, 0.8), 0 5px 20px rgba(0,0,0,0.6); /* Stronger glow on hover */
}

.scroll-down-btn:active {
    transform: translateX(-50%) translateY(0); /* Press down on active */
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.3);
}

/* Keyframes for the up-and-down animation */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0); /* Original position */
    }
    50% {
        transform: translateX(-50%) translateY(-10px); /* Move up 10px */
    }
}

/* Ensure hero section has relative positioning for absolute child */
.hero {
    position: relative; /* Make sure this is relative or absolute for scroll-down-btn to position correctly */
    /* ... (rest of your existing hero styles) ... */
}

/* --- SECTIONS (About, Contact) - Clean & Elevated --- */
section {
  padding: 4em 2em;
  max-width: 900px;
  margin: 0 auto;
}

.info-section {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  padding: 3.5em 3em;
  margin: 4em auto; /* Removed top/bottom margin for grid management, keeping left/right for centering */
  border: 1px solid rgba(110, 231, 183, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.8), 0 0 20px rgba(110, 231, 183, 0.3);
}

.info-section h2 {
  font-size: 2.8em;
  margin-bottom: 0.8em;
  border-bottom: 2px solid #ADD8E6;
  display: inline-block;
  padding-bottom: 0.3em;
  color: #E6E6FA;

}

.info-section p,
.info-section a {
  font-size: 1.1em;
  line-height: 1.7;
  color: #C0C0D0;
}

.info-section a {
    color: #6EE7B7;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.info-section a:hover {
    color: #ADD8E6;
    text-shadow: 0 0 10px rgba(173, 216, 230, 0.8);
}


/* --- NEW: ABOUT SECTIONS GRID CONTAINER --- */
.about-grid-container {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Default to column for small screens */
    gap: 3em; /* Space between the two info-sections */
    max-width: 1800px; /* Limit overall width */
    margin: 4em auto; /* Center the container with margin */
    padding: 0 2em; /* Add some padding on the sides */
}

/* Adjust info-section margins inside the grid container */
.about-grid-container .info-section {
    margin: 0; /* Reset margins from original .info-section rule */
    flex: 1; /* Allow sections to grow and shrink */
}


/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 2.5em;
  background-color: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(110, 231, 183, 0.05);
  color: #888;
  font-size: 0.9em;
  display: flex; /* Make footer a flex container */
  flex-direction: column; /* Stack items vertically by default */
  align-items: center; /* Center items horizontally */
  gap: 1em; /* Space between copyright and button */
}
/* Container for social icons and button */
.footer-actions {
    display: flex;
    align-items: center; /* THIS IS KEY: Ensures all direct children are vertically centered */
    justify-content: center; /* Centers the group horizontally within its available space */
    gap: 20px; /* Space between icons and button */
    margin: 10px 0; /* Add some vertical margin around this section */
}
/* Social Icon Link Styling */
.social-icon {
    font-size: 2.2em; /* Keep your desired icon size */
    text-decoration: none;
    transition: opacity 0.3s ease;
    /* Optional: If you want to make the clickable area slightly larger or ensure perfect internal centering */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* width: 40px; */ /* Example fixed width */
    /* height: 40px; */ /* Example fixed height */
}

/* Ensure the actual Font Awesome icon (<i> tag) is vertically aligned */
.social-icon i {
    vertical-align: middle; /* Forces the icon to align with the middle of its line */
    line-height: 1; /* Helps remove any extra space that might be added by line-height */
    display: block; /* Treat as block to ensure line-height:1 is fully respected */
}


/* Specific colors for each icon */
.fa-youtube {
    color: #ffffff; /* YouTube Red */
}

.fa-instagram {
    color: #ffffff; /* Instagram Pink/Purple */
}

/* Subtle hover effect */
.social-icon:hover {
    opacity: 0.8;
}

.contact-footer-btn {
  background-color: #333344; /* Darker background for footer button */
  color: #E6E6FA;
  padding: 0.8em 1.8em;
  font-size: 1em;
  border-radius: 50px;
  border: 1px solid rgba(173, 216, 230, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.contact-footer-btn:hover {
  background-color: #444455;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  border-color: #ADD8E6;
  color: #ADD8E6;
}


/* --- MODAL AND FORM STYLES - Sleeker, brighter accents --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(135deg, #1A1A2A, #2A2A3A);
  margin: auto;
  padding: 40px; /* Keep consistent padding for overall modal content */
  border: 1px solid rgba(110, 231, 183, 0.2);
  width: 90%;
  max-width: 650px;
  border-radius: 18px;
  box-shadow: 0 12px 45px rgba(0,0,0,0.8), 0 0 25px rgba(110, 231, 183, 0.4);
  position: relative;
  animation: slideInFromTop 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  color: #E6E6FA;
}

@keyframes slideInFromTop {
  from { transform: translateY(-80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-button {
  color: #ADD8E6;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  top: 18px;
  right: 25px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: #6EE7B7;
  transform: rotate(90deg) scale(1.1);
}

.modal-content h2 {
  text-align: center;
  color: #6EE7B7;
  margin-bottom: 30px;
  font-size: 2.5em;
  text-shadow: 0 0 12px rgba(21, 21, 21, 0.8);
}

.form-group {
  margin-bottom: 22px;
  position: relative;
  width: 100%; /* Ensure form groups take full width */
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #C0C0D0;
  letter-spacing: 0.8px;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group select {
  width: 100%; /* Make inputs/selects fill their parent .form-group */
  padding: 15px;
  border: 1px solid #333344;
  border-radius: 10px;
  background-color: #1F1F2F;
  color: #E6E6FA;
  font-size: 1.05em;
  outline: none;
  box-sizing: border-box; /* Crucial for consistent width with padding */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #6EE7B7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.2), 0 0 12px rgba(110, 231, 183, 0.4);
}

/* Budget and Sample Work Link Group - REFINED */
.budget-sample-work-group {
  display: flex;
  flex-direction: column; /* Always stack vertically */
  gap: 25px; /* Space between the two form groups */
  margin-bottom: 25px;
}

.budget-sample-work-group .form-group {
  flex: 1; /* Allow them to grow/shrink, but on column it's less impactful */
  min-width: unset; /* Reset min-width for mobile */
  margin-bottom: 0; /* Handled by parent gap */
  width: 100%; /* Ensure each child form-group takes full width */
}

/* Budget Range Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%; /* Ensure it takes full width of its .form-group */
    height: 6px;
    background: linear-gradient(to right, #6EE7B7, #ADD8E6);
    border-radius: 3px;
    outline: none;
    margin: 12px 0;
    transition: background 0.2s ease-in-out;
    box-shadow: 0 0 5px rgba(110, 231, 183, 0.3);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #E6E6FA;
    border: 2px solid #6EE7B7;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 8px rgba(110, 231, 183, 0.6), 0 2px 5px rgba(0, 0, 0, 0.4);
    /* Adjusted margin-top for better vertical alignment */
    margin-top: -4px; /* Changed from -8px to -9px */
    transition: background 0.2s, transform 0.2s ease-in-out, box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #fff;
    box-shadow: 0 0 15px rgba(110, 231, 183, 0.8), 0 3px 8px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-webkit-slider-thumb:active {
    background: #6EE7B7;
    cursor: grabbing;
    transform: scale(1.05);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #E6E6FA;
    border: 2px solid #6EE7B7;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 8px rgba(110, 231, 183, 0.6), 0 2px 5px rgba(0, 0, 0, 0.4);
    /* Adjusted margin-top for better vertical alignment */
    margin-top: -9px; /* Changed from -8px to -9px */
    transition: background 0.2s, transform 0.2s ease-in-out, box-shadow 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: #fff;
    box-shadow: 0 0 15px rgba(110, 231, 183, 0.8), 0 3px 8px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-thumb:active {
    background: #6EE7B7;
    cursor: grabbing;
    transform: scale(1.05);
}

input[type="range"]::-moz-range-track {
    background: linear-gradient(to right, #6EE7B7, #ADD8E6);
    border-radius: 3px;
    height: 6px;
    box-shadow: 0 0 5px rgba(110, 231, 183, 0.3);
}

#budgetDisplay {
  font-weight: bold;
  color: #ADD8E6;
  margin-left: 8px;
  font-size: 1.1em;
  text-shadow: 0 0 6px rgba(173, 216, 230, 0.7);
}


/* Custom Checkboxes (Roles) and NEW Consent Checkbox */
/* Reusing existing checkbox-group label styles for consent checkbox as well */
.checkbox-group input[type="checkbox"],
.consent-group input[type="checkbox"] { /* Apply to consent checkbox too */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-group label,
.consent-group label { /* Apply to consent checkbox label too */
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 14px 22px;
    border: 1px solid #333344;
    border-radius: 10px;
    margin-right: 15px;
    margin-bottom: 10px;
    background-color: #1F1F2F;
    color: #C0C0D0;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 1em;
}

/* Specific adjustment for consent label to take full width and wrap text */
.consent-group label {
    display: flex; /* Use flex to align checkbox and text */
    width: 100%; /* Take full width */
    padding: 15px; /* Adjust padding */
    margin-right: 0; /* Remove right margin */
}


.checkbox-group label::before,
.consent-group label::before { /* Apply to consent checkbox before too */
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #444455;
    margin-right: 10px;
    background-color: #2F2F3F;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-group label::before {
    border-radius: 5px;
}
.consent-group label::before { /* Ensure consent checkbox is square */
    border-radius: 5px;
}


.checkbox-group label:hover,
.consent-group label:hover { /* Apply to consent checkbox label hover too */
    background-color: #2A2A3A;
    border-color: #6EE7B7;
    box-shadow: 0 0 10px rgba(110, 231, 183, 0.3);
}


/* Checked state for checkboxes */
.checkbox-group input[type="checkbox"]:checked + label,
.consent-group input[type="checkbox"]:checked + label { /* Apply to consent checkbox checked too */
    background-color: #3B82F6;
    border-color: #3B82F6;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}
.checkbox-group input[type="checkbox"]:checked + label::before,
.consent-group input[type="checkbox"]:checked + label::before { /* Apply to consent checkbox checked before too */
    background-color: #ffffff;
    border-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233B82F6' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}


/* State and District Dropdowns Styling (Applies to Gender, Genre, Language too) */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E6E6FA' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 20px;
}

select option {
    background-color: #2F2F3F;
    color: #E6E6FA;
    padding: 12px;
}

/* Error Messages & Form Message */
.error-message {
  color: #ff8888;
  font-size: 0.88em;
  margin-top: 6px;
  min-height: 20px;
  text-shadow: 0 0 4px rgba(255, 136, 136, 0.6);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ff8888 !important;
  box-shadow: 0 0 0 4px rgba(255, 136, 136, 0.2), 0 0 15px rgba(255, 136, 136, 0.5) !important;
}

.form-message {
  text-align: center;
  margin-top: 25px;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.05em;
  letter-spacing: 0.5px;
}

.form-message.success {
  background-color: rgba(110, 231, 183, 0.15);
  color: #6EE7B7;
  box-shadow: 0 0 15px rgba(110, 231, 183, 0.8);
}

.form-message.error {
  background-color: rgba(255, 136, 136, 0.15);
  color: #ff8888;
  box-shadow: 0 0 15px rgba(255, 136, 136, 0.8);
}

/* Form Actions (Buttons) - Consistent with main page buttons */
.form-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.form-actions .btn {
  padding: 15px 35px;
  font-size: 1.25em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

/* Different glow for form buttons if desired, or reuse .btn::before */
.form-actions .submit-btn {
  background-color: #6EE7B7;
  color: #10101a;
  border: 1px solid rgba(110, 231, 183, 0.8);
  
}

.form-actions .submit-btn:hover {
  background-color: #6EE7B7; /* Changed from #4CAF50 */
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(110, 231, 183, 0.7);
  border-color: #4CAF50;
  color: #10101a; /* Changed from white */
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7); /* Added */
}

.form-actions .cancel-btn {
  background-color: #333344;
  color: #E6E6FA;
  border: 1px solid rgba(173, 216, 230, 0.4);
}

.form-actions .cancel-btn:hover {
  background-color: #444455;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border-color: #ADD8E6;
  color: #ADD8E6;
}


/* --- Responsive Adjustments --- */
@media (min-width: 769px) {
  .hamburger-menu {
    display: none;
  }
  .nav-links-container {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding-top: 0;
    box-shadow: none;
    transition: none;
    z-index: auto;
    display: block;
    border-left: none;
  }
  .nav-links-container ul {
    flex-direction: row;
    gap: 30px;
    width: auto;
  }
  .nav-links-container ul li a {
    font-size: 1em;
    padding: 0;
    background-color: transparent;
    color: #E6E6FA;
  }
  .nav-links-container ul li a::after {
    left: 0;
    transform: scaleX(0);
    width: 100%;
    bottom: -5px;
  }
  .nav-links-container ul li a:hover {
    color: #6EE7B7;
    text-shadow: none;
  }
  .nav-links-container ul li a:hover::after {
    transform: scaleX(1);
    background-color: #6EE7B7;
  }

  .header-center-text {
    display: block;
    transform: translateX(-50%) translateY(-50%);
  }
  .hero-content h1 {
    font-size: 4.8em;
  }
  .hero-content p {
    font-size: 1.2em;
  }

  /* Apply side-by-side for about sections on wider screens */
  .about-grid-container {
      flex-direction: row; /* Arrange items in a row */
      align-items: stretch; /* Make sure sections stretch to equal height */
  }

  /* REMOVED: Desktop specific flex-direction for budget-sample-work-group */
  /* This ensures it always remains a column layout */
  /*
  .budget-sample-work-group {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
  }
  .budget-sample-work-group .form-group {
      flex: 1;
      min-width: 48%;
      max-width: 49%;
  }
  */
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }
  .hero-content h1 {
    font-size: 3.5em;
  }
  .hero-content p {
    font-size: 1em;
    letter-spacing: 2px;
  }
  .buttons {
      flex-direction: column;
      gap: 1em;
      align-items: center;
  }
  .buttons .btn {
    width: 90%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  header, .hero, section, .info-section, footer {
    padding-left: 1em;
    padding-right: 1em;
  }
  .hero-content h1 {
    font-size: 2.5em;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 0.9em;
    letter-spacing: 1.5px;
    line-height: 1.4;
  }
  .header-center-text {
    font-size: 0.8em;
    letter-spacing: 1px;
  }
  .info-section {
    padding: 2.5em 1.5em;
    margin: 3em auto;
  }
  .info-section h2 {
    font-size: 2em;
  }
  .info-section p {
    font-size: 1em;
  }
  .form-actions {
    flex-direction: column;
    gap: 15px;
  }
  .form-actions .btn {
    width: 100%;
  }
  /* Ensure these are column on smaller mobile too */
  .budget-sample-work-group {
    flex-direction: column;
    gap: 15px;
  }
  .budget-sample-work-group .form-group {
    min-width: unset;
  }
}

@media (max-width: 375px) {
  header, .hero, section, .info-section, footer {
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .hero-content p {
    font-size: 0.8em;
    letter-spacing: 1px;
  }
  .header-center-text {
    display: none;
  }
}
/* --- NEW: FEATURED ARTISTS SECTION STYLES --- */
.featured-artists-section {
    padding: 4em 2em;
    max-width: 1400px; /* Wider for carousel */
    margin: 4em auto;
    text-align: center;
}

.featured-artists-section h2 {
    font-size: 2.8em;
    margin-bottom: 1.5em;
    border-bottom: 2px solid #ADD8E6; /* Light blue border */
    display: inline-block;
    padding-bottom: 0.3em;
    color: #E6E6FA; /* Light purple color */
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Hide overflowing cards */
    margin: 0 auto;
    padding: 1em 0; /* Vertical padding */
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(110, 231, 183, 0.08); /* Light green border */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out; /* Smooth transition */
    padding: 0 10px;
    box-sizing: border-box;
    will-change: transform; /* Hint to the browser for optimization */
}
/* Base style for featured artist cards - adapted from artists.css */
.featured-artist-card {
    /* Ensure flex-basis is set to a percentage of the parent width */
    flex: 0 0 calc(33.333% - 20px); /* For 3 items on larger screens */
    margin: 0 10px; /* Half gap on each side */
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; /* Keep a min-height to maintain card structure */
    position: relative;
    overflow: hidden;
    /* flex-shrink: 0; REMOVED: Let flex-basis handle initial sizing, then allow shrinking if needed */
    opacity: 0; /* Initially hidden for fade-in effect */
    transform: translateY(20px); /* Initially shifted for slide-up effect */
    animation: fadeInSlideUp 0.6s ease forwards; /* Apply animation for initial load */
}

/* Keyframe for initial load animation */
@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For subsequent slides, when cards are re-added */
.featured-artist-card.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease forwards;
}

.featured-artist-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    border: 1px solid #6EE7B7; /* Light green border on hover */
}

.featured-artist-card h3 {
    color: #fff;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px dashed rgba(110, 231, 183, 0.4); /* Consistent dashed border */
    padding-bottom: 10px;
}

.featured-artist-card p {
    font-size: 1em;
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 8px;
    /* Ensure text wraps */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    /* Ensure it takes full available width within its parent */
    width: 100%;
    /* Add a max-width to prevent it from trying to expand beyond its container */
    max-width: 100%;
    /* If still not wrapping, try explicitly setting display to block */
    display: block;
}

/* Specific styling for the Role paragraph to ensure it wraps */
.featured-artist-card p.role-display { /* This class was added in script.js */
    /* Re-applying/confirming these for good measure */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    display: block;
    /* Add padding/margin to ensure text isn't too close to edges if needed */
    padding: 0; /* Reset if any default p padding is interfering */
    margin: 0 0 8px 0; /* Adjust as needed */
}


.featured-artist-card p strong {
    color: #6EE7B7; /* Consistent light green color */
}

/* Loading and No Data Messages */
.loading-message, .no-data-message {
    text-align: center;
    color: #ADD8E6; /* Light blue color */
    font-size: 1.2em;
    padding: 2em;
    width: 100%; /* Take full width of carousel-track for centering */
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(51, 51, 68, 0.7); /* Dark semi-transparent background */
    color: #E6E6FA; /* Light purple arrow color */
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 2em;
    line-height: 1;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.carousel-nav-btn.prev {
    left: 10px;
}

.carousel-nav-btn.next {
    right: 10px;
}

.carousel-nav-btn:hover {
    background-color: rgba(110, 231, 183, 0.6); /* Lighter green on hover */
    color: #10101a; /* Dark text on hover */
    box-shadow: 0 0 15px rgba(110, 231, 183, 0.7);
}

/* Hide navigation buttons by default, show on hover for larger screens */
.carousel-container .carousel-nav-btn {
    opacity: 0;
    visibility: hidden;
}
.carousel-container:hover .carousel-nav-btn {
    opacity: 1;
    visibility: visible;
}


/* Responsive adjustments for carousel */
@media (max-width: 1024px) {
    .featured-artist-card {
        flex: 0 0 calc(50% - 20px); /* 2 items on medium screens */
    }
}

@media (max-width: 768px) {
    .featured-artist-card {
        /* On small screens, ensure it takes full width and allows content to wrap */
        flex: 0 0 calc(100% - 20px); /* 1 item on small screens */
        /* Ensure padding on the card itself is not too restrictive */
        padding: 15px; /* Adjust if needed */
    }
    .carousel-nav-btn {
        opacity: 1; /* Always show buttons on small screens */
        visibility: visible;
        padding: 10px 8px;
        font-size: 1.5em;
    }
    .carousel-nav-btn.prev {
        left: 5px;
    }
    .carousel-nav-btn.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .featured-artists-section h2 {
        font-size: 2em;
    }
    .featured-artist-card {
        padding: 15px;
    }
    .featured-artist-card h3 {
        font-size: 1.4em;
    }
    .featured-artist-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 375px) {
  header, .hero, section, .info-section, footer {
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .hero-content p {
    font-size: 0.8em;
    letter-spacing: 1px;
  }
  .header-center-text {
    display: none;
  }
}
/* NEW: Styling for links within the Artist Details modal */
#artistDetailModal .artist-detail-section a {
    color: #6EE7B7; /* Light blue color for links */
    text-decoration: underline; /* Keep underline for clarity that it's a link */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#artistDetailModal .artist-detail-section a:hover {
    color: #6EE7B7; /* Neon green on hover */
    text-shadow: 0 0 8px rgba(110, 231, 183, 0.7);
}