@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;700&display=swap');
:root {
  --nav1: #6e53ff;
  --nav2: #34c6f4;
  --nav3: #fa709a;
  --white: #fff;
  --shadow: rgba(0,0,0,0.09);
}

/* Body & Base */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f5f7fa;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg, var(--nav1), var(--nav2) 65%, var(--nav3));
  background-size: 200% 120%;
  animation: navmove 10s ease-in-out infinite;
  box-shadow: 0 2px 18px var(--shadow);
  backdrop-filter: blur(11px);
}
@keyframes navmove {
  0%{background-position:0 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0 50%;}
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 18px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1.2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin-left: 18px;
}
.nav-links li a {
  color: var(--white);
  padding: 8px 18px;
  border-radius: 7px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s,color 0.18s;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255,255,255,0.17);
  color: var(--nav2);
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 67px; right: 0; left: 0;
    flex-direction: column;
    background: linear-gradient(135deg, var(--nav2), var(--nav1) 80%);
    border-bottom-left-radius: 0.8em;
    border-bottom-right-radius: 0.8em;
    max-height: 0;
    overflow: hidden;
    width: 100vw;
    padding-left: 0;
    box-shadow: 0 10px 30px #0027;
    transition: max-height .28s;
    z-index: 120;
  }
  .nav-links.open { max-height: 600px; padding: 12px 0 17px 0; }
  .nav-links li { margin: 13px 0; text-align: right; }
}

/* HERO SECTION */
.hero-img {
  background: url('/static/img3.jpg') center/cover no-repeat, linear-gradient(120deg,#e0f7fa,#fff9c4);
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,18,43,0.45);
  z-index: 1;
}
.center {
  position: relative;
  z-index: 2;
  width: 90vw;
  margin: 0 auto;
  text-align: center;
}
.title h5 {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 26px;
  text-shadow: 0 3px 20px #13132A;
}

