.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    animation: zoomEffect 8s forwards;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
} */

.hero-content {
    text-align: center;
    color: white;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05); /* Almost transparent background */
    border-radius: 30px;
    backdrop-filter: blur(3px); /* Minimal blur */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 20%, #4a4dff 40%, #fff 60%, #ffb74a 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Added shadow for better readability */
}

.hero p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Added shadow for better readability */
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #FF512F, #F09819);
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}


/* Enhanced News Ticker */
.news-ticker {
    display: flex;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ticker-title {
    background: linear-gradient(45deg, #FF512F, #F09819);
    color: white;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    min-width: 150px;
    position: relative;
    z-index: 2;
}

.ticker-title:after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 15px solid #F09819;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    display: flex;
    align-items: center;
}

.ticker-content span {
    display: inline-block;
    padding: 0 50px;
    color: #333;
    font-weight: 500;
    position: relative;
}

.ticker-content span:after {
    content: '•';
    margin-left: 50px;
    color: #FF512F;
}

.ticker-content span:last-child:after {
    content: '';
}

.ticker-controls {
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 2;
}

.ticker-pause {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
}

.ticker-pause:hover {
    color: #FF512F;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.expertise-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FF512F, #F09819);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.expertise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(240, 152, 25, 0.1);
    border-radius: 50%;
}

.expertise-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.expertise-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.expertise-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Services Section Styles */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    margin-top: 2rem;
    /* Add space before services section */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FF69B4);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    height: 25rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #FF69B4, #FFD700, #00CED1, #FF69B4);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #FF69B4, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: scale(1.05);
    background: linear-gradient(45deg, #00CED1, #FF69B4);
    -webkit-background-clip: text;
    background-clip: text;
}

.service-card p {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .services {
        margin-top: 3rem;
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
