:root {
      --primary-bg: rgb(0, 0, 33);
      --secondary-bg: rgb(0, 0, 50);
      --text-color: white;
      --accent: #00c6ff;
    }
    body.light-theme {
      --primary-bg: #f5f5f5;
      --secondary-bg: #fff;
      --text-color: #222;
      --accent: #0077ff;
    }
    body {
      background-color: var(--primary-bg);
      color: var(--text-color);
      transition: background 0.5s, color 0.5s;
      margin: 0;
      font-family: 'Segoe UI', Arial, sans-serif;
    }
    header, section, footer {
      background-color: var(--secondary-bg);
      transition: background 0.6s;
      
    }
    a {
      color: var(--accent);
      transition: color 0.3s;
    }
    /* Header/Hero */
    .hero-header {
      background: linear-gradient(120deg, #0a183d 0%, #1a2956 100%);
      padding-bottom: 108px;
      border-radius: 0 0 40px 40px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.15);
      animation: slideLeft 1.2s ease-in-out;
    }
    

@keyframes glowBar {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideTop {
  0%  { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}
@keyframes slideRight {
  0%  { transform: translateY(-100px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}

@keyframes slideBottom {
  0%  { transform: translateY(-100px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}
 
    .main-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 28px 40px 0 40px;
      animation: slideBottom 1.2s ease-in-out;
    }
    
    .logo {
      font-size: 2em;
      font-weight: bold;
      color: #fff;
      letter-spacing: 1px;
      animation: slideRight 1.2s ease-in-out; 
      animation-fill-mode: forwards;
      text-decoration: none;
      transition: color 0.3s;

    }
    .logo .accent {
      color: var(--accent);
    }
    .main-nav ul {
      display: flex;
      gap: 32px;
      list-style: none;
      padding: 0;
      margin: 0;
      padding: 0;
    }
    .main-nav ul li a {
      color: #3d4543;
      text-decoration: none;
      font-size: 1.1em;
      font-weight: 500;
      transition: color 0.3s;
    }
    
    .main-nav ul li a:hover {
      
      color: #080a10;
    }
    nav.main-nav ul li {
  opacity: 0;
  transform: translateY(-20px);
  animation: slideInNav 0.6s ease-out forwards;
}

/* Optional: delay each item slightly for staggered effect */
nav.main-nav ul li:nth-child(1) { animation-delay: 0.2s; }
nav.main-nav ul li:nth-child(2) { animation-delay: 0.4s; }
nav.main-nav ul li:nth-child(3) { animation-delay: 0.6s; }
nav.main-nav ul li:nth-child(4) { animation-delay: 0.8s; }
nav.main-nav ul li:nth-child(5) { animation-delay: 1s; }


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

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 18px;
    }
    .theme-switcher {
      background: #1a2956;
      color: var(--accent);
      border: none;
      border-radius: 50%;
      width: 38px;
      height: 38px;
      font-size: 1.2em;
      cursor: pointer;
      transition: background 0.3s;
    }
    .theme-switcher:hover {
      background: var(--accent);
      color: #fff;
    }
    .download-cv {
      background: #5f4d56;
      color: #fff;
      padding: 10px 22px;
      border-radius: 22px;
      font-weight: bold;
      text-decoration: none;
      font-size: 1em;
      box-shadow: 0 2px 8px rgba(255,62,157,0.15);
      transition: background 0.8s;
    }
    .download-cv:hover {
      background: var(--accent);
      color: #fff;
    }
   
     /* Add to your <style> section */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: #1a2956;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1002;
  transition: background 0.3s;
    box-shadow: 0 2px 8px #00c6ff44;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 3px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .main-nav ul {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 220px;
    height: 100vh;
    background: #181f2e;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px 24px;
    gap: 24px;
    box-shadow: -4px 0 24px rgba(51, 170, 213, 0.267);
    transition: right 0.3s;
    z-index: 1001;
  }
  .main-nav ul.open {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .main-nav ul li a {
    color: #262323;
    font-size: 1.2em;
  }
  .nav-actions {
    display: none;
  }
}
.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
    .hero-flex {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 60px;
      margin-top: 32px;
      flex-wrap: wrap;
      

    }

    

    .profile-visual {
      position: relative;
      width: 320px;
      height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .glow-bg {
      position: absolute;
      left: 0; top: 0;
      width: 320px; height: 320px;
      z-index: 1;
      pointer-events: none;
    }
    .profile-photo {
      width: 220px;
      height: 220px;
      border-radius: 50%;
      object-fit: cover;
      border: 6px solid var(--accent);
      box-shadow: 0 0 60px 10px #00c6ff66, 0 4px 32px rgba(0,0,0,0.18);
      position: relative;
      z-index: 2;
      animation: floatPhoto 2.5s ease-in-out infinite alternate;
    }
    @keyframes floatPhoto {
      0% { transform: translateY(0) scale(1);}
      100% { transform: translateY(-18px) scale(1.04);}
    }
    .hero-intro {
      color: #fff;
      max-width: 420px;
    }
    .hello {
      font-size: 1.2em;
      margin-bottom: 0;
      color: var(--accent);
      font-weight: 500;
    }
    .hero-name {
      font-size: 2.5em;
      font-weight: bold;
      margin: 0 0 8px 0;
      letter-spacing: 1px;
    }
    .hero-role {
      font-size: 1.3em;
      margin: 0 0 18px 0;
      color: #fff;
    }
    .role-typing {
      color: var(--accent);
      font-weight: bold;
      border-right: 4px solid var(--accent);
      padding-right: 6px;
      animation: blink-caret 0.8s step-end infinite;
      display: inline-block;
  margin-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.8s steps(2) infinite;
  transform: translateY(5px);
}

    
    @keyframes blink-caret {
      0%, 100% { border-color: transparent }
      50% { border-color: var(--accent); }
    }
    .hero-desc {
      color: #b3c6e0;
      margin-bottom: 18px;
      font-size: 1.08em;
    }
    .hero-social {
      margin-bottom: 18px;
    }
    .hero-social a {
      display: inline-block;
      margin-right: 12px;
      transition: transform 0.2s;
    }
    .hero-social a:hover {
      transform: scale(1.15);
      transform: rotate(-15deg);
      
    }
    .hero-social img {
      width: 28px;
      height: 28px;
      filter: brightness(0) invert(1);
    }
    .hero-buttons {
      display: flex;
      gap: 18px;
    }
    .btn {
      padding: 10px 28px;
      border-radius: 22px;
      font-size: 1.08em;
      font-weight: bold;
      text-decoration: none;
      transition: background 0.3s, color 0.3s, box-shadow 0.3s;
      box-shadow: 0 2px 8px rgba(156, 184, 192, 0.08);
      display: inline-block;
      margin-top: 20px;
      background: linear-gradient(145deg, #4facfe, #00f2fe);
      border: none;
      color: #fff;
      cursor: pointer;
    }
    .btn.primary {
      background: var(--accent);
      color: #fff;
      border: none;
    }
    .btn.primary:hover {
      background: #fff;
      color: var(--accent);
    }
    .btn.outline {
      background: transparent;
      color: var(--accent);
      border: 2px solid var(--accent);
    }
    .btn.outline:hover {
      background: var(--accent);
      color: #fff;
    }
    .btn:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    }
    /* About Section */
    .about-section {
      border-bottom: 5px solid #00c6ff;
  margin-bottom: 0;
  padding-bottom: 40px;
  background: #181f2e;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 32px #00c6ff22;
  position: relative;
  z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 50px;
      gap: 80px;
      flex-wrap: wrap;
      margin-top: 0;
  padding-top: 60px;
  border-top: 4px solid #00c6ff;
  border-radius: 40px 40px 0 0;
  background: #151a2e;
  box-shadow: 0 -8px 32px #00c6ff22;
  position: relative;
  z-index: 1;
  background: #181f2e;
  padding: 60px 20px;
  max-width: 1300px;
  margin: 60px auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0003;
  text-align: center;
    }
    
    .profile-img {
      width: 250px;
      height: 250px;
      border-radius: 50%;
      overflow: hidden;
      border: 6px solid #47a5ff;
      box-shadow: 0 0 20px rgba(71, 165, 255, 0.6);
      animation: pulse 2s infinite ease-in-out, bounce 1s ease;
    }
    .profile-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .about-content {
      max-width: 600px;
    }
    .about-content h2 {
      font-size: 2.5em;
    }
    .about-content h2 span {
      color: #47a5ff;
    }
    .about-content h3 {
      font-weight: 600;
      margin-top: -15px;
    }
    .about-content p {
      line-height: 1.6;
      margin-top: 10px;
      font-size: 1rem;
      color: #ddd;
    }
    .about-content ul {
      margin-top: 20px;
      padding-left: 20px;
    }
    .about-content li {
      margin-bottom: 8px;
    }
    ul {
      list-style: none;
      padding: 0;
    }
    ul li {
      background: #c4c2b8;
      color: #333;
      display: inline-block;
      margin: 4px 8px 4px 0;
      padding: 6px 14px;
      border-radius: 16px;
      font-size: 1em;
      transition: background 0.3s, color 0.3s;
    }
    ul li:hover {
      background:  #477581;
      color: #dec6c6;
    }
    @keyframes pulse {
      0%, 100% {
        box-shadow: 0 0 20px rgba(71, 165, 255, 0.6);
      }
      50% {
        box-shadow: 0 0 40px rgba(71, 165, 255, 1);
      }
    }
    @keyframes bounce {
      0% {
        transform: translateY(-30px);
      }
      50% {
        transform: translateY(10px);
      }
      100% {
        transform: translateY(0);
      }
    }
    #projects {
      margin-top: 0;
  padding-top: 60px;
  border-top: 4px solid #00c6ff;
  border-radius: 40px 40px 0 0;
  background: #151a2e;
  box-shadow: 0 -8px 32px #00c6ff22;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1300px;
  height: auto;
  margin: auto;
  text-align: center;
  margin-top: 0;
  padding-top: 60px;
  border-top: 4px solid #00c6ff;
  border-radius: 40px 40px 0 0;
  background: #151a2e;
  box-shadow: 0 -8px 32px #00c6ff22;
  position: relative;
  z-index: 1;
  background: #181f2e;
  padding: 60px 20px;
  max-width: 1300px;
  margin: 60px auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0003;
  text-align: center;
}

#projects h2 {
  width: 100%;
  font-size: 3rem;
  margin-bottom: 40px;
  color: #8181cc;
}

.project-card {
  background-color: #1b263b;
  border-radius: 15px;
  width: 300px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #00ffff;
}

.project-card p {
  font-size: 0.95rem;
  color: #d0d0d0;
  margin-bottom: 20px;
}

.project-link {
  text-decoration: none;
  color: #fff;
  background: #00bcd4;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
}

.project-link:hover {
  background: #0097a7;
}

.project-card:hover {
  transform: translateY(-10px);
  border: 2px solid #00ffff;
  box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff33;
}

@media screen and (max-width: 768px) {
  .project-card {
    width: 90%;
  }
}

/* ...existing code... */
#skills {
  margin-top: 0;
  padding-top: 60px;
  border-top: 4px solid #00c6ff;
  border-radius: 40px 40px 0 0;
  background: #151a2e;
  box-shadow: 0 -8px 32px #00c6ff22;
  position: relative;
  z-index: 1;
  background: #181f2e;
  padding: 60px 20px;
  max-width: 1300px;
  margin: 60px auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0003;
  text-align: center;
  transition: background 0.5s;
}
#skills h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #aed5e0;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
#skills h2 span {
      color: #47a5ff;
    }
