:root {
    --primary-blue: #1a73e8;
    --secondary-blue: #4285f4;
    --dark-blue: #0d47a1;
    --light-blue: #e8f0fe;
    --black: #202124;
    --dark-gray: #3c4043;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

header {
    position: relative;
    width: 100%;
    padding: 1rem;
    background-color: #1a1a1a;
}

.logo {
    text-align: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.logo p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.contact-form {
    background-color: #1f1f1f;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 0.7rem);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 8px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.submit-btn {
    background-color: #007bff;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-blue);
}

.contact-info {
    background-color: var(--primary-blue);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 8px;
    height: fit-content;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.info-item p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.faq-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background-color: #1f1f1f;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    position: relative;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.2rem 1.2rem 1.2rem 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question h3 {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--white);
    margin: 0;
    padding-right: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.2rem 0;
    opacity: 1;
}

.faq-answer p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    padding-left: 0.5rem;
    border-left: 2px solid var(--primary-blue);
}

/* FAQ Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.3s ease-out;
}

/* FAQ Responsive Adjustments */
@media (max-width: 768px) {
    .faq-section {
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1rem 1rem 0;
    }

    .faq-answer {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin: 1rem;
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

.message-container {
    padding: clamp(1rem, 3vw, 2rem);
    margin: clamp(1rem, 3vw, 2rem) auto;
    max-width: min(600px, 90%);
}

.message-container h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
}

.message-container p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

footer {
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-content p {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

@media (max-width: 768px) {
    nav {
        width: 85%;
        max-width: 400px;
    }

    nav ul {
        padding: 1rem;
    }

    nav a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .user-menu {
        padding: 1rem;
    }

    .user-info {
        font-size: 0.9rem;
    }

    .logout-btn {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .contact-section {
        gap: 1.5rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .back-button {
        width: 100%;
        text-align: center;
    }
}

body {
    font-family: Arial, sans-serif;
    background: #003EB8;
    background: radial-gradient(circle, rgba(0, 62, 184, 1) 0%, rgba(26, 26, 26, 1) 100%);
    color: white; /* White text */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a:hover, nav a.active {
    background-color: #007bff;
}

nav i {
    font-size: 1.1rem;
}

nav ul li.user-menu a:hover {
    background-color:#007bff;
    
}

.logout-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ff3e3e;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 10px 20px rgba(255, 62, 62, 0.5);
}

.logout-btn .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: url('https://img.icons8.com/ios-filled/50/ffffff/logout-rounded-left.png') no-repeat center center / contain;
  transition: transform 0.4s ease;
}

.logout-btn .text {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.logout-btn::before, .logout-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
  border-radius: 50%;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0);
}

.logout-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.logout-btn:hover .icon {
  transform: translateX(-10px) rotate(-360deg);
}

.logout-btn:hover .text {
  transform: translateX(10px);
}

.logout-btn:hover {
  background: #ff1e1e;
  transform: scale(1.08);
}