/* SyvurSoft Main Page Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a0e9;
    --accent-color: #ff6b6b;
    --dark-bg: #2c3e50;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --light-text: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Styles for SyvurSoft Page */
.syvursoft-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.syvursoft-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.syvursoft-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.syvursoft-header .logo {
    display: flex;
    align-items: center;
}

.syvursoft-header .logo img {
    height: 50px;
    margin-right: 10px;
}

.syvursoft-header .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Navigation */
.syvursoft-header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.syvursoft-header nav ul li {
    margin-left: 25px;
}

.syvursoft-header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.syvursoft-header nav ul li a:hover {
    color: var(--primary-color);
}

/* User Menu */
.user-menu {
    position: relative;
    display: none; /* Hidden by default until user is authenticated */
}

.user-menu > a {
    display: flex;
    align-items: center;
}

.user-menu i {
    font-size: 18px;
    margin-right: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 180px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: #f5f8fa;
}

.dropdown-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Auth Links */
.auth-links {
    display: flex; /* Show by default */
    align-items: center;
}

.auth-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-left: 15px;
}

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

/* Mobile Navigation */
.syvursoft-header .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 10;
}

.syvursoft-header .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

.syvursoft-header .mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .syvursoft-header .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .syvursoft-header nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 5;
    }

    .syvursoft-header nav.mobile-active {
        display: block;
    }

    .syvursoft-header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .syvursoft-header nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    /* Mobile user menu */
    .syvursoft-header .user-menu {
        position: static;
    }

    .syvursoft-header .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .syvursoft-header .dropdown-menu li a {
        justify-content: center;
    }

    /* Mobile auth links */
    .syvursoft-header .auth-links {
        flex-direction: column;
        width: 100%;
    }

    .syvursoft-header .auth-links a {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #0056b3 0%, #00a0e9 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pulse-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    animation: pulse 3s infinite;
}

.pulse-circle::before,
.pulse-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse-circle::before {
    width: 70%;
    height: 70%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 3s infinite 0.5s;
}

.pulse-circle::after {
    width: 40%;
    height: 40%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 3s infinite 1s;
}

.data-visualization {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.data-visualization i {
    font-size: 2.5rem;
    margin: 15px;
    color: white;
    opacity: 0.9;
    animation: float 3s infinite alternate;
}

.data-visualization i:nth-child(2) {
    animation-delay: 0.5s;
}

.data-visualization i:nth-child(3) {
    animation-delay: 1s;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.products-section .container {
    position: relative;
    z-index: 2;
}

.products-section .section-title {
    margin-bottom: 40px;
    text-align: center;
}

/* Add a subtle divider after the products section */
.products-section::after {
    content: '';
    display: block;
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 60px auto 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.product-card {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Product Card Styling */
.product-card.featured {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(0, 160, 233, 0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: -1;
}

/* Product Title Animation and Styling */
.product-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s infinite alternate;
    letter-spacing: -0.5px;
    text-align: center;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 5px rgba(0, 86, 179, 0.3); }
    100% { text-shadow: 0 0 15px rgba(0, 86, 179, 0.6); }
}

/* Badge Animation Enhancement */
.product-badge.pulse {
    display: inline-block;
    margin-bottom: 20px;
    animation: badgePulse 2s infinite;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 5px 20px rgba(0, 86, 179, 0.5); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3); }
}

/* Tagline Enhancement */
.product-tagline {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-bg);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.product-tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

/* Description Enhancement */
.product-card.featured p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

/* Features List Animation and Styling */
.product-features.animated {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px auto;
    max-width: 700px;
}

.product-features.animated li {
    opacity: 0;
    transform: translateY(20px);
    animation: featureAppear 0.5s forwards;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.product-features.animated li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.product-features.animated li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.3rem;
}

.product-features.animated li span {
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes featureAppear {
    to { opacity: 1; transform: translateY(0); }
}

.product-features.animated li:nth-child(1) { animation-delay: 0.2s; }
.product-features.animated li:nth-child(2) { animation-delay: 0.4s; }
.product-features.animated li:nth-child(3) { animation-delay: 0.6s; }
.product-features.animated li:nth-child(4) { animation-delay: 0.8s; }

/* CTA Button Enhancement */
.product-card.featured .btn-glow {
    margin: 20px auto 10px;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    animation: buttonFloat 3s infinite alternate;
}

@keyframes buttonFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.product-card.featured .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.product-card.featured .btn-glow:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 86, 179, 0.4);
}

