/* ================== المتغيرات ================== */
:root {
    --primary-color: #9A7B4F;
    --secondary-color: #D4C1A5;
    --accent-color: #C19A6B;
    --dark-color: #2C2C2C;
    --light-color: #F9F7F4;
    --text-color: #3A3A3A;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-light: linear-gradient(135deg, #D4C1A5 0%, #E8DBC5 100%);
}

/* ================== الأنماط العامة ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'El Messiri', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(154, 123, 79, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(154, 123, 79, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: white;
    box-shadow: none;
}

.btn-outline::before {
    background: var(--gradient);
}

.btn-outline:hover {
    color: var(--white);
    border: 2px solid transparent;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================== Loading Screen ================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.loading-logo h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'El Messiri', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.loading-logo .subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    margin-top: 5px;
}

.loading-animation {
    position: relative;
    width: 150px;
    height: 150px;
}

.loading-circle {
    position: absolute;
    border-radius: 50%;
}

.loading-circle-1 {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(154, 123, 79, 0.1);
}

.loading-circle-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border: 4px solid rgba(154, 123, 79, 0.2);
    animation: loadingSpin 2s linear infinite;
}

.loading-circle-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 4px solid var(--primary-color);
    border-top-color: transparent;
    animation: loadingSpin 1.5s linear infinite;
}

.loading-circle-4 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border: 4px solid var(--accent-color);
    border-right-color: transparent;
    animation: loadingSpin 1s linear infinite reverse;
}

.loading-text {
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes loadingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ================== Header Styles ================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    font-family: 'El Messiri', sans-serif;
}

.logo-description {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-description span {
    position: relative;
    padding-left: 15px;
}

.logo-description span:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-menu a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .btn {
    margin-right: 15px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* ================== Hero Section ================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(58, 58, 58, 0.8) 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    margin-top: 80px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.7s;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-shape {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 100;
}

.arch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    display: block;
}

.geometric-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    background-image: 
        linear-gradient(var(--secondary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--secondary-color) 1px, transparent 1px);
    background-size: 50px 50px;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.geometric-shape {
    position: absolute;
    border: 1px solid var(--secondary-color);
    opacity: 0.3;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation: floatShape 15s ease-in-out infinite;
    border-radius: 20px;
    transform: rotate(15deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 15%;
    animation: floatShape 18s ease-in-out infinite reverse;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation: floatShape 20s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-4 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 10%;
    animation: floatShape 22s ease-in-out infinite reverse;
    border-radius: 10px;
}

.shape-5 {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 15%;
    animation: floatShape 17s ease-in-out infinite;
    border-radius: 50%;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(212, 193, 165, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

.floating-element:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 15%;
    animation-delay: 4s;
}

.decorations-container {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 2;
    pointer-events: none;
}

.decoration-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
    z-index: 2;
}

.decoration-2 {
    position: absolute;
    top: 40%;
    right: 15%;
    opacity: 0.3;
    animation: float 12s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 2;
}

.decoration-3 {
    position: absolute;
    top: 60%;
    left: 20%;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
    animation-delay: 2s;
    z-index: 2;
}

.decoration-4 {
    position: absolute;
    top: 30%;
    right: 5%;
    opacity: 0.2;
    animation: rotate 25s linear infinite reverse;
    animation-delay: 3s;
    z-index: 2;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================== About Section ================== */
.about {
    background-color: var(--white);
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.about-visual {
    flex: 1;
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient);
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-hover);
    animation: pulse 2s infinite;
}

