/* Base Styles and Variables */
:root {
    --primary-color: #0F766E;
    --secondary-color: #14B8A6;
    --dark-color: #134E4A;
    --light-color: #F0FDFA;
    --text-color: #0F172A;
    --text-secondary: #334155;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --border-radius: 12px;
    --box-shadow: 0 10px 25px rgba(15, 118, 110, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --accent-gradient: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
    --animation-duration: 0.5s;
    --neutral-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255, 255, 255, 0.9);
}

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(.8, 0, .2, 1);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.btn-outlined {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outlined:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.08);
    transition: all 0.4s ease;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.header.scrolled {
    padding: 12px 0;
    background-color: var(--header-bg);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-height: 45px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    max-height: 40px;
}

.nav-list {
    display: flex;
    gap: 10px;
}

.nav-list li {
    margin-left: 25px;
    position: relative;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 2px;
    text-transform: capitalize;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

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

/* Google Translate Styles */
.translate-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

#google_translate_element {
    min-width: 120px;
}

#google_translate_element select {
    border-radius: var(--border-radius);
    padding: 5px;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    background-color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

#google_translate_element .goog-te-gadget {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#google_translate_element .goog-te-gadget-simple {
    background-color: var(--light-color);
    border: 1px solid var(--primary-color);
    padding: 5px 8px;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

#google_translate_element .goog-te-gadget-simple:hover {
    background-color: var(--primary-color);
    color: white;
}

#google_translate_element .goog-te-gadget-simple img {
    margin-right: 5px;
}

#google_translate_element .goog-te-menu-value span:first-child {
    font-weight: 500;
}

/* Responsive styles for Google Translate */
@media (max-width: 991px) {
    .translate-item {
        margin: 5px 0;
        justify-content: center;
    }
    
    #google_translate_element {
        width: 100%;
        text-align: center;
    }
}

/* Chat Bot Link Styling */
.chat-bot-link {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

.chat-bot-link:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(15, 118, 110, 0.4);
    animation: none;
}

.chat-bot-link i {
    margin-right: 5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(15, 118, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(15, 118, 110, 0);
    }
}

/* Floating Pi Price Button */
.floating-price-btn {
    position: fixed;
    bottom: 30px;
    right: 270px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: priceGlow 2.5s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.floating-price-btn i {
    font-size: 24px;
    animation: chartPulse 2s ease-in-out infinite;
}

.floating-price-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.6);
    animation: none;
    color: white;
}

.floating-price-btn:hover i {
    transform: scale(1.3);
    animation: none;
}

@keyframes priceGlow {
    0% {
        box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(251, 191, 36, 0.7), 0 0 20px rgba(251, 191, 36, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    }
}

@keyframes chartPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(2deg);
    }
    75% {
        transform: scale(1.1) rotate(-2deg);
    }
}

/* Floating Donate Button */
.floating-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 200px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: heartbeat 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.floating-donate-btn i {
    font-size: 24px;
    animation: heartPulse 1.5s ease-in-out infinite;
}

.floating-donate-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    animation: none;
    color: white;
}

.floating-donate-btn:hover i {
    transform: scale(1.3);
    animation: none;
}

.floating-donate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
}

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

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(15, 118, 110, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: pulse 2s infinite;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.floating-chat-btn i {
    font-size: 24px;
}

.floating-chat-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.5);
    animation: none;
    color: white;
}

/* Floating Pi Boosting & Staking Button */
.floating-boost-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: rocketGlow 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.floating-boost-btn i {
    font-size: 24px;
    animation: rocketLaunch 2.5s ease-in-out infinite;
}

.floating-boost-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
    animation: none;
    color: white;
}

.floating-boost-btn:hover i {
    transform: scale(1.3) rotate(15deg);
    animation: none;
}

.floating-boost-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s ease-in-out infinite;
}

@keyframes rocketGlow {
    0% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.7), 0 0 20px rgba(139, 92, 246, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    }
}

