.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* تنسيقات الشعار */
.logo {
    height: 60px; /* ارتفاع ثابت للشعار */
    transition: all 0.3s ease;
}

.logo img {
    height: 127%;
    width: auto;
    object-fit: contain;
}

/* تعديلات الهيدر لاستيعاب الشعار */
header {
    padding: 15px 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(46, 139, 87, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .logo {
        height: 50px;
    }
    
    .header-container {
        flex-direction: column;
    }
}

/* Global Styles */
:root {
    --primary: #2E8B57; /* أخضر فاتح - مشابه للمنصات الحكومية */
    --primary-dark: #1F6B3D; /* أخضر داكن للتدرج */
    --secondary: #F8F9FA; /* لون ثانوي فاتح */
    --accent: #DAA520; /* لون مميز ذهبي */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
}

header {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-dark);
}
.logo a {
    color: var(--ltn__primary-color);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    display: contents; }
.site-logo i {
    color: var(--ltn__secondary-color);
    margin-left: 5px;
    font-size: 24px;
    position: relative;
    top: -2px; }
.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
     background: linear-gradient(rgba(46, 139, 87, 0.9), rgba(31, 107, 61, 0.8));
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 25px  0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #e6c260;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-right: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Services Section */
.services {
    padding: 37px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.2);
}

.service-icon {
    background-color: var(--primary);
    color: var(--white);
    font-size: 40px;
    padding: 30px;
    text-align: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: var(--white);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: scale(1.05);
}

.feature i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    border: 2px solid var(--primary);
}

.author-info h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 2px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--accent);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    margin-left: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter .btn {
    width: 100%;
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}