.experience-badge span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ================== Services Section ================== */
.services {
    background-color: var(--light-color);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ================== فريق العمل Section ================== */
.team {
    background-color: var(--white);
    position: relative;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: calc(33.333% - 20px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: calc(0.1s * var(--i, 0));
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.team-position {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
    flex-grow: 1;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.team-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.team-social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ================== Contact Section ================== */
.contact {
    background-color: var(--white);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-text p {
    line-height: 1.7;
}

.contact-cta {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cta-header {
    text-align: center;
}

.cta-header h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.cta-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(154, 123, 79, 0.1), transparent);
    pointer-events: none;
    z-index: 2;
}

.map-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 3;
    max-width: 250px;
}

.map-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-info p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 30px;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(154, 123, 79, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(154, 123, 79, 0.3);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.outline:hover {
    background: var(--gradient);
    color: var(--white);
}

.cta-button i {
    font-size: 1.2rem;
}

/* ================== Call to Action Section ================== */
.call-to-action {
    background: linear-gradient(135deg, rgba(154, 123, 79, 0.9) 0%, rgba(193, 154, 107, 0.9) 100%), url('https://images.unsplash.com/photo-1613977257363-707ba9348227?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-container h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.cta-container p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
}

/* ================== Footer ================== */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'El Messiri', sans-serif;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-right: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form .form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================== Page Header (Gallery Page) ================== */
.page-header {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(58, 58, 58, 0.8) 100%), url('https://images.unsplash.com/photo-1613977257363-707ba9348227?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.2;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-top: 30px;
}

.breadcrumb a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: var(--primary-color);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

/* ================== Gallery Section ================== */
.gallery-section {
    background-color: var(--white);
    padding: 100px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.gallery-filter-btn {
    padding: 12px 28px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(154, 123, 79, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 350px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-info {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-info p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gallery-category {
    display: inline-block;
    background-color: rgba(154, 123, 79, 0.8);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.gallery-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    margin-top: 15px;
}

.gallery-view-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.no-results {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 60px 20px;
    margin-top: 20px;
}

.no-results h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 500px;
    margin: 0 auto;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ================== Gallery Details Section (removed) ================== */

/* ================== Call to Action (Gallery Page) ================== */
.gallery-cta {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.95) 0%, rgba(58, 58, 58, 0.9) 100%), url('https://images.unsplash.com/photo-1613977257592-4871e5fcd7c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.gallery-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.3;
    z-index: 1;
}

.gallery-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.gallery-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

/* ================== زر النسخ والإرسال وتفاصيله ================== */
.copy-send-toggle {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(154, 123, 79, 0.9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
}

.gallery-item:hover .copy-send-toggle {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

.copy-send-toggle:hover {
    background: #9A7B4F;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.send-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    animation: slideUp 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.send-actions-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    border: 1px solid #e9ecef;
}

.code-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.code-value {
    color: #9A7B4F;
    font-weight: 500;
    flex-grow: 1;
    font-size: 1rem;
}

.copy-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.copy-btn:hover {
    color: #9A7B4F;
    background: #e9ecef;
}

.send-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.whatsapp-btn, .call-btn, .email-btn, .copy-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-height: 40px;
}

.whatsapp-btn {
    background: #40c057;
    color: white;
}

.whatsapp-btn:hover {
    background: #2f9e44;
    transform: translateY(-1px);
}

.call-btn {
    background: #228be6;
    color: white;
}

.call-btn:hover {
    background: #1c7ed6;
    transform: translateY(-1px);
}

.email-btn {
    background: #e64980;
    color: white;
}

.email-btn:hover {
    background: #d6336c;
    transform: translateY(-1px);
}

.copy-all-btn {
    background: #495057;
    color: white;
    grid-column: span 2;
}

.copy-all-btn:hover {
    background: #343a40;
    transform: translateY(-1px);
}

.close-actions {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
    transition: var(--transition);
    width: 100%;
}

.close-actions:hover {
    background: #e9ecef;
    color: #495057;
}

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #40c057;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    max-width: 300px;
    border-left: 4px solid #2b8a3e;
}

.copy-notification.error {
    background: #fa5252;
    border-left-color: #c92a2a;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ================== Lightbox Styles ================== */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
}

.lightbox-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-image-container {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f8f8f8;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.lightbox-info {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
}

.lightbox-info h3 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.lightbox-control-btn {
    background: #9A7B4F;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-control-btn:hover {
    background: #7a5d3f;
    transform: scale(1.1);
}

/* ================== Responsive Styles ================== */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.8rem; }
    .hero p { font-size: 1.2rem; }
    .section-title h2 { font-size: 2.7rem; }
    .team-card { width: calc(33.333% - 20px); }
    .cta-container h2 { font-size: 3rem; }
    .map-container { height: 280px; }
    .page-header h1 { font-size: 3.5rem; }
    .gallery-cta h2 { font-size: 2.7rem; }
}

@media (max-width: 992px) {
    .about-content { flex-direction: column; }
    .about-visual { margin-top: 50px; }
    .hero { min-height: 600px; padding-top: 70px; }
    .hero h1 { font-size: 3.2rem; }
    .hero p { font-size: 1.1rem; max-width: 600px; }
    .hero-content { margin-top: 60px; padding: 30px 20px; }
    .section { padding: 80px 0; }
    .team-card { width: calc(50% - 20px); }
    .team-content { padding: 25px; }
    .team-name { font-size: 1.5rem; }
    .team-position { font-size: 1rem; }
    .contact-content { gap: 40px; }
    .cta-container h2 { font-size: 2.7rem; }
    .cta-container p { font-size: 1.2rem; }
    .call-to-action { padding: 100px 0; }
    .map-container { height: 250px; }
    .map-info { bottom: 15px; right: 15px; padding: 12px 20px; }
    .page-header { padding: 150px 0 80px; }
    .page-header h1 { font-size: 3rem; }
    .page-header p { font-size: 1.2rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

    .gallery-cta h2 { font-size: 2.7rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    .nav-menu.active { right: 0; overflow-y: auto;}
    .nav-actions .btn{display: none;}
    .nav-menu li { margin: 20px 0; }
    .hamburger { display: block; }
    .hero { min-height: 550px; padding-top: 60px; }
    .hero h1 { font-size: 2.8rem; margin-bottom: 20px; }
    .hero p { font-size: 1rem; margin-bottom: 30px; line-height: 1.7; }
    .hero-btns { gap: 15px; }
    .hero-content { margin-top: 50px; padding: 20px 15px; }
    .section-title h2 { font-size: 2.3rem; }
    .portfolio-grid, .services-grid, .about-features, .contact-content { grid-template-columns: 1fr; }
    .logo-description { display: none; }
    .loading-animation { width: 100px; height: 100px; }
    .loading-logo h1 { font-size: 1.8rem; }
    .loading-logo svg { width: 50px; height: 50px; }
    .team-card { width: 100%; max-width: 400px; }
    .team-image { height: 200px; }
    .team-content { padding: 20px; }
    .geometric-grid { background-size: 30px 30px; }
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 { opacity: 0.2; }
    .contact-cta { padding: 30px 20px; }
    .cta-header h3 { font-size: 1.7rem; }
    .cta-header p { font-size: 1rem; }
    .cta-container h2 { font-size: 2.3rem; }
    .cta-container p { font-size: 1.1rem; }
    .call-to-action { padding: 80px 0; }
    .map-container { height: 220px; }
    .map-info { position: relative; bottom: auto; right: auto; margin-top: 15px; max-width: 100%; }
    .page-header { padding: 120px 0 60px; }
    .page-header h1 { font-size: 2.5rem; margin-bottom: 15px; }
    .page-header p { font-size: 1.1rem; margin-bottom: 30px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-filters { gap: 10px; }
    .gallery-filter-btn { padding: 10px 20px; font-size: 1rem; min-width: 100px; }

    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-filter-btn {
        min-width: 110px;
        font-size: 0.95rem;
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .copy-send-toggle {
        opacity: 1;
        visibility: visible;
        bottom: 15px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .send-actions {
        padding: 12px;
    }
    
    .send-buttons {
        grid-template-columns: 1fr;
    }
    
    .copy-all-btn {
        grid-column: span 1;
    }
    
    .whatsapp-btn, .call-btn, .email-btn, .copy-all-btn {
        padding: 8px;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .copy-notification {
        top: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        padding: 10px 15px;
        font-size: 0.9rem;
    }

}

@media (max-width: 576px) {
    .section { padding: 60px 0; }
    .hero { min-height: 500px; padding-top: 50px; }
    .hero h1 { font-size: 2.2rem; margin-bottom: 15px; }
    .hero p { font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }
    .hero-btns { flex-direction: column; align-items: center; width: 100%; }
    .hero-btns .btn { width: 100%; max-width: 300px; }
    .hero-content { margin-top: 40px; padding: 15px 10px; }
    .section-title h2 { font-size: 2rem; }
    .experience-badge { width: 120px; height: 120px; bottom: -20px; left: -20px; }
    .experience-badge span:first-child { font-size: 2rem; }
    .loading-animation { width: 80px; height: 80px; }
    .loading-logo h1 { font-size: 1.5rem; }
    .loading-logo svg { width: 40px; height: 40px; }
    .loading-text { font-size: 0.9rem; }
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 { display: none; }
    .team-card { min-height: 380px; }
    .team-image { height: 180px; }
    .team-content { padding: 15px; }
    .team-name { font-size: 1.4rem; }
    .team-position { font-size: 0.95rem; }
    .team-description { font-size: 1rem; }
    .team-social-link { width: 35px; height: 35px; font-size: 1rem; }
    .contact-item { padding: 20px; }
    .contact-icon { width: 50px; height: 50px; font-size: 1.3rem; }
    .cta-buttons { flex-direction: column; }
    .cta-button { padding: 15px 20px; font-size: 0.95rem; }
    .cta-container h2 { font-size: 2rem; }
    .cta-container p { font-size: 1rem; }
    .call-to-action { padding: 60px 0; }
    .map-container { height: 200px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .decorations-container { top: 70%; height: 30%; }
    .decoration-1, .decoration-2, .decoration-3, .decoration-4 { opacity: 0.1; font-size: 1.5rem; }
    .page-header { padding: 100px 0 50px; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 1rem; }
    .gallery-section, .gallery-cta { padding: 60px 0; }
    .gallery-cta h2 { font-size: 2rem; }
    .gallery-cta p { font-size: 1rem; }
    .gallery-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; }
    .breadcrumb { font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
    
    .copy-send-toggle {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .send-actions {
        padding: 10px;
    }
    
    .code-info {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .code-label, .code-value {
        font-size: 0.85rem;
    }
    
    .whatsapp-btn, .call-btn, .email-btn, .copy-all-btn {
        padding: 6px;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .close-actions {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-height: 700px) {
    .hero { min-height: 650px; }
    .hero h1 { font-size: 3rem; margin-bottom: 15px; }
    .hero p { font-size: 1rem; margin-bottom: 25px; }
    .hero-content { margin-top: 60px; padding: 30px 20px; }
    .loading-logo { margin-bottom: 20px; }
    .loading-animation { width: 80px; height: 80px; }
    .loading-logo h1 { font-size: 1.5rem; }
    .loading-logo svg { width: 40px; height: 40px; }
    .loading-text { margin-top: 20px; font-size: 0.9rem; }
}

@media (max-height: 600px) {
    .hero { min-height: 600px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 0.9rem; margin-bottom: 20px; }
    .hero-content { margin-top: 50px; padding: 20px 15px; }
}

/* ============================================
   أزرار التواصل العائمة
============================================= */
.social-floating-btns {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
}

.social-float-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.social-float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-float-btn.phone {
    background: var(--gradient);
}

.social-float-btn.up {
    background: var(--gradient);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-float-btn.up.show {
    display: flex;
    opacity: 1;
}

@media (max-width: 768px) {
    .social-floating-btns {
        bottom: 20px;
        left: 15px;
        gap: 10px;
    }
    .social-float-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}