/* Brand Fonts */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/English/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/English/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/English/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/English/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeoSansArabic';
    src: url('fonts/Arabic/alfont_com_NeoSansW23-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeoSansArabic';
    src: url('fonts/Arabic/alfont_com_NeoSansW23-Med.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeoSansArabic';
    src: url('fonts/Arabic/alfont_com_NeoSansW23-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeoSansArabic';
    src: url('fonts/Arabic/alfont_com_NeoSansW23-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

/* Custom Cursor */
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

/* Cursor image only - no circle */
.custom-cursor-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Hover animation - logo only */
.custom-cursor.hover .custom-cursor-image {
    transform: scale(1.2);
}

.custom-cursor.white-cursor .custom-cursor-image {
    content: url('logo/cursor white.png');
}

/* Hide custom cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    a,
    button,
    .clickable {
        cursor: pointer !important;
    }
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #d4af37;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --bg-color: #FFFDF5;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: none;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* White Header (for hero section) */
.header-white {
    opacity: 1;
    visibility: visible;
}

.header-white .nav-link {
    color: var(--text-light);
}

.header-white .nav-link:hover {
    color: var(--text-light);
}

.header-white .cta-button {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-white .cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-white .language-switcher {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-white .language-switcher:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header-white .nav-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-white .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header-white .mobile-menu-toggle {
    color: var(--text-light);
}

/* Black Header (for content sections) */
.header-black {
    opacity: 0;
    visibility: hidden;
}

.header-black .nav-link {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.header-black .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
}

.header-black .cta-button {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.header-black .cta-button:hover {
    background: rgba(0, 0, 0, 0.25);
}

.header-black .mobile-menu-toggle {
    color: var(--primary-color);
}

.header-black .language-switcher {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.header-black .language-switcher:hover {
    background: rgba(0, 0, 0, 0.25);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo a img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

/* Navigation Link Animation */
.nav-link .content {
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.nav-link .text,
.nav-link .hover-text {
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.nav-link .vertical .text,
.nav-link .vertical .hover-text {
    transform: translateY(0%);
}

.nav-link .hover-text {
    position: absolute;
}

.nav-link .vertical .hover-text {
    bottom: -100%;
    left: 0;
    right: 0;
}

.nav-link:hover .vertical .hover-text,
.nav-link:hover .vertical .text {
    transform: translateY(-100%);
}

.language-switcher {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-right: 10px;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.language-switcher .lang-text {
    font-weight: 600;
    letter-spacing: 1px;
}

.cta-button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hero-video.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 4vw, 60px);
    font-weight: 400;
    font-style: normal;
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-title.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Project Previews */
.project-previews {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 20px;
    z-index: 4;
    padding: 0 20px;
}

.project-preview {
    flex: 1;
    position: relative;
    padding: 40px 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: none;
}

.project-preview:hover {
    background: none;
    transform: translateY(-5px);
}

.project-preview.active {
    background: none;
}

/* Progress Bar */
.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.1s linear;
}

.project-preview.active .progress-bar-fill {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.project-info {
    position: relative;
    z-index: 2;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.project-preview.active .project-info {
    opacity: 1;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.project-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 300;
}

.project-overlay {
    display: none;
}

/* Mobile Responsive - Show only one progress bar at a time */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
    }

    .project-previews {
        padding: 0 15px;
        gap: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 4;
    }

    .project-preview {
        display: none;
        padding: 30px 20px;
    }

    .project-preview.active {
        display: block;
        flex: 1;
    }

    .project-title {
        font-size: 18px;
    }

    .project-subtitle {
        font-size: 13px;
    }

    /* Faster marquee animation for mobile */
    .marquee-track {
        animation: scrollText 5s linear infinite;
    }
}

/* Marquee Section */
.marquee-section {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: var(--bg-color);
}

/* Parallax Background */
.marquee-background {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url('images/RIGHT-POOL.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
    will-change: transform;
}

/* Marquee Text Container */
.marquee-content {
    position: relative;
    z-index: 2;
    width: 100%;
    white-space: nowrap;
}

/* The Moving Track */
.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scrollText 20s linear infinite;
}

.marquee-track span {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    text-stroke: 2px rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.marquee-track .divider {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    text-stroke: 2px rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

/* Keyframes for Infinite Scroll */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Statistics Section */
.stats-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
}

.stat-item:nth-child(1) .stat-number::after {
    content: '+';
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--primary-color);
}

.stat-item:nth-child(2) .stat-number::after {
    content: '+';
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--primary-color);
}

.stat-line {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 20px;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
.about-section,
.services-section,
.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
    background: var(--bg-color);
}

.about-section {
    padding-left: 80px;
    padding-right: 80px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/* About Section Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.about-left {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
}

.about-heading {
    font-family: foundersGrotesk, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 22px;
    font-weight: 300;
    font-feature-settings: normal;
    font-variation-settings: normal;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-image-wrapper {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    max-width: 40%;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-founders {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--primary-color);
    line-height: 1.6;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text-line1,
.about-text-line2,
.about-text-line3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(16px, 2.5vw, 36px);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-text-line1,
.about-text-line2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text-line3 {
    color: #999;
    margin-top: 0;
}

.about-text-line1.animate,
.about-text-line2.animate,
.about-text-line3.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-text-line2.animate {
    transition-delay: 0.05s;
}

.about-text-line3.animate {
    transition-delay: 0.1s;
}

.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-about {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-dark {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-dark:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.btn-light {
    background: #e8e8e8;
    color: var(--primary-color);
}

.btn-light:hover {
    background: #d8d8d8;
    transform: translateY(-2px);
}

.btn-about i {
    font-size: 14px;
}

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

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.service-card i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 16px;
}

/* Projects Masonry Section */
.projects-section {
    padding: 100px 0 60px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* Section Divider */
.section-divider {
    width: 100%;
    padding: 30px 0;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-line {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(26, 26, 26, 0.1) 20%,
            rgba(26, 26, 26, 0.2) 50%,
            rgba(26, 26, 26, 0.1) 80%,
            transparent 100%);
    position: relative;
}

.divider-line::before,
.divider-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.divider-line::before {
    left: 20%;
}

.divider-line::after {
    right: 20%;
}

.projects-masonry-container {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

.projects-masonry-left,
.projects-masonry-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.projects-masonry-center {
    /* Empty center space */
}

.masonry-project-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    border-radius: 8px;
    align-self: flex-start;
}

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

.masonry-project-item .project-video {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
    background: #000;
}

.masonry-project-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.masonry-project-item:hover .project-video,
.masonry-project-item:hover img {
    transform: scale(1.05);
}

.masonry-project-info {
    position: static;
    padding: 20px 0;
    background: transparent;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.masonry-project-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.masonry-project-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Different sizes for variety */
.masonry-project-item.size-small {
    width: 65%;
    margin-bottom: 40px;
}

.masonry-project-item.size-medium {
    width: 85%;
    margin-bottom: 50px;
}

.masonry-project-item.size-large {
    width: 100%;
    margin-bottom: 60px;
}

/* Offset classes for random alignment */
.masonry-project-item.offset-left {
    margin-left: 0;
    align-self: flex-start;
}

.masonry-project-item.offset-right {
    margin-left: auto;
    align-self: flex-end;
}

/* Video wrapper for 1:1 aspect ratio */
.project-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* 1:1 aspect ratio - creates square */
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.project-video-wrapper .project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Varying sizes for videos - larger to show max 2 on screen */
.masonry-project-item.size-small {
    width: 65%;
    margin-bottom: 60px;
}

.masonry-project-item.size-medium {
    width: 85%;
    margin-bottom: 80px;
}

.masonry-project-item.size-large {
    width: 100%;
    margin-bottom: 100px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

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

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.project-card-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.project-card-info p {
    color: var(--text-gray);
    font-size: 16px;
}

/* 360 Panorama Section */
.panorama-section {
    width: 100%;
    padding: 60px 0 100px 0;
    background: var(--bg-color);
    position: relative;
}

.panorama-section .container {
    max-width: 1600px;
}

.panorama-header {
    text-align: center;
    margin-bottom: 40px;
}

.panorama-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.panorama-subtitle {
    font-size: 16px;
    color: #666;
    font-family: 'Montserrat', sans-serif;
}

.panorama-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
}

.panorama-container {
    width: 100%;
    height: 100%;
    cursor: grab;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    overflow: hidden;
}

.panorama-container:active {
    cursor: grabbing;
}

.panorama-container canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    touch-action: none;
    position: relative;
    z-index: 1;
}

.panorama-container canvas:active {
    cursor: grabbing;
}

.panorama-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.panorama-loader.opacity-0 {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: #ffffff;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-content p {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.panorama-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
}

.panorama-badge {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    font-family: 'Montserrat', sans-serif;
}

.panorama-reset-btn {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.panorama-reset-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Panorama Slider Navigation */
.panorama-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.panorama-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.panorama-prev-btn {
    left: 20px;
}

.panorama-next-btn {
    right: 20px;
}

/* Panorama Dots */
.panorama-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
}

.panorama-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.panorama-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.panorama-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

/* Contact Section */
.contact-section {
    padding: 150px 0;
    background: var(--bg-color);
}

.contact-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 80px;
    text-align: left;
    font-family: 'Playfair Display', serif;
    letter-spacing: -2px;
    line-height: 1.1;
}

.contact-content {
    max-width: 900px;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    cursor: pointer;
}

.contact-form select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 3L11 8H1z'/%3E%3C/svg%3E");
}

.submit-btn {
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translate(2px, -2px);
}

.submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}

.form-status {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.form-status.info {
    color: #444;
    background: #f7f7f7;
    border-color: #ececec;
}

.form-status.success {
    color: #0f7b3f;
    background: #e7f6ed;
    border-color: #b6e1c4;
}

.form-status.error {
    color: #b00020;
    background: #fde8ec;
    border-color: #f5c4cf;
}

/* Footer */
.footer {
    background: #1d1d1d;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a i {
    font-size: 18px;
    display: inline-block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 5px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .project-previews {
        flex-wrap: wrap;
    }

    .project-preview {
        flex: 1 1 50%;
        min-width: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo-img {
        height: 60px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-left {
        padding-left: 20px;
    }

    .marquee-section {
        height: 40vh;
    }

    .marquee-track {
        gap: 2rem;
    }

    .section-divider {
        padding: 40px 0;
    }

    .divider-line {
        max-width: 90%;
    }

    .divider-line::before {
        left: 15%;
    }

    .divider-line::after {
        right: 15%;
    }

    .marquee-track span {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .projects-masonry-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 40px;
    }

    .projects-masonry-center {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 30px;
        transition: left 0.3s ease;
        gap: 15px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Make all nav links black and visible on mobile */
    .header-white .nav-link,
    .header-black .nav-link {
        width: 100%;
        padding: 18px 20px;
        font-size: 18px;
        font-weight: 500;
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
        backdrop-filter: none;
        border-radius: 12px;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .header-white .nav-link:hover,
    .header-black .nav-link:hover {
        background: rgba(0, 0, 0, 0.1);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

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

    /* Hide desktop language switcher on mobile */
    .language-switcher {
        display: none;
    }

    /* Language switcher inside mobile menu */
    .nav-menu .language-switcher {
        display: flex;
        width: 100%;
        padding: 18px 20px;
        font-size: 18px;
        font-weight: 500;
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 10px;
    }

    .nav-menu .language-switcher .lang-text {
        display: inline-block;
    }

    .nav-menu .language-switcher:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .cta-button {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    /* Smaller logo on mobile */
    .logo a img {
        height: 50px;
    }


    /* About Section Mobile */
    .about-section {
        padding: 60px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-heading {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .about-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    .about-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-about {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }

    /* Marquee Section Mobile */
    .marquee-section {
        height: 30vh;
        min-height: 200px;
    }

    .marquee-track span {
        font-size: 2rem;
    }

    /* Statistics Section Mobile */
    .stats-section {
        padding: 60px 20px;
    }

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

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }

    /* Projects Section Mobile - Enhanced Card Design */
    .projects-section {
        padding: 80px 0 60px 0;
        background: var(--bg-color);
    }

    .projects-container {
        padding: 0 20px;
    }

    /* Add mobile section title */
    .projects-section::before {
        content: 'Projects';
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: clamp(36px, 10vw, 56px);
        font-weight: 700;
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 50px;
        letter-spacing: -1px;
    }

    .w-full.grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
        padding: 0;
    }

    /* Hide sticky heading on mobile */
    .col-span-12.w-full.top-0 {
        display: none;
    }

    /* Mobile project cards - Enhanced */
    .js-item-344 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        transform: none !important;
    }

    .js-item-344 a {
        display: block;
        background: #ffffff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .js-item-344 a:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .js-item-344 .rounded-2xl {
        aspect-ratio: 16/10;
        border-radius: 0;
        position: relative;
        overflow: hidden;
    }

    /* Add gradient overlay to images */
    .js-item-344 .rounded-2xl::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 1;
    }

    .js-item-344 a:hover .rounded-2xl::after {
        opacity: 1;
    }

    /* Image scaling on hover */
    .js-item-344 .rounded-2xl img,
    .js-item-344 .rounded-2xl video {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .js-item-344 a:hover .rounded-2xl img,
    .js-item-344 a:hover .rounded-2xl video {
        transform: scale(1.05);
    }

    /* Text content styling */
    .js-item-344 .transition.transform.mt-3 {
        padding: 24px 20px;
        margin-top: 0;
        background: #ffffff;
    }

    .js-item-344 h3 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--primary-color);
        line-height: 1.3;
        letter-spacing: -0.5px;
    }

    .js-item-344 p {
        font-size: 15px;
        color: #666;
        line-height: 1.5;
        font-weight: 400;
    }

    /* Hide the arrow button on mobile for cleaner look */
    .js-item-344 .absolute.bottom-0.right-0 {
        display: none;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 60px 20px;
    }

    .contact-title {
        font-size: clamp(32px, 10vw, 60px);
        margin-bottom: 40px;
    }

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

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px;
        padding: 16px;
    }

    /* Panorama Section Mobile */
    .panorama-section {
        padding: 60px 20px;
    }

    .panorama-title {
        font-size: 32px;
    }

    .panorama-subtitle {
        font-size: 14px;
    }

    .project-preview {
        flex: 1;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo-img {
        height: 110px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-divider {
        padding: 30px 0;
    }

    .divider-line::before,
    .divider-line::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .logo a {
        font-size: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-section,
    .services-section,
    .projects-section {
        padding: 60px 0;
    }

    .section-divider {
        padding: 20px 0;
    }

    .panorama-section {
        padding: 80px 0 60px 0;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: clamp(36px, 10vw, 80px);
        margin-bottom: 50px;
    }

    .contact-content {
        max-width: 100%;
    }

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

    .contact-form {
        gap: 25px;
    }

    .about-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .about-buttons {
        flex-direction: column;
    }

    .btn-about {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto;
    /* Disable native smooth scroll when using Lenis */
    scroll-padding-top: 80px;
}

/* Lenis smooth scroll container */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

* {
    scroll-behavior: inherit;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrollbar styling (optional, modern browsers) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.project-card {
    animation: fadeIn 0.6s ease-out;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    overflow: hidden;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.whatsapp-float:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-float:active {
    transform: scale(0.95) translateY(-2px);
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(0, 0, 0, 0.9);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Pulse animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsappPulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Panorama Slider Mobile Styles */
    .panorama-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .panorama-prev-btn {
        left: 10px;
    }

    .panorama-next-btn {
        right: 10px;
    }

    .panorama-dots {
        bottom: 70px;
        gap: 8px;
    }

    .panorama-dot {
        width: 10px;
        height: 10px;
    }

    .panorama-dot.active {
        width: 24px;
    }

    .panorama-controls {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .panorama-reset-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
}

/* RTL Support for WhatsApp Button */
html[dir="rtl"] .whatsapp-float {
    left: 30px;
    right: auto;
}

html[dir="rtl"] .whatsapp-tooltip {
    left: 75px;
    right: auto;
}

html[dir="rtl"] .whatsapp-tooltip::after {
    left: -6px;
    right: auto;
    border-left: none;
    border-right: 6px solid rgba(0, 0, 0, 0.9);
}

html[dir="rtl"] .whatsapp-float:hover .whatsapp-tooltip {
    transform: translateY(-50%) translateX(5px);
}

@media (max-width: 768px) {
    html[dir="rtl"] .whatsapp-float {
        left: 20px;
        right: auto;
    }
}

/* Arabic Font Overrides */
html[lang="ar"] {
    --font-sans-primary: 'NeoSansArabic', sans-serif;
    --font-serif-primary: 'NeoSansArabic', serif;
}

html[lang="ar"] body {
    font-family: 'NeoSansArabic', 'Montserrat', sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .about-text-line1,
html[lang="ar"] .about-text-line2,
html[lang="ar"] .about-text-line3,
html[lang="ar"] .nav-link,
html[lang="ar"] .project-title,
html[lang="ar"] .stat-number,
html[lang="ar"] .stat-label,
html[lang="ar"] .cta-button,
html[lang="ar"] .language-switcher {
    font-family: 'NeoSansArabic', sans-serif !important;
}

html[lang="ar"] #contact .contact-title {
    text-align: right;
    padding-right: 20px;
    /* Optional: adds a bit of spacing from the edge if needed */
}
/* Footer Contact Info */
.footer-contact-info {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.contact-item i {
    color: #fff;
    margin-top: 4px;
    width: 16px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

