:root {
    --primary: #00416A;
    --primary-light: #2F7336;
    --accent: #FFD700;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #F8FBFF;
    --glass: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --gradient: linear-gradient(135deg, #00416A 0%, #2F7336 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 65, 106, 0.05) 0%, rgba(47, 115, 54, 0.05) 100%);
}

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

img {
    max-width: 100%;
    height: auto;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

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

/* Background Blobs */
#blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    animation: move-blobs 20s infinite alternate linear;
}

.blob:nth-child(2) {
    top: 60%;
    right: -100px;
    animation-delay: -5s;
    background: linear-gradient(135deg, #2F7336 0%, #FFD700 100%);
}

@keyframes move-blobs {
    from {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    to {
        transform: translate(10%, 10%) rotate(360deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.9rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.logo-text:hover {
    color: var(--primary-light);
}

.logo-text .accent {
    color: var(--primary-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle i {
    width: 28px;
    height: 28px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.close-menu {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.desktop-only {
    display: inline-block;
}

.cta-button {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 65, 106, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 65, 106, 0.4);
}

/* Hero Section */
.hero {
    padding: 6rem 0 3rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('images/hero-bg-v2.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 251, 255, 0.4);
    z-index: 0;
}

.hero>div {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    background: var(--gradient-soft);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-stats-main {
    display: flex;
    gap: 0.8rem;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-top: 1rem;
}

.stat-card.main {
    background: var(--gradient);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 65, 106, 0.1);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.stat-card.main.secondary {
    background: white;
    color: var(--primary);
    border: 1px solid rgba(0, 65, 106, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-card.main.secondary .stat-number {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card.main.secondary .stat-label {
    color: var(--text-light);
}

.stat-card.main::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

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

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(47, 115, 54, 0.4) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: glow-pulse 4s infinite alternate ease-in-out;
}

@keyframes glow-pulse {
    from {
        transform: scale(1);
        opacity: 0.4;
    }

    to {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.hero-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.25));
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.overlay-card {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    z-index: 10;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Collaboration Form */
.collaboration-section {
    padding: 6rem 0;
    background: #E1F1F9;
    /* Light blue background like in the image */
}

.form-wrapper {
    padding: 4rem;
    background: transparent;
    box-shadow: none;
    border: none;
    text-align: center;
}

.form-header {
    margin-bottom: 3rem;
}

.form-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #000;
}

.collab-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.collab-form input,
.collab-form select,
.collab-form textarea {
    width: 100%;
    padding: 1rem;
    background: #286380;
    /* Dark teal background from image */
    border: 3px solid #022c44;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.collab-form input::placeholder,
.collab-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.collab-form select {
    appearance: none;
    cursor: pointer;
}

.form-textarea textarea {
    height: 100%;
    resize: none;
}

.form-footer {
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: #00A651 !important;
    /* Green from image */
    color: white;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    border: 4px solid #02572c !important;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: none;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

@media (max-width: 968px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .form-textarea textarea {
        height: 150px;
    }
}

/* Quote Section */
.quote-section {
    padding: 6rem 0;
}

.quote-container {
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    color: white;
    position: relative;
}

.gradient-bg {
    background: var(--gradient);
}

.quote-icon {
    font-size: 8rem;
    position: absolute;
    top: -2rem;
    left: 2rem;
    opacity: 0.2;
    font-family: serif;
}

.quote-text-arabic {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 1px;
}

.quote-text {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Impact Section */
.impact-section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    background: white;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 65, 106, 0.1);
}

.impact-card.highlight {
    background: #fff;
    border: 2px solid var(--primary-light);
}

.impact-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.impact-icon i {
    width: 48px;
    height: 48px;
}

.impact-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.impact-card p {
    color: var(--text-light);
    font-weight: 600;
}

/* Calculation Table */
.calc-section {
    padding: 4rem 0;
}

.calc-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem;
    border-radius: 32px;
    background: white;
    border: 1px solid #eee;
}

.calc-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.math-expr {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.operator {
    color: var(--text-light);
    font-weight: 400;
}

.result {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
}

/* Features/Tech Section */
.tech-section {
    padding: 8rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.features-list li div:last-child {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.list-icon {
    color: var(--primary-light);
    flex-shrink: 0;
}

.rounded-glow {
    border-radius: 32px;
    box-shadow: 0 0 30px rgba(47, 115, 54, 0.15);
}

/* FAQ */
.faq-section {
    padding: 8rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.faq-item[open] {
    background: #fdfdfd;
}

.faq-item summary {
    font-weight: 700;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 1rem;
    color: var(--text-light);
}

/* CTA */
.cta-banner {
    padding: 6rem;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.cta-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.cta-button.white {
    background: white;
    color: var(--primary);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Models Page Specifics */
.models-hero {
    padding-top: 10rem;
    text-align: center;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.product-card {
    padding: 2rem;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s;
    overflow: hidden;
    position: relative;
}

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

.product-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    background: transparent;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge.available {
    background: var(--primary-light);
    color: white;
}

.badge.progress {
    background: var(--accent);
    color: var(--text-dark);
}

.price-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-soft);
    color: var(--primary-light);
    border-radius: 8px;
    font-weight: 800;
    margin: 1.5rem 0 1rem;
}

.specs {
    list-style: none;
    margin: 1.5rem 0;
}

.specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.color-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.dot.silver {
    background: #e0e0e0;
}

.dot.black {
    background: #1a1a1a;
}

.development-step {
    margin-top: 2rem;
}

.progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.progress-bar .fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
}

.safety-grid {
    display: flex;
    gap: 3rem;
    padding: 4rem;
    margin-top: 4rem;
    align-items: center;
    background: white;
}

.safety-icon {
    font-size: 4rem;
    color: var(--primary-light);
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert {
    padding: 1rem;
    border-left: 4px solid var(--primary-light);
    background: #f9f9f9;
    font-size: 0.85rem;
    border-radius: 0 12px 12px 0;
}

@media (max-width: 968px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        flex-direction: column;
        text-align: center;
    }
}

/* Impact Page Specifics */
.impact-hero {
    padding-top: 10rem;
    text-align: center;
}

.vision-section {
    padding: 6rem 0;
}

.vision-card {
    padding: 4rem;
    border-radius: 40px;
    background: white;
}

.quote-box {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.quote-box .arabic {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.quote-box p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
}

.quote-box cite {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-light);
}

.stats-deep-dive {
    padding: 6rem 0;
    background: #fdfdfd;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-visual {
    margin-bottom: 1.5rem;
}

.stat-detail h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.stat-detail p {
    color: var(--text-light);
    max-width: 350px;
    margin: 0 auto;
}

.story-section {
    padding: 6rem 0;
}

.story-card {
    padding: 4rem;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.yellow-text {
    color: var(--accent);
}

.benefit-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.benefit-pills li {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

/* Video Modal */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px; /* Suitable for Shorts */
    background: black;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.3s ease-out;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 16:9 aspect ratio reversed (9/16 for Shorts) */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.4);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Responsive Overhaul --- */

@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }

    h1 {
        font-size: 3.2rem;
    }

    .tech-grid {
        gap: 3rem;
    }
}

/* Tablets (Under 968px) */
@media (max-width: 968px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-links,
    .desktop-only {
        display: none !important;
    }

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

    .hero {
        padding: 5rem 0 2rem;
        min-height: auto;
        background-attachment: scroll;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 1rem;
        gap: 1.5rem;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image-container {
        order: 2;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1rem;
    }

    .hero-img {
        width: 100%;
        transform: none !important;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats-main {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    .stat-card.main {
        min-width: 100px;
        padding: 0.6rem 0.8rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.6rem;
        white-space: normal;
    }

    /* Reduce section padding for mobile */
    .collaboration-section,
    .quote-section,
    .impact-section,
    .calc-section,
    .tech-section,
    .faq-section,
    .cta-section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Form Responsive */
    .form-wrapper {
        padding: 2rem 1.25rem;
    }

    .form-header {
        margin-bottom: 1.5rem;
    }

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

    .form-tagline {
        font-size: 1.1rem;
    }

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

    .input-row {
        grid-template-columns: 1fr;
    }

    .form-textarea textarea {
        height: 120px;
    }

    /* Quote */
    .quote-container {
        padding: 3rem 2rem;
        border-radius: 24px;
    }

    .quote-text-arabic {
        font-size: 1.6rem;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    /* Impact */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .impact-card {
        padding: 2rem 1rem;
    }

    .impact-card h3 {
        font-size: 1.8rem;
    }

    /* Calc */
    .calc-card {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .math-expr {
        justify-content: center;
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    /* Tech / Benefits Section */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-image p {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        text-align: center;
    }

    .tech-img {
        width: 100%;
    }

    /* CTA */
    .cta-banner {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    .cta-banner p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    /* Impact Page */
    .impact-hero {
        padding-top: 8rem;
    }

    .vision-card {
        padding: 2rem;
        border-radius: 24px;
    }

    .quote-box .arabic {
        font-size: 1.8rem;
    }

    .quote-box p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    /* Models Page */
    .models-hero {
        padding-top: 8rem;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .safety-grid {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

/* Mobile Devices (Under 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    .tagline {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    /* Hero */
    .hero {
        padding: 4.5rem 0 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-stats-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 0.4rem;
        padding: 0.5rem 0;
        flex-wrap: nowrap;
    }

    .stat-card.main:first-child {
        grid-column: span 2;
    }

    .stat-card.main {
        padding: 0.5rem 0.6rem;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.55rem;
        white-space: normal;
    }

    /* Quote */
    .quote-section {
        padding: 2rem 0;
    }

    .quote-container {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .quote-icon {
        font-size: 4rem;
        top: -1rem;
        left: 1rem;
    }

    .quote-text-arabic {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .quote-text {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .quote-author {
        font-size: 0.85rem;
    }

    /* Impact */
    .impact-section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .impact-card {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
    }

    .impact-card h3 {
        font-size: 1.4rem;
    }

    .impact-card p {
        font-size: 0.75rem;
    }

    .impact-icon i {
        width: 32px;
        height: 32px;
    }

    .impact-icon {
        margin-bottom: 0.75rem;
    }

    /* Calc */
    .calc-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
        gap: 1rem;
    }

    .calc-content h3 {
        font-size: 1.3rem;
    }

    .math-expr {
        font-size: 0.95rem;
        gap: 0.5rem;
    }

    .result {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Tech / Benefits */
    .tech-section {
        padding: 2rem 0;
    }

    .tech-grid {
        gap: 1.5rem;
    }

    .features-list {
        margin-top: 0.75rem;
    }

    .features-list li {
        margin-bottom: 1rem;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .features-list li div:last-child {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .list-icon {
        font-size: 1.1rem;
        margin-top: 0.1rem;
    }

    /* FAQ */
    .faq-section {
        padding: 2rem 0;
    }

    .faq-item summary {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.875rem;
    }

    /* Form */
    .collaboration-section {
        padding: 2rem 0;
    }

    .form-wrapper {
        padding: 1.5rem 1rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-tagline {
        font-size: 0.95rem;
    }

    .collab-form input,
    .collab-form select,
    .collab-form textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* CTA */
    .cta-banner {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .cta-banner p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-actions {
        gap: 0.75rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .whatsapp-btn {
        justify-content: center;
        font-size: 1rem;
    }

    /* Impact Page */
    .impact-hero {
        padding-top: 7rem;
    }

    .vision-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .quote-box .arabic {
        font-size: 1.4rem;
    }

    .quote-box p {
        font-size: 0.95rem;
    }

    .vision-card .explanation {
        font-size: 0.9rem;
    }

    .stats-deep-dive {
        padding: 2rem 0;
    }

    .stat-detail h3 {
        font-size: 1.4rem;
    }

    .stat-detail p {
        font-size: 0.875rem;
    }

    .story-section {
        padding: 2rem 0;
    }

    .story-card {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .story-card h2 {
        font-size: 1.5rem !important;
    }

    .story-card p {
        font-size: 0.9rem;
    }

    .benefit-pills {
        gap: 0.5rem;
        margin: 1.5rem 0 2rem;
    }

    .benefit-pills li {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Models Page */
    .models-hero {
        padding-top: 7rem;
    }

    .product-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .product-image {
        height: 220px;
    }

    .safety-grid {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.875rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}