/* OKAY Recharge - Main Styles */

:root {
  --primary: #1f9b06;
  --primary-dark: #73ac0b;
  --secondary: #4d4d4d;
  --secondary-dark: #333333;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 1rem;
}

.logo img {
  height: 70px;
  width: auto;
  transition: transform 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  line-height: 30px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

/* .btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
} */

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-slider{
  position:relative;
  height:600px;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  /* background-position:; */
  background-repeat:no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  opacity:0;
  transition:opacity .7s ease-in-out;
}

.slide.active{
  opacity:1;
}

.slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.25));
}

.hero-content{
  position:relative;
  max-width:900px;
  padding:20px;
}

.hero-content h1{
  font-size:3.2rem;
  font-weight:800;
  margin-bottom:1rem;
}

.hero-content p{
  font-size:1.2rem;
  margin-bottom:1.8rem;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}

/* Slider Arrows */
.slider-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:2.5rem;
  color:white;
  cursor:pointer;
  padding:10px 15px;
  /* background:rgba(0,0,0,.3); */
  border-radius:50%;
  user-select:none;
}

/* .slider-nav:hover{
  background:rgba(0,0,0,.6);
} */

.prev{ left:20px; }
.next{ right:20px; }

/* Responsive */
@media(max-width:768px){
  /* .hero-slider{ height:450px; } */
  .hero-content h1{ font-size:2.2rem; }
}


/* Cards */
.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.card-header {
  padding: 1.5rem;
}

.card-body {
  padding: 0 1.5rem 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Sections */
section {
  padding: 4rem 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Icon Boxes */
.icon-box {
  text-align: center;
  padding: 2rem 1rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.icon-circle.primary {
  background: linear-gradient(135deg, var(--primary), #ffaa33);
  color: white;
}

.icon-circle.secondary {
  background-color: rgba(255, 136, 0, 0.1);
  color: var(--primary);
}

/* Service Cards */
.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ffaa33);
}

/* Stats */
.stats {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.1);
}

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

/* Footer */
.footer {
  background-color: var(--secondary);
  color: white;
  padding: 3rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 70px;
  margin-bottom: 1rem;
  /* filter: brightness(0) invert(1); */
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  /* color: var(--primary); */
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 1rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 2rem;
  }
  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Login Button */
.login-btn {
  padding: 0.55rem 1.3rem;
  font-size: 1rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 0.5rem;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.login-btn:hover {
  background-color: var(--primary);
  color: white !important;
  transform: translateY(-2px);
}

/* Sign Up Button */
.signup-btn {
  padding: 0.55rem 1.3rem;
  font-size: 1rem;
  background: var(--primary);
  color: white !important;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: 0.3s ease-in-out;
}

.signup-btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  /* color: white !important; */
  transform: translateY(-2px);
}

.cta-banner{
      background: linear-gradient(135deg, #00ff26, #ffbd03);
    color: #fff;
    padding: 4.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* border-radius: 18px; */
    /* margin-bottom: 50px; */
   
}

/* glow effects */
.cta-banner::before,
.cta-banner::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  background:rgba(255,255,255,.15);
  filter:blur(55px);
  border-radius:50%;
}

.cta-banner::before{ top:-60px; left:-40px; }
.cta-banner::after{ bottom:-60px; right:-40px; }

.cta-container{
  position:relative;
}

/* heading */
.cta-container h2{
  font-size:2.4rem;
  font-weight:800;
  margin-bottom:1rem;
}

/* text */
.cta-container p{
  font-size:1.2rem;
  opacity:.95;
  margin-bottom:2rem;
}

/* button polish */
.cta-banner .btn{
  padding:12px 26px;
  border-radius:40px;
  font-size:1.05rem;
  box-shadow:0 12px 25px rgba(0,0,0,.25);
  transition:.35s;
}

.cta-banner .btn:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 18px 30px rgba(0,0,0,.35);
}

/* responsive */
@media(max-width:768px){
  .cta-banner{
    padding:3.5rem 1rem;
    border-radius:12px;
  }

  .cta-container h2{
    font-size:1.9rem;
  }
}
