/* ================================
   Root & Reset
================================ */
:root {
  --accent:   #514F90;
  --accent-alt: #6A68A5;
  --light:    rgba(255,255,255,0.8);
  --dark:     #2E2E3A;
  --glass-bg: rgba(255,255,255,0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   Background
================================ */
body {
  background: linear-gradient(-45deg,#514F90,#2E2E3A,#51527F,#38384A);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  min-height: 100vh;
}

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

/* ================================
   Navbar (Glassmorphic)
================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 60px;
  backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.glass-nav .logo {
  position: relative;
  z-index: 1002;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
}
.glass-nav .logo:hover {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  gap: 2rem;
}
.nav-list li {
  list-style: none;
}
.nav-list li a {
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.nav-list li a::after {
  content: "";
  position: absolute;
  width: 0; height: 2px;
  background: #fff;
  left: 50%; bottom: -4px;
  transition: width .3s, left .3s;
}
.nav-list li a:hover::after {
  width: 100%; left: 0;
}
.nav-list li a:hover {
  color: var(--accent);
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 2px;
  transition: transform .4s, opacity .4s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* ================================
   Hero Section
================================ */
.hero-spotlight {
  position: relative;
  padding: 120px 2rem 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Blob Decoration */
.blob {
  position: absolute;
  width: 700px; height: 700px;
  background: var(--light);
  top: -200px; right: -200px;
  clip-path: circle(60% at 40% 40%);
  opacity: .5;
  animation: blobMove 10s ease-in-out infinite;
}
@keyframes blobMove {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-30px,20px) scale(1.1); }
}

/* ================================
   Image with Animated Border
================================ */
.image-wrap {
  flex: 1 1 250px;
  max-width: 300px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: 20px;
  padding: 6px;
  background-size: 400% 400%;
  animation: moveBorder 6s linear infinite;
    background: linear-gradient(270deg,#6a11cb,#2575fc,#ff0077,#6a11cb);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 16px;
  background: linear-gradient(-45deg,#514F90,#2E2E3A,#51527F,#38384A);
  z-index: 0;
}

.image-frame img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 280px;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.image-frame:hover{
}

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

/* ================================
   Text Content
================================ */
.text-wrap {
  flex: 1 1 300px;
  max-width: 400px;
  color: #fff;
  text-align: left;
}
.text-wrap h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.text-wrap p {
  margin-bottom: 1.5rem;
  opacity: .9;
  line-height: 1.5;
}
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: background .3s, transform .3s;
}
.btn:hover {
  background: var(--accent-alt);
  transform: translateY(-3px);
}

/* ================================
   Social Icons
================================ */
.social-icons {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-icons a {
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
}

  footer {
    text-align: center;
    padding: 20px;
    background: var(--accent);
    color: white;
    font-size: 1rem;
    animation: fadeInUp var(--transition) 1.6s both;
  }

/* ================================
   Mobile Styles
================================ */
@media (max-width: 900px) {
  .nav-list {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-list.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(73,59,59,0.82);
    backdrop-filter: blur(10px);
    padding-top: 60px;
    align-items: center;
    gap: 0;
    animation: fadeIn 0.5s ease forwards;
    z-index: 900;
  }
  .nav-list.active li {
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
    opacity: 0;
    animation: fadeInItem 0.4s ease forwards;
  }
  .nav-list.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-list.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-list.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-list.active li:nth-child(4) { animation-delay: 0.4s; }

  .nav-list.active li a {
    display: block;
    width: 100%;
    padding: 1.2rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .nav-list.active li a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--accent);
  }
}

/* ================================
   Animations
================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInItem {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
