:root{
--primary:#8a2be2; /* blueviolet */
--accent:#ff8c00; /* orange */
--dark:#070710;
--light:#f5f5f7;
--card:rgba(255,255,255,.05);
--glass:rgba(255,255,255,.07);
--text-dark:#111;
--particle-color:rgba(138,43,226,.3);
}
*{margin:0;padding:0;box-sizing:border-box;font-family:'Cabinet Grotesk',sans-serif;}
body{background:var(--dark);color:white;overflow-x:hidden;transition:.4s;}
body.light{background:var(--light);color:var(--text-dark);}
.container{width:90%;max-width:1200px;margin:auto;}

/* NAVBAR */
nav{position:fixed;top:0;width:100%;z-index:999;backdrop-filter:blur(20px);background:rgba(10,10,20,.6);border-bottom:1px solid rgba(255,255,255,.06); border-radius: 22px;margin-top: 3px;}
.nav-inner{display:flex;justify-content:space-between;align-items:center;padding:2px 0;}
.logo{font-family: cursive;  display:flex;align-items:center;gap:10px;font-weight:700;font-size:30px; text-shadow: 5px 5px 10px rgba(222, 6, 255, 0.68);}
.logo img{height:70px;margin: 0;}
.nav-links{display:flex;gap:28px;}
.nav-links a{position:relative;text-decoration:none;color:white;font-weight:500;}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-5px;width:0%;height:2px;background:linear-gradient(90deg,var(--primary),var(--accent));transition:.3s;}
.nav-links a:hover::after{width:100%;}
.nav-icons{display:flex;gap:20px;font-size:18px;cursor:pointer;}
.hamburger{display:none; font-size: 25px; margin-right: 10px;}

/* SIDE NAV */

.side-nav {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    backdrop-filter: blur(20px);
    height: 100%;
    background: linear-gradient(180deg, #0f0f18, #1a1a2e);
    padding: 60px 35px;
    transition: .45s ease;
    z-index: 2000;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
}

/* ACTIVE */

.side-nav.active {
    left: 0;
}

/* LINKS */

.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

/* ICON STYLE */

.side-nav i {
    width: 22px;
    color: var(--accent);
    transition: .3s;
}

/* HOVER EFFECT */

.side-nav a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

/* UNDERLINE ANIMATION */

.side-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .3s;
}

.side-nav a:hover::after {
    width: 100%;
}

/* CLOSE BUTTON */

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: .3s;
}

.close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* HERO */

.hero{
min-height:80vh;
display:flex;
align-items:center;
justify-content:center;
position:relative;
overflow:hidden;
padding:50px 2%;
}

/* GRID BACKGROUND */

.hero::before{
content:"";
position:absolute;
width:200%;
height:200%;
background-image:
linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.05) 1px, transparent 1px);
background-size:60px 60px;
transform:rotate(30deg);
animation:gridMove 15s linear infinite;
}

@keyframes gridMove{
0%{transform:translateY(0) rotate(30deg);}
100%{transform:translateY(-200px) rotate(30deg);}
}

.hero::after{
content:"";
position:absolute;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 40%,rgba(138,43,226,.5),transparent 40%),
radial-gradient(circle at 80% 60%,rgba(255,140,0,.4),transparent 40%);
}

/* HERO LAYOUT */

.hero-container{
position:relative;
z-index:5;
max-width:1200px;
width:100%;
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:60px;
}

/* TEXT */

.hero-text h1{
    margin-top: 70px;
font-size:clamp(36px,5vw,64px);
margin-bottom:20px;
text-shadow:0 0 10px var(--primary);
}

.hero-text p{
font-size:20px;
opacity:.85;
margin-bottom:30px;
}

/* BUTTONS */

.buttons{
margin-top:20px;
}

.btn{
    text-decoration: none;
padding:15px 34px;
border-radius:12px;
border:none;
font-weight:600;
cursor:pointer;
margin:10px;
font-size:16px;
transition:.3s;
}

.btn-primary{
background:linear-gradient(90deg,var(--primary),var(--accent));
color:white;
box-shadow:0 10px 40px rgba(138,43,226,.4);
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 20px 60px rgba(138,43,226,.7);
}

.btn-outline{
background:transparent;
border:2px solid var(--accent);
color:var(--accent);
}

.btn-outline:hover{
background:var(--accent);
color:black;
}

/* BADGES */

.badges{
margin-top:25px;
}

