:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --accent-color: #34a853;
    --text-color: #202124;
    --light-gray: #f8f9fa;
    --dark-gray: #5f6368;
    --gradient-start: #7579ff;  /* More accurate blue/purple */
    --gradient-end: #eb4778;    /* More accurate pink/red */
}

/* General Styles */
body {
    font-family: 'Google Sans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll during parallax */
    background-color: var(--light-gray);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Apply gradient to main headings */
h1.display-4, .section-title, .service-card h3 {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Animated gradient on hover */
h1.display-4:hover, .section-title:hover, .service-card:hover h3 {
    background: linear-gradient(90deg, var(--gradient-end), var(--gradient-start));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background-color: #ffffff; /* Solid white background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure navbar doesn't use the glass effect */
.navbar.glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Enhanced Logo Styling */
.navbar-brand img {
    height: 60px !important;
    width: auto !important;
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand img:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Section styling for parallax */
section {
    position: relative;
    will-change: transform; /* Optimize performance for animations */
    transition: transform 0.1s linear; /* Smooth movement */
}

/* Hero Section with Slider */
.hero-section {
    padding-top: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 1;
    will-change: transform;
    margin-bottom: 0; /* Remove any bottom margin to prevent gaps */
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item {
    position: relative;
    transition-duration: 0.4s;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content:before, 
.hero-content:after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    z-index: -1;
    border-radius: 40%;
    background: radial-gradient(
        rgba(255, 255, 255, 0.1) 10%, 
        rgba(255, 255, 255, 0.15) 20%, 
        rgba(255, 255, 255, 0.05) 50%
    );
}

.hero-content:before {
    animation: waveRotate 10s linear infinite;
}

.hero-content:after {
    animation: waveRotate 15s linear infinite reverse;
}

@keyframes waveRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content.animated {
    animation: floatAndGlow 8s ease-in-out infinite;
    box-shadow: 0 8px 42px rgba(75, 192, 255, 0.3), 
                0 4px 24px rgba(255, 255, 255, 0.2);
}

@keyframes floatAndGlow {
    0% {
        transform: translateY(0px);
        box-shadow: 0 8px 42px rgba(75, 192, 255, 0.3), 
                    0 4px 24px rgba(255, 255, 255, 0.2);
    }
    25% {
        transform: translateY(-15px);
        box-shadow: 0 15px 55px rgba(75, 192, 255, 0.4), 
                    0 8px 32px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: translateY(0px);
        box-shadow: 0 8px 42px rgba(75, 192, 255, 0.3), 
                    0 4px 24px rgba(255, 255, 255, 0.2);
    }
    75% {
        transform: translateY(-15px);
        box-shadow: 0 15px 55px rgba(75, 192, 255, 0.4), 
                    0 8px 32px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: translateY(0px);
        box-shadow: 0 8px 42px rgba(75, 192, 255, 0.3), 
                    0 4px 24px rgba(255, 255, 255, 0.2);
    }
}

/* Hero content text effects */
.hero-content h1 {
    background: linear-gradient(45deg, #fff, #e6f7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: textPulse 8s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        filter: brightness(100%);
    }
    50% {
        filter: brightness(120%);
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.hero-buttons .btn:hover:after {
    transform: scale(1);
    opacity: 1;
    animation: btnWave 2s infinite;
}

@keyframes btnWave {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Button Styles */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #3498db, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline-primary {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn::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: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Section Divider */
.section-divider {
    height: 150px; /* Increase height for better separation */
    width: 100%;
    background-color: transparent;
    position: relative;
    z-index: 3;
    pointer-events: none; /* Allow clicks to pass through */
}

/* Section Containers */
.section-container {
    position: relative;
    z-index: 2; 
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    background-color: white;
}

/* About Section */
.about-section {
    background-color: white;
    position: relative;
    z-index: 2;
    padding-top: 60px; /* Fix padding top */
    padding-bottom: 80px; /* Increase padding bottom */
    margin-top: 0;
    margin-bottom: 0; /* Remove margin to prevent gaps */
    will-change: transform;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 0 0;
    transform: translateZ(0); /* Force 3D rendering for better performance */
    backface-visibility: hidden; /* Reduce flickering */
    perspective: 1000; /* Improve 3D performance */
    -webkit-font-smoothing: antialiased; /* Improve text rendering */
}

.about-section .img-fluid {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateZ(0); /* Hardware acceleration for images */
    backface-visibility: hidden;
}

.about-section .img-fluid:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.section-title {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin-top: 1rem;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--accent-color);
    margin-right: 1rem;
}

/* Services Section */
.services-section {
    background-color: var(--light-gray);
    position: relative;
    z-index: 3; /* Higher z-index than about section */
    padding-top: 60px; /* Fix padding top */
    padding-bottom: 80px; /* Increase padding bottom */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 0 0;
    transform: translateZ(0); /* Force 3D rendering for better performance */
    margin-bottom: 0; /* Remove margin to prevent gaps */
    backface-visibility: hidden; /* Reduce flickering */
    perspective: 1000; /* Improve 3D performance */
    -webkit-font-smoothing: antialiased; /* Improve text rendering */
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem; /* Increase padding for better spacing */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

/* Footer */
.footer {
    background-color: var(--light-gray);
}

.footer h5 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .about-section img {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        padding: 3rem;
        max-width: 1000px;
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Modify the parallax effect to prevent overlapping */
@media (min-width: 992px) {
    .about-section {
        margin-top: 0;
    }
}

/* Services Section Divider */
.services-section-divider {
    height: 150px; /* Increase height for better separation */
    width: 100%;
    background-color: transparent;
    position: relative;
    z-index: 3;
    pointer-events: none; /* Allow clicks to pass through */
}

/* Page Header */
.page-header {
    position: relative;
    padding: 130px 0 60px;
    background: linear-gradient(135deg, #004d4d, #006666);
    color: white;
    margin-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* About Page Blocks */
.about-block {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.about-block.bg-light {
    background-color: var(--light-gray);
}

.about-block.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.glass-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.glass-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Balance images in about page */
.about-block .row.align-items-center {
    gap: 2rem 0;
}

.about-block .glass-img {
    display: block;
    margin: 0 auto;
}

/* Fix specialized services image */
.specialized-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.specialized-image .glass-img {
    max-height: 400px;
    object-position: center;
}

/* Education resources image */
.about-block .glass-img.education-img {
    max-height: 450px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-block .row.align-items-center {
        text-align: center;
    }
    
    .glass-img {
        margin-bottom: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .specialized-image .glass-img {
        max-width: 90%;
    }
}

/* Achievement Items */
.achievement-item {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: white;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-text {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Vision & Mission Cards */
.vision-mission-card {
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Approach Steps */
.approach-step {
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.1;
    color: var(--accent-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Team Cards */
.team-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.5rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

/* Testimonial Cards for About Page */
.testimonial-card {
    padding: 2rem;
    border-radius: 15px;
    position: relative;
}

.testimonial-content {
    position: relative;
    padding-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-info h5 {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.testimonial-indicators {
    position: static;
    margin-top: 2rem;
    margin-bottom: 0;
}

.testimonial-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 4px;
}

.testimonial-indicators .active {
    background-color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card .icon-circle i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Testimonial Carousel */
.testimonial-card {
    padding: 3rem 2rem;
    border-radius: 15px;
    position: relative;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.client-name {
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.client-position {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: #FFD700;
}

.testimonial-indicators {
    bottom: -50px;
}

/* Enhanced Call to Action Styles */
.cta-card {
    padding: 3.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
}

.cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.cta-card h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-card .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 400;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.bg-gradient {
    background: linear-gradient(45deg, #2c3e50, #3498db, #2980b9);
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    color: white;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-light, .btn-outline-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light {
    background: #ffffff;
    color: #2c3e50;
    border: none;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
    
    .cta-card .lead {
        font-size: 1.1rem;
        max-width: 95%;
    }
}

/* Service Items */
.service-item {
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-item h3 {
    margin-bottom: 1rem;
}

/* Premium Service Cards */
.premium-service-card {
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-service-card.highlighted {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-badge {
    position: absolute;
    top: 30px;
    right: -35px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.premium-icon i {
    font-size: 2rem;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--accent-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Specialized Services Tabs */
.specialized-services-tabs .nav-pills {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.3rem;
    backdrop-filter: blur(5px);
}

.specialized-services-tabs .nav-link {
    border-radius: 50px;
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    margin: 0.2rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.specialized-services-tabs .nav-link.active {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.specialized-content {
    border-radius: 15px;
    padding: 2rem;
}

.specialized-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.specialized-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.specialized-list li i {
    color: var(--accent-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Resource Items */
.resource-item {
    margin-bottom: 1.5rem;
}

.resource-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.resource-text {
    flex: 1;
}

.resource-text h5 {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.resource-text p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    transform: translateX(-50%);
}

.process-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.process-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
    flex-shrink: 0;
}

.process-content {
    width: calc(50% - 50px);
    padding: 1.5rem;
    border-radius: 15px;
    flex-grow: 1;
}

.process-item:nth-child(odd) .process-content {
    margin-right: 40px;
}

.process-item:nth-child(even) .process-content {
    margin-left: 40px;
}

@media (max-width: 991.98px) {
    .process-timeline::before {
        left: 60px;
    }
    
    .process-item, 
    .process-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .process-content,
    .process-item:nth-child(odd) .process-content,
    .process-item:nth-child(even) .process-content {
        width: calc(100% - 100px);
        margin-left: 40px;
        margin-right: 0;
    }
}

/* Contact Info Cards */
.contact-info-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-info-card h3 {
    margin-bottom: 1rem;
}

.contact-detail {
    margin-bottom: 0.5rem;
}

.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: var(--accent-color);
}

/* Response Time Icons */
.response-time {
    margin-top: 2rem;
}

.response-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.response-icon i {
    font-size: 1.5rem;
    color: white;
}

.response-text {
    flex-grow: 1;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 2.5rem;
    border-radius: 15px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > textarea.form-control {
    height: 150px;
    min-height: 150px;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-check-label a {
    color: var(--accent-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Office Cards */
.office-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.office-image {
    position: relative;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.office-card:hover .office-image img {
    transform: scale(1.05);
}

.office-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.office-info {
    padding: 1.5rem;
}

.office-info h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.office-info p {
    margin-bottom: 0.5rem;
}

.office-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.office-hours h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    padding: 0.5rem;
}

.map-container iframe {
    border-radius: 10px;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6b6b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
}

/* Pricing Cards Styles */
.pricing-card {
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-bottom-left-radius: 15px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.period {
    font-size: 1rem;
    color: #6c757d;
    align-self: flex-end;
    font-weight: normal;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    padding-left: 0;
    list-style: none;
}

.pricing-features li {
    margin-bottom: 1rem;
    position: relative;
}

.pricing-features li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.pricing-features li.text-muted i {
    color: #dc3545;
}

.pricing-action {
    text-align: center;
}

/* Specialized Pricing Cards */
.specialized-pricing-card {
    padding: 2.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialized-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.specialized-pricing-card h3 {
    font-weight: 700;
    margin: 1.5rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Comparison Table */
.comparison-table-wrapper {
    border-radius: 15px;
    overflow: hidden;
    padding: 1.5rem;
}

.comparison-table {
    margin-bottom: 0;
}

.comparison-table th {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.comparison-table th:first-child {
    border-top-left-radius: 10px;
}

.comparison-table th:last-child {
    border-top-right-radius: 10px;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.05);
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.comparison-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Media Queries for Pricing Section */
@media (max-width: 991.98px) {
    .price {
        font-size: 2.5rem;
    }
    
    .specialized-pricing-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
}

/* Policy Page Styles */
.policy-card {
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.policy-section ul {
    padding-left: 1.5rem;
}

.policy-section ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .policy-card {
        padding: 1.25rem !important;
    }
}

/* Image and Content Container Styles */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.content-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-container p {
    text-align: justify;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-container .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}

.content-container .lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Resource Items Styling */
.resource-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.resource-text {
    flex: 1;
}

.resource-text h5 {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.resource-text p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .content-container {
        padding: 0;
        margin-top: 1.5rem;
    }
    
    .content-container .section-title,
    .content-container .lead,
    .content-container p {
        text-align: center;
    }
    
    .image-container {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Image Optimization Styles */
.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Preload carousel images */
.carousel-preload {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    top: -9999px;
    left: -9999px;
}

/* Optimize image loading */
img {
    max-width: 100%;
    height: auto;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.5s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Increase carousel transition speed */
.carousel-item {
    transition-duration: 0.4s;
}

/* Add loading animation */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    animation: spin 1s ease-in-out infinite;
    z-index: 2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* New Parallax Hero Section Styles */
.parallax-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/03.jpg');
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.parallax-content {
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateZ(10px);
    z-index: 3;
}

.parallax-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    z-index: 0;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    animation: float 18s ease-in-out infinite 2s;
}

.shape-3 {
    bottom: 10%;
    left: 20%;
    width: 150px;
    height: 150px;
    animation: float 12s ease-in-out infinite 1s;
}

.shape-4 {
    top: 30%;
    right: 30%;
    width: 100px;
    height: 100px;
    animation: float 10s ease-in-out infinite 3s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Features Section Styles */
.features-section {
    background-color: white;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.feature-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Image Container for About Section */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Media Queries for Responsive Design */
@media (max-width: 991.98px) {
    .parallax-hero {
        height: 90vh;
    }
    
    .parallax-content {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .features-section {
        margin-top: -30px;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .parallax-hero {
        height: 80vh;
    }
    
    .parallax-content h1 {
        font-size: 2.2rem;
    }
    
    .parallax-content .lead {
        font-size: 1rem;
    }
    
    .parallax-shapes {
        display: none;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
}

/* Fix for iOS parallax issues */
@supports (-webkit-touch-callout: none) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Carousel controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.carousel-indicators {
    z-index: 10;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: white;
    width: 15px;
    height: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Banner Section Styles */
.banner-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    z-index: 1;
}

.banner-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(15px) translateX(-15px);
    }
    50% {
        transform: translateY(30px) translateX(0);
    }
    75% {
        transform: translateY(15px) translateX(15px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.banner-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: glowText 3s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 10px rgba(117, 121, 255, 0.3), 0 0 20px rgba(117, 121, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 15px rgba(117, 121, 255, 0.5), 0 0 30px rgba(117, 121, 255, 0.3);
    }
}

.banner-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover::before {
    transform: scale(1);
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Candlestick Chart Animation - Enhanced */
.banner-animation {
    position: relative;
    z-index: 2;
    height: 400px;
}

.candlestick-chart {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    animation: pulseGrid 3s ease-in-out infinite;
}

@keyframes pulseGrid {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}

/* Market Line */
.market-line {
    position: absolute;
    bottom: 40%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(117, 121, 255, 0), 
        rgba(117, 121, 255, 0.5), 
        rgba(117, 121, 255, 0.8), 
        rgba(117, 121, 255, 0.5), 
        rgba(117, 121, 255, 0)
    );
    animation: pulseLine 4s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    25% {
        opacity: 0.8;
        transform: translateY(-15px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px);
    }
    75% {
        opacity: 0.7;
        transform: translateY(-20px);
    }
}

.candles {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    padding: 20px;
    animation: sway 8s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-48%) rotate(-1deg);
    }
    75% {
        transform: translateX(-52%) rotate(1deg);
    }
}

.candle {
    width: 20px;
    position: relative;
    overflow: visible;
    border-radius: 3px;
    transform-origin: bottom center;
}

.candle::before,
.candle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.candle::before {
    width: 2px;
    height: 10px;
    bottom: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.candle::after {
    width: 2px;
    height: 10px;
    top: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.candle-body {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: pulse 4s ease-in-out infinite;
}

.candle-1 { 
    height: 120px; 
    transform: translateY(0);
    animation: candleFloat 6s ease-in-out infinite;
}

.candle-2 { 
    height: 180px; 
    transform: translateY(0);
    animation: candleFloat 6s ease-in-out infinite 0.5s;
}

.candle-3 { 
    height: 100px; 
    transform: translateY(0);
    animation: candleFloat 6s ease-in-out infinite 1s;
}

.candle-4 { 
    height: 220px; 
    transform: translateY(0);
    animation: candleFloat 6s ease-in-out infinite 1.5s;
}

.candle-5 { 
    height: 140px; 
    transform: translateY(0);
    animation: candleFloat 6s ease-in-out infinite 2s;
}

.candle:nth-child(odd) .candle-body {
    background: linear-gradient(to bottom, #7579ff, #8e91ff);
    box-shadow: 0 0 15px rgba(117, 121, 255, 0.5), 0 0 30px rgba(117, 121, 255, 0.3);
}

.candle:nth-child(even) .candle-body {
    background: linear-gradient(to bottom, #eb4778, #ff5a89);
    box-shadow: 0 0 15px rgba(235, 71, 120, 0.5), 0 0 30px rgba(235, 71, 120, 0.3);
}

@keyframes candleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

/* Trading Man Animation - Enhanced */
.trading-man {
    position: absolute;
    bottom: 200px;
    left: 40%;
    width: 50px;
    height: 70px;
    z-index: 3;
    animation: manClimb 8s ease-in-out infinite;
}

.man-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.man-head {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.man-arm-left {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 15px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: right center;
    border-radius: 3px;
    animation: armSwingLeft 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.man-arm-right {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 15px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: left center;
    border-radius: 3px;
    animation: armSwingRight 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.man-leg-left {
    position: absolute;
    bottom: -18px;
    left: 7px;
    width: 6px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: top center;
    border-radius: 3px;
    animation: legMoveLeft 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.man-leg-right {
    position: absolute;
    bottom: -18px;
    right: 7px;
    width: 6px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: top center;
    border-radius: 3px;
    animation: legMoveRight 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes manClimb {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, -50px);
    }
    50% {
        transform: translate(200px, -100px);
    }
    75% {
        transform: translate(300px, -50px);
    }
    100% {
        transform: translate(400px, 0);
    }
}

@keyframes armSwingLeft {
    0%, 100% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

@keyframes armSwingRight {
    0%, 100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(-10deg);
    }
}

@keyframes legMoveLeft {
    0%, 100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

@keyframes legMoveRight {
    0%, 100% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}

/* Chart elements */
.price-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.price-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.price-point:nth-child(1) { top: 20%; left: 10%; animation: blink 3s infinite 0.2s; }
.price-point:nth-child(2) { top: 40%; left: 20%; animation: blink 3s infinite 0.4s; }
.price-point:nth-child(3) { top: 30%; left: 30%; animation: blink 3s infinite 0.6s; }
.price-point:nth-child(4) { top: 50%; left: 40%; animation: blink 3s infinite 0.8s; }
.price-point:nth-child(5) { top: 25%; left: 50%; animation: blink 3s infinite 1.0s; }
.price-point:nth-child(6) { top: 35%; left: 60%; animation: blink 3s infinite 1.2s; }
.price-point:nth-child(7) { top: 45%; left: 70%; animation: blink 3s infinite 1.4s; }
.price-point:nth-child(8) { top: 30%; left: 80%; animation: blink 3s infinite 1.6s; }
.price-point:nth-child(9) { top: 55%; left: 90%; animation: blink 3s infinite 1.8s; }

@keyframes blink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .banner-section {
        padding: 60px 0;
    }
    
    .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .banner-animation {
        height: 300px;
        margin-top: 2rem;
    }
    
    .banner-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trading-man {
        bottom: 150px;
    }
}

@media (max-width: 767.98px) {
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .banner-animation {
        height: 250px;
    }
    
    .candles {
        gap: 15px;
    }
    
    .candle {
        width: 15px;
    }
    
    .trading-man {
        bottom: 120px;
        transform: scale(0.8);
    }
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 0;
}

.cta-section .btn-primary {
    background: white;
    color: var(--gradient-start);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@media (max-width: 991.98px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
    }
    
    .cta-section .btn-primary {
        padding: 12px 30px;
    }
}

/* Parallax Hero Section */
.parallax-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.parallax-slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.parallax-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 1.5s ease;
    z-index: 1;
}

.parallax-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.parallax-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 30px 0;
    color: white;
}

.slide-content h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.slide-content p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.slide-content .hero-buttons {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}

.parallax-slide.active .slide-content h1,
.parallax-slide.active .slide-content p,
.parallax-slide.active .slide-content .hero-buttons {
    transform: translateY(0);
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 15px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 16px;
    height: 16px;
    background: white;
}

/* About section image loading */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container .img-fluid {
    transition: all 0.6s ease;
    opacity: 0;
    transform: scale(1.05);
}

.image-container .img-fluid.loaded {
    opacity: 1;
    transform: scale(1);
}

.loading-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, #f5f5f5 8%, #eeeeee 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    border-radius: 6px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.img-fluid.loaded + .loading-placeholder {
    opacity: 0;
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

/* Image Loading Enhancement */
.glass-img, .about-block .img-fluid, .image-container .img-fluid {
    opacity: 0.5; /* Start with partial opacity so images are visible even if JS fails */
    transition: opacity 0.5s ease;
    will-change: opacity; /* Optimize for animation */
}

.glass-img.loaded, .about-block .img-fluid.loaded, .image-container .img-fluid.loaded {
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.image-container {
    position: relative;
    overflow: hidden;
    min-height: 150px; /* Ensure there's space for the image to load */
}

/* Placeholder styling */
.placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    z-index: 0; /* Ensure it's behind the image */
}

@keyframes loading {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Fix for missing placeholder image fallback */
img.img-fluid:not([src]), 
img.img-fluid[src=""], 
img.img-fluid[src="undefined"], 
img.glass-img:not([src]), 
img.glass-img[src=""], 
img.glass-img[src="undefined"] {
    min-height: 150px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
}

/* Make sure all image containers have proper positioning */
.image-container, .about-block {
    position: relative;
}

/* Logo size fix */
.navbar-brand img, 
.footer img[alt="Trade begining"] {
    height: 60px !important;
    width: auto !important;
}

/* Additional image loading styles for all pages */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.image-container .img-fluid, 
.about-block .img-fluid, 
.glass-img,
.service-item img,
.process-content img,
.specialized-content img {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.98);
}

.image-container .img-fluid.loaded, 
.about-block .img-fluid.loaded, 
.glass-img.loaded,
.service-item img.loaded,
.process-content img.loaded,
.specialized-content img.loaded {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f0f0f0, #f8f8f8, #f0f0f0);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.loading-placeholder .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* Hide loading placeholder when image is loaded */
.img-fluid.loaded + .loading-placeholder,
.glass-img.loaded + .loading-placeholder {
    display: none;
}

/* Logo in footer */
.footer img[alt="Trade begining"] {
    height: 60px !important;
    width: auto !important;
    margin-bottom: 15px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease-in-out;
}

/* Enhanced image loading placeholders - more important styles */
.loading-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(90deg, #f0f0f0, #f8f8f8, #f0f0f0) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s infinite !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    border-radius: 8px !important;
    pointer-events: none !important;
}

.loading-placeholder .spinner {
    width: 40px !important;
    height: 40px !important;
    border: 4px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    border-top-color: #3498db !important;
    animation: spin 1s ease-in-out infinite !important;
}

/* Make sure these containers have position relative */
.image-container, 
.about-block, 
.process-content, 
.specialized-content, 
.service-item,
.image-container {
    position: relative !important;
    overflow: hidden !important;
}

/* Ensure all relevant images start with lower opacity */
img.img-fluid, 
img.glass-img, 
.image-container img, 
.about-block img, 
.specialized-content img, 
.process-content img,
.service-item img {
    opacity: 0.5 !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease !important;
}

/* When loaded class is added, make them fully visible */
img.img-fluid.loaded, 
img.glass-img.loaded, 
.image-container img.loaded, 
.about-block img.loaded, 
.specialized-content img.loaded, 
.process-content img.loaded,
.service-item img.loaded {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Hide loading placeholder when image is loaded */
.loaded + .loading-placeholder,
.loaded ~ .loading-placeholder {
    display: none !important;
}

/* Trade begining Styles */

/* Ensure navbar has no glass effect */
.navbar, .navbar.scrolled {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.navbar.scrolled {
    background-color: #ffffff !important;
}

.navbar.glass-effect,
.navbar.navbar-glass,
.navbar.bg-transparent {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
