/* =========================================
   THEME VARIABLES (LIGHT DEFAULT)
   ========================================= */

   :root {
    /* Primary colors */
    --primary: #0284c7;
    --primary-light: rgba(2, 132, 199, 0.15);
    --warning: #f59e0b;
    --error: #ef4444;
  
    /* Backgrounds */
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
  
    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
  
    /* Borders & shadows */
    --border: #e2e8f0;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0284c7, #6366f1);
    --gradient-button: linear-gradient(135deg, #0284c7, #2563eb);
  }
  
  
  /* =========================================
     DARK THEME (ACTIVATES ON body.theme-dark)
     ========================================= */
  
  body.theme-dark {
    /* Primary colors */
    --primary: #3b82f6;
    --primary-light: rgba(59, 130, 246, 0.18);
    --warning: #fbbf24;
    --error: #f87171;
  
    /* Backgrounds */
    --bg-primary: #020617;
    --bg-card: #020617;
  
    /* Text */
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
  
    /* Borders & shadows */
    --border: #1e293b;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.8);
  
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-button: linear-gradient(135deg, #2563eb, #7c3aed);
  }
  
/* =========================================
       RESET & BASE STYLES
       ========================================= */
* {
    box-sizing: border-box;
}

/* =========================================
       CURSOR TRAIL STYLES (ORIGINAL STYLE)
       ========================================= */
.circle-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cursor-trail-color);
    opacity: 0.3;
    pointer-events: none;
    transition: transform 0.15s linear;
}

/* =========================================
       NAVBAR STYLES
       ========================================= */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: linear-gradient(to bottom,
            var(--glass-bg),
            var(--navbar-gradient-bottom));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    transition: all 0.3s ease;
    box-shadow: var(--navbar-shadow);
}

.nav-logo {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    background: transparent;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    gap: 8px;
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: var(--bg-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* =========================================
       FEEDBACK CONTAINER STYLES
       ========================================= */
.feedback-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

/* Animated background elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(2, 132, 199, 0.08) 0%,
            transparent 70%);
    animation: float 20s infinite linear;
}

.theme-dark .bg-circle {
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 70%);
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: -10s;
    background: radial-gradient(circle,
            rgba(124, 58, 237, 0.08) 0%,
            transparent 70%);
}

.theme-dark .bg-circle:nth-child(2) {
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 70%);
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }

    50% {
        transform: translate(0, 40px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

/* INCREASED FORM WIDTH */
.feedback-container {
    width: 100%;
    max-width: 580px;
    /* Increased from 480px */
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    /* Increased padding */
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feedback-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feedback-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 40px;
    /* Increased margin */
    position: relative;
}

.header-icon {
    width: 80px;
    /* Larger */
    height: 80px;
    /* Larger */
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    /* Increased margin */
    font-size: 32px;
    /* Larger */
    color: white;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
    animation: pulse 2s infinite ease-in-out;
}

.theme-dark .header-icon {
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(2, 132, 199, 0.3);
    }
}

.theme-dark .header-icon {
    animation: pulse-dark 2s infinite ease-in-out;
}

@keyframes pulse-dark {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    }
}

h1 {
    font-size: 32px;
    /* Larger */
    font-weight: 800;
    margin-bottom: 12px;
    /* Increased */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 16px;
    /* Larger */
    color: var(--text-secondary);
    max-width: 420px;
    /* Increased */
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Elements - IMPROVED VISIBILITY */
form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    /* Increased */
}

.form-group {
    position: relative;
}

label {
    font-size: 15px;
    /* Larger */
    font-weight: 600;
    margin-bottom: 12px;
    /* Increased */
    display: block;
    color: var(--text-primary);
    transition: color 0.3s ease;
    background: var(--bg-card);
    padding: 6px 12px;
    /* Increased */
    border-radius: 8px;
    width: fit-content;
    border-left: 3px solid var(--primary);
}

label i {
    margin-right: 10px;
    /* Increased */
    color: var(--primary);
    width: 20px;
    text-align: center;
}