#skills p {
  color: #b3c6e0;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
#skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  
}
#skills li {
  background: #232b3e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 22px;
  font-size: 1.08em;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px #00c6ff22;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  font-weight: 500;
  
}
#skills li:hover {
  background: #89a5ac;
  color: #181f2e;
  transform: scale(1.07);
  cursor: pointer;
}
@media (max-width: 900px) {
  #skills ul {
    flex-direction: column;
    align-items: center;
    gap: 12px 0;
  }
  #skills {
    padding: 40px 8px;
  }
}
/* ...existing code... */

    .contact-section {
      display: flex;
      flex-wrap: wrap;
      max-width: 1300px;
      width: 100%;
      margin-top: 0;
  padding-top: 60px;
  border-top: 4px solid #00c6ff;
  border-radius: 40px 40px 0 0;
  background: #151a2e;
  box-shadow: 0 -8px 32px #00c6ff22;
  position: relative;
  z-index: 1;
  background: #4872cd;
  padding: 40px 20px;
  max-width: 1300px;
  margin: 60px auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0003;
 
  transition: background 0.5s;
      background: #1c1c2c;

      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
      
    }

    .profile-left {
      flex: 1;
      background: #1c1c2c;
      
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .profile-left img {
      width: 100%;
      max-width: 500px;
      animation: float 4s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }

    .contact-right {
      flex: 1;
      background: #1c1c2c;
      padding: 100px;
    }

    .contact-title {
      font-size: 40px;
      
      color: #b5b7d3;
      margin-bottom: 10px;
    }
    .contact-title span {
      color: #47a5ff;
    }
    

    .form-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
      color: #00d9ff;
    }

    .form-desc {
      font-size: 14px;
      color: #ccc;
      margin-bottom: 30px;
    }

    .form-group {
      position: relative;
      margin-bottom: 25px;
    }

    .form-group i {
      position: absolute;
      top: 14px;
      left: 12px;
      color: #aaa;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 14px 15px 14px 40px;
      background: #2b2b3d;
      border: none;
      border-radius: 8px;
      color: #fff;
      font-size: 15px;
    }

    .form-group textarea {
      resize: vertical;
    }

    .form-group label {
      position: absolute;
      top: 14px;
      left: 40px;
      font-size: 15px;
      color: #999;
      pointer-events: none;
      transition: all 0.3s ease;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label {
      top: -10px;
      left: 10px;
      font-size: 12px;
      color: #00d9ff;
    }

    .contact-form button {
      background: #00d9ff;
      color: #000;
      padding: 12px 25px;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .contact-form button:hover {
      background: #00b7e0;
      transform: scale(1.08);
  box-shadow: 0 0 18px #00d9ff88;
    }

    /* Toast message */
    .toast {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #28a745;
      color: white;
      padding: 15px 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.3s ease;
      z-index: 1000;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .contact-section {
        flex-direction: column;
        border-radius: 20px;
      }

      .profile-left img {
        max-width: 300px;
      }
    }
    
    /* Footer */
    .animated-footer {
      background: linear-gradient(120deg, #0a183d 0%, #1a2956 100%);
      color: #fff;
      padding: 48px 0 0 0;
      margin-top: 48px;
      border-radius: 40px 40px 0 0;
      font-size: 1.0em;
      position: relative;
      overflow: hidden;
    }
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      border-radius: 40px 40px 40 40;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 40px;
      gap: 32px;
      animation: fadeInUpFooter 1.5s;
    }
    @keyframes fadeInUpFooter {
      from { opacity: 0; transform: translateY(40px);}
      to { opacity: 1; transform: translateY(0);}
    }
    .footer-brand {
      flex: 1 1 320px;
      min-width: 260px;
      margin-bottom: 24px;
      animation: glowFooter 3.5s infinite alternate;

      border-radius: 40px 40px 40 40;
      padding: 24px;
      box-shadow: 0 0 24px rgba(0, 198, 255, 0.3);

    }
    @keyframes glowFooter {
      0% { box-shadow: 0 0 24px 0 #00c6ff44;}
      100% { box-shadow: 0 0 48px 8px #00c6ff88;}
    }
    .footer-logo {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      margin-bottom: 16px;
      background: #fff;
      box-shadow: 0 2px 12px #00c6ff44;
      
    }
    .footer-logo:hover {
      transform: rotate(360deg);
      transition: transform 0.6s;
        transform: translateY(-10px);
  border: 2px solid #99cfcf;
  box-shadow: 0 0 20px #84ba89, 0 0 30px #09d8d833;
    }
    .footer-brand h2 {
      font-size: 1.5em;
      font-weight: bold;
      margin: 0 0 8px 0;
    }
    .footer-brand p {
      margin: 0 40 18px 0;
      color: #b3c6e0;
    }
    .footer-social a {
      display: inline-block;
      margin-right: 12px;
      transition: transform 0.3s;
    }
    .footer-social a:hover {
      transform: scale(1.2) rotate(-13deg);
      
    }
    .privacy-policy-section {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  padding: 4rem 2rem;
  line-height: 1.8;
}

.privacy-policy-section h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
}

.privacy-policy-section h3 {
  margin-top: 2rem;
  color: var(--accent-color);
}

.privacy-policy-section ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.privacy-policy-section a {
  color: var(--accent-color);
  text-decoration: underline;
}

.privacy-policy-section .container {
  max-width: 800px;
  margin: 0 auto;
}
.terms-section {
  background-color: var(--secondary-bg);
  color: var(--text-color);
  padding: 4rem 2rem;
  line-height: 1.8;
}

.terms-section h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
}

.terms-section h3 {
  margin-top: 2rem;
  color: var(--accent-color);
}

.terms-section a {
  color: var(--accent-color);
  text-decoration: underline;
}

.terms-section .container {
  max-width: 800px;
  margin: 0 auto;
}

    .footer-social img {
      width: 32px;
      height: 32px;
      filter: brightness(0) invert(1);
    }
    .footer-links, .footer-contact {
      flex: 1 1 180px;
      min-width: 160px;
      margin-bottom: 24px;
      transform: rotate(360deg);
      transition: transform 0.6s;
      transform: translateY(-10px);
    }
    .footer-links h3, .footer-contact h3 {
      font-size: 1.2em;
      color: #00c6ff;
      font-weight: bold;
      margin-bottom: 20px;
    }
    .footer-links ul, .footer-contact ul {
      color: #0f0e0e;
      list-style: none;
      padding: 0;
      margin: 0;
      font-size: 1em;
      line-height: 1.6;
      
      
    }
    .footer-contact {
  color: #000000;            /* Dark text for better visibility */
  border-radius: 10px;
  padding: 10px;
  margin: 5px 0;
}

.footer-contact a {
  color: #1d1f20;            /* Bright blue link */
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #212b27;           /* Lighter blue on hover */
}

    .footer-links ul li, .footer-contact ul li {
      margin-bottom: 10px;
      color: #6c6ccc;
      font-weight: 500;
      transition: color 0.3s;
      cursor: pointer;
    }
    .footer-links ul li a {
      color: #141516;
      text-decoration: none;
      transition: color 0.3s;
    }
    .footer-links ul li a:hover {
      color: #15f4ad;
    }
    .footer-icon {
      margin-right: 8px;
      font-size: 1.1em;
    }
    .footer-bottom {
      border-top: 1px solid #22345a;
      text-align: center;
      padding: 18px 0 12px 0;
      color: #b3c6e0;
      font-size: 1em;
      margin-top: 24px;
      animation: fadeInFooterBottom 1.8s;
    }
    .footer-heart {
      color: #e6d0db;
      animation: pulseHeart 1.2s infinite;
    }
    @keyframes pulseHeart {
      0%, 100% { transform: scale(1);}
      50% { transform: scale(1.2);}
    }
    @keyframes fadeInFooterBottom {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @media (max-width: 900px) {
      .footer-container {
        flex-direction: column;
        gap: 1;
        padding: 0 18px;
      }
      .footer-brand, .footer-links, .footer-contact {
        margin-bottom: 30px;
      }
    }
    

    /* Form Container */
.subscribe-form {
  
  position: relative;

  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 30px;
  margin: 2rem auto;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 1s ease forwards;
  transform: translateY(60px);
  opacity: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  background-color: #5d6d74;
  border: 2px solid #85b6bb;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.3);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.2);
  backdrop-filter: blur(10px);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}

/* Input Groups */
.input-group {
  position: relative;
  margin-bottom: 2.5rem;
  font-size: 2.1rem;
  animation: slideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
}
.input-group:nth-child(1) {
  animation-delay: 0.1s;
}
.input-group.delay {
  animation-delay: 0.3s;
}

/* Input and Textarea Styles */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1.3rem;
  background: transparent;
  border: 2px solid #00e5ff;
  border-radius: 12px;
  color: #fff;
  font-size: 2.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Segoe UI', Arial, sans-serif;
  
}

/* Floating Label Styles */
.input-group label {
  position: absolute;
  top: 50%;
  left: 1.3rem;
  transform: translateY(-50%);
  background: transparent;
  padding: 0 5px;
  color: #aaa;
  font-size: 1.1rem;
  pointer-events: none;
  transition: 0.3s ease;
  font-weight: 500;
  z-index: 1;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00e5ff;
  border: #000000;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 20px;
  font-size: 1.9rem;
  background-color: #0f2027;
  color: #00e5ff;
  padding: 0 5px;
  box-shadow: 0 0 5px rgba(0, 198, 255, 0.5);
  transform: translateY(0);
  
  transition: all 0.3s ease;

}
.subscribe-heading {
  text-align: center;
  font-size: 1.5rem;
  color: #aad7cc;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-family: 'Segoe UI', Arial, sans-serif;
}
/* Animated Submit Button */
.animated-button {

  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(270deg, #00e5ff, #00c3ff, #00e5ff);
  background-size: 600% 600%;
  border: none;
  border-radius: 50px;
  color: #000;
  font-size: 2.3rem;
  font-weight: bold;
  cursor: pointer;
  animation: gradientShift 5s ease infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-align: center;
  display: inline-block;
  margin-top: 1.5rem;
  width: 100%;
}

.animated-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 25px #00e5ff;
  color: antiquewhite;
  background-color: #0077ff;
}

/* Fade In Animation */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In Animation */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gradient Shift for Button */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  .subscribe-form {
    padding: 2rem;
  }
  .animated-button {
    font-size: 1rem;
  }
}


.role-typing {
  border-right: 2px solid orange;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}