.product-card.featured .btn-glow:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-features.animated {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-tagline {
        font-size: 1.3rem;
    }
}

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

.page-transition.active {
    transform: translateX(0);
}

.page-transition.exit {
    transform: translateX(100%);
}

/* Navigation link transitions */
.syvursoft-header nav ul li a {
    position: relative;
    transition: var(--transition);
}

.syvursoft-header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.syvursoft-header nav ul li a:hover::after {
    width: 100%;
}

/* Fix for founder image flickering */
.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.founder-image img.fallback-image {
    opacity: 0.9;
}

/* Preload images to prevent flickering */
body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url('Images/founder.jpg') url('Images/placeholder-profile.png');
}

/* Fix product image scaling */
.product-card .product-image {
    max-width: 180px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card .product-image img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Adjust product card layout for better space usage */
.product-card.featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    max-width: 800px;
    margin: 0 auto;
}

.product-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure proper spacing between elements */
.product-title {
    margin-bottom: 15px;
}

.product-tagline {
    margin-bottom: 20px;
}

.product-badge.pulse {
    margin: 0 0 20px;
}

/* Reposition and enhance the CTA button */
.product-card.featured .btn-glow {
    margin: 25px auto 10px;
    display: block;
    width: fit-content;
    position: relative;
    z-index: 2;
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card.featured:hover .btn-glow {
    transform: translateY(-5px) scale(1.05);
}

/* Create a visual connection between features and button */
.product-features.animated::after {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    margin: 15px auto 0;
}

/* Ensure the button is properly centered */
.product-card.featured .btn-glow {
    margin-top: 10px;
    display: inline-block;
}

/* Enhanced Mission Section Styles */
.mission-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,248,255,0.9) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/subtle-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Platform Vision Styles */
.platform-vision {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-vision h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
}

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

.vision-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.vision-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.vision-list li:hover {
    transform: translateX(5px);
}

.vision-list li i {
    color: var(--accent-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
}

.vision-list li span {
    font-size: 1rem;
    line-height: 1.5;
}

.vision-statement {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--primary-color);
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .vision-list {
        grid-template-columns: 1fr;
    }

    .platform-vision {
        padding: 30px 20px;
    }
}

/* Enhanced Animation System */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animated Elements */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(30px);
}

.animate-on-scroll.scale-in {
    transform: scale(0.9);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Enhanced Hero Section */
.hero-content h1 {
    position: relative;
    overflow: hidden;
    animation: fadeInLeft 1s forwards;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.hero-content p {
    animation: fadeInLeft 1s forwards 0.3s;
    animation-fill-mode: both;
}

.cta-buttons {
    animation: fadeInLeft 1s forwards 0.6s;
    animation-fill-mode: both;
}

.hero-animation {
    animation: fadeInRight 1s forwards;
}

.data-visualization i:nth-child(1) {
    animation: float 4s infinite ease-in-out;
}

.data-visualization i:nth-child(2) {
    animation: float 4s infinite ease-in-out 0.5s;
}

.data-visualization i:nth-child(3) {
    animation: float 4s infinite ease-in-out 1s;
}

/* Enhanced Pulse Animation */
@keyframes enhancedPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(0.95);
    }
}

.pulse-circle {
    animation: enhancedPulse 3s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Enhanced Mission Section */
.mission-content h2 {
    position: relative;
    display: inline-block;
}

.mission-content h2::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.1);
    left: -20px;
    top: -10px;
    z-index: -1;
    animation: scaleIn 1s forwards, float 5s infinite ease-in-out;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    bottom: -5px;
    left: 0;
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.value-card {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover .value-icon {
    animation: rotate 5s infinite linear;
}

.value-card:hover::before {
    height: 5px;
    animation: expandHeight 0.5s forwards;
}

@keyframes expandHeight {
    from { height: 5px; }
    to { height: 100%; opacity: 0.05; }
}

.value-icon {
    transition: all 0.5s ease;
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.2);
    z-index: -1;
    animation: enhancedPulse 3s infinite;
}

