/* Global Styles */
:root {
    --primary-color: #004e92;
    --secondary-color: #000428;
    --accent-color: #00c6ff;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    /* Increased for better Arabic readability */
    font-size: 16px;
    /* Ensuring base size is at least 16px */
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 100px 0;
    /* Increased vertical spacing between sections */
}

.bg-light {
    background-color: var(--bg-light);
}

.dark-mode {
    background-color: var(--secondary-color);
    color: var(--white);
}

.dark-mode h2,
.dark-mode h3 {
    color: var(--accent-color);
    /* Headings in dark areas use the accent color */
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .logo img {
        height: 45px !important;
    }
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    /* Bolder font weight for readability */
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    /* RTL */
    background: var(--primary-color);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(0, 78, 146, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 78, 146, 0.2);
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Presentations/pictures/شركة-التنمية-والتعمير_compressed/شركة التنمية والتعمير_compressed_page-0013.jpg') no-repeat center top/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 4, 40, 0.8), rgba(0, 78, 146, 0.4));
    /* Slightly darker for better text contrast */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#hero h1 {
    font-size: 4rem;
    /* Slightly larger */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Better readability */
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

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

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    /* Subtle lift effect */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    /* Subtle lift effect */
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.scroll-down:hover {
    color: var(--accent-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.text-gradient {
    background: -webkit-linear-gradient(var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    /* Added for standard compatibility */
    -webkit-text-fill-color: transparent;
}

.line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features li {
    margin: 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features i {
    color: var(--primary-color);
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensures perfect vertical alignment */
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .feature-card {
        padding: 25px 20px;
    }

    .feature-card .icon {
        font-size: 2rem;
    }

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

/* Projects Grid Enhancements */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.project-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.project-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 78, 146, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .overlay {
    opacity: 1;
}

.project-item .overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.project-item:hover .overlay i {
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 100%;
        max-height: 70vh;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-lightbox,
.next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background: rgba(0, 0, 0, 0.5);
}

.next-lightbox {
    right: 15px;
    /* RTL - actually on the right visually */
    border-radius: 3px 0 0 3px;
}

.prev-lightbox {
    left: 15px;
    /* RTL - actually on the left visually */
    border-radius: 3px 0 0 3px;
}

/* Agencies Section */
.agencies-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.agency-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 350px;
    border: 1px solid #eee;
    transition: var(--transition);
}

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

.agency-logo {
    margin-bottom: 20px;
}

/* Gaina Special Section */
.gaina-divider {
    height: 60px;
    background: var(--secondary-color);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.gaina-badge {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    position: absolute;
    top: -25px;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
}

/* Gaina Sections */
.gaina-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .gaina-intro {
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
    }

    .gaina-text h3 {
        font-size: 1.8rem;
    }
}

.gaina-text {
    flex: 0.8;
}

.gaina-features-list {
    margin-top: 20px;
}

.gaina-features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.gaina-features-list i {
    color: var(--accent-color);
    margin-left: 10px;
}

/* New Gaina Components */
.gaina-specs-banner {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 500;
}

.spec-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.eco-benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.eco-benefit {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.eco-benefit:hover {
    background: rgba(0, 198, 255, 0.05);
    transform: translateY(-5px);
}

.eco-benefit i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.eco-benefit h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.eco-benefit p {
    color: var(--white);
}

.surfaces-section {
    text-align: center;
    margin-top: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0.02), transparent);
    padding: 50px 20px;
    border-radius: 30px;
}

.surfaces-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.application-tags span {
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 198, 255, 0.3);
    font-size: 0.95rem;
    font-weight: 600;
}

.roi-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--gradient);
    padding: 30px 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 78, 146, 0.3);
}