/* BUTTONS */
.btns {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btns button {
  min-width: 130px;
  padding: 13px 28px;
  border-radius: 7px;
  border: 2.2px solid #fff;
  background: linear-gradient(90deg, var(--nav2), var(--nav1));
  color: #fff;
  font-weight: 600;
  font-size: 1.08em;
  cursor: pointer;
  margin-bottom: 14px;
  box-shadow: 0 2px 15px #0002;
  transition: background .2s, color .2s;
}
.btns button:hover {
  background: #fff;
  color: var(--nav2);
  border-color: var(--nav2);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .center { width: 99vw; }
}
@media (max-width: 700px) {
  .title h5 { font-size: 1.13rem; }
  .hero-img { height: 66vh; }
}
@media (max-width: 480px) {
  .hero-img { height: 48vh; }
  .btns button { min-width: 100px; padding: 10px 16px; font-size: .97em;}
  .center { width: 99vw; }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
}
::selection{
  color: #000;
  background: #fff;
}

/* NAV */
nav{
  position: fixed;
  background: #1b1b1b;
  width: 100%;
  padding: 10px 0;
  z-index: 100; /* keep nav on top */
}
nav .menu{
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.menu .logo a{
  text-decoration: none;
  color: #fff;
  font-size: 28px; /* slightly smaller for better mobile fit */
  font-weight: 600;
}

/* MENU */
.menu ul{
  display: inline-flex;
}
.menu ul li{
  list-style: none;
  margin-left: 7px;
}
.menu ul li:first-child{
  margin-left: 0px;
}
.menu ul li a{
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.menu ul li a:hover{
  background: #fff;
  color: black;
}

/* HERO / IMAGE SECTION */
/* Use absolute path to static image so browser requests /static/img3.jpg */
.img{
  /* layered background: first try the image, then fallback gradient */
  background-image: url('/static/img3.jpg'), linear-gradient(120deg,#e0f7fa,#fff9c4);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  position: relative; /* for ::before and centered content */
  overflow: hidden;
}

/* dark overlay */
.img::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* center content must be above overlay */
.center{
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}

/* headline + subheading */
.center .title{
  color: #fff;
  font-size: 48px; /* slightly reduced for better default */
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 12px;
}
.center .sub_title{
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

/* buttons */
.center .btns{
  margin-top: 20px;
}
.center .btns button{
  height: 50px;
  min-width: 150px;
  border-radius: 6px;
  border: 2px solid white;
  margin: 0 8px;
  font-size: 18px;
  font-weight: 500;
  padding: 0 12px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}
.center .btns button:first-child{
  color: #fff;
  background: transparent;
}
.center .btns button:first-child:hover{
  background: white;
  color: black;
}
.center .btns button:last-child{
  background: white;
  color: black;
}

/* small screens: responsive adjustments */
@media (max-width: 768px) {
  .menu .logo a { font-size: 22px; }
  .menu ul { display: none; } /* hide menu on small screens — add hamburger if needed */
  .center .title { font-size: 26px; }
  .center .sub_title { font-size: 16px; }
  .center .btns button { width: 140px; font-size: 16px; height: 44px; }
  .img { height: 70vh; } /* reduce hero height on mobile */
}


/* ===== Auth pages styles (append to /static/style.css) ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#f6f8ff 0%, #e8fff7 100%); font-family: 'Poppins', sans-serif; padding: 30px 18px; }

.auth-wrap { max-width: 1100px; width: 100%; display: grid; grid-template-columns: 1fr 420px; gap: 30px; align-items: center; }

/* card */
.auth-card { background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9)); border-radius: 16px; box-shadow: 0 10px 30px rgba(17,24,39,0.08); padding: 32px; }
.brand { text-align: left; margin-bottom: 8px; }
.brand-link { font-weight: 700; font-size: 28px; text-decoration: none; color: #0f172a; }
.brand-link span { color: #0ea5a4; }
.brand-sub { color: #475569; margin-top: 6px; font-size: 13px; }

/* headings */
.auth-card h2 { margin: 14px 0 20px; color: #0b1220; font-size: 22px; }

/* form */
.auth-form .row { margin-bottom: 14px; display: flex; flex-direction: column; }
.auth-form label { font-size: 13px; color: #334155; margin-bottom: 6px; }
.auth-form input { padding: 12px 14px; border-radius: 10px; border: 1px solid #ccd6e6; font-size: 15px; outline: none; background: #fff; transition: box-shadow .15s, border-color .15s; }
.auth-form input:focus { border-color: #8b5cf6; box-shadow: 0 6px 18px rgba(99,102,241,0.08); }

/* small hint */
.hint { font-size: 12px; color: #64748b; margin-top: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 15px; cursor: pointer; border: none; }
.btn.primary { background: linear-gradient(90deg,#7c3aed,#06b6d4); color: #fff; box-shadow: 0 8px 20px rgba(12,74,110,0.09); }
.btn.oauth { background: #fff; color: #0f172a; border: 1px solid #e6eef8; box-shadow: none; padding: 10px 12px; display:inline-flex; text-decoration:none; }

/* alt link */
.alt { margin-top: 12px; font-size: 14px; color: #475569; }
.alt a { color: #7c3aed; text-decoration: none; font-weight: 600; }

/* message */
.message { margin-top: 12px; font-size: 14px; min-height: 20px; }
.message.error { color: #b91c1c; }
.message.success { color: #064e3b; }

/* illustration side */
.auth-illustration { text-align: center; padding: 34px; border-radius: 16px; background: linear-gradient(135deg, rgba(12,74,110,0.06), rgba(14,165,233,0.03)); }
.auth-illustration h3 { color: #083344; font-size: 22px; margin-bottom: 10px; }
.auth-illustration p { color: #475569; font-size: 15px; line-height: 1.5; }

/* decorative blob */
.gradient-blob { width: 140px; height: 140px; margin: 18px auto 20px; border-radius: 40%; background: linear-gradient(135deg,#7c3aed,#06b6d4); filter: blur(16px); opacity: .95; transform: rotate(12deg); }

/* responsive */
@media (max-width: 920px) {
  .auth-wrap { grid-template-columns: 1fr; padding: 8px; gap: 20px; }
  .auth-illustration { order: -1; }
  .auth-card { padding: 22px; }
}

/* small tweaks for your home nav links to point to pages */
nav .menu ul li a[href="/login"], nav .menu ul li a[href="/signup"] { font-weight: 600; }


/* Services Page Styles */
.services-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f6f8ff 0%, #e8fff7 100%);
}

.services-header {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.services-header h1 {
    font-size: 48px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 0 20px;
    border-radius: 15px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn.primary {
    background: white;
    color: #007bff;
}

.btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn.secondary:hover {
    background: white;
    color: #007bff;
}

/* Contact Page Styles */
.contact-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f6f8ff 0%, #e8fff7 100%);
}

.contact-header {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-size: 28px;
    color: #1b1b1b;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Active navigation link */
nav .menu ul li a.active {
    background: #fff;
    color: #1b1b1b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-header h1,
    .contact-header h1 {
        font-size: 32px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}


/* About Page Styles */
.about-page {
    padding-top: 70px;
    min-height: 100vh;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.about-section {
    padding: 80px 0;
}

.about-section:nth-child(even) {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.text-content h2 {
    font-size: 36px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 25px;
}

.text-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-icon,
.story-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,123,255,0.3);
}

.story-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 20px 40px rgba(40,167,69,0.3);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 50px;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin: 0 auto 25px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Team Section */
.team-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6c757d, #495057);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin: 0 auto 25px;
}

.team-member h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.member-role {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 16px;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.member-social a:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1b1b1b, #343a40);
    color: white;
}

.stats-section .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #ccc;
    font-weight: 500;
}

/* About CTA Section */
.about-cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.about-cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn.primary {
    background: white;
    color: #007bff;
}

.btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn.secondary:hover {
    background: white;
    color: #007bff;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 32px;
    }

    .about-hero-content p {
        font-size: 16px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .section-content.reverse {
        grid-template-columns: 1fr;
    }

    .text-content h2 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 16px;
    }

    .mission-icon,
    .story-icon {
        width: 150px;
        height: 150px;
        font-size: 60px;
    }

    .section-title {
        font-size: 28px;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }

    .about-hero {
        padding: 80px 20px;
    }

    .value-card,
    .team-member {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.rainbow-text {
    background: linear-gradient(
        45deg,
        #ff0000,  /* Red */
        #ff8000,  /* Orange */
        #ffff00,  /* Yellow */
        #80ff00,  /* Light Green */
        #00ff00,  /* Green */
        #00ff80,  /* Teal */
        #00ffff,  /* Cyan */
        #0080ff,  /* Light Blue */
        #0000ff,  /* Blue */
        #8000ff,  /* Purple */
        #ff00ff   /* Magenta */
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
}
.rainbow-text {
    background: linear-gradient(
        45deg,
        #ff0000,  /* Red */
        #ff8000,  /* Orange */
        #ffff00,  /* Yellow */
        #80ff00,  /* Light Green */
        #00ff00,  /* Green */
        #00ff80,  /* Teal */
        #00ffff,  /* Cyan */
        #0080ff,  /* Light Blue */
        #0000ff,  /* Blue */
        #8000ff,  /* Purple */
        #ff00ff,  /* Magenta */
        #ff0000   /* Red again for smooth loop */
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: rainbow-animation 3s ease-in-out infinite;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.rainbow-text {
    background: linear-gradient(
        45deg,
        #ff0000, #ff8000, #ffff00, #80ff00,
        #00ff00, #00ff80, #00ffff, #0080ff,
        #0000ff, #8000ff, #ff00ff, #ff0000
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 400% 400%;
    animation: rainbow-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes rainbow-glow {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}
.rainbow-text {
    background: linear-gradient(
        90deg,
        #ff0000, #ff4000, #ff8000, #ffbf00,
        #ffff00, #bfff00, #80ff00, #40ff00,
        #00ff00, #00ff40, #00ff80, #00ffbf,
        #00ffff, #00bfff, #0080ff, #0040ff,
        #0000ff, #4000ff, #8000ff, #bf00ff,
        #ff00ff, #ff00bf, #ff0080, #ff0040
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% 500%;
    animation: rainbow-pulse 2s linear infinite;
}

@keyframes rainbow-pulse {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.05);
    }
    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
}
