/* Global Styles */
:root {
    --primary-color: #7F3F98;
    --primary-light: #9a5fb0;
    --primary-dark: #5c2c6d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark: #343a40;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn i {
    margin-right: 5px;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-right: 15px;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.logo span {
    color: var(--dark);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    right: 20px;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a:hover:after,
.nav-links li a.active:after {
    width: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

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

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.cta-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-image {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s ease 0.4s forwards;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z" fill="%23ffffff"/></svg>');
    background-size: 100% 100%;
}

/* Services Section */
.services {
padding: 80px 0;
background-color: #f9f9f9;
}

.services .section-title {
margin-bottom: 40px;
text-align: center;
}

.services-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

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

.services-grid .service-card:nth-child(n+4) {
display: none;
}

.services-grid.show-all .service-card {
display: block;
}

.service-card {
background: white;
padding: 30px 20px;
border-radius: 12px;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.03);
position: relative;
overflow: hidden;
}

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

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

.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
width: 70px;
height: 70px;
margin: 0 auto 20px;
background: rgba(127, 63, 152, 0.08);
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.service-card:hover .service-icon {
background: linear-gradient(135deg, var(--primary-color), #9c4dff);
transform: rotateY(180deg);
}

.service-icon i {
font-size: 28px;
color: var(--primary-color);
transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
color: white;
transform: rotateY(-180deg);
}

.service-card h3 {
color: var(--dark);
margin-bottom: 12px;
font-size: 1.3rem;
font-weight: 700;
transition: color 0.3s ease;
}

.service-card:hover h3 {
color: var(--primary-color);
}

.service-card p {
color: #666;
line-height: 1.7;
margin: 0;
font-size: 0.95rem;
}

.show-more-btn {
display: block;
margin: 20px auto 0;
padding: 12px 30px;
background: var(--primary-color);
color: white;
border: none;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(127, 63, 152, 0.2);
}

.show-more-btn:hover {
background: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(127, 63, 152, 0.3);
}

.show-more-btn i {
margin-right: 8px;
transition: transform 0.3s ease;
}

.show-more-btn.active i {
transform: rotate(180deg);
}

@media (max-width: 1200px) {
.services-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
}

@media (max-width: 768px) {
.services-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}

.service-card {
padding: 30px 15px;
}

.service-icon {
width: 60px;
height: 60px;
}

.service-icon i {
font-size: 24px;
}

.service-card h3 {
font-size: 1.2rem;
}
}

/* Success Partners Section */
.partners {
padding: 80px 0;
background-color: #f8f9fa;
position: relative;
overflow: hidden;
}

.partners .section-title {
text-align: center;
margin-bottom: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    display: block;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.partner-logo {
    width: 180px;
    height: 120px;
    margin: 0 auto 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover .partner-logo {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-img {
    transform: scale(1.05);
}

.partner-card h3 {
    color: var(--dark);
    margin: 15px 0 5px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 25px; /* Space for the icon */
}

.partner-card:hover h3 {
    color: var(--primary-color);
}

.partner-card h3 .external-link-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover h3 .external-link-icon {
    opacity: 1;
    right: -22px;
}

.partner-card p {
    color: #666;
    line-height: 1.6;
    margin: 15px 0 0;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.testimonials .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    position: relative;
    padding: 0 0 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
    position: relative;
    padding-right: 25px;
}

.testimonial-text p:before {
    content: '"\201C"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    right: 0;
    top: -15px;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 1.1rem;
}

.author-info span {
    color: #777;
    font-size: 0.9rem;
    display: block;
}

/* Become a Merchant Section */
.become-merchant {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.become-merchant .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.become-merchant .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    display: block;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.step {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step-number:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.5;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.step-content h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cta-container {
    text-align: center;
    margin-top: 50px;
}

.cta-container .btn {
    margin: 0 10px 15px;
    min-width: 200px;
}

.cta-container .btn i {
    margin-left: 8px;
}

/* Storage and Processing Services Section */
.storage-services {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.storage-services .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.storage-services .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    display: block;
}

.storage-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.storage-services .service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.storage-services .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.storage-services .service-icon {
    width: 80px;
    height: 80px;
    background: rgba(127, 63, 152, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.storage-services .service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.storage-services .service-card h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.storage-services .service-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.storage-services .service-card:hover h3:after {
    width: 80px;
}

.storage-services .service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.storage-services .service-card ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-right: 20px;
    font-size: 0.95rem;
}

.storage-services .service-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.storage-services .cta-container {
    text-align: center;
    margin-top: 30px;
}

.storage-services .btn {
    margin: 0 10px 15px;
    min-width: 200px;
}

.storage-services .btn i {
    margin-right: 8px;
}

/* About Section */
.about {
padding: 100px 0;
background-color: #f9f9f9;
position: relative;
overflow: hidden;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(127, 63, 152, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about .section-title {
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.about-text {
    flex: 1;
    padding: 20px 0;
}

.section-header {
    margin-bottom: 30px;
    position: relative;
}

.section-header h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.divider {
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 20px 0;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: rgba(127, 63, 152, 0.5);
    right: 80px;
    top: 0;
}

.about-text .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-right: 3px solid var(--primary-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(127, 63, 152, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(127, 63, 152, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #ddd;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 5px;
    font-family: 'Tajawal', sans-serif;
}

.stat-text {
    display: block;
    color: #666;
    font-size: 0.95rem;
}

.about-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image:hover .image-container {
    transform: perspective(1000px) rotateY(0);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(127, 63, 152, 0.7) 0%, rgba(92, 44, 109, 0.7) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.image-container:hover .image-overlay {
    opacity: 0.2;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(127, 63, 152, 0.3);
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.8s ease 1s forwards;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-quote {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-right: 3px solid var(--primary-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-quote p {
    margin: 0;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Responsive styles for About section */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text, 
    .about-image {
        width: 100%;
        max-width: 100%;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .image-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-item {
        padding: 0;
    }
    
    .section-header h3 {
        font-size: 1.7rem;
    }
    
    .about-text .lead {
        font-size: 1.1rem;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item .text h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-item .text p,
.info-item .text a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.info-item .text a:hover {
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(127, 63, 152, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.faq .section-title {
    margin-bottom: 50px;
    text-align: center;
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-right: 3px solid var(--primary-color);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question i {
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0 25px;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 25px;
    color: #555;
    line-height: 1.7;
}

/* Active state */
.faq-item.active .faq-question {
    background-color: rgba(127, 63, 152, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-logo h2 span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-left: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-contact a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.developer-credit {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #aaa;
    font-family: 'Tajawal', sans-serif;
}

.developer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.developer-credit a:hover {
    color: #9c4dff;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 50px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-secondary {
        margin-right: 0;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}
