/* Core Variables - Important: Keep these consistent across all CSS files */
:root {
    --bg-dark: #12121f;
    --card-bg-1: #1a1a2e;
    --card-bg-2: #1e1a38;
    --card-bg-3: #1a2e2e;
    --text-light: #e0e0e0;
    --primary-glow: #00e6e6; /* Aqua/Cyan - New glow color */
    --secondary-glow: #9933ff; /* Purple - New glow color */
    --accent-color: #00bcd4; /* Teal - Kept same for titles etc. */
    --button-bg: #0f3460;
    --button-hover-bg: #1a4f8d;
    --border-color: #0d1a2f;
    --input-bg: #0f1628;
    --input-border: #283747;

    /* Reduced glow RGB values for JS */
    --primary-glow-rgb: 0, 230, 230;
    --secondary-glow-rgb: 153, 51, 255;
    --accent-color-rgb: 0, 188, 212;

    /* Difficulty Colors (if needed, copying for consistency) */
    --difficulty-very-easy: #4CAF50;
    --difficulty-easy: #8BC34A;
    --difficulty-hard: #FF9800;
    --difficulty-very-hard: #F44336;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles - IDENTICAL across all pages */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--card-bg-1);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 100px;
    height: 100px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 2px var(--primary-glow);
    animation: neonText 2s infinite alternate;
}

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

.nav-item {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1em;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-glow);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-item:hover {
    color: var(--primary-glow);
    text-shadow: 0 0 2px var(--primary-glow);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid var(--input-border);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-glow);
    box-shadow: 0 0 3px var(--primary-glow);
}

.search-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 1em;
    padding: 5px 10px;
    width: 200px;
}

.search-input::placeholder {
    color: #888;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-button svg {
    color: var(--accent-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.search-button:hover svg {
    color: var(--primary-glow);
    transform: scale(1.1);
}

/* About Page Specific Styles */
.about-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--card-bg-2);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow Border Effect - IDENTICAL across all pages */
.glow-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.glow-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px; /* Match container radius */
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    z-index: -1;
    opacity: 0;
    filter: blur(2px);
    transition: opacity 0.4s ease, filter 0.4s ease;
    animation: border-glow 3s infinite alternate ease-in-out paused;
    pointer-events: none;
}

.glow-border:hover::after {
    opacity: 0.3;
    filter: blur(4px);
    animation-play-state: running;
}

.page-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.page-title-logo {
    width: 100px; /* Consistent logo size with flasher page */
    height: auto;
    filter: drop-shadow(0 0 3px var(--primary-glow));
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3em;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--primary-glow);
    margin: 0; /* Override default margin */
    animation: neonText 2s infinite alternate;
}

.ewt {
    color: #e94560
}

.footer {
    background-color: #0d0d1a; /* Darker background for footer */
    color: #e0e0e0;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-around; /* Distribute items */
    flex-direction: column;    /* Add or change to column */
    align-items: center;       /* Add or change to center */
    text-align: center;        /* Add or change to center */
    gap: 30px; /* Space between flex items */
    border-top: 2px solid #2a2a40; /* Subtle top border */
}

.footer-content {
    /* ... existing properties ... */
    align-items: center;       /* Add or change to center */
    text-align: center;        /* Add or change to center */
    width: 100%;               /* Add or ensure this */
    max-width: 500px;          /* Optional: Add this line for readability */
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #cccccc;
}

.social-links {
    margin-top: 15px;
}

