/* =================================
   MODERN DESIGN ENHANCEMENTS
   Static HTML Compatible
   ================================= */

/* ===== MODERN ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes glow {
    0% { box-shadow: 0 0 5px #4a90e2; }
    50% { box-shadow: 0 0 20px #4a90e2, 0 0 30px #4a90e2; }
    100% { box-shadow: 0 0 5px #4a90e2; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #4a90e2; }
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-section h1 {
    font-size: 4rem;
    color: #4a90e2;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

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

.hero-section .tagline {
    font-size: 1.8rem;
    color: #7bb3f0;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
    letter-spacing: 1px;
}

.hero-section p {
    font-size: 1.5rem;
    color: #e8e8e8;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* ===== ENHANCED CTA BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #7bb3f0);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.9s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7bb3f0, #4a90e2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
}

.cta-button:hover:before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* ===== MODERN CARD DESIGNS ===== */
.content-section {
    background: rgba(51, 51, 51, 0.95);
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(119, 170, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.content-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2c5aa0, #4a90e2, #3a7bd5, #2c5aa0);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientBorder 6s linear infinite;
    opacity: 0.1; /* Much lower opacity to ensure text readability */
}

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

.content-section h2 {
    color: #4a90e2;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* ===== ENHANCED GRID LAYOUTS ===== */
.benefits-grid, .services-grid, .stats-grid, .features-grid, .pricing-grid, .cloud-providers {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.benefit-card, .service-card, .stat-card, .feature-item, .pricing-card, .provider-card {
    background: linear-gradient(135deg, #333, #2a2a2a);
    border: 2px solid rgba(119, 170, 255, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.benefit-card::before, .service-card::before, .stat-card::before, 
.feature-item::before, .pricing-card::before, .provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.6s;
}

.benefit-card:hover, .service-card:hover, .stat-card:hover, 
.feature-item:hover, .pricing-card:hover, .provider-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: #4a90e2;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), #333);
}

.benefit-card:hover::before, .service-card:hover::before, .stat-card:hover::before,
.feature-item:hover::before, .pricing-card:hover::before, .provider-card:hover::before {
    left: 100%;
}

.benefit-card h3, .service-card h3, .stat-card h3, 
.feature-item h4, .pricing-card h3, .provider-card h3 {
    color: #4a90e2;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== ENHANCED STATISTICS ===== */
.stat-number {
    color: #4a90e2;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.stat-label {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ENHANCED NAVIGATION HOVER EFFECTS ===== */
.dropdown:hover .dropbtn {
    background: linear-gradient(135deg, #4a90e2, #7bb3f0);
    color: white;
    transform: scale(1.05);
    border-radius: 5px;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #4a90e2, #7bb3f0);
    color: white;
    transform: translateX(5px);
    border-left: 4px solid #2c5aa0;
}

/* ===== MODERN TYPOGRAPHY ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.8;
    font-weight: 300;
}

/* ===== LOADING ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* IMPORTANT: Exclude hero section elements and slideshow from scroll animations */
.hero-section h1,
.hero-section .tagline,
.hero-section p,
.slideshow-container .animate-on-scroll,
.mySlides.animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .tagline {
        font-size: 1.3rem;
    }
    
    .content-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* ===== MODERN SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2, #7bb3f0);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7bb3f0, #4a90e2);
}