/*
Theme Name: أفق العلا للمقاولات
Theme URI: https://ufuqalula.com
Author: Afaq Alola
Description: قالب ووردبريس مخصص لشركة أفق العلا للمقاولات العامة.
Version: 1.1
Text Domain: afaq-alola
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6a171f;
    --light: #f1f1f1;
    --white: #ffffff;
    --dark: #2b2b2b;
    --accent: #6a171f;
    --secondary: #8b1f29;
    --gold: #b3b2b2;
}
html {
    overflow-x: hidden;
}
body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 300;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 1;
}

.header h1 {
    font-size: 3rem;
    color: #7a2e2e;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #7a2e2e;
}
/* Video Section */
#video-section {
    height: 46vh;
    min-height: 320px;
    max-height: 480px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.15;
    filter: brightness(0.7) blur(2px);
    z-index: 1;
}

#video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.video-center {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    #video-section {
        height: 38vh;
        min-height: 260px;
    }
    .video-icon {
        width: 84px;
        height: 84px;
    }
    .video-icon i {
        font-size: 34px;
    }
}

.video-icon i {
    color: var(--primary);
    font-size: 48px;
}

.video-center:hover .video-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
}

.video-text {
    font-size: 18px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 26px;
    margin-top: 20px;
    font-weight: 700;
    opacity: 0;
    transition: all ease 0.5s;
    transform: translateY(16%);
    text-transform: uppercase;
}

.video-center:hover .video-text {
    opacity: 1;
    transform: translateY(0%);
}

/* Video Overlay */
#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#video-overlay.active {
    display: flex;
    opacity: 1;
}

#video-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform: scaleX(0.7) scaleY(0.2) translateY(80%);
    border-radius: 150px;
    overflow: hidden;
    transition: all 2s cubic-bezier(0.76, 0, 0.24, 1);
}

#video-overlay.active #video-container {
    transform: scaleX(1) scaleY(1) translateY(0);
    border-radius: 0;
}

#fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

#close-video {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

#close-video:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: rotate(90deg);
}
/* Social Media Section */
.social-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0;
}
.social-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.social-handle {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 30px;
}
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    opacity: 1;
}

.filter-btn {
    padding: 12px 35px;
    border: 2px solid #7a2e2e;
    background: white;
    color: #7a2e2e;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #7a2e2e;
    transform: translate(-50%, -50%);
    transition:
        width 0.5s ease,
        height 0.5s ease;
    z-index: 0;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(122, 46, 46, 0.3);
}

.filter-btn.active {
    background: #7a2e2e;
    color: white;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 400px;
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.project-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(122, 46, 46, 0.95) 0%, rgba(122, 46, 46, 0.7) 70%, transparent 100%);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.badge1 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #7a2e2e;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Materials Section */
.materials-section {
    padding: 100px 0;
    background: var(--light);
}

.materials-grid {
    display: grid;
    gap: 30px;
    margin-top: 60px;
}
@media (min-width: 576px) {
    .materials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
.material-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
    border-color: var(--primary);
}

.material-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.material-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.material-card p {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.material-card ul {
    list-style: none;
    padding: 0;
}

.material-card ul li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: var(--light);
    border-radius: 10px;
    color: var(--dark);
    font-size: 14px;
    transition: all 0.3s ease;
}

.material-card ul li:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(100deg, #1c1c1c 0%, var(--dark) 45%, var(--primary) 130%);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: footerLineShift 6s linear infinite;
    opacity: 0.9;
}

header.hidden {
    transform: translateY(-100%);
}

header.scrolled {
    background: linear-gradient(100deg, rgba(28, 28, 28, 0.96) 0%, rgba(43, 43, 43, 0.96) 45%, rgba(106, 23, 31, 0.96) 130%);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    font-weight: 400;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    color: var(--gold);
}

.login-btn {
    background: var(--gold);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--gold);
}

.login-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background: var(--gold);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border: 2px solid var(--gold);
}

.cta-btn1 {
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--white);
}

.cta-btn1:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.achievements-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    border-radius: 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.achievement-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(106, 23, 31, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
    border-color: var(--primary);
}

.achievement-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.achievement-number::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.achievement-card:hover .achievement-number::after {
    width: 100%;
}

.achievement-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}