.social-button {
    display: inline-flex; /* Allows icon and text on one line */
    align-items: center;
    background-color: #1a1a2e; /* Darker button background */
    color: var(--accent-color, #e94560); /* Use defined accent color */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.social-button i {
    margin-right: 8px;
    font-size: 1.2em;
}

.social-button:hover {
    background-color: var(--accent-color, #e94560);
    color: white;
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4); /* Enhanced glow on hover */
}


/* --- Contact Form Styling --- */
.contact-form-section {
    background-color: #1a1a2e; /* Darker background for form section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Stronger shadow for depth */
    width: 100%; /* Take full width on small screens */
    max-width: 450px; /* Max width for larger screens */
    box-sizing: border-box; /* Include padding in width */
    position: relative; /* For positioning the animation */
    overflow: hidden; /* Hide overflow of glow/animation */
    border: 1px solid #2a2a40; /* Subtle border */
    transition: box-shadow 0.3s ease; /* Smooth glow transition */
}

.contact-form-section:hover {
    box-shadow: 0 0 30px var(--accent-color, #e94560); /* Brighter glow on hover */
}


.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: var(--accent-color, #e94560); /* Use accent color for title */
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.3); /* Subtle text glow */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 8px;
    text-align: center;        /* Add or change to center */
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a40; /* Input background */
    border: 1px solid #4a4a60; /* Input border */
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color, #e94560);
    outline: none;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5); /* Focus glow */
}

/* Make message textbox big */
.contact-form textarea {
    min-height: 120px; /* Adjust height as needed */
    resize: vertical; /* Allow vertical resizing by user */
}

.submit-button {
    width: 100%;
    padding: 15px 25px;
    background-color: var(--accent-color, #e94560);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4); /* Glow effect */
}

.submit-button:hover {
    background-color: #c93550; /* Slightly darker on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.6); /* Stronger glow on hover */
}

.submit-button:disabled {
    background-color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* --- Mail Sent Animation --- */
.mail-sent-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    border-radius: 10px;
    opacity: 0; /* Hidden by default */
    transform: scale(0.8); /* Start slightly smaller */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    pointer-events: none; /* Do not block interaction when hidden */
}

.mail-sent-animation.show-animation {
    opacity: 1;
    transform: scale(1);
    pointer-events: all; /* Allow interaction (if any) when visible */
}

.mail-sent-animation .check-icon {
    font-size: 4em;
    color: #4CAF50; /* Green checkmark */
    animation: scaleIn 0.6s ease-out;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.6); /* Green glow */
}

.mail-sent-animation .sent-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-section {
        width: 90%;
        max-width: none; /* Remove max-width on smaller screens */
    }
}

.about-content {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 20px;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.about-callout {
    background-color: rgba(var(--primary-glow-rgb), 0.08); /* Subtle background */
    border-left: 4px solid var(--primary-glow);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: #0d0d1a; /* Darker background for footer */
    color: #e0e0e0;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-around; /* Distribute items */
    flex-direction: column;    /* Add or change to column */
    align-items: center;       /* Add or change to center */
    text-align: center;        /* Add or change to center */
    gap: 30px; /* Space between flex items */
    border-top: 2px solid #2a2a40; /* Subtle top border */
}

.footer-content {
    /* ... existing properties ... */
    align-items: center;       /* Add or change to center */
    text-align: center;        /* Add or change to center */
    width: 100%;               /* Add or ensure this */
    max-width: 500px;          /* Optional: Add this line for readability */
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #cccccc;
}

.social-links {
    margin-top: 15px;
}

.social-button {
    display: inline-flex; /* Allows icon and text on one line */
    align-items: center;
    background-color: #1a1a2e; /* Darker button background */
    color: var(--accent-color, #e94560); /* Use defined accent color */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.social-button i {
    margin-right: 8px;
    font-size: 1.2em;
}

.social-button:hover {
    background-color: var(--accent-color, #e94560);
    color: white;
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4); /* Enhanced glow on hover */
}


/* --- Contact Form Styling --- */
.contact-form-section {
    background-color: #1a1a2e; /* Darker background for form section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Stronger shadow for depth */
    width: 100%; /* Take full width on small screens */
    max-width: 450px; /* Max width for larger screens */
    box-sizing: border-box; /* Include padding in width */
    position: relative; /* For positioning the animation */
    overflow: hidden; /* Hide overflow of glow/animation */
    border: 1px solid #2a2a40; /* Subtle border */
    transition: box-shadow 0.3s ease; /* Smooth glow transition */
}

.contact-form-section:hover {
    box-shadow: 0 0 30px var(--accent-color, #e94560); /* Brighter glow on hover */
}


.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: var(--accent-color, #e94560); /* Use accent color for title */
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.3); /* Subtle text glow */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 8px;
    text-align: center;        /* Add or change to center */
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a40; /* Input background */
    border: 1px solid #4a4a60; /* Input border */
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color, #e94560);
    outline: none;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5); /* Focus glow */
}

/* Make message textbox big */
.contact-form textarea {
    min-height: 120px; /* Adjust height as needed */
    resize: vertical; /* Allow vertical resizing by user */
}

.submit-button {
    width: 100%;
    padding: 15px 25px;
    background-color: var(--accent-color, #e94560);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4); /* Glow effect */
}

.submit-button:hover {
    background-color: #c93550; /* Slightly darker on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.6); /* Stronger glow on hover */
}

.submit-button:disabled {
    background-color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* --- Mail Sent Animation --- */
.mail-sent-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    border-radius: 10px;
    opacity: 0; /* Hidden by default */
    transform: scale(0.8); /* Start slightly smaller */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    pointer-events: none; /* Do not block interaction when hidden */
}

.mail-sent-animation.show-animation {
    opacity: 1;
    transform: scale(1);
    pointer-events: all; /* Allow interaction (if any) when visible */
}

.mail-sent-animation .check-icon {
    font-size: 4em;
    color: #4CAF50; /* Green checkmark */
    animation: scaleIn 0.6s ease-out;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.6); /* Green glow */
}

.mail-sent-animation .sent-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-section {
        width: 90%;
        max-width: none; /* Remove max-width on smaller screens */
    }
}