@keyframes rocketLaunch {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(3deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(-3deg);
    }
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    background: transparent;
    border: none;
    outline: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--light-color) 0%, #E6FFFD 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.1) 0%, rgba(20,184,166,0.03) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.08) 0%, rgba(20,184,166,0.02) 70%);
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 3.5rem;
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subheading {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: var(--text-secondary);
    max-width: 90%;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
}

.pi-tracker {
    background-color: var(--neutral-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-top: 20px;
    border: 1px solid rgba(15, 118, 110, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pi-tracker:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.2);
}

.hero-image {
    position: relative;
    z-index: 2;
    max-width: 50%;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.03);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.15);
    border: 4px solid white;
}

.pi-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pi-price .label {
    margin-right: 10px;
    font-weight: 500;
}

.pi-price .value {
    font-weight: 700;
    color: var(--primary-color);
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.dashboard-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.dashboard-link:hover i {
    transform: translateX(3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Ad Container */
.ad-container {
    padding: 30px 0;
    background-color: var(--light-color);
}

.ad-slot {
    width: 100%;
    height: 90px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: #999;
    text-align: center;
}

/* Services Section */
.services {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

/* Service Card Links */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.service-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.services::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.08) 0%, rgba(20,184,166,0.03) 70%);
    top: 50px;
    right: -100px;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.06) 0%, rgba(20,184,166,0.02) 70%);
    bottom: 50px;
    left: -50px;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--neutral-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 35px 30px;
    transition: var(--transition);
    border: 1px solid rgba(15, 118, 110, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    background: rgba(15, 118, 110, 0.1);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.service-card-link:hover .service-link {
    color: var(--secondary-color);
}

/* Vision Section */
.vision {
    background: linear-gradient(180deg, var(--light-color) 0%, rgba(240, 253, 250, 0.6) 100%);
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.08) 0%, rgba(20,184,166,0.02) 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

.vision .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.vision-content {
    flex: 1;
}

.vision-content h2 {
    position: relative;
    margin-bottom: 30px;
    font-size: 2.2rem;
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--primary-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.vision-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
}

.vision-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.vision-image {
    flex: 1;
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.achievement-badge {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--warning-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.badge-icon i {
    font-size: 24px;
    color: white;
}

.vision-image {
    flex: 1;
}

/* Why Choose Us */
.why-choose {
    background: var(--neutral-bg);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,0.06) 0%, rgba(20,184,166,0.02) 70%);
    top: 50px;
    left: -150px;
    z-index: 0;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.why-choose .section-header h2:after {
    background-color: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.advantage-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fffd 100%);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(15, 118, 110, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.advantage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(15, 118, 110, 0.15);
}

.advantage-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.advantage-card:hover .advantage-icon {
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: rotateZ(10deg);
}

.advantage-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon i {
    color: white;
    transform: rotateZ(-10deg);
}

.advantage-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.advantage-card:hover h3 {
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.twitter-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.twitter-info h4 {
    margin-bottom: 5px;
}

.twitter-handle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

.twitter-date, .notice-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 15px;
}

.twitter-actions {
    margin-top: 15px;
}

.twitter-link {
    color: #1da1f2;
    font-size: 14px;
    font-weight: 500;
}

.notice {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning-color);
}

.notice-icon {
    margin-bottom: 15px;
}

.notice-icon i {
    font-size: 24px;
    color: var(--warning-color);
}

.notice-content h4 {
    margin-bottom: 10px;
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.statistics::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 70%);
    border-radius: 50%;
    z-index: 0;
}

.statistics::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 70%);
    border-radius: 50%;
    z-index: 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    min-width: 250px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
    transform: scale(1.5);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    z-index: 1;
    transition: transform 0.5s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
    z-index: 1;
    position: relative;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.8s forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='rgba(255,255,255,0.05)' /%3E%3C/svg%3E");
    z-index: 0;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--light-color);
}

.cta-section .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid white;
}

