/* Color Variables */
:root {
    --primary-blue: #5670B6;
    --dark-blue: #23295F;
    --light-bg: #F4F6FB;
    --text-dark: #1A1D3B;
    --text-light: #5A607F;
    --white: #FFFFFF;
    --black: #111111;
    --whatsapp-green: #25D366;
    --transition: all 0.3s ease;
}

/* CSS Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.max-w-600 {
    max-width: 600px;
    margin: 0 auto;
}

/* Typography & Section Tags */
.section-tag {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

h1, h2, h3, h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2rem;
}

p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-info span {
    margin-right: 20px;
}

.top-info a:hover, .top-social a:hover {
    color: var(--primary-blue);
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-logo {
    max-height: 50px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark-blue);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--dark-blue);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

.badge {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
}

/* Accreditation Bar */
.accreditation-bar {
    background-color: var(--white);
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #EAEAEA;
}

.section-subtitle-center {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.accreditation-img {
    max-height: 50px;
    margin: 0 auto;
}

/* Stats */
.stats-grid {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.stat-card {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    flex: 1;
}

.stat-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.stat-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Cards (Services) */
.cards-wrapper {
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

/* Timeline (History) */
.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    border-left: 3px solid var(--primary-blue);
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Contact Details */
.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-card i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    background: var(--light-bg);
    padding: 12px;
    border-radius: 50%;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.certificate-img {
    max-height: 400px;
    margin: 0 auto;
}

.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 5px 20px rgba(0,0,0,0.08); }

/* Footer */
.footer {
    background-color: var(--black);
    color: #999999;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer p {
    color: #999999;
}

.footer a {
    color: var(--primary-blue);
}

.footer a:hover {
    color: var(--white);
}

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}