input,
select,
textarea {
    width: 100%;
    padding: 18px 20px;
    /* Increased */
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 16px;
    /* Larger */
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: var(--bg-card);
    transform: translateY(-2px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.7;
}

textarea {
    resize: none;
    min-height: 150px;
    /* Taller */
    line-height: 1.6;
    font-family: inherit;
}

/* Rating Stars */
.rating-group {
    display: flex;
    gap: 8px;
    /* Increased */
    margin-top: 12px;
    /* Increased */
    background: var(--bg-primary);
    padding: 16px;
    /* Increased */
    border-radius: 12px;
    border: 2px solid var(--border);
}

.star {
    font-size: 32px;
    /* Larger */
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    padding: 12px;
    /* Increased */
    border-radius: 10px;
    background: var(--bg-card);
}

.star:hover {
    color: var(--warning);
    transform: scale(1.2);
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
}

.theme-dark .star:hover {
    background: rgba(245, 158, 11, 0.1);
}

.star.active {
    color: var(--warning);
    background: var(--primary-light);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.2);
    text-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.theme-dark .star.active {
    background: rgba(245, 158, 11, 0.1);
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    /* Increased */
    font-size: 14px;
    /* Larger */
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0 10px;
    /* Increased */
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 20px;
    /* Increased */
    border-radius: 12px;
    border: none;
    background: var(--gradient-button);
    color: white;
    font-size: 17px;
    /* Larger */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.25);
}