.badge{
background:rgba(255,255,255,0.1);
padding:8px 16px;
border-radius:30px;
font-size:12px;
border:1px solid rgba(167,139,250,0.3);
margin-bottom: 20px;
}

.badge-bottom{
    max-width: 200px;
display:block;
margin:20px auto 0 auto;
}

/* IMAGE WRAPPER */

.hero-image-wrapper{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:0; /* removes spacing */
}

/* IMAGE */

.hero-image{
max-width:520px;
width:100%;
height:auto;
margin-top:0;
}

/* FEATURE CARD */

.hero-feature{
margin:10px;
padding:0;
text-align:left;
}

/* TITLE */

.feature-title{
font-size:26px;
line-height:1.3;
margin:0 0 8px 0; /* smaller spacing */
font-family:'Cabinet Grotesk', sans-serif;
}

.feature-title i{
color:var(--accent);
margin-right:6px;
}

.highlight{
color:var(--primary);
font-weight:600;
}

/* TEXT */

.feature-text{
font-size:15px;
opacity:.9;
margin:4px 0; /* remove large paragraph gaps */
font-family:'Inter', sans-serif;
}

/* TECH TAGS */

.tech{
background:rgba(255,255,255,0.08);
padding:4px 10px;
color: #FF9A4F;
border-radius:8px;
font-size:14px;
margin-bottom: 45px;
margin-right:4px;
}

/* ACCENT WORD */

.accent{
color:var(--accent);
font-weight:600;
}

/* ICON */

.icon{
margin-right:6px;
color:var(--primary);
}
.typewriter-container {
    width: 90%;              /* Adjust width as needed */
    max-width: 800px;        /* Prevent very wide screens */
    margin: 0 auto;          /* Center horizontally */
    overflow: hidden;        /* Keep text inside container */
}

#hero-description {
    display: inline-block;
    direction: rtl;          /* Right-to-left flow */
    overflow: hidden;        /* Hide text being typed */
    white-space: normal;     /* Allow wrapping to next line */
    border-right: 2px solid #000; /* Cursor */
    font-family: sans-serif;
    font-size: 1.2rem;
    opacity: 1;
    transition: opacity 1s ease; /* Smooth fade */
}

/* Blinking cursor */
@keyframes blink {
    50% { border-color: transparent; }
}

#hero-description.blink {
    animation: blink 0.7s step-end infinite;
}