/* Add to your existing style/about.css file */

/* --- Policy Sections (Terms & Privacy) --- */
.policy-section {
    max-width: 900px;
    margin: 60px auto; /* Space above and below each section */
    padding: 40px;
    background-color: var(--card-bg-2); /* Consistent background */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: left; /* Text alignment for readability */
    border: 1px solid var(--border-color); /* Subtle border */
    position: relative; /* For potential glow effects */
}

.policy-section::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 18px; /* Slightly larger than container for blur */
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    z-index: -1;
    opacity: 0;
    filter: blur(2px);
    transition: opacity 0.4s ease, filter 0.4s ease;
    pointer-events: none;
}

.policy-section:hover::before {
    opacity: 0.1; /* Subtle glow on hover */
    filter: blur(4px);
}

.policy-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: var(--accent-color);
    text-shadow: 0 0 4px var(--primary-glow);
    margin-bottom: 30px;
    text-align: center; /* Center the section titles */
    border-bottom: 2px solid rgba(var(--primary-glow-rgb), 0.2);
    padding-bottom: 15px;
}

.policy-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: var(--primary-glow);
    margin-top: 40px;
    margin-bottom: 15px;
    text-shadow: 0 0 1px var(--primary-glow);
}

.policy-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.policy-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.policy-section ul li {
    margin-bottom: 10px;
}

/* Responsive Adjustments for Policy Sections */
@media (max-width: 1024px) {
    .policy-section {
        padding: 30px;
        margin: 40px auto;
    }
    .policy-title {
        font-size: 2em;
    }
    .policy-section h3 {
        font-size: 1.6em;
    }
    .policy-section p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .policy-section {
        padding: 25px;
        margin: 30px auto;
    }
    .policy-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .policy-section h3 {
        font-size: 1.4em;
        margin-top: 30px;
    }
    .policy-section p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .policy-section {
        padding: 20px;
        margin: 20px auto;
    }
    .policy-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .policy-section h3 {
        font-size: 1.2em;
        margin-top: 20px;
    }
    .policy-section p {
        font-size: 0.9em;
    }
}

/* --- Contact Form Section (if it remains in footer) --- */
/* You would typically move this to a dedicated contact page or within the main content.
   If kept in footer, ensure its styles fit well. */
