/* =========================
   General Styles
========================= */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: #00f7ff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: .5rem;
    color: #0c4a6e;
}

.section-header p {
    font-size: 1rem;
    color: #555;
}

/* =========================
   Hero Section
========================= */
.hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(0,0,0,.4);
}

.hero-content p {
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,.4);
}

/* =========================
   Services Section
========================= */
.services-list {
    padding: 4rem 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .4s ease, box-shadow .4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,.15);
}

.service-card::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -110%;
    left: -10%;
    background: linear-gradient(135deg, #0ea5e9, #0c4a6e);
    transition: all 0.6s ease;
    transform: rotate(25deg);
    z-index: 0;
}

.service-card:hover::before {
    top: -10%;
}

.service-card i {
    font-size: 2.5rem;
    color: #0ea5e9;
    background: #e6f7fa;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover i {
    transform: scale(1.3) rotate(15deg);
    background: #0c4a6e;
    color: #fff;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: .5rem;
    color: #0c4a6e;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #555;
    position: relative;
    z-index: 1;
}

/* Loading Animation */
.loading-animation {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #0ea5e9;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* =========================
   Transformative Results
========================= */
.transformative-results {
    padding: 4rem 0;
    background: #f0f9ff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.result-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0,0,0,.12);
}

.result-image img {
    width: 100%;
    display: block;
}

.result-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0ea5e9;
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 8px;
    font-size: .8rem;
}

.result-content {
    padding: 1.2rem;
}

.result-content h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.result-stats {
    margin-top: 1rem;
    font-size: .9rem;
    color: #555;
}

.stat-item {
    display: inline-block;
    margin-right: 1rem;
}

/* =========================
   CTA Section
========================= */
.cta-section {
    padding: 3.5rem 1rem;
    background: linear-gradient(135deg, #0ea5e9, #0c4a6e);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #0ea5e9;
    padding: .8rem 1.6rem;
    border-radius: 30px;
    font-weight: 600;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.cta-button:hover {
    background: #0c4a6e;
    color: #fff;
    transform: scale(1.05);
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