/* Toast Container */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
    max-width: 350px;
    padding: 16px 18px;
    background: linear-gradient(90deg, var(--accent), #7b8cff);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .4), 0 0 20px rgba(0, 255, 255, .05);
    z-index: 999;
    transform: translateY(120px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .45s ease;
    overflow: hidden;
    touch-action: pan-y;
}

/* Swipe effect */
.toast.swiping {
    transition: none;
}

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

/* Icon */
.toast-icon{
  font-size:22px;
}

/* Content */
.toast-content{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.toast-title:empty{
  display:none;
}

.toast-title{
  font-size:14px;
  font-weight:600;
}

.toast-message{
  font-size:13px;
  opacity:.85;
}

/* Progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #fff5;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
    border-radius: 0 0 14px 14px;
}


/* Toast types for icons */
.toast.success .toast-icon{color:#22c55e;}
.toast.error .toast-icon{color:#ef4444;}
.toast.warning .toast-icon{color:#facc15;}
.toast.info .toast-icon{color:#3b82f6;}

/* Mobile */
@media(max-width:600px){
  .toast{
    left:20px;
    right:20px;
    bottom:20px;
  }
}
/* PARTICLES */
.particle{position:absolute;width:6px;height:6px;background:var(--particle-color);border-radius:50%;animation:float 8s linear infinite;}
@keyframes float{0%{transform:translateY(0) rotate(0deg);}100%{transform:translateY(-800px) rotate(360deg);}}

.features-section {
    padding: 60px 20px;
    background-color: var(--dark);
    color: white;
    text-align: center;
    transition: background 0.4s, color 0.4s;
}

body.light .features-section {
    background-color: var(--light);
    color: var(--text-dark);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7b8cff);
    border-radius: 6px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
}

.feature-card {
    background-color: var(--card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s, color 0.4s;
    max-width: 260px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent); /* Accent color for icons */
    transition: color 0.4s;
}

body.light .feature-icon {
    color: var(--primary);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.4s;
}

body.light .feature-title {
    color: var(--primary);
}

.feature-desc {
    font-size: 1rem;
    color: #ccc;
    transition: color 0.4s;
}

body.light .feature-desc {
    color: #333;
}


/* ===============================
COURSES SECTION
=============================== */

.courses-section {
    padding: 70px 20px;
    background: var(--dark);
    color: white;
    transition: all .4s ease;
}

body.light .courses-section {
    background: var(--light);
    color: var(--text-dark);
}


/* ===============================
GRID
=============================== */

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


/* ===============================
COURSE CARD
=============================== */

.course-card {
    
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    padding: 18px;
    text-align: center;
    position: relative;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    transition:
        transform .45s cubic-bezier(.22, .61, .36, 1),
        box-shadow .45s ease,
        background .4s ease;
    
    opacity: 0;
    transform: translateY(40px);
}


/* Scroll reveal */

.course-card.show {
    opacity: 1;
    transform: translateY(0);
}


/* Hover animation */

.course-card:hover {
    
    transform: translateY(-12px) scale(1.03);
    
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(0, 255, 255, 0.12);
    
}


/* ===============================
COURSE IMAGE
=============================== */

.course-img {
    
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    
    transition: transform .6s ease;
    
}

.course-card:hover .course-img {
    transform: scale(1.08);
}


/* ===============================
TITLE
=============================== */

.course-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 600;
}

body.light .course-card h3 {
    color: var(--primary);
}


/* ===============================
COURSE PRICE
=============================== */

.course-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}


/* ===============================
COURSE ACTION TEXT
=============================== */

.course-action {
    font-size: .9rem;
    color: #bbb;
    margin-bottom: 12px;
}


/* ===============================
COURSE RATING
=============================== */

.course-rating {
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    
    margin-bottom: 10px;
    
    font-size: 14px;
    color: #FFD700;
    
}

.course-rating span {
    color: #aaa;
    margin-left: 6px;
}


/* ===============================
ENROLL BUTTON
=============================== */

.enroll-btn {
    
    padding: 10px 22px;
    
    border: none;
    border-radius: 8px;
    
    background: linear-gradient(135deg, var(--accent), var(--primary));
    
    color: white;
    font-weight: 500;
    
    cursor: pointer;
    
    transition: all .3s ease;
    
}

.enroll-btn:hover:not(:disabled) {
    
    transform: translateY(-2px);
    
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    
}

.enroll-btn:disabled {
    
    background: #444;
    cursor: not-allowed;
    opacity: .7;
    
}


/* ===============================
CURRENCY SELECTOR
=============================== */

.currency-selector {
    
    margin-top: 12px;
    padding: 8px 10px;
    
    border-radius: 8px;
    border: none;
    
    background: var(--glass);
    
    color: white;
    
    font-size: .9rem;
    
    outline: none;
    
}

body.light .currency-selector {
    
    color: var(--text-dark);
    
}


/* ===============================
MOBILE OPTIMIZATION
=============================== */

@media (max-width:768px) {
    
    .courses-section {
        padding: 50px 15px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .course-card {
        padding: 20px;
    }
    
    .course-card h3 {
        font-size: 1.1rem;
    }
    
    .course-price {
        font-size: 1.15rem;
    }
    
    .enroll-btn {
        width: 100%;
        padding: 12px;
    }
    
    .currency-selector {
        width: 100%;
    }
    
}



.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* -------------------------------
   STATS SECTION
---------------------------------*/
.stats-section {
  position: relative;
  margin: 100px 0;
  overflow: hidden;
  padding: 50px 0;
  background: radial-gradient(circle at top, #0f0f1e, #1a1a2e);
}

/* PARTICLE CANVAS */
#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* -------------------------------
   STATS GRID
---------------------------------*/
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  text-align: center;
}

/* -------------------------------
   STAT CARD - GLASSMORPHISM
---------------------------------*/
.stat {
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 50px 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* -------------------------------
   ICONS - GRADIENT & ANIMATION
---------------------------------*/
.stat .icon {
  font-size: 60px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s ease infinite;
}

/* -------------------------------
   NUMBERS
---------------------------------*/
.stat h2 {
  font-size: 50px;
  color: var(--primary);
  margin: 0;
  animation: fadeUp 2s ease-out forwards;
}

/* -------------------------------
   DESCRIPTION
---------------------------------*/
.stat p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
}

/* -------------------------------
   ANIMATIONS
---------------------------------*/
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* -------------------------------
   SPARKLE EFFECT OVER CARDS
---------------------------------*/
.stat::after {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  top: -100%;
  left: -100%;
  background: radial-gradient(circle, var(--particle-color) 10%, transparent 10.01%);
  background-size: 20px 20px;
  animation: sparkle 5s linear infinite;
  pointer-events: none;
  opacity: 0.2;
}

@keyframes sparkle {
  0% { transform: translate(0,0) rotate(0deg);}
  100% { transform: translate(50%,50%) rotate(360deg);}
}


/* FAQ Section with Particle Background */
.faq-section {
    position: relative;
    margin: 100px 0;
    overflow: hidden;
    padding: 50px 0;
    background: radial-gradient(circle at top, #0f0f1e, #1a1a2e);
}

/* PARTICLE CANVAS */
#faq-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* FAQ Container */
.faq {
    position: relative;
    z-index: 1;
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}

.faq h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Question */
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    transition: max-height 0.5s ease, padding 0.3s ease;
}

/* Open FAQ State */
.faq-item.open .faq-answer {
    padding: 15px 25px;
    max-height: 300px;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

/* CONTACT SECTION */
.contact {
  padding: 80px 20px;
  background: var(--card);
  color: white;
  transition: .4s;
}
body.light .contact {
  color: var(--text-dark);
}
.contact-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}
body.light .contact-subtitle {
  color: rgba(0,0,0,0.7);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.contact-info i {
  font-size: 25px;
  color: var(--primary);
  margin-right: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: none;
  background: var(--glass);
  color: white;
  transition: .3s;
}
body.light .contact-form input,
body.light .contact-form textarea {
  color: var(--text-dark);
}
.contact-form button {
  background: var(--accent);
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #ff7c00;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 20px 20px;
  transition: .4s;
}
body.light .footer {
  background: var(--light);
  color: var(--text-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.footer h3 {
  margin-bottom: 15px;
  color: var(--primary);
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
body.light .footer-links ul li a {
  color: rgba(0,0,0,0.7);
}
.footer-links ul li a:hover {
  color: var(--accent);
}
.social-icons a {
  color: white;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s;
}
body.light .social-icons a {
  color: var(--text-dark);
}
.social-icons a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
body.light .footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.5);
}

/* ===============================
CONTACT SECTION
=============================== */

.contact-section{
position:relative;
display:flex;
justify-content:center;
align-items:center;
overflow:hidden;
}

/* ===============================
PARTICLE CANVAS
=============================== */

#contact-particles{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:1;
}

/* ===============================
CONTACT CARD
=============================== */

.contact-card{

background:var(--card);
backdrop-filter:blur(18px);
border:1px solid rgba(255,255,255,.08);
padding:15px;
border-radius:14px;
width:100%;
max-width:520px;
z-index:2;
position:relative;
box-shadow:0 10px 40px rgba(0,0,0,.35);
transition:.4s;
}

body.light .contact-card{
background:white;
border:1px solid rgba(0,0,0,.05);
}

/* ===============================
TITLE
=============================== */

.contact-title{
text-align:center;
font-size:30px;
margin-bottom:35px;
font-weight:700;
color:var(--accent);
}

/* ===============================
WHATSAPP ICON
=============================== */

.whatsapp-icon{
color:#25D366;
margin-left:6px;
animation:whatsappPulse 2s infinite;
}

@keyframes whatsappPulse{

0%{transform:scale(1)}
50%{transform:scale(1.25)}
100%{transform:scale(1)}

}

/* ===============================
FORM GROUP
=============================== */

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

/* ===============================
INPUTS
=============================== */

.form-group input,
.form-group textarea{

width:100%;
padding:8px 4px;
background:var(--glass);
border:1px solid rgba(255,255,255,.15);
border-radius:8px;
color:white;
outline:none;
transition:.3s;
font-size:16px;
}

body.light .form-group input,
body.light .form-group textarea{

background:#f0f0f0;
color:var(--text-dark);
border:1px solid rgba(0,0,0,.08);

}

/* ===============================
INPUT FOCUS
=============================== */

.form-group input:focus,
.form-group textarea:focus{

border-color:var(--primary);
box-shadow:0 0 0 2px rgba(138,43,226,.2);

}

/* ===============================
FLOATING LABEL
=============================== */

.form-group label{

position:absolute;
top:14px;
left:12px;
font-size:14px;
color:#aaa;
pointer-events:none;
transition:.3s;
}

body.light .form-group label{
color:#666;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label{

top:-9px;
left:10px;
font-size:11px;
background:var(--dark);
padding:2px 6px;
border-radius:4px;
}

body.light .form-group input:focus + label,
body.light .form-group textarea:focus + label,
body.light .form-group input:valid + label,
body.light .form-group textarea:valid + label{

background:white;

}

/* ===============================
BUTTON
=============================== */

#sendBtn{

width:100%;
padding:14px;
border:none;
background:linear-gradient(45deg,var(--primary),var(--accent));
color:white;
font-weight:600;
border-radius:8px;
cursor:pointer;
font-size:15px;
transition:.3s;
display:flex;
align-items:center;
justify-content:center;
gap:8px;
}

#sendBtn:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,0,0,.3);
}

/* ===============================
BUTTON LOADING
=============================== */

#sendBtn.loading{
opacity:.7;
pointer-events:none;
}

#sendBtn.loading .btn-text{
display:none;
}

#sendBtn.loading::after{
content:"Sending...";
}