/* Project Timeline Section */
.project-timeline {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-line-wrapper {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--light);
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    height: 0%;
    transition: height 0.3s ease;
    z-index: 2;
}

.timeline {
    position: relative;
    z-index: 3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    transform: translateX(-100px);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(100px);
}

.timeline-item.visible:nth-child(odd) {
    transform: translateX(0);
}

.timeline-item.visible:nth-child(even) {
    transform: translateX(0);
}

.timeline-content {
    flex: 0 0 45%;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(106, 23, 31, 0.1);
    border: 2px solid var(--light);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-item.visible .timeline-content {
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(106, 23, 31, 0.15);
}

.timeline-content::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -45px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -45px;
}

.timeline-content::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.4s ease;
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: -40px;
}

.timeline-item.active .timeline-content::after {
    transform: translateY(-50%) scale(1);
}

.timeline-step {
    position: absolute;
    top: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 30px;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 30px;
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.timeline-icon {
    flex: 0 0 10%;
    text-align: center;
    font-size: 40px;
    color: var(--primary);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.timeline-item.visible .timeline-icon {
    opacity: 1;
    transform: scale(1);
}

/* Portfolio Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--light);
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.gallery-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: #b3b2b2;
    border-radius: 2px;
}

.gallery-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.6;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 35px;
    border: 2px solid #7a2e2e;
    background: white;
    color: #7a2e2e;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 23, 31, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
}

.gallery-img {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.gallery-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 23, 31, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-img::before {
    opacity: 1;
}

.gallery-content {
    padding: 25px;
}

.gallery-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.gallery-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.gallery-category {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 23, 31, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s;
}

.service-icon .afaq-icon {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-desc {
    color: #666;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.service-link .afaq-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link .afaq-icon {
    transform: translateX(-4px);
}

/* Features Slider */
.features {
    padding: 80px 0;
    background: var(--light);
}

.swiper {
    width: 100%;
    padding: 50px 0;
}

.swiper-slide {
    border-radius: 15px;
    text-align: center;
    transition: all 0.6s ease;
}

.feature-img {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certification-card {
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.1);
    border-color: var(--primary);
}

.certification-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s;
}

.certification-icon .afaq-icon {
    width: 26px;
    height: 26px;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1) rotate(5deg);
}

.certification-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.certification-desc {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Social Media Section */
.social-media {
    padding: 80px 0;
    background: var(--light);
    text-align: center;
}
.social-media1 {
    padding: 80px 0;
    background: var(--light);
    text-align: center;
}

.social-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.social-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.social-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 30px auto 40px;
    line-height: 1.6;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}
.social-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}
.social-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--light);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
    border-color: var(--primary);
}
.social-card1 {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--light);
}

.social-card1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
    border-color: var(--primary);
}

.social-card .social-icon,
.social-card1 .social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: transform 0.3s;
}

.social-card .social-icon .afaq-icon,
.social-card1 .social-icon .afaq-icon {
    width: 26px;
    height: 26px;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}
.social-card1:hover .social-icon {
    transform: scale(1.1);
}

.social-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.social-stat.checkmark {
    color: #22c55e;
}

/* Packages Section */
.packages-header {
    text-align: center;
    margin: 80px 0 50px;
}

.packages-header h1 {
    color: #7d1f3e;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.packages-header p {
    color: #666;
    font-size: 1.1em;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 3px solid #7d1f3e;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #7d1f3e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 10;
}

