/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Images/Index/HeroBg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem;
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 2rem;
    color: #a3e635;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #6b46c1;
    color: #fff;
}

.btn-primary:hover {
    background: #5a3aa0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #6b46c1;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: auto;
    display: block;
}

.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.service-text h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Accreditations Section */
.accreditations {
    background: #FFF4FF;
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.accreditations h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.accreditations-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.accreditation-card {
    background: linear-gradient(135deg, #CA97DE 0%, #9970bd 100%);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s;
}

.accreditation-card:hover {
    transform: scale(1.05);
}

.accreditation-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.accreditation-card .icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.accreditation-card h3 {
    font-size: 1.1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .accreditations-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top FAB */
.scroll-top-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: #F4D9FF;
    color: #440043;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(68, 0, 67, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
    z-index: 999;
    cursor: pointer;
}

.scroll-top-fab.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-fab:hover {
    background: #440043;
    color: #F4D9FF;
}