.theme-dark button[type="submit"]:hover {
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

button[type="submit"]:active {
    transform: translateY(-1px);
}

button[type="submit"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
}

button[type="submit"]:hover::before {
    left: 100%;
}

button[type="submit"].loading {
    pointer-events: none;
    opacity: 0.8;
}

button[type="submit"].loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Back Link */
.back-link {
    margin-top: 32px;
    /* Increased */
    text-align: center;
}

.back-link a {
    color: var(--text-secondary);
    font-size: 16px;
    /* Larger */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    /* Increased */
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.back-link a:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateX(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 14px;
    /* Larger */
    color: var(--text-muted);
    margin-top: 10px;
    /* Increased */
    transition: color 0.3s ease;
    font-weight: 500;
}

.char-counter.warning {
    color: var(--warning);
}

.char-counter.error {
    color: var(--error);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(5, 150, 105, 0.95);
    color: white;
    padding: 18px 28px;
    /* Increased */
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.theme-dark .success-message {
    background: rgba(16, 185, 129, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-message.show {
    transform: translateX(0);
}

.success-message i {
    font-size: 22px;
    /* Larger */
}

/* =========================================
       FOOTER STYLES
       ========================================= */
.footer {
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    color: #1f2933;
    padding: 60px 80px 20px;
    font-family: "Inter", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
}

.footer-brand p {
    margin: 12px 0 20px;
    color: #4b5563;
    font-size: 14px;
}

.footer-social-icons {
    display: flex;
    gap: 14px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2933;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 14px;
    position: relative;
    color: #111827;
}

.footer-links h4::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #2563eb;
    position: absolute;
    left: 0;
    bottom: -6px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    margin-top: 50px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #4b5563;
}

/* =========================
   FOOTER — DARK MODE
   ========================= */

.theme-dark .footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #e5e7eb;
}

.theme-dark .footer-brand h3 {
    color: #ffffff;
}

.theme-dark .footer-brand p {
    color: #9ca3af;
}

.theme-dark .footer-social-icons a {
    background: #020617;
    color: #e5e7eb;
}

.theme-dark .footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.theme-dark .footer-links h4 {
    color: #ffffff;
}

.theme-dark .footer-links ul li a {
    color: #9ca3af;
}

.theme-dark .footer-links ul li a:hover {
    color: #ffffff;
}

.theme-dark .footer-bottom {
    border-top: 1px solid #1e293b;
    color: #9ca3af;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 50px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    /* Larger */
    height: 55px;
    /* Larger */
    background: var(--primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    /* Larger */
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-dark .scroll-to-top {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.theme-dark .scroll-to-top:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* =========================================
       RESPONSIVE DESIGN
       ========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        margin: 20px auto 30px;
        border-radius: 12px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: var(--bg-navbar);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .feedback-container {
        padding: 30px;
        max-width: 95%;
    }

    h1 {
        font-size: 28px;
    }

    .header-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    input,
    select,
    textarea {
        padding: 16px 18px;
    }

    button[type="submit"] {
        padding: 18px;
    }

    .star {
        font-size: 28px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .feedback-container {
        padding: 24px;
        max-width: 100%;
    }

    .rating-group {
        flex-wrap: wrap;
    }

    .star {
        flex: 0 0 calc(20% - 4px);
        font-size: 24px;
    }
}

/* Print Styles */
@media print {
    .feedback-container {
        box-shadow: none;
        border: 1px solid #ccc;
        max-width: 100%;
    }

    button,
    .back-link {
        display: none;
    }
}

    /* =========================================
       RESET & BASE STYLES
       ========================================= */
    * {
      box-sizing: border-box;
    }


    /* =========================================
       CURSOR TRAIL STYLES (ORIGINAL STYLE)
       ========================================= */
    .circle-container {
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
    }

    .circle {
      position: absolute;
      display: block;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--cursor-trail-color);
      opacity: 0.3;
      pointer-events: none;
      transition: transform 0.15s linear;
    }

    /* =========================================
       NAVBAR STYLES
       ========================================= */
    :root {
      /* Glass navbar */
      --glass-bg: rgba(255, 255, 255, 0.75);
      --navbar-gradient-bottom: rgba(255, 255, 255, 0.55);
      --glass-border: rgba(15, 23, 42, 0.08);
      --navbar-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
      --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.35);
    }

    body.theme-dark {
      /* Glass navbar */
      --glass-bg: rgba(2, 6, 23, 0.75);
      --navbar-gradient-bottom: rgba(2, 6, 23, 0.6);
      --glass-border: rgba(148, 163, 184, 0.15);
      --navbar-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
      --shadow-glow: 0 0 22px rgba(59, 130, 246, 0.45);
    }

    .navbar {
      position: sticky;
      top: 20px;
      z-index: 1000;
      background: linear-gradient(to bottom,
          var(--glass-bg),
          var(--navbar-gradient-bottom));
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 15px 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1400px;
      margin: 0 auto 40px auto;
      transition: all 0.3s ease;
      box-shadow: var(--navbar-shadow);
    }

    .nav-logo {
      color: var(--primary);
      font-size: 1.45rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: color 0.3s ease;
      text-decoration: none;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 30px;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-primary);
      font-weight: 500;
      position: relative;
      padding: 4px 0;
      transition: color 0.25s ease;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0%;
      height: 2px;
      background-color: var(--primary);
      transition: width 0.25s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover::after {
      width: 70%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      width: 30px;
      background: transparent;
      border: none;
      padding: 5px;
    }

    .hamburger span {
      width: 100%;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .theme-toggle {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      min-height: 44px;
      backdrop-filter: blur(10px);
      font-weight: 600;
      gap: 8px;
    }

    .theme-toggle:hover {
      background-color: var(--primary);
      color: var(--bg-primary);
      transform: scale(1.05);
      box-shadow: var(--shadow-glow);
    }

    /* Nav left and right */
    .nav-left {
      display: flex;
      align-items: center;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* Dropdown button */
    .drop-btn {
      background: none;
      border: none;
      color: var(--text-primary);
      font-weight: 500;
      cursor: pointer;
      padding: 4px 0;
      position: relative;
      transition: color 0.25s ease;
    }

    .drop-btn::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0%;
      height: 2px;
      background-color: var(--primary);
      transition: width 0.25s ease;
    }

    .drop-btn:hover {
      color: var(--primary);
    }

    .drop-btn:hover::after {
      width: 70%;
    }

    .drop-btn:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 4px;
      border-radius: 4px;
    }

    /* Dropdown */
    .dropdown {
      position: relative;
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 120%;
      right: 0;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 10px;
      min-width: 180px;
      box-shadow: var(--navbar-shadow);
      z-index: 1001;
    }

    .dropdown-menu li {
      padding: 8px 10px;
    }

    .dropdown-menu a {
      font-size: 0.9rem;
      color: var(--text-primary);
    }

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

    /* =========================================
       FEEDBACK CONTAINER STYLES
       ========================================= */
    .feedback-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 20px;
    }

    /* Animated background elements */
    .bg-elements {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
      overflow: hidden;
    }

    .bg-circle {
      position: absolute;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
      animation: float 20s infinite linear;
    }

    .theme-dark .bg-circle {
      background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    }

    .bg-circle:nth-child(1) {
      width: 300px;
      height: 300px;
      top: -100px;
      left: -100px;
      animation-delay: 0s;
    }

    .bg-circle:nth-child(2) {
      width: 200px;
      height: 200px;
      bottom: -50px;
      right: -50px;
      animation-delay: -10s;
      background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    }

    .theme-dark .bg-circle:nth-child(2) {
      background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    }

    @keyframes float {
      0%, 100% {
        transform: translate(0, 0) rotate(0deg);
      }
      25% {
        transform: translate(20px, 20px) rotate(90deg);
      }
      50% {
        transform: translate(0, 40px) rotate(180deg);
      }
      75% {
        transform: translate(-20px, 20px) rotate(270deg);
      }
    }

    /* INCREASED FORM WIDTH */
    .feedback-container {
      width: 100%;
      max-width: 580px; /* Increased from 480px */
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 40px; /* Increased padding */
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feedback-container:hover {
      transform: translateY(-5px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    .feedback-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: var(--gradient-primary);
      border-radius: 20px 20px 0 0;
    }

    /* Header Section */
    .header {
      text-align: center;
      margin-bottom: 40px; /* Increased margin */
      position: relative;
    }

    .header-icon {
      width: 80px; /* Larger */
      height: 80px; /* Larger */
      background: var(--gradient-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px; /* Increased margin */
      font-size: 32px; /* Larger */
      color: white;
      box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
      animation: pulse 2s infinite ease-in-out;
    }

    .theme-dark .header-icon {
      box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    }

    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
      }
      50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(2, 132, 199, 0.3);
      }
    }

    .theme-dark .header-icon {
      animation: pulse-dark 2s infinite ease-in-out;
    }

    @keyframes pulse-dark {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
      }
      50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
      }
    }

    h1 {
      font-size: 32px; /* Larger */
      font-weight: 800;
      margin-bottom: 12px; /* Increased */
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      display: inline-block;
    }

    .subtitle {
      font-size: 16px; /* Larger */
      color: var(--text-secondary);
      max-width: 420px; /* Increased */
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Form Elements - IMPROVED VISIBILITY */
    form {
      display: flex;
      flex-direction: column;
      gap: 28px; /* Increased */
    }

    .form-group {
      position: relative;
    }

    label {
      font-size: 15px; /* Larger */
      font-weight: 600;
      margin-bottom: 12px; /* Increased */
      display: block;
      color: var(--text-primary);
      transition: color 0.3s ease;
      background: var(--bg-card);
      padding: 6px 12px; /* Increased */
      border-radius: 8px;
      width: fit-content;
      border-left: 3px solid var(--primary);
    }

    label i {
      margin-right: 10px; /* Increased */
      color: var(--primary);
      width: 20px;
      text-align: center;
    }

    input, select, textarea {
      width: 100%;
      padding: 18px 20px; /* Increased */
      border-radius: 12px;
      border: 2px solid var(--border);
      background: var(--bg-primary);
      color: var(--text-primary);
      font-size: 16px; /* Larger */
      outline: none;
      transition: all 0.3s ease;
      font-weight: 500;
      box-shadow: var(--shadow-sm);
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px var(--primary-light);
      background: var(--bg-card);
      transform: translateY(-2px);
    }

    input::placeholder,
    textarea::placeholder {
      color: var(--text-muted);
      font-weight: 400;
      opacity: 0.7;
    }

    textarea {
      resize: none;
      min-height: 150px; /* Taller */
      line-height: 1.6;
      font-family: inherit;
    }

    /* Rating Stars */
    .rating-group {
      display: flex;
      gap: 8px; /* Increased */
      margin-top: 12px; /* Increased */
      background: var(--bg-primary);
      padding: 16px; /* Increased */
      border-radius: 12px;
      border: 2px solid var(--border);
    }

    .star {
      font-size: 32px; /* Larger */
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s ease;
      flex: 1;
      text-align: center;
      padding: 12px; /* Increased */
      border-radius: 10px;
      background: var(--bg-card);
    }

    .star:hover {
      color: var(--warning);
      transform: scale(1.2);
      background: var(--primary-light);
      box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
    }

    .theme-dark .star:hover {
      background: rgba(245, 158, 11, 0.1);
    }

    .star.active {
      color: var(--warning);
      background: var(--primary-light);
      box-shadow: 0 0 15px rgba(217, 119, 6, 0.2);
      text-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
    }

    .theme-dark .star.active {
      background: rgba(245, 158, 11, 0.1);
    }

    .rating-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 16px; /* Increased */
      font-size: 14px; /* Larger */
      font-weight: 500;
      color: var(--text-secondary);
      padding: 0 10px; /* Increased */
    }

    /* Submit Button */
    button[type="submit"] {
      width: 100%;
      padding: 20px; /* Increased */
      border-radius: 12px;
      border: none;
      background: var(--gradient-button);
      color: white;
      font-size: 17px; /* Larger */
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 20px;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    button[type="submit"]:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(2, 132, 199, 0.25);
    }

    .theme-dark button[type="submit"]:hover {
      box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
    }

    button[type="submit"]:active {
      transform: translateY(-1px);
    }

    button[type="submit"]::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.6s ease;
    }

    button[type="submit"]:hover::before {
      left: 100%;
    }

    button[type="submit"].loading {
      pointer-events: none;
      opacity: 0.8;
    }

    button[type="submit"].loading i {
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Back Link */
    .back-link {
      margin-top: 32px; /* Increased */
      text-align: center;
    }

    .back-link a {
      color: var(--text-secondary);
      font-size: 16px; /* Larger */
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px; /* Increased */
      border-radius: 10px;
      transition: all 0.3s ease;
      font-weight: 500;
      background: var(--bg-primary);
      border: 1px solid var(--border);
    }

    .back-link a:hover {
      color: var(--primary);
      background: var(--primary-light);
      transform: translateX(-3px);
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    /* Character Counter */
    .char-counter {
      text-align: right;
      font-size: 14px; /* Larger */
      color: var(--text-muted);
      margin-top: 10px; /* Increased */
      transition: color 0.3s ease;
      font-weight: 500;
    }

    .char-counter.warning {
      color: var(--warning);
    }

    .char-counter.error {
      color: var(--error);
    }

    /* Success Message */
    .success-message {
      position: fixed;
      top: 20px;
      right: 20px;
      background: rgba(5, 150, 105, 0.95);
      color: white;
      padding: 18px 28px; /* Increased */
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: var(--shadow-md);
      transform: translateX(120%);
      transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      z-index: 1000;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(5, 150, 105, 0.3);
    }

    .theme-dark .success-message {
      background: rgba(16, 185, 129, 0.95);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .success-message.show {
      transform: translateX(0);
    }

    .success-message i {
      font-size: 22px; /* Larger */
    }

    /* =========================================
       FOOTER STYLES
       ========================================= */
    .footer {
      background: linear-gradient(180deg, #f8fafc, #e5e7eb);
      color: #1f2933;
      padding: 60px 80px 20px;
      font-family: "Inter", sans-serif;
    }

    .footer-container {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 50px;
    }

    .footer-brand h3 {
      font-size: 22px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #111827;
    }

    .footer-brand p {
      margin: 12px 0 20px;
      color: #4b5563;
      font-size: 14px;
    }

    .footer-social-icons {
      display: flex;
      gap: 14px;
    }

    .footer-social-icons a {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1f2933;
      transition: all 0.3s ease;
    }

    .footer-social-icons a:hover {
      background: #2563eb;
      color: #ffffff;
    }

    .footer-links h4 {
      font-size: 16px;
      margin-bottom: 14px;
      position: relative;
      color: #111827;
    }

    .footer-links h4::after {
      content: "";
      width: 30px;
      height: 2px;
      background: #2563eb;
      position: absolute;
      left: 0;
      bottom: -6px;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin-top: 20px;
    }

    .footer-links ul li {
      margin-bottom: 10px;
    }

    .footer-links ul li a {
      text-decoration: none;
      color: #4b5563;
      font-size: 14px;
      transition: color 0.3s ease;
    }

    .footer-links ul li a:hover {
      color: #111827;
    }

    .footer-bottom {
      border-top: 1px solid #d1d5db;
      margin-top: 50px;
      padding-top: 15px;
      text-align: center;
      font-size: 14px;
      color: #4b5563;
    }

/* =========================
   FOOTER — DARK MODE
   ========================= */

   .theme-dark .footer {
      background: linear-gradient(180deg, #0f172a, #020617);
      color: #e5e7eb;
    }

    .theme-dark .footer-brand h3 {
      color: #ffffff;
    }

    .theme-dark .footer-brand p {
      color: #9ca3af;
    }

    .theme-dark .footer-social-icons a {
      background: #020617;
      color: #e5e7eb;
    }

    .theme-dark .footer-social-icons a:hover {
      background: #2563eb;
      color: #ffffff;
    }

    .theme-dark .footer-links h4 {
      color: #ffffff;
    }

    .theme-dark .footer-links ul li a {
      color: #9ca3af;
    }

    .theme-dark .footer-links ul li a:hover {
      color: #ffffff;
    }

    .theme-dark .footer-bottom {
      border-top: 1px solid #1e293b;
      color: #9ca3af;
    }
    @media (max-width: 900px) {
      .footer-container {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 600px) {
      .footer {
        padding: 50px 30px;
      }

      .footer-container {
        grid-template-columns: 1fr;
      }
    }

    /* Scroll to Top Button */
    .scroll-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 55px; /* Larger */
      height: 55px; /* Larger */
      background: var(--primary);
      color: var(--bg-primary);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem; /* Larger */
      box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
      transition: all 0.3s ease;
      z-index: 1000;
    }

    .theme-dark .scroll-to-top {
      box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    .scroll-to-top:hover {
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
    }

    .theme-dark .scroll-to-top:hover {
      box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    }

    .scroll-to-top.show {
      display: flex;
    }

    /* =========================================
       RESPONSIVE DESIGN
       ========================================= */
    @media (max-width: 768px) {
      .navbar {
        padding: 15px 20px;
        margin: 20px auto 30px;
        border-radius: 12px;
      }

      .nav-logo {
        font-size: 1.3rem;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: var(--bg-navbar);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .feedback-container {
        padding: 30px;
        max-width: 95%;
      }
      
      h1 {
        font-size: 28px;
      }
      
      .header-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
      }
      
      input, select, textarea {
        padding: 16px 18px;
      }
      
      button[type="submit"] {
        padding: 18px;
      }
      
      .star {
        font-size: 28px;
        padding: 10px;
      }
    }

    @media (max-width: 480px) {
      body {
        padding: 10px;
      }

      .feedback-container {
        padding: 24px;
        max-width: 100%;
      }
      
      .rating-group {
        flex-wrap: wrap;
      }
      
      .star {
        flex: 0 0 calc(20% - 4px);
        font-size: 24px;
      }
    }

    /* Print Styles */
    @media print {
      .feedback-container {
        box-shadow: none;
        border: 1px solid #ccc;
        max-width: 100%;
      }
      
      button, .back-link {
        display: none;
      }
    }
  