@media (max-width: 768px) {
    .roi-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

.roi-icon {
    font-size: 2.5rem;
    color: var(--white);
}

.roi-text {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.7;
}

.gaina-visual {
    flex: 1.2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gaina-visual img {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gaina-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dark-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-card h3 {
    color: var(--accent-color);
}

.dark-card p {
    color: var(--white);
    font-size: 0.95rem;
}

.gaina-bridge {
    margin-top: 20px;
    padding: 15px;
    border-right: 4px solid var(--accent-color);
    background: rgba(0, 198, 255, 0.1);
    font-style: italic;
    color: var(--accent-color) !important;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 78, 146, 0.2), transparent);
    margin: 40px 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

.gallery-item video,
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.caption {
    padding: 10px;
    text-align: center;
    background: #fff;
    font-weight: bold;
}

/* ROI Section */
#roi {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.roi-content {
    max-width: 800px;
    margin: 0 auto;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    margin: 20px;
}

.stat-item .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-item .label {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #111;
    color: #eee;
    padding: 60px 0 20px;
}

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

.footer-logo {
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.award-highlight {
    font-weight: 700;
    color: #ff5252;
    /* Brighter red for dark mode visibility */
    border-right: 4px solid #ff5252;
    padding-right: 15px;
}

.unido-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    color: var(--white);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.unido-badge i {
    color: gold;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .grand-prize-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .award-highlight {
        border-right: none;
        border-top: 2px solid #d32f2f;
        padding-right: 0;
        padding-top: 15px;
    }
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    #hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 1rem;
    }

    .about-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        max-height: 300px !important;
    }

    nav {
        display: none;
    }

    .header-actions {
        display: flex;
    }

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

    /* Better Mobile Nav Styling */
    nav.active {
        display: block !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    nav.active ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav.active a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }
}

/* Product Gallery */
.product-gallery-container {
    margin: 40px auto 60px;
    max-width: 1000px;
    padding: 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .product-gallery-container {
        padding: 15px;
        margin: 20px auto 40px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .product-gallery-container {
        padding: 5px;
        width: 100%;
        border-radius: 0;
        margin: 10px 0 30px;
    }

    .main-display {
        border-radius: 8px;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-display {
    position: relative;
    width: 100%;
    height: 600px;
    background: #f9f9f9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .main-display {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-display {
        height: 250px;
    }
}

.main-img-wrapper {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.main-img-wrapper:hover .zoom-hint {
    opacity: 1;
}

.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent background */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.gallery-control:hover {
    background: var(--primary-color);
    color: #fff;
}

.gallery-control.prev {
    right: 20px;
}

.gallery-control.next {
    left: 20px;
}

.thumbnails-row {
    display: flex;
    justify-content: flex-start;
    /* Better for scrolling */
    gap: 15px;
    padding: 10px 0;
    overflow-x: auto;
    /* Enable horizontal scroll */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll iOS */
}

.thumbnails-row::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f0f0f0;
}

@media (max-width: 480px) {
    .thumb {
        width: 70px;
        height: 70px;
    }
}

/* Video Zigzag Section */
.video-zigzag-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.video-zigzag-item.reverse {
    flex-direction: row-reverse;
}

.zigzag-text {
    flex: 1;
}

.zigzag-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.zigzag-text p {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
}

.zigzag-video {
    flex: 1.2;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.zigzag-video video,
.zigzag-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

@media (max-width: 768px) {

    .video-zigzag-item,
    .video-zigzag-item.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}


.award-logo-balance {
    max-width: 180px !important;
    margin: 0 auto;
    background: transparent !important;
    box-shadow: none !important;
}

.award-logo-balance img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 198, 255, 0.2));
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb.active {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3);
}

.thumb:hover:not(.active) {
    transform: translateY(-5px);
    border-color: #ddd;
}

/* Exclusive Agent Card */
.exclusive-agent-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 78, 146, 0.1);
    border: 1px solid rgba(0, 78, 146, 0.05);
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.exclusive-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: var(--gradient);
}

.agent-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FFD700;
    color: #333;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.agent-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.agent-logo-small {
    height: 80px;
    width: auto;
}

.agent-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 15px;
    color: var(--accent-color);
}


@media (max-width: 768px) {
    .agent-content {
        flex-direction: column;
        text-align: center;
    }

    .agent-badge {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        justify-content: center;
    }
}

/* Premium Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 78, 146, 0.08);
    border: 1px solid rgba(0, 78, 146, 0.05);
}

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

@media (max-width: 600px) {
    .premium-form .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #edf2f7;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 198, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.premium-form .btn {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-form .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
}