.package-header {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.package-card:nth-child(1) .package-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.package-card:nth-child(2) .package-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.package-card:nth-child(3) .package-header {
    background: linear-gradient(135deg, #7d1f3e 0%, #a02952 100%);
}

.package-card:nth-child(4) .package-header {
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
}

.package-title {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.package-price {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.package-period {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
}

.package-subtitle {
    color: white;
    font-size: 1.1em;
    margin-top: 15px;
    opacity: 0.95;
}

.package-features {
    padding: 30px;
    list-style: none;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 0.95em;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-left: 10px;
    font-size: 1.2em;
}

.package-footer {
    padding: 0 30px 30px;
}

.btn-select {
    width: 100%;
    padding: 15px;
    background: #7d1f3e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-select:hover {
    background: #5a1629;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #ffd700;
    color: #7d1f3e;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.85em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

@media (max-width: 768px) {
    .blog-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .blog-header h1,
    .packages-header h1 {
        font-size: 2em;
    }

    .alert-box {
        flex-direction: column;
        text-align: center;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 120px;
}

.sub-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 500;
}

.section-icon {
    width: 24px;
    height: 24px;
}

.faq-heading {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.faq-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.arrow {
    width: 16px;
    height: 16px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-info {
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-info.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(106, 23, 31, 0.1);
}

.que {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.que:hover {
    background: var(--light);
}

.que-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    margin: 0;
}

.que-right {
    transition: transform 0.3s ease;
}

.faq-info.active .que-right {
    transform: rotate(180deg);
}

.que-icon {
    width: 20px;
    height: 20px;
}

.ans-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-info.active .ans-box {
    max-height: 200px;
}

.ans-text {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid var(--light);
    padding-top: 20px;
}

.faq-data.mobile {
    display: none;
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    font-weight: 500;
    color: var(--primary);
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background: var(--light);
}

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

.form-group {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.form-group.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 15px 50px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    opacity: 0;
    transform: translateY(30px);
}

.submit-btn.animate {
    opacity: 1;
    transform: translateY(0);
}

.submit-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer#site-footer {
    position: relative;
    background: linear-gradient(160deg, #1c1c1c 0%, var(--dark) 55%, var(--primary) 160%);
    color: rgba(255, 255, 255, 0.85);
    padding: 0 0 22px;
    overflow: hidden;
}

.footer-top-line {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: footerLineShift 6s linear infinite;
}

@keyframes footerLineShift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.footer-inner {
    padding-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-section h3 {
    margin-bottom: 22px;
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold);
}

.footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 13px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.25s ease, padding-right 0.25s ease;
    font-size: 14.5px;
}

.footer-section a:hover {
    color: var(--white);
    padding-right: 4px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li a,
.footer-contact ul li span:last-child {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14.5px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.footer-icon .afaq-icon {
    width: 16px;
    height: 16px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 11px 20px;
    border-radius: 30px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: var(--secondary);
    transform: translateX(-4px);
    padding-right: 4px !important;
}

.footer-cta .afaq-icon {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-inner { padding-top: 45px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(100deg, #1c1c1c 0%, var(--dark) 45%, var(--primary) 130%);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .btn {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid,
    .services-grid,
    .pricing-grid,
    .portfolio-grid,
    .gallery-grid,
    .certifications-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 60px;
    }

    .timeline-content {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .timeline-content::before,
    .timeline-content::after {
        display: none;
    }

    .timeline-step {
        position: relative;
        top: 0;
        right: auto !important;
        left: auto !important;
        margin-bottom: 15px;
        display: inline-block;
    }

    .timeline-line-wrapper {
        display: none;
    }

    .faq-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-left {
        position: static;
    }

    .faq-data.desktop {
        display: none;
    }

    .faq-data.mobile {
        display: block;
    }

    .swiper-slide {
        padding: 30px 20px;
    }

    .portfolio-item:nth-child(odd),
    .portfolio-item:nth-child(even) {
        transform: translateY(50px);
    }

    .portfolio-item.visible:nth-child(odd),
    .portfolio-item.visible:nth-child(even) {
        transform: translateY(0);
    }

    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
@media (min-width: 973px) {
    .social-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(137px, 1fr));
        gap: 25px;
        max-width: 1800px;
        margin: 0 auto;
    }
}
/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-intro {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 900px;
    margin: 30px auto 60px;
}

.about-intro strong {
    color: var(--primary);
    font-weight: 600;
}

.vision-mission {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}
@media (min-width: 576px) {
    .vision-mission {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}
.vm-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.vm-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
}

.vm-card h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.vm-card p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.team-section .section-title,
.team-section .section-subtitle {
    color: var(--white);
}

.team-section .section-title::after {
    background: var(--gold);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.team-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.team-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: var(--light);
}

.contact-form-wrapper {
    display: grid;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
@media (min-width: 576px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
}
.form-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.form-icon {
    margin-bottom: 30px;
}

.form-icon .afaq-icon {
    width: 64px;
    height: 64px;
    stroke-width: 1.3;
}

.form-image h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-image p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-content {
    padding: 50px 40px;
}

.consultation-form .form-group {
    margin-bottom: 25px;
}

.consultation-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 500;
}

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.testimonialsSwiper {
    padding: 40px 0;
}

.testimonial-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.client-info h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info p {
    color: #666;
    font-size: 14px;
}

/* Clients Logos Section */
.clients-section {
    padding: 80px 0;
    background: var(--light);
    overflow: hidden;
}

.clients-slider {
    margin-top: 50px;
    overflow: hidden;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.client-logo {
    min-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 30px auto 50px;
    max-width: 600px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.cert-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(106, 23, 31, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 23, 31, 0.15);
    border-color: var(--primary);
}

.cert-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.cert-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}
/* Alert Box */
.alert-box {
    background: #fff9e6;
    border: 2px solid #f4c430;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.alert-icon {
    color: #f4c430;
    font-size: 24px;
    font-weight: bold;
}

.alert-text {
    color: #7d5a00;
    font-size: 0.95em;
    line-height: 1.6;
    flex: 1;
}
/* Blog Section Header */
.blog-header {
    text-align: center;
    margin: 60px 0 50px;
}

.blog-header h1 {
    color: #7d1f3e;
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.blog-header h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: #7d1f3e;
    border-radius: 2px;
}

.blog-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-top: 25px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    gap: 30px;
    padding: 20px;
    margin-bottom: 60px;
}
@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-header {
    background: #7d1f3e;
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.blog-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.blog-category {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.blog-card-body {
    padding: 30px;
}

.blog-date {
    color: #7d1f3e;
    font-size: 0.85em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}


.blog-title {
    color: #333;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-read-more {
    color: #7d1f3e;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 10px;
}

.blog-read-more::after {
    content: "←";
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #7d1f3e 0%, #5a1629 100%);
}
.cc {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}
.contact-title {
    text-align: center;
    color: white;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: bold;
}

.contact-grid {
    display: grid;
    gap: 30px;
}
@media (min-width: 576px) {
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-icon .afaq-icon {
    width: 42px;
    height: 42px;
    stroke-width: 1.4;
}

.contact-label {
    color: white;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    direction: ltr;
}

/* Floating Buttons */
.whatsapp-float,
.chat-float {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-float {
    bottom: 100px;
    left: 30px;
    background: #25d366;
}

.chat-float {
    bottom: 30px;
    left: 30px;
    background: #7d1f3e;
}

.whatsapp-float:hover,
.chat-float:hover {
    transform: scale(1.1);
}

/* Chat Popup */
.chat-popup {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.chat-header {
    background: #7d1f3e;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f8f8;
}

.chat-message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: #7d1f3e;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.user-message {
    background: white;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.chat-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.chat-footer button {
    padding: 10px 20px;
    background: #7d1f3e;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.chat-footer button:hover {
    background: #5a1629;
}
@media (max-width: 768px) {
    .chat-popup {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 90px;
    }

    .whatsapp-float,
    .chat-float {
        left: 20px;
    }
}
/* Quote Form Section */
.special-quote-section {
    background: linear-gradient(160deg, var(--light) 0%, #ece4e5 100%);
    padding: 70px 0;
}

.special-quote-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.special-quote-info .label {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.special-quote-info h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 16px;
}

.special-quote-info > p {
    color: #555;
    line-height: 1.9;
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 26px;
}

.special-quote-points {
    list-style: none;
    margin-bottom: 30px;
}

.special-quote-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.special-quote-points .afaq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    padding: 4px;
    box-sizing: content-box;
}

.special-quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid rgba(106, 23, 31, 0.12);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.special-quote-badge .afaq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.special-quote-badge span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.special-quote-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .special-quote-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .special-quote-info > p {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .special-quote-section { padding: 50px 0; }
    .special-quote-form-card { padding: 32px 22px; }
}

.quote-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.required {
    color: #7d1f3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    transition: border-color 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7d1f3e;
    background: white;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #7d1f3e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #5a1629;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.blog-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block: 16px;
}
.blog-load-more a{
    width: 18%;
    padding: 15px;
    background: #7d1f3e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
    margin-top: 10px;
}

.certification-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.certification-card:hover {
    text-decoration: none;
}

.certification-card .certification-title,
.certification-card .certification-desc {
    pointer-events: none; /* علشان الـ hover يشتغل على الكارد كله */
}