/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Updated Brand Colors */
:root {
    --primary-color: #692C86;
    --secondary-color: #4D1E60;
    --accent-color: #692C86;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    order: 1;
    margin-right: 2rem;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 4rem;
    list-style: none;
    order: 2;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.hamburger {
    order: 3;
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

.nav-cta-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    order: 3;
    margin-left: 0;
}

.nav-cta-button:hover {
    background-color: #1565c0;
}

/* Hero Section */
.hero {
    background: url('../images/main.png') center center / cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #1565c0;
}

/* Services Section */
.services-overview {
    padding: 5rem 1rem;
    background-color: var(--light-gray);
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 1rem;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Statistics Section */
.stats-section {
    margin: 40px auto 0 auto;
    text-align: center;
    direction: rtl;
    max-width: 1200px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1 1 180px;
    margin: 20px 10px;
}

.stat-item i {
    font-size: 48px;
    color: #0d3878;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 40px;
    color: #ff3b7b;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.stat-label {
    font-size: 20px;
    color: #2d3a4a;
}

.stats-trust {
    font-size: 22px;
    color: #222;
    margin-top: 10px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    .stat-item {
        margin: 20px 0;
    }
}

.stats-section, .stats-section * {
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.stats-section i[class^="fa-"], 
.stats-section i[class*=" fa-"] {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}

/* Services Table Styles for services.html */
.services-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 0 auto 2rem auto;
}
.services-table td {
    padding: 16px 8px;
    vertical-align: middle;
    text-align: center;
}
.services-table img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .services-table tr {
        display: flex;
        flex-direction: column;
    }
    .services-table td {
        width: 100%;
        display: block;
    }
}
.service-features {
    margin-top: 1rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.feature-item i {
    color: var(--accent-color);
    font-size: 1.2em;
} 