/* ===============================
INPUT ERROR SHAKE
=============================== */

.input-error{
border:2px solid #ff3b3b;
animation:shake .3s;
}

@keyframes shake{

0%{transform:translateX(0)}
25%{transform:translateX(-4px)}
50%{transform:translateX(4px)}
75%{transform:translateX(-4px)}
100%{transform:translateX(0)}

}

/* ===============================
TOAST
=============================== */


/* ===============================
SUCCESS CHECK MODAL
=============================== */

#success-check{

position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%) scale(0);
background:var(--dark);
padding:40px;
border-radius:12px;
text-align:center;
z-index:999;
transition:.4s;
box-shadow:0 15px 50px rgba(0,0,0,.5);
}

body.light #success-check{
background:white;
}

#success-check.show{
transform:translate(-50%,-50%) scale(1);
}

/* ===============================
CHECKMARK
=============================== */

.checkmark{

width:65px;
height:65px;
border-radius:50%;
border:4px solid #25D366;
margin:0 auto 15px;
position:relative;
}

.checkmark::after{

content:'';
position:absolute;
left:18px;
top:12px;
width:20px;
height:34px;
border-right:4px solid #25D366;
border-bottom:4px solid #25D366;
transform:rotate(45deg);

}

/* ===============================
SUCCESS TEXT
=============================== */

