:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f3f4f6;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

/* wordls sliding effect */
    .px-words-slide {
      position: relative;
      width: 200px;
      height: 40px;
      overflow: hidden;
    }

    .px-words-slide .name {
      position: absolute;
      width: 100%;
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
      animation: slideInOut 6s infinite;
      

        font-size: 1.5rem;
        color: var(--primary);
        font-weight: 600;
 
        white-space: nowrap;
    }

    .px-words-slide .name:nth-child(1) { animation-delay: 0s; }
    .px-words-slide .name:nth-child(2) { animation-delay: 1.5s; }
    .px-words-slide .name:nth-child(3) { animation-delay: 3s; }
    .px-words-slide .name:nth-child(4) { animation-delay: 4.5s; }

    @keyframes slideInOut {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      10% {
        opacity: 1;
        transform: translateY(0);
      }
      25% {
        opacity: 1;
        transform: translateY(0);
      }
      35% {
        opacity: 0;
        transform: translateY(-20px);
      }
      100% {
        opacity: 0;
        transform: translateY(-20px);
      }
    }

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    display: none;
}

@media (pointer: fine) {
    .cursor {
        display: block;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    color: var(--text);
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    height: 40px;
    overflow: visible;
    position: relative;
}

.static-text {
    font-size: 1.5rem;
    color: var(--text);
    white-space: nowrap;
    margin-right: 8px;
}

.dynamic-texts {
    list-style: none;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    min-width: 200px;
}

.dynamic-texts li {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    opacity: 0;
    animation: rotateWords 12s linear infinite;
    transform-origin: left center;
}

.dynamic-texts li:nth-child(2) {
    animation-delay: 3s;
}

.dynamic-texts li:nth-child(3) {
    animation-delay: 6s;
}

.dynamic-texts li:nth-child(4) {
    animation-delay: 9s;
}

.dynamic-texts li span {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease forwards;
    white-space: nowrap;
}

@keyframes rotateWords {
    0%, 20% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.primary-button {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.demo-button {
    background: transparent;
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.demo-button:hover {
    background: var(--background-alt);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.main-image:hover {
    transform: scale(1);
}

.floating {
    position: absolute;
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-card {
    top: 5%;
    left: -15%;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation-delay: 0.5s;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

.location-card {
    top: 15%;
    right: -10%;
    animation-delay: 1s;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

.review-card {
    bottom: 15%;
    left: -10%;
    animation-delay: 1.5s;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

@media(max-width: 768px){
    .hero-visual{
        margin: 20px 0 80px;
    }
    
    .stats-card {
     left: -5%;
    }

    .location-card {
        right: -5%;
    }
    
    .review-card {
        left: -5%;
    }

    
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

.stat-icon, .location-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Trusted By Section */
.trusted-by {
    padding: 4rem 2rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.trusted-by .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.trusted-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.trusted-header .section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.trusted-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.trusted-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 3rem;
}

.partner-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.partner-logo {
    max-width: 100%;
    /* max-height: 50%; */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-overlay {
    transform: translateY(0);
}

.partner-stat {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
}

.trusted-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .trusted-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .trusted-by {
        padding: 3rem 1rem;
    }

    .trusted-header {
        margin-bottom: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-card {
        padding: 1rem;
    }

    .trusted-header h2 {
        font-size: 1.8rem;
    }

    .trusted-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: white;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
    background: white;
    position: relative;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-icon i.fa-chart-line {
    color: var(--primary);
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Alternate layout for larger screens */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .feature-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 3rem 1rem;
    }

    .feature-image {
        height: 250px;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        top: -25px;
    }

    .feature-icon i.fa-chart-line {
        color: var(--primary);
        font-size: 1.5rem;
        display: inline-block;
        vertical-align: middle;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .feature-content p {
        font-size: 1rem;
    }
}

/* Impact Section */
.impact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.impact .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.impact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/*.stat-icon {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: rgba(37, 99, 235, 0.1);*/
/*    border-radius: 50%;*/
/*}*/

.stat-icon i.fa-chart-line {
    color: var(--primary);
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

.stat-card:hover .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.stat-value {
    display: flex;
    align-items: baseline;
}

.stat-value .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-value .unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
}

.stat-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    animation: fillProgress 1.5s ease forwards;
}

.impact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
}

@keyframes fillProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 1024px) {
    .impact-header h2 {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .impact {
        padding: 6rem 1rem;
    }

    .impact-header {
        margin-bottom: 3rem;
    }

    .impact-header h2 {
        font-size: 2.2rem;
    }

    .impact-header p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Tools Section */
.tools {
    padding: 4rem 2rem;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.tools .container {
    max-width: 1200px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tool-icon i {
    color: var(--primary);
    font-size: 1.5rem;
}

.tool-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tool-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tools {
        padding: 3rem 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tool-card {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: white;
}

.contact {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.submit-button.loading {
    cursor: not-allowed;
    opacity: 0.8;
}

.submit-button.loading span,
.submit-button.loading i {
    visibility: hidden;
}

.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.submit-button.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 3rem 2rem 2rem;
    background: var(--text);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .cta-group {
        justify-content: center;
    }

    .impact {
        padding: 6rem 2rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .impact-content {
        padding-right: 0;
        text-align: center;
    }

    .stats-grid {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .impact-content h2 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tool-tabs {
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-floating {
    position: absolute;
    top: 20%;
    right: 10%;
    z-index: 2;
}

.stat-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.stat-badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-badge span {
    font-weight: 600;
    color: var(--text);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.story {
    padding: 4rem 2rem;
    background: var(--background);
    position: relative;
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image-container {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overlay-content i {
    color: var(--primary);
    font-size: 1.25rem;
}

.overlay-content span {
    font-weight: 600;
    color: var(--text);
}

.story-text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.story-highlight p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.story-cta {
    text-align: center;
    margin-top: 2rem;
}

.story-cta .primary-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: 140px;
    justify-content: center;
}

.story-cta .primary-button i {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.story-cta p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-stat {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-stat:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-stat:nth-child(3) {
    animation-delay: 0.4s;
}

.animate-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-header h2 {
        font-size: 2rem;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story {
        padding: 3rem 1rem;
    }

    .story-header h2 {
        font-size: 1.8rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

.directory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.directory-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.directory-item:hover {
    transform: translateX(5px);
    background: rgba(37, 99, 235, 0.1);
}

.directory-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.directory-item span {
    font-weight: 500;
    color: var(--text);
}

.competitor-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    height: 150px;
    padding: 1rem;
}

.chart-bar {
    width: 30px;
    height: calc(var(--height) * 150px / 100);
    background: var(--primary);
    border-radius: 4px;
    transition: height 0.3s ease;
    position: relative;
}

.chart-bar::before {
    content: attr(style);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-light);
}

.tool-card[data-tool="directories"]:hover .directory-item,
.tool-card[data-tool="competitors"]:hover .chart-bar {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trusted-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Grid Margins */
.tools-grid {
    margin-top: 3rem;
}

.features-grid {
    margin-top: 3rem;
}

.partners-grid {
    margin-top: 3rem;
}

/* Footer */
.footer {
    padding: 2rem 1rem 1.5rem;
    background: var(--text);
    color: white;
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }

    .trusted-by,
    .features,
    .tools,
    .story,
    .contact {
        padding: 3rem 1rem;
    }

    .section-header,
    .trusted-header,
    .story-header {
        margin-bottom: 2rem;
    }

    .tools-grid,
    .features-grid,
    .partners-grid {
        margin-top: 2rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }
}

.story-cta .primary-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.story-cta .primary-button i {
    font-size: 0.85rem;
}

/* SweetAlert Custom Styles */
.swal2-popup {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
}

.swal2-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
}

.swal2-html-container {
    font-size: 1rem !important;
    color: var(--text-light) !important;
    margin-top: 1rem !important;
}

.swal2-confirm {
    background: var(--primary) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.swal2-icon {
    border-width: 3px !important;
}

.swal2-timer-progress-bar {
    background: var(--primary) !important;
} 