/* Platform Vision Enhancements */
.platform-vision {
    position: relative;
    overflow: hidden;
}

.platform-vision::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 160, 233, 0.1) 0%, rgba(0, 160, 233, 0) 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.platform-vision::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0) 70%);
    border-radius: 50%;
    bottom: -75px;
    left: -75px;
    z-index: -1;
    animation: float 8s infinite ease-in-out reverse;
}

.vision-list li {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-list li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.1), transparent);
    top: 0;
    left: -100%;
    z-index: -1;
    transition: all 0.5s ease;
}

.vision-list li:hover::before {
    left: 0;
}

.vision-list li i {
    transition: transform 0.3s ease;
}

.vision-list li:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Enhanced Navigation Animation */
.syvursoft-header nav ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.syvursoft-header nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.syvursoft-header nav ul li a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

/* Detailed Background Elements */
.bg-decoration {
    position: absolute;
    z-index: -1;
    opacity: 0.05;
}

.bg-decoration.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.bg-decoration.square {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    transform: rotate(45deg);
}

.bg-decoration.dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 10px 10px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    z-index: -1;
    opacity: 0.5;
    animation: float 6s infinite ease-in-out;
}

.floating-element.medical-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.1;
}

/* Enhanced Section Transitions */
.section-transition {
    position: relative;
    height: 100px;
    margin-top: -50px;
    margin-bottom: -50px;
    z-index: 1;
    overflow: hidden;
}

.section-transition.wave {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

/* Detailed Card Styles */
.detailed-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detailed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.detailed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detailed-card-header {
    padding: 20px;
    background: var(--light-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detailed-card-body {
    padding: 20px;
}

.detailed-card-footer {
    padding: 15px 20px;
    background: var(--light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Unified background color for Products and Mission sections */
.products-section,
.mission-section {
    position: relative;
    background-color: #f8fbff !important;
    background: #f8fbff !important;
    background-image: none !important;
    z-index: 1;
    margin: 0 !important; /* Remove any margins */
}

/* Adjust spacing to eliminate gap */
.products-section {
    padding-bottom: 0 !important; /* Remove bottom padding */
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.mission-section {
    padding-top: 0 !important; /* Remove top padding */
    margin-top: 0 !important; /* Remove top margin that creates gap */
    border-top: none !important;
}

/* Add padding to the content containers instead */
.products-section .container {
    padding-bottom: 60px;
}

.mission-section .container {
    padding-top: 60px;
}

/* Remove any dividers or separators */
.products-section::after,
.mission-section::before,
.section-transition,
.section-divider {
    display: none !important;
}

/* Restore footer to original dark background */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Remove the animated background from footer */
footer .animated-bg {
    display: none;
}

/* Animated background elements - much more subtle */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 160, 233, 0.03) 0%, transparent 8%),
        radial-gradient(circle at 80% 70%, rgba(0, 86, 179, 0.03) 0%, transparent 8%);
    opacity: 0.7;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.01) 0%, rgba(0, 160, 233, 0.01) 100%);
}

/* Remove the rotating animation completely */
@keyframes gentleFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Reduce number and size of floating bubbles */
.floating-bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(0, 160, 233, 0.05) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: gentleFloat 20s infinite ease-in-out;
}

.floating-bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-duration: 25s;
}

.floating-bubble:nth-child(2) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 15%;
    animation-duration: 30s;
}

/* Interactive Floating Bubbles Animation */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.water-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
                rgba(255, 255, 255, 0.8) 0%,
                rgba(0, 160, 233, 0.2) 40%,
                rgba(0, 86, 179, 0.1) 100%);
    box-shadow: 0 0 10px rgba(0, 160, 233, 0.2);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
    will-change: transform;
    animation-name: bubbleFloat;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

