/* Global Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #ffffff;
    --accent-color: #4DA6FF;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-blue: #001F3F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.primary-btn:hover {
    background-color: #3a8fd9;
}

.login-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.register-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}
.logo img{
    width: 90px;
    background-color: white;
    padding: 5px;
    border-radius: 8px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light-gray);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Plans Section */
.plans {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.plan-price {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.plan-price span {
    font-size: 1rem;
    color: #777;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.plan-referral {
    background-color: rgba(77, 166, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.buy-now-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
    background-color: var(--dark-blue);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-image {
    flex: 1;
    padding-right: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}


.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-section .logo{
    width: 90px;
    background-color: white;
    padding: 5px;
    border-radius: 8px;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section p, .footer-section a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalopen 0.5s;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image, .about-image {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .plan-card {
        padding: 20px;
    }
}
/* Error Message Styles */
.global-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #ffebee;
    color: #c62828;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    max-width: 90%;
    animation: slideIn 0.3s ease-out;
}

.global-error.fade-out {
    animation: fadeOut 0.3s ease-out;
}

.error-content {
    display: flex;
    align-items: center;
}

.error-icon {
    font-weight: bold;
    margin-right: 10px;
    color: #c62828;
}

.error-text {
    font-size: 14px;
}

@keyframes slideIn {
    from { top: -50px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Modal Stacking Context */
.modal {
    z-index: 1000;
    position: fixed;
    /* Your existing modal styles */
}

/* SweetAlert Overrides */
.swal2-container {
    z-index: 9999 !important;
}

/* Form Error Styles */
.form-error {
    color: #c62828;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.input-error {
    border-color: #c62828 !important;
}

/* Mobile Menu */
.mobile-menu {
    z-index: 1001;
}

/* Plan Cards */
.plan-card {
    position: relative;
    z-index: 1;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Retry Button */
.retry-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

/* User Profile */
.user-profile {
    position: relative;
    z-index: 10;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .global-error {
        width: 90%;
        padding: 10px 15px;
    }
}

.ut-section {
  padding: 30px 15px;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  font-family: 'Arial', sans-serif;
}

.ut-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  max-width: 900px;
  margin: auto;
  text-align: justify;
}

.ut-box h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.ut-box h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #d0eaff;
}

.ut-box ul {
  padding-left: 20px;
  margin: 10px 0;
}

.ut-box li {
  margin-bottom: 8px;
}

.ut-image-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.ut-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

.ut-arrow {
  font-size: 28px;
  font-weight: bold;
  color: white;
}

/* Responsive arrow positioning for mobile */
@media (max-width: 600px) {
  .ut-image-steps {
    flex-direction: column;
    gap: 10px;
  }

  .ut-arrow {
    transform: rotate(90deg);
  }
}

.ut-invest-cta {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.ut-invest-content {
  max-width: 800px;
  margin: auto;
}

.ut-invest-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.ut-invest-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ut-invest-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.ut-invest-content ul li {
  font-size: 16px;
  margin-bottom: 10px;
}

.ut-invest-btn {
  background: #fff;
  color: #1e3c72;
  padding: 12px 25px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}

.ut-invest-btn:hover {
  background: #e0e0e0;
}

.ut-live-stats {
  background: #f0f8ff;
  padding: 50px 20px;
  text-align: center;
}

.ut-stats-container {
  max-width: 1000px;
  margin: auto;
}

.ut-stats-container h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #1e3c72;
}

.ut-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.ut-stat-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ut-stat-box h3 {
  font-size: 28px;
  color: #2a5298;
  margin-bottom: 10px;
}

.ut-stat-box p {
  font-size: 16px;
  color: #555;
}

.ut-attract-user {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ut-attract-content {
  max-width: 800px;
  margin: auto;
}

.ut-attract-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
  animation: textGlow 2s infinite alternate;
}

.ut-attract-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.ut-attract-btn {
  background: #fff;
  color: #0072ff;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease-in-out;
}

.ut-attract-btn:hover {
  background: #0072ff;
  color: white;
  transform: scale(1.1);
  box-shadow: 0px 0px 15px rgba(0, 114, 255, 0.8);
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px #ffffff, 0 0 20px #00c6ff, 0 0 30px #0072ff;
  }
  100% {
    text-shadow: 0 0 20px #ffffff, 0 0 40px #00c6ff, 0 0 60px #0072ff;
  }
}

/* Unique container styling */
.earn-pathway {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pathway-header {
    text-align: center;
    margin-bottom: 50px;
}

.pathway-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    background: linear-gradient(90deg, #6c5ce7, #0984e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pathway-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Steps styling */
.pathway-steps {
    position: relative;
    padding-left: 40px;
}

.pathway-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}

.step-visual {
    position: relative;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-account .step-icon {
    background-color: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
}

.step-login .step-icon {
    background-color: rgba(9, 132, 227, 0.1);
    color: #0984e3;
}

.step-plan .step-icon {
    background-color: rgba(253, 121, 168, 0.1);
    color: #fd79a8;
}

.step-earn .step-icon {
    background-color: rgba(0, 206, 201, 0.1);
    color: #00cec9;
}

.step-connector {
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, #6c5ce7, #0984e3, #fd79a8, #00cec9);
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: #2d3436;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: #636e72;
    line-height: 1.6;
}

/* Buttons with unique classes */
.pathway-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pathway-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.pathway-join {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.pathway-learn {
    background: white;
    color: #0984e3;
    border: 2px solid #0984e3;
}

.pathway-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.pathway-learn:hover {
    background: #f8fbff;
}

/* Responsive design */
@media (max-width: 768px) {
    .earn-pathway {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .pathway-title {
        font-size: 1.8rem;
    }
    
    .pathway-steps {
        padding-left: 20px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-connector {
        left: 25px;
    }
    
    .pathway-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .pathway-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}
/* Main Hero Section Styles */
.custom-hero-section {
  background-image: url('img/banner.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-hero-overlay {
  text-align: center;
  color: white;
  padding: 0 20px;
  width: 100%;
}

.custom-hero-heading {
  font-size: 5rem;
  font-weight: bold;
  animation: verticalFloat 4s ease-in-out infinite;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.custom-hero-subbox {
  margin-top: 30px;
  background-color: white;
  color: darkblue;
  display: inline-block;
  padding: 15px 25px;
  font-size: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.custom-hero-subbox:hover {
  transform: scale(1.05);
}

/* Animation */
@keyframes verticalFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
  .custom-hero-section {
    height: 70vh;
  }
  
  .custom-hero-heading {
    font-size: 3.5rem;
  }
  
  .custom-hero-subbox {
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}

/* Mobile Styles (576px and below) */
@media (max-width: 576px) {
  .custom-hero-section {
    height: 50vh;
  }
  
  .custom-hero-heading {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  .custom-hero-subbox {
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 10px;
  }
}

/* Very Small Mobile Devices (400px and below) */
@media (max-width: 400px) {
  .custom-hero-heading {
    font-size: 2rem;
  }
  
  .custom-hero-subbox {
    font-size: 0.9rem;
  }
}
