/* Global Styles */
:root {
    --primary-color: #031e50;
    --secondary-color: #05afec;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #1a1a1a;
    --light-color: #f6f6f6;
    --text-color: #555;
    --gradient-primary: linear-gradient(135deg, #031e50 0%, #05afec 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(3, 30, 80, 0.9) 0%, rgba(5, 175, 236, 0.7) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Top Bar */
.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.top-bar:hover::before {
    left: 100%;
}

.top-bar-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-contact span {
    margin: 0 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.top-bar-contact span:hover {
    transform: translateY(-2px);
}

.top-bar-contact i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.top-bar-contact span:hover i {
    transform: scale(1.2);
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(3, 30, 80, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 5px 25px rgba(3, 30, 80, 0.15);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:not(.btn-verify)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.btn-verify):hover::after {
    width: 70%;
}

.navbar-nav .nav-link:not(.btn-verify):hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .btn-verify {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 10px 30px !important;
    margin-left: 15px;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
    z-index: 1;
}

.navbar-nav .btn-verify::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: left 0.5s;
    z-index: -1;
}

.navbar-nav .btn-verify::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-nav .btn-verify:hover::before {
    left: 100%;
}

.navbar-nav .btn-verify:hover::after {
    opacity: 1;
}

.navbar-nav .btn-verify:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(5, 175, 236, 0.5);
    color: white !important;
}

.navbar-nav .btn-verify:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 10px rgba(5, 175, 236, 0.4);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(3, 30, 80, 0.15);
    margin-top: 10px;
    border-radius: 10px;
    animation: fadeInUp 0.3s ease-out;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
    border-radius: 5px;
    margin: 2px 5px;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateX(5px);
    padding-left: 25px;
}

/* Hero Carousel */
.hero-carousel {
    margin-top: 0;
    position: relative;
}

.carousel-content {
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.carousel-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
    }
}

.carousel-content > .container {
    position: relative;
    z-index: 1;
}

.carousel-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-subtitle {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    animation: slideInLeft 1.2s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-text {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: slideInLeft 1.4s ease-out;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-item .btn {
    animation: fadeInUp 1.6s ease-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(3, 30, 80, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    border: 2px solid rgba(5, 175, 236, 0.5);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    border-color: white;
}

/* ISO Banner */
.iso-banner {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.iso-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.iso-banner .container {
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.banner-text {
    font-size: 1.1rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.about-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image-placeholder {
    text-align: center;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 10px;
}

/* Accreditation Section */
.accreditation-section {
    padding: 80px 0;
}

.accreditation-card {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(3, 30, 80, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.accreditation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.accreditation-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.accreditation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(5, 175, 236, 0.2);
}

.accreditation-icon {
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.accreditation-card:hover .accreditation-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.accreditation-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.accreditation-card:hover h4 {
    color: var(--primary-color);
}

.accreditation-card p {
    position: relative;
    z-index: 1;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(3, 30, 80, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(5, 175, 236, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(5, 175, 236, 0.2);
    border-color: var(--secondary-color);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating {
    transform: scale(1.1);
}

.testimonial-rating i {
    transition: all 0.2s ease;
    display: inline-block;
}

.testimonial-card:hover .testimonial-rating i {
    animation: starPulse 0.6s ease infinite alternate;
}

@keyframes starPulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author strong {
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(3, 30, 80, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(5, 175, 236, 0.25);
}

.feature-card i {
    transition: all 0.4s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: var(--secondary-color) !important;
}

.feature-card h5 {
    color: var(--dark-color);
    margin-top: 15px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover h5 {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form .form-control {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: none;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background-color: var(--light-color);
    padding: 20px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(3, 30, 80, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-card:hover::after {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(5, 175, 236, 0.2);
}

.blog-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.blog-image-placeholder::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: left 0.6s;
}

.blog-card:hover .blog-image-placeholder::before {
    left: 100%;
}

.blog-card:hover .blog-image-placeholder i {
    transform: scale(1.2) rotate(5deg);
}

.blog-content {
    position: relative;
    z-index: 1;
}

.blog-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h5 {
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.main-footer h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(5, 175, 236, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 25px;
}

.btn-outline-primary:hover {
    color: white;
    border-color: var(--secondary-color);
}

.btn-outline-primary:hover::after {
    width: 100%;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-bar-contact span {
        display: block;
        margin-bottom: 5px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .navbar-nav .btn-verify {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        padding: 12px 30px !important;
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

/* Header Transition */
.main-header {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Glow Effect */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(5, 175, 236, 0.6),
                0 0 40px rgba(5, 175, 236, 0.4),
                0 0 60px rgba(5, 175, 236, 0.2);
}

/* Advanced Animations & Effects */

/* Floating Action Button - WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatingPulse 2s ease-in-out infinite;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp i {
    color: white;
    font-size: 28px;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(5, 175, 236, 0.4);
    z-index: 9998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(5, 175, 236, 0.6);
}

.back-to-top i {
    color: white;
    font-size: 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Animated Section Headers */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: width 0.6s ease;
}

.section-title.in-view::before {
    width: 100px;
}

/* Enhanced Card Effects */
.card-hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-lift:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(5, 175, 236, 0.3);
}

/* Progress Bars for Stats */
.stat-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 10px;
    width: 0;
    transition: width 2s ease-out;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.stat-card.in-view .stat-progress-bar {
    width: 100%;
}

/* Particle Background Effect */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Image Zoom Effect */
.image-zoom-container {
    overflow: hidden;
    border-radius: 10px;
}

.image-zoom {
    transition: transform 0.5s ease;
}

.image-zoom-container:hover .image-zoom {
    transform: scale(1.1);
}

/* Glowing Border Effect */
.glow-border {
    position: relative;
    border-radius: 15px;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glow-border:hover::before {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Text Gradient Animation */
.text-gradient-animate {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Typing Effect */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--secondary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40) 1s normal both, blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Pulse Effect */
.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Shake Effect on Error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* Mobile Responsive for New Elements */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp i {
        font-size: 24px;
    }

    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
