/* ===================================================================
   ROOT VARIABLES (SAFE GLOBALS)
=================================================================== */
:root {
    --primary: #00d4ff;
    --secondary: #7c3aed;
    --dark: #0f0f23;
    --light: #f8f9fa;
    --accent: #ff6b6b;
}

/* ===================================================================
   BASE BODY (NO GLOBAL RESET)
=================================================================== */
body {
    background: var(--dark);
    color: var(--light);

    overflow-x: hidden;
    padding-top: 70px; /* for fixed navbar */
}
body {
  font-family: 'Montserrat', sans-serif;
}

/* ===================================================================
   ANIMATED BACKGROUND
=================================================================== */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0f0f23, #1a1a3e);
}

.bg-animated::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
    opacity: 0.1;
}

@keyframes moveGrid {
    0% { transform: translate(0,0); }
    100% { transform: translate(50px,50px); }
}

/* ===================================================================
   HERO SECTIONS
=================================================================== */
.hero,
.small-hero,
.invest-hero,
.equity-hero {
    padding-top: 110px;
    padding-bottom: 40px;
    text-align: center;
}

.hero-title,
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #e5e5e5;
}

/* ===================================================================
   BUTTONS (CUSTOM ONLY)
=================================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,212,255,0.4);
}

/* ===================================================================
   GLASS CARD (REUSABLE)
=================================================================== */
.glass-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    transition: .3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,212,255,0.25);
}

/* ===================================================================
   COURSE CARD
=================================================================== */
.course-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    transition: .3s;
}

.course-card:hover {
    transform: translateY(-12px);
    border: 1px solid var(--primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.course-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================================================================
   LOCATION SECTION
=================================================================== */
.location-title {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.location-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    transition: 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0,212,255,0.35);
    border-color: var(--primary);
}

.location-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.location-address {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* ===================================================================
   FOOTER
=================================================================== */
footer a {
    text-decoration: none;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
.benefit-box-1{
    background: linear-gradient(135deg,#7f53ac,#647dee);
    padding: 20px;
    border-radius: 14px;
    width: flex;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.benefit-box-2{
    background: linear-gradient(135deg,#f5576c,#f093fb);
    padding: 20px;
    border-radius: 14px;
    width: flex;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.benefit-box-3{
    background: linear-gradient(135deg,#43e97b,#38f9d7);;
    padding: 20px;
    border-radius: 14px;
    width: flex;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.benefit-box-4{
    background: linear-gradient(135deg,#ff9a9e,#fecfef);
    padding: 20px;
    border-radius: 14px;
    width: 23%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.benefit-box-1 i {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-1 p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-2 i {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-2 p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-3 i {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-3 p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-4 i {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.benefit-box-4 p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

/*loan*/
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #1f1c2c); /* dark gradient background */
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(12px); /* glass blur effect */
  -webkit-backdrop-filter: blur(12px);
}

.step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08); /* semi-transparent glass */
  padding: 15px;
  border-radius: 12px;
  font-size: 1rem;
  color: #f1f1f1; /* light text for contrast */
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.step:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.18); /* brighter glass on hover */
  border-color: rgba(255, 255, 255, 0.4);
}
/* ===================================================================
   UNIVERSAL RESPONSIVE FIXES (APPLY TO ALL PAGES)
=================================================================== */

/* ================================
   BENEFIT BOXES (Universal)
================================ */
.benefit-box-1,
.benefit-box-2,
.benefit-box-3,
.benefit-box-4 {
    width: 23%;
}

@media (max-width: 1024px) {
    .benefit-box-1,
    .benefit-box-2,
    .benefit-box-3,
    .benefit-box-4 {
        width: 48%;      /* 2 boxes per row */
    }
}

@media (max-width: 768px) {
    .benefit-box-1,
    .benefit-box-2,
    .benefit-box-3,
    .benefit-box-4 {
        width: 100%;     /* 1 box per row */
    }
}

/* Keep icons & text scaling */
@media (max-width: 480px) {
    .benefit-box-1 i,
    .benefit-box-2 i,
    .benefit-box-3 i,
    .benefit-box-4 i {
        font-size: 1.6rem;
    }
    .benefit-box-1 p,
    .benefit-box-2 p,
    .benefit-box-3 p,
    .benefit-box-4 p {
        font-size: 0.9rem;
    }
}

/* ================================
   PROCESS STEPS (Universal)
================================ */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 180px;   /* Prevent shrinking */
}

@media (max-width: 768px) {
    .step {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .process-steps {
        padding: 18px;
        gap: 12px;
    }
    .step {
        font-size: 0.9rem;
        padding: 12px;
    }
}

/* ================================
   LOCATION CARDS RESPONSIVE
================================ */
@media (max-width: 768px) {
    .location-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .location-card {
        padding: 18px;
    }
    .location-card h3 {
        font-size: 1.3rem;
    }
}

/* ================================
   HERO SECTION (Responsive)
================================ */
@media (max-width: 768px) {
    .hero-title,
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .hero h1 {
        font-size: 1.7rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
}

/* ================================
   GLASS CARDS RESPONSIVE
================================ */
@media (max-width: 480px) {
    .glass-card {
        padding: 1.4rem;
    }
}

/* ================================
   BUTTON RESPONSIVE
================================ */
@media (max-width: 480px) {
    .btn-primary-custom {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
}

/* ================================
   COURSE CARD RESPONSIVE
================================ */
@media (max-width: 480px) {
    .course-card {
        padding: 1.5rem;
    }
    .course-icon {
        font-size: 2.5rem;
    }
}
