/* === Reset and Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #4361ee;
    --accent-color: #7209b7;
    --gold: #ffd700;
    --text-color: #2d3436;
    --light-text: #64748b;
    --background: #ffffff;
    --light-background: #f8fafc;
    --dark-gradient: linear-gradient(135deg, var(--primary-color), #16213e);
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-text: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

body {
    font-family: 'Poppins', sans-serif;
  line-height: 1.6;
    color: var(--text-color);
  overflow-x: hidden;
}

/* === Preloader === */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
}

.logo-animation {
    text-align: center;
}

.logo-animation img {
    width: 80px;
    height: auto;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: #eee;
    margin-top: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--secondary-color);
    animation: loading 1s infinite ease-in-out;
}

/* === Navigation === */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
  text-decoration: none;
    transition: var(--transition);
}

.nav-button {
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
  text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* === Hero Section === */
.hero {
    padding: 8rem 2rem 4rem;
    background: var(--dark-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/grid.png');
    opacity: 0.1;
    animation: backgroundFloat 20s linear infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s 0.4s forwards;
}

.primary-button, .secondary-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
  text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.secondary-button {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.primary-button:hover, .secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* === Features Section === */
.features {
    padding: 6rem 2rem;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.features-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-background);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--secondary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--light-text);
}

/* === Stats Section === */
.stats {
    padding: 6rem 2rem;
    background: var(--light-background);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* === Testimonials === */
.testimonials {
    padding: 6rem 2rem;
    background: var(--background);
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.quote {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.author-title {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* === Contact Section === */
.contact {
    padding: 6rem 2rem;
    background: var(--light-background);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
  border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-background);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.submit-button {
    background: var(--gradient-text);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* === Footer === */
.footer {
    padding: 2rem;
    background: var(--primary-color);
    color: white;
  text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* === Animations === */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
}

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

    .hero-buttons {
        flex-direction: column;
}

    .section-header h2 {
        font-size: 2rem;
}

    .contact-form {
        padding: 2rem;
}
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 30px;
}

    .logo-text {
        font-size: 1.2rem;
    }
}

/* === Coming Soon Section === */
.coming-soon {
    padding: 6rem 2rem;
    background: var(--dark-gradient);
    color: white;
    text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon::before {
    content: '';
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.coming-soon-card {
    background: var(--glass-background);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.coming-soon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.coming-soon-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.notify-button {
    background: var(--gold);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
  text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
  display: inline-block;
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}