.cta-section .btn-outlined {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cta-section .btn-outlined:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Enhanced Animation Styles */
.hover-effect {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Modernize section transitions */
section {
    position: relative;
    z-index: 1;
    transition: transform var(--animation-duration);
}

.service-card, .advantage-card, .testimonial-card, .vision-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .advantage-card:hover, .testimonial-card:hover, .vision-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-gradient);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1) 0%, rgba(15, 118, 110, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo img {
    max-height: 45px;
    margin-bottom: 20px;
    filter: brightness(1.2);
    transition: transform 0.4s ease;
}

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

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.link-group {
    flex: 1;
    min-width: 180px;
}

.link-group h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.link-group ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.link-group ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.link-group ul li:hover {
    padding-left: 20px;
}

.link-group ul li:hover::before {
    background-color: var(--secondary-color);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    font-weight: 400;
}

.link-group ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.4);
}

.social-links a:hover::before {
    width: 120%;
    height: 120%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 1px;
    background: var(--accent-gradient);
}

.copyright, .team {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.copyright:hover, .team:hover {
    color: white;
}

.founders {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.founders:hover {
    background-color: rgba(15, 118, 110, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team {
    position: relative;
    padding-left: 20px;
}

.team::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.team:hover::before {
    transform: scale(1.2);
    color: #ff6b6b;
}

.founder-profiles {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    margin-bottom: 5px;
}

.founder span {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .vision .container {
        flex-direction: column;
    }
    
    .hero-content,
    .vision-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header .container {
        position: relative;
    }
    
    .desktop-only {
        display: none;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    
    .nav-list.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-list li a {
        display: block;
        padding: 10px 20px;
        font-size: 1.1rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid,
    .vision-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Réduire la taille du texte du hero sur mobile */
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }
    
    .hero .subheading {
        font-size: 1.1rem;
        margin-bottom: 25px;
        text-align: center;
        max-width: 100%;
    }

    /* Centrer les groupes de boutons */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0;
        align-items: center;
    }
    
    .cta-group .btn {
        width: 85%;
        margin-bottom: 15px; /* Espacement entre les boutons */
        text-align: center;
    }
    
    /* Adapter les quatre boutons flottants sur mobile - côte à côte */
    .floating-price-btn {
        right: 205px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-price-btn i {
        font-size: 20px;
    }
    
    .floating-donate-btn {
        right: 145px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-donate-btn i {
        font-size: 20px;
    }
    
    .floating-chat-btn {
        right: 85px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-chat-btn i {
        font-size: 20px;
    }
    
    /* Nouveau bouton de boosting Pi sur mobile */
    .floating-boost-btn {
        right: 25px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-boost-btn i {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        padding: 0;
        align-items: center;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 85%;
        margin: 0 auto 15px; /* Centrage et espacement entre les boutons */
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Amélioration des boutons en général sur mobile */
    .btn {
        margin: 8px 5px; /* Marge autour de tous les boutons */
    }
    
    /* Augmentation maximale de la taille de l'image platform dans la section Hero */
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        margin-top: 0;
        transform: scale(1.4); /* Agrandissement de l'image */
    }
    
    .hero-image img {
        width: 100vw; /* Utilisation de 100% de la largeur de l'écran */
        height: auto;
        max-height: none; /* Suppression de la restriction de hauteur */
        margin: 20px auto; /* Centrage et espacement vertical */
        display: block; /* Pour que le margin auto fonctionne */
        border-radius: 12px; /* Coins arrondis pour esthétique */
        box-shadow: 0 8px 25px rgba(15, 118, 110, 0.2); /* Ombre portée légère */
    }
    
    /* Ajustement de la section Hero pour accommoder l'image plus grande */
    .hero .container {
        margin-bottom: 40px; /* Espace supplémentaire en bas de la section */
        overflow: visible; /* Permettre à l'image de déborder si nécessaire */
    }
    
    /* Ajustements pour les boutons dans la navigation mobile */
    .nav-list.active li a {
        padding: 12px 15px; /* Plus de padding pour une meilleure zone de clic */
        margin: 5px 15px; /* Marge autour des liens */
    }
    
    /* Amélioration de l'espacement dans les sections */
    section {
        padding: 50px 15px; /* Réduction du padding vertical et ajout de padding horizontal */
    }
}