#success-check p{
font-size:15px;
opacity:.9;
}

  .testimonials-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
  }
  
  .testimonial-card {
    position: relative;
    background: var(--card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 1.5rem;
    padding: 2.25rem 1.75rem;
    transition: all 0.4s ease;
    overflow: hidden;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.4);
  }
  
  .big-quote {
    position: absolute;
    top: -4rem;
    left: -3rem;
    font-size: 14rem;
    line-height: 1;
    opacity: 0.07;
    color: var(--primary);
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
  
  .stars {
    position: relative;
    z-index: 1;
  }
  
  .user-info {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 1.75rem;
    position: relative;
    z-index: 1;
  }
  
  .avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .verified-badge {
    color: #22c55e;
    font-size: 1.25rem;
  }
/* ===============================
RESPONSIVE
=============================== */

/* MOBILE */
@media(max-width:900px){
    .nav-links{display:none;}.hamburger{display:block;}.hero h1{font-size:40px;}
    .hero-container {
    grid-template-columns: 1fr;
    text-align: center;}
      .contact-grid {
      grid-template-columns: 1fr;
  }

.hero-image {
    margin-top: 40px;
    max-width: 400px;
}

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

.btn {
    width: 220px;
}
}
@media(max-width:600px) {
    
    .contact-card {
        padding: 30px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
}



    /* ────────────────────────────────────────
       MEDIA QUERIES – TABLET & DESKTOP
    ──────────────────────────────────────── */
    @media (min-width: 768px) {
      .hero-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
      }

      .hero-text p {
        margin: 0 0 2.5rem 0;
      }

      .buttons {
        justify-content: flex-start;
      }

      .hero-image {
        max-width: 540px;
      }
    }

    @media (min-width: 1024px) {
      .hero {
        padding: 160px 0 120px;
      }

      .hero-image {
        max-width: 620px;
      }
    }

    /* ────────────────────────────────────────
       MOBILE MENU & HAMBURGER
    ──────────────────────────────────────── */
    @media (max-width: 900px) {
      .nav-links {
        display: none;
      }

      .hamburger {
        display: block;
      }
    }

    /* Very small phones */
    @media (max-width: 480px) {
      .hero {
        padding-top: 120px;
      }

      .hero-text h1 {
        font-size: clamp(2.2rem, 9vw, 3.6rem);
      }

      .btn {
        padding: 12px 28px;
        font-size: 0.98rem;
      }
    }