.contact-form-section {
    background-color: var(--card-bg-2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    width: 100%;
    max-width: 500px; /* Limit width to keep form compact */
    text-align: left; /* Align form elements to the left within their bounds */
    position: relative;
    overflow: hidden; /* For glow effect */
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 18px; /* Match container radius */
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    z-index: -1;
    opacity: 0;
    filter: blur(2px);
    transition: opacity 0.4s ease, filter 0.4s ease;
    pointer-events: none;
}

.contact-form-section:hover::before {
    opacity: 0.1; /* Subtle glow on hover */
    filter: blur(4px);
}


.contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    color: var(--accent-color);
    text-shadow: 0 0 3px var(--primary-glow);
    margin-bottom: 25px;
    text-align: center; /* Center the contact form title */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-light);
    font-size: 1em;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 8px rgba(var(--primary-glow-rgb), 0.5);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--button-bg);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.submit-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 10px rgba(var(--primary-glow-rgb), 0.5);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mail-sent-animation {
    display: none; /* Hidden by default, show with JS */
    text-align: center;
    margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(var(--primary-glow-rgb), 0.1);
    border: 1px solid var(--primary-glow);
    animation: fadeIn 0.5s ease-out;
}

.check-icon {
    font-size: 3em;
    color: var(--primary-glow);
    margin-bottom: 10px;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sent-text {
    font-size: 1.2em;
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.about-callout h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-glow);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: 0 0 2px var(--primary-glow);
}

.about-callout p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Footer Styles - IDENTICAL across all pages */
.footer {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg-1);
    border-top: 2px solid var(--border-color);
    margin-top: 60px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 0.9em;
}

/* Animations - IDENTICAL across all pages */
@keyframes neonText {
    0% {
        text-shadow: 0 0 1px var(--primary-glow), 0 0 2px var(--primary-glow);
    }
    100% {
        text-shadow: 0 0 2px var(--primary-glow), 0 0 4px var(--primary-glow), 0 0 6px rgba(0, 230, 230, 0.3);
    }
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 1px var(--primary-glow));
    }
    100% {
        filter: drop-shadow(0 0 4px var(--primary-glow)) drop_shadow(0 0 8px rgba(0, 230, 230, 0.2));
    }
}

@keyframes border-glow {
    0% {
        opacity: 0.2;
        filter: blur(2px);
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        filter: blur(3px);
        transform: scale(1.005);
    }
    100% {
        opacity: 0.2;
        filter: blur(2px);
        transform: scale(1);
    }
}

/* Dynamic glow effect for about container */
.about-container::before {
    --x: 0px;
    --y: 0px;
    background: radial-gradient(circle at var(--x) var(--y), rgba(var(--primary-glow-rgb), 0.01) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.about-container:hover::before {
    opacity: 0.5;
}


/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .header {
        padding: 15px 30px;
    }
    .logo-text {
        font-size: 1.5em;
    }
    .nav ul {
        gap: 20px;
    }
    .nav-item {
        font-size: 1em;
    }
    .search-input {
        width: 150px;
    }
    .about-container {
        padding: 30px;
        margin: 40px auto;
    }
    .page-title {
        font-size: 2.5em;
    }
    .about-content {
        font-size: 1em;
    }
    .about-callout h3 {
        font-size: 1.4em;
    }
    .about-callout p {
        font-size: 0.9em;
    }
}

/* Footer Styles - Modified to include social links */


@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }
    .nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .search-container {
        width: 80%;
        max-width: 300px;
        justify-content: center;
    }
    .search-input {
        width: 100%;
        text-align: center;
    }
    .about-container {
        padding: 25px;
        margin: 30px auto;
    }
    .page-title {
        font-size: 2em;
    }
    .page-title-container {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    .about-content {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3em;
    }
    .nav-item {
        font-size: 0.9em;
    }
    .page-title {
        font-size: 1.8em;
    }
    .page-title-logo {
        width: 45px;
    }
    .about-content {
        font-size: 0.9em;
    }
    .about-callout h3 {
        font-size: 1.2em;
    }
}