:root {
    --primary-color: #fbbf24;
    /* Yellow/Gold - Brand Color */
    --primary-hover: #f59e0b;
    --bg-color: #000000;
    --surface-color: #111827;
    /* Dark Blue-ish Gray */
    --text-color: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-color: #fbbf24;
    /* Amber Gold */
    --font-family: 'Cairo', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-color);
    /* Changed to Gold/Yellow as per Laqta logo text */
    display: flex;
    align-items: center;
    gap: 0;
}

@media (max-width: 767px) {
    .header {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .header .btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .hero {
        padding-top: 60px;
    }

    .brand-name {
        margin-top: 0.5rem;
    }
}

.logo-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    /* CSS filter to make the logo yellow/gold */
    filter: sepia(100%) saturate(500%) brightness(100%) hue-rotate(10deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a0505 0%, #000000 100%);
    position: relative;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
}

.hero-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: right;
    }
}

/* Brand Name (الأمير) */
.brand-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    animation: fadeInUp 0.8s ease-out;
    text-align: center;
    padding-right: 0;
}

@media (min-width: 768px) {
    .brand-name {
        font-size: 5rem;
        text-align: right;
    }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    text-align: right;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 35%,
            #fbbf24 48%,
            #fde68a 50%,
            #fbbf24 52%,
            #ffffff 65%,
            #ffffff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: spotlight 10s linear infinite, fadeInUp 1s ease-out;
}

@keyframes spotlight {
    0% {
        background-position: 150% 0;
    }

    100% {
        background-position: -150% 0;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title .highlight {
    /* Same styling as rest of title - spotlight passes over it */
}

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

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

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Hero Video */
.hero-video {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.3), 0 0 0 3px var(--accent-color);
    background: #111;
    position: relative;
}

@media (min-width: 768px) {
    .video-wrapper {
        max-width: 560px;
    }
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    cursor: pointer;
}

.hero-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fbbf24;
    border: 2px solid rgba(251, 191, 36, 0.5);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.hero-controls button:hover {
    background: rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
}

.video-label {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Sections General */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Grids */
.grid {
    display: grid;
    gap: 1.5rem;
}

.reels-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for mobile/vertical */
}

/* Motion Graphics Grid */
.motion-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .motion-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.motion-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.motion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
}

.motion-card-title {
    padding: 0.75rem 1rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.card-video {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 16px 16px 0 0;
}

.card-video-landscape {
    aspect-ratio: 16/9;
}

.card-video-portrait {
    aspect-ratio: 9/16;
}

.card-video video {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    background: #000;
    object-fit: cover;
}

.card-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

@media (min-width: 768px) {
    .reels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.thumbnails-grid,
.vlogs-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {

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

/* Cards */
.card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: bold;
    position: relative;
}

.placeholder-vertical {
    aspect-ratio: 9/16;
}

.placeholder-horizontal {
    aspect-ratio: 16/9;
}

.placeholder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
}

/* Graphic Design Section */
.graphic-design-section {
    background: #0d0d0d;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .design-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.design-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.design-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Thumbnails Section */
.thumbnails-section {
    background: #111111;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .thumbnails-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.thumbnail-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 16/9;
}

.thumbnail-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Web & App Design Section */
.web-design-section {
    background: #0a0a0a;
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .web-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.web-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.web-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.web-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.web-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    text-align: center;
}


/* Testimonials */
.testimonials-section {
    background: #0a0a0a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
    line-height: 1.7;
    text-align: right;
}

.client-info {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.client-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    /* Left for RTL alignment usually, but button is usually opposite to thumb. Putting it Left/Right based on pref. Images show left. */
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* Responsive Text */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Review Form Section */
.review-section {
    background-color: var(--surface-color);
    border-top: 1px solid #222;
}

.review-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #000;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #121212;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
}

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

/* Play Overlay for Videos */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(251, 191, 36, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    text-align: right;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #111111;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-desc {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
}

.btn-contact {
    display: inline-block;
    background: var(--accent-color);
    color: #000000;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
    background: #f59e0b;
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.carousel-prev {
    right: -25px;
}

.carousel-next {
    left: -25px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-prev {
        right: -10px;
    }

    .carousel-next {
        left: -10px;
    }
}

/* Montage carousel cards (horizontal) */
.carousel-container .montage-card {
    flex: 0 0 350px;
    min-width: 350px;
}

.carousel-container .motion-card {
    flex: 0 0 350px;
    min-width: 350px;
}

/* Reels carousel cards (vertical/portrait) */
.carousel-container .reel-card {
    flex: 0 0 200px;
    min-width: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-container .reel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
}

/* Design carousel cards */
.carousel-container .design-card {
    flex: 0 0 280px;
    min-width: 280px;
}

/* Thumbnails carousel cards */
.carousel-container .thumbnail-card {
    flex: 0 0 320px;
    min-width: 320px;
}

/* Web carousel cards */
.carousel-container .web-card {
    flex: 0 0 280px;
    min-width: 280px;
}

/* Carousel card title */
.carousel-card-title {
    padding: 0.75rem 1rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {

    .carousel-container .montage-card,
    .carousel-container .motion-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .carousel-container .reel-card {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .carousel-container .design-card,
    .carousel-container .web-card {
        flex: 0 0 220px;
        min-width: 220px;
    }

    .carousel-container .thumbnail-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 3rem;
    }
}