* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Tajawal', sans-serif;
    background: #f0f0f0;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #1a1a2e;
    color: #fff;
    padding: 6px 0;
    font-size: 13px;
}
.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .left { display: flex; align-items: center; gap: 15px; }
.top-bar .left a { color: #f0c040; text-decoration: none; }
.top-bar .right { display: flex; gap: 8px; }
.top-bar .right a {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 13px;
}
.top-bar .right a.fb { background: #ecd818; }
.top-bar .right a.tw { background: #1da1f2; }
.top-bar .right a.ig { background: #e4405f; }
.top-bar .right a.li { background: #000000; }
.top-bar .right a:hover { opacity: 0.8; }

/* ===== HEADER ===== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    width: 55px; height: 55px;
    border-radius: 8px;
    overflow: hidden;
}
.logo-img img { width: 100%; height: 100%; object-fit: cover; }
.logo-text h1 {
    font-size: 18px;
    color: #1a1a2e;
    font-weight: 900;
    line-height: 1.2;
}
.logo-text span {
    font-size: 11px;
    color: #888;
    font-weight: 400;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}
nav ul li a:hover { color: #f0c040; }
.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 6px 15px;
    gap: 8px;
}
.search-box input {
    border: none;
    background: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    width: 120px;
    outline: none;
}
.search-box i { color: #888; font-size: 14px; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #1a1a2e;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-slide img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 0 20px;
}
.hero-content h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.btn-yellow {
    display: inline-block;
    background: #f0c040;
    color: #1a1a2e;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}
.btn-yellow:hover {
    background: #fff;
    transform: translateY(-2px);
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.slider-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dots span.active {
    background: #f0c040;
    width: 30px;
    border-radius: 6px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: #e8f4f8;
    padding: 40px 0;
}
.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.services-section h2 {
    text-align: center;
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 800;
}
.services-section .desc {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    cursor: pointer;
}
.service-item:hover { transform: translateY(-5px); }
.service-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.service-item h4 {
    font-size: 12px;
    color: #1a1a2e;
    padding: 8px 5px;
    font-weight: 700;
}
.btn-all {
    display: block;
    width: 100%;
    background: #1a73e8;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    margin-top: 5px;
}
.btn-all:hover { background: #1557b0; }

/* ===== ABOUT SECTION ===== */
.about-section {
    background: #6b4c9a;
    padding: 50px 0;
    color: #fff;
}
.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-section h2 i { color: #f0c040; }
.about-section p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 12px;
    opacity: 0.95;
}
.about-section ul {
    list-style: none;
    margin-top: 15px;
}
.about-section ul li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-section ul li i {
    color: #f0c040;
    font-size: 12px;
}
.about-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.about-img img {
    width: 100%;
    display: block;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: #fff;
    padding: 40px 0;
}
.team-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.team-section h2 {
    text-align: center;
    font-size: 24px;
    color: #f0c040;
    margin-bottom: 25px;
    font-weight: 800;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-card {
    text-align: center;
}
.team-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}
.team-card h4 {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 700;
}
.team-card span {
    font-size: 12px;
    color: #888;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: #f8f8f8;
    padding: 40px 0;
}
.gallery-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.gallery-section h2 {
    text-align: center;
    font-size: 24px;
    color: #f0c040;
    margin-bottom: 25px;
    font-weight: 800;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.05); }
.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}
.btn-gallery {
    display: block;
    width: 180px;
    margin: 25px auto 0;
    background: #1a73e8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}
.btn-gallery:hover { background: #1557b0; }

/* ===== ARTICLES SECTION ===== */
.articles-section {
    background: #fff;
    padding: 40px 0;
}
.articles-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.articles-section h2 {
    text-align: right;
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 25px;
    font-weight: 800;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.article-card:hover { transform: translateY(-5px); }
.article-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.article-card .content {
    padding: 12px;
}
.article-card h4 {
    font-size: 13px;
    color: #1a73e8;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}
.article-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #888;
}
.article-card .meta a {
    color: #1a73e8;
    text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 30px 0 15px;
}
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}
.footer-top h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-top p, .footer-top a {
    font-size: 13px;
    color: #aaa;
    line-height: 1.8;
    text-decoration: none;
}
.footer-top a:hover { color: #f0c040; }
.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.footer-links-row a {
    background: #2a2a3e;
    color: #fff;
    padding: 6px 14px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}
.footer-links-row a:hover {
    background: #f0c040;
    color: #1a1a2e;
}
.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding-top: 15px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-left {
    position: fixed;
    left: 15px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.floating-left a {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.floating-left a.msg { background: #1a73e8; }
.floating-left a.ig { background: #e4405f; }
.floating-left a.tt { background: #1a1a2e; }
.floating-left a:hover { transform: scale(1.1); }

.floating-right {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.floating-right a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.floating-right a.msg { background: #1a73e8; }
.floating-right a.ig { background: #e4405f; }
.floating-right a.tt { background: #1a1a2e; }
.floating-right a:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-section .container { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 28px; }
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .search-box{
        display: none;
    }

    nav ul{
        display: block;
    }
    nav ul li{
        width: 100%;
    }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-slider { height: 350px; }
    .hero-content h2 { font-size: 22px; }
}



.hero-slider .swiper {
    width: 100%;
    height: 100vh; /* أو الارتفاع الذي تفضله */
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* لجعل الصورة تغطي المساحة بالكامل بدون تشوه */
}

.hero-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    /* أضف باقي تنسيقاتك الخاصة بالألوان والخطوط هنا */
}

/* لتنسيق نقاط التنقل الدائرية لتناسب تصميمك */
.swiper-pagination-bullet-active {
    background: #ffcc00 !important; /* لون النقطة النشطة */
}