.water-bubble::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25%;
    height: 25%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.water-bubble.bounce {
    animation: bubbleBounce 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

@keyframes bubbleBounce {
    0% { transform: scale(1); }
    40% { transform: scale(0.8); }
    60% { transform: scale(1.2); }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.water-bubble.tiny {
    width: 20px;
    height: 20px;
}

.water-bubble.small {
    width: 40px;
    height: 40px;
}

.water-bubble.medium {
    width: 60px;
    height: 60px;
}

.water-bubble.large {
    width: 80px;
    height: 80px;
}

@keyframes bubbleFloat {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, 15px);
    }
    50% {
        transform: translate(-15px, 30px);
    }
    75% {
        transform: translate(-30px, 15px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Apply to both mission and products sections */
.mission-section, .products-section {
    position: relative;
    background-color: #f8fbff;
    z-index: 1;
}

/* Ensure bubble containers work properly in both sections */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.water-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
                rgba(255, 255, 255, 0.8) 0%,
                rgba(0, 160, 233, 0.2) 40%,
                rgba(0, 86, 179, 0.1) 100%);
    box-shadow: 0 0 10px rgba(0, 160, 233, 0.2);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
    will-change: transform;
    animation-name: bubbleFloat;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

/* Balanced fix for white space under mission section */
.mission-section {
    padding-bottom: 60px !important; /* Maintain some padding */
    margin-bottom: 0 !important; /* Remove margin */
}

/* Target section transitions specifically */
.section-transition.wave {
    display: none !important; /* Remove wave transition if present */
}

/* Adjust footer connection */
footer {
    margin-top: 0 !important;
    padding-top: 40px; /* Maintain reasonable padding */
}

/* Fix for any specific dividers after mission section */
.mission-section + .section-divider,
.mission-section + .wave-divider,
.mission-section + .separator {
    display: none !important;
}

/* Ensure proper spacing in the mission content */
.mission-content {
    margin-bottom: 30px; /* Maintain proper spacing within section */
}

/* Adjust platform vision spacing */
.platform-vision {
    margin-bottom: 0; /* Remove bottom margin */
}

/* Apply to both mission and products sections */
.mission-section, .products-section {
    position: relative;
    background-color: #f8fbff;
    z-index: 1;
}

/* Ensure bubble containers work properly in both sections */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.water-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
                rgba(255, 255, 255, 0.8) 0%,
                rgba(0, 160, 233, 0.2) 40%,
                rgba(0, 86, 179, 0.1) 100%);
    box-shadow: 0 0 10px rgba(0, 160, 233, 0.2);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
    will-change: transform;
    animation-name: bubbleFloat;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

/* Support Page Styles */
.support-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.support-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.support-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.support-intro {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.support-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.support-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 15px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.support-benefits li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.support-benefits li i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.support-options-section {
    padding: 70px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.support-option-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.support-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.option-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.support-option-card h3 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.support-option-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.support-platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: white;
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.platform-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.platform-link i {
    margin-right: 10px;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-color);
    color: white;
}

/* Remove sponsorship program styles */
.sponsorship-program,
.program-intro,
.sponsorship-tiers,
.tier-card,
.featured-tier,
.tier-header,
.tier-badge,
.tier-benefits {
    display: none;
}

/* Add Community Contribution styles */
.community-contribution {
    padding: 70px 0;
    background-color: #f8f9fa;
}

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

.contribution-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contribution-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contribution-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contribution-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contribution-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contribution-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contribution-card h3 {
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.contribution-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.contribution-note {
    text-align: center;
    padding: 20px;
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 8px;
    margin-top: 30px;
}

.contribution-note p {
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contribution-grid {
        grid-template-columns: 1fr;
    }

    .contribution-intro h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .community-contribution {
        padding: 50px 0;
    }

    .contribution-intro h2 {
        font-size: 1.6rem;
    }

    .contribution-card h3 {
        font-size: 1.3rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 70px 0;
    background-color: white;
    text-align: center;
}

.contact-section .section-title {
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.contact-option {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    min-width: 250px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-option h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.contact-option a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-option a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-option {
        width: 100%;
        max-width: 350px;
    }
}

/* Offline Feature Icon Styling */
.offline-feature i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 1em;
    text-align: center;
    margin-right: 0.5em;
}



