/* ==========================================================================
   Nahjaltatweer Landing Page Styles
   ========================================================================== */

/* CSS Variables */
:root {
    --primary: #2E6794;
    --primary-dark: #1e4a6b;
    --secondary: #0079C2;
    --accent: #56B848;
    --text: #1e4a6b;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #48a03d;
    border-color: #48a03d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(86, 184, 72, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

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

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

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

/* Dark nav-links for better visibility */
.nav-link {
    font-weight: 500;
    color: var(--primary-dark);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: var(--primary-dark);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background-color: #48a03d;
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 103, 148, 0.9) 0%, rgba(0, 121, 194, 0.85) 100%);
}

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

.hero-content {
    max-width: 700px;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: var(--white);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.value-item h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-content {
    padding: 25px;
    background-color: var(--white);
}

.product-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-text a:hover {
    color: var(--white);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--bg-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 103, 148, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-services ul li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        color: var(--primary-dark);
        border-bottom: 1px solid var(--bg-gray);
    }

    .nav-cta {
        margin-top: 15px;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    /* About */
    .about-values {
        grid-template-columns: 1fr;
    }

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

    /* Partners */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo {
        min-height: 100px;
        padding: 20px 15px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* Form Success/Error States */
.form-success {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
}

.form-error {
    background-color: #dc3545;
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 0.8s linear infinite;
}

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

/* ==========================================================================
   Haya Med - New Design Styles
   ========================================================================== */

/* Hero Split Design */
.hero-split {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-split .hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.medical-shape {
    position: absolute;
    opacity: 0.15;
}

.medical-shape svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
}

/* Microscope - top right */
.medical-shape.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 15%;
    animation: float-rotate 15s ease-in-out infinite;
}

/* DNA Helix - bottom left */
.medical-shape.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 5%;
    animation: float-rotate 18s ease-in-out infinite reverse;
}

.medical-shape.shape-2 svg {
    color: var(--accent);
}

/* Test Tube - top left */
.medical-shape.shape-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: float-bounce 12s ease-in-out infinite;
}

/* Molecule - center */
.medical-shape.shape-4 {
    width: 100px;
    height: 100px;
    top: 45%;
    left: 25%;
    animation: spin-slow 20s linear infinite;
}

.medical-shape.shape-4 svg {
    color: var(--secondary);
}

/* Heart Rate - bottom right */
.medical-shape.shape-5 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 5%;
    animation: pulse-move 10s ease-in-out infinite;
}

.medical-shape.shape-5 svg {
    color: var(--accent);
}

@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

@keyframes float-bounce {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-move {
    0%, 100% {
        transform: scale(1) translateX(0);
        opacity: 0.15;
    }
    25% {
        transform: scale(1.05) translateX(-10px);
        opacity: 0.2;
    }
    50% {
        transform: scale(0.95) translateX(5px);
        opacity: 0.12;
    }
    75% {
        transform: scale(1.02) translateX(-5px);
        opacity: 0.18;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-split .hero-content {
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-split .hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-split .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-split .hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

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

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    position: relative;
    padding: 30px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-card 3s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #3cb371 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card .card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-card.card-1 {
    top: -20px;
    left: -60px;
}

.floating-card.card-2 {
    bottom: -20px;
    right: -60px;
    animation-delay: 1.5s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.exp-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title-left {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content-new .about-intro {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-content-new p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(86, 184, 72, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.feature-item span {
    font-size: 0.95rem;
}

/* Services New Design */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card-new {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: var(--transition);
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(86, 184, 72, 0.1) 0%, rgba(86, 184, 72, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card-new:hover .service-icon-box {
    background: linear-gradient(135deg, var(--accent) 0%, #3cb371 100%);
}

.service-icon-box svg {
    width: 35px;
    height: 35px;
    color: var(--accent);
    transition: var(--transition);
}

.service-card-new:hover .service-icon-box svg {
    color: var(--white);
}

.service-card-new h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card-new p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Responsive for new design */
@media (max-width: 1024px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 0 60px;
    }

    .hero-split .hero-title {
        font-size: 2.2rem;
    }

    .hero-split .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .floating-card {
        display: none;
    }

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

    .experience-badge {
        right: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   Floating Buttons (WhatsApp & Back to Top)
   ========================================================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn svg {
    width: 28px;
    height: 28px;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
    color: var(--white);
}

.whatsapp-btn:hover {
    background-color: #20bd5a;
}

/* Back to Top Button */
.back-to-top {
    background-color: var(--primary);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   Hero DNA Animation (from exnrt.com - adapted with green colors)
   ========================================================================== */
.dna-wrapper {
    position: absolute;
    top: 0;
    right: 8%;
    width: 400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.dna-material {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: rotateZ(-20deg) scale(1.3);
}

@keyframes dnaRotate {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}

.dna {
    position: relative;
    width: 2px;
    height: 160px;
    border: 1px dotted rgba(86, 184, 72, 0.5);
    box-shadow: 0 0 12px rgba(86, 184, 72, 0.4);
    background: transparent;
    margin: 0 10px;
    animation: dnaRotate 3s linear infinite;
}

.dna::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(86, 184, 72, 0.5);
}

.dna::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #2dd4bf;
    border-radius: 50%;
    box-shadow: 0 0 20px #2dd4bf, 0 0 40px rgba(45, 212, 191, 0.5);
}

.dna:nth-child(1) { animation-delay: -0.15s; }
.dna:nth-child(2) { animation-delay: -0.3s; }
.dna:nth-child(3) { animation-delay: -0.45s; }
.dna:nth-child(4) { animation-delay: -0.6s; }
.dna:nth-child(5) { animation-delay: -0.75s; }
.dna:nth-child(6) { animation-delay: -0.9s; }
.dna:nth-child(7) { animation-delay: -1.05s; }
.dna:nth-child(8) { animation-delay: -1.2s; }
.dna:nth-child(9) { animation-delay: -1.35s; }
.dna:nth-child(10) { animation-delay: -1.5s; }
.dna:nth-child(11) { animation-delay: -1.65s; }
.dna:nth-child(12) { animation-delay: -1.8s; }
.dna:nth-child(13) { animation-delay: -1.95s; }
.dna:nth-child(14) { animation-delay: -2.1s; }
.dna:nth-child(15) { animation-delay: -2.25s; }
.dna:nth-child(16) { animation-delay: -2.4s; }

/* Responsive floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .dna-wrapper {
        display: none;
    }
}

/* ==========================================================================
   Enhanced Mobile Styles for Hero Section
   ========================================================================== */
@media (max-width: 768px) {
    .hero-split {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 15px 40px;
        gap: 30px;
        min-height: auto;
    }

    .hero-split .hero-content {
        padding: 0 10px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
        margin-bottom: 15px;
    }

    .hero-split .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-split .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .hero-split .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    .hero-split .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .stat-item {
        min-width: 80px;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-image {
        padding: 15px;
        order: -1;
    }

    .hero-image-wrapper img {
        height: 250px;
        border-radius: 15px;
    }

    .hero-bg-shapes {
        display: none;
    }

    .medical-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        padding: 90px 10px 30px;
    }

    .hero-split .hero-title {
        font-size: 1.5rem;
    }

    .hero-split .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-image-wrapper img {
        height: 200px;
    }

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

/* ==========================================================================
   Mobile Medical Animation (replaces hero image on mobile)
   ========================================================================== */
/* removed */ .mobile-medical-animation-old {
    display: none;
}

@media (max-width: 768px) {
    /* removed */ .mobile-medical-animation-old {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .hero-image {
        display: block;
    }

    /* DNA Helix Animation */
    .dna-helix {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transform: rotateZ(-15deg);
    }

    .dna-strand {
        width: 3px;
        height: 100px;
        background: linear-gradient(180deg, 
            var(--accent) 0%, 
            transparent 50%, 
            var(--primary) 100%);
        border-radius: 10px;
        position: relative;
        animation: dnaWave 2s ease-in-out infinite;
    }

    .dna-strand::before,
    .dna-strand::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        left: -4.5px;
    }

    .dna-strand::before {
        top: -6px;
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent);
    }

    .dna-strand::after {
        bottom: -6px;
        background: var(--primary);
        box-shadow: 0 0 10px var(--primary);
    }

    .dna-strand:nth-child(1) { animation-delay: 0s; }
    .dna-strand:nth-child(2) { animation-delay: 0.15s; }
    .dna-strand:nth-child(3) { animation-delay: 0.3s; }
    .dna-strand:nth-child(4) { animation-delay: 0.45s; }
    .dna-strand:nth-child(5) { animation-delay: 0.6s; }
    .dna-strand:nth-child(6) { animation-delay: 0.75s; }
    .dna-strand:nth-child(7) { animation-delay: 0.9s; }
    .dna-strand:nth-child(8) { animation-delay: 1.05s; }

    @keyframes dnaWave {
        0%, 100% {
            transform: scaleY(1) rotateX(0deg);
            opacity: 0.8;
        }
        50% {
            transform: scaleY(1.3) rotateX(180deg);
            opacity: 1;
        }
    }

    /* Floating Molecules */
    .floating-molecules {
        position: absolute;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .molecule {
        position: absolute;
        opacity: 0.3;
    }

    .molecule svg {
        width: 100%;
        height: 100%;
        color: var(--primary);
    }

    .molecule.m1 {
        width: 40px;
        height: 40px;
        top: 10%;
        left: 10%;
        animation: floatMolecule 4s ease-in-out infinite;
    }

    .molecule.m2 {
        width: 50px;
        height: 50px;
        top: 20%;
        right: 15%;
        animation: floatMolecule 5s ease-in-out infinite reverse;
    }

    .molecule.m2 svg {
        color: var(--accent);
    }

    .molecule.m3 {
        width: 35px;
        height: 35px;
        bottom: 15%;
        left: 20%;
        animation: floatMolecule 3.5s ease-in-out infinite;
    }

    .molecule.m3 svg {
        color: var(--secondary);
    }

    @keyframes floatMolecule {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(-15px) rotate(10deg);
        }
    }
}

/* ==========================================================================
   New Mobile Medical Animation - Pulse Ring Design
   ========================================================================== */
@media (max-width: 768px) {
    /* removed */ .mobile-medical-animation-old {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        height: 220px;
        margin: 0 auto 30px;
    }

    .hero-image {
        display: block;
    }

    /* Pulse Ring Animation */
    .pulse-ring {
        position: relative;
        width: 150px;
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ring {
        position: absolute;
        border: 2px solid var(--accent);
        border-radius: 50%;
        animation: pulseRing 2.5s ease-out infinite;
    }

    .ring.r1 {
        width: 80px;
        height: 80px;
        animation-delay: 0s;
    }

    .ring.r2 {
        width: 110px;
        height: 110px;
        animation-delay: 0.5s;
    }

    .ring.r3 {
        width: 140px;
        height: 140px;
        animation-delay: 1s;
    }

    @keyframes pulseRing {
        0% {
            transform: scale(0.8);
            opacity: 1;
        }
        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }

    /* Medical Cross in Center */
    .medical-cross {
        position: relative;
        width: 50px;
        height: 50px;
        z-index: 10;
    }

    .medical-cross span {
        position: absolute;
        background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
        border-radius: 4px;
    }

    .medical-cross span:first-child {
        width: 50px;
        height: 14px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .medical-cross span:last-child {
        width: 14px;
        height: 50px;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    /* Floating Medical Icons */
    .floating-icons {
        position: absolute;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .float-icon {
        position: absolute;
        width: 35px;
        height: 35px;
        opacity: 0.6;
        animation: floatIcon 4s ease-in-out infinite;
    }

    .float-icon svg {
        width: 100%;
        height: 100%;
        stroke: var(--primary);
    }

    .float-icon.i1 {
        top: 10px;
        right: 20%;
        animation-delay: 0s;
    }

    .float-icon.i1 svg {
        stroke: var(--accent);
    }

    .float-icon.i2 {
        bottom: 20px;
        left: 15%;
        animation-delay: 1s;
    }

    .float-icon.i3 {
        top: 50%;
        left: 10%;
        transform: translateY(-50%);
        animation-delay: 2s;
    }

    .float-icon.i3 svg {
        stroke: var(--secondary);
    }

    @keyframes floatIcon {
        0%, 100% {
            transform: translateY(0);
            opacity: 0.6;
        }
        50% {
            transform: translateY(-12px);
            opacity: 0.9;
        }
    }
}

/* ==========================================================================
   Color Consistency Fix - تصحيح تناسق الألوان
   ========================================================================== */

/* Hero Section Text Colors */
.hero-split .hero-content {
    color: var(--primary-dark);
}

.hero-split .hero-title {
    color: var(--primary-dark);
}

.hero-split .hero-subtitle {
    color: var(--text-light);
}

/* Section Headers - consistent dark text on light backgrounds */
.section-title {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-light);
}

.section-title-left {
    color: var(--primary);
}

.section-tag {
    color: var(--accent);
}

/* About Section */
.about-content-new .about-intro {
    color: var(--primary);
}

.about-content-new p {
    color: var(--text-light);
}

/* Services Section - Light background */
.services {
    background-color: var(--bg-light);
}

.service-card-new h3 {
    color: var(--primary);
}

.service-card-new p {
    color: var(--text-light);
}

/* Products Section - White background */
.products {
    background-color: var(--white);
}

.product-content h3 {
    color: var(--primary);
}

.product-content p {
    color: var(--text-light);
}

/* Partners Section */
.partners {
    background-color: var(--bg-light);
}

/* Contact Section - Gradient background with white text */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-text h4 {
    color: var(--white);
}

.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.9);
}

/* Stats in Hero */
.stat-number {
    color: var(--primary);
}

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

/* Feature items */
.feature-item span {
    color: var(--primary-dark);
}

/* Footer - Dark background */
.footer {
    background-color: var(--primary-dark);
}

.footer h4 {
    color: var(--white);
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Navigation - Dark text for visibility */
.nav-link {
    color: var(--primary-dark);
    font-weight: 600;
}

.header.scrolled .nav-link {
    color: var(--primary-dark);
}

.nav-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   Enhanced Hero Animation Shapes
   ========================================================================== */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.medical-shape {
    position: absolute;
    opacity: 0.25;
}

.medical-shape svg {
    width: 100%;
    height: 100%;
}

/* Microscope - top right */
.medical-shape.shape-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 10%;
    animation: float-up-down 6s ease-in-out infinite;
}

.medical-shape.shape-1 svg {
    stroke: var(--primary);
}

/* DNA Helix - left side */
.medical-shape.shape-2 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    animation: float-rotate 8s ease-in-out infinite;
}

.medical-shape.shape-2 svg {
    stroke: var(--accent);
}

/* Test Tube - top left */
.medical-shape.shape-3 {
    width: 70px;
    height: 70px;
    top: 25%;
    left: 15%;
    animation: float-up-down 5s ease-in-out infinite;
    animation-delay: 1s;
}

.medical-shape.shape-3 svg {
    stroke: var(--secondary);
}

/* Molecule - center right */
.medical-shape.shape-4 {
    width: 90px;
    height: 90px;
    top: 50%;
    right: 20%;
    animation: spin-slow 15s linear infinite;
}

.medical-shape.shape-4 svg {
    stroke: var(--primary);
}

/* Heart Rate - bottom right */
.medical-shape.shape-5 {
    width: 150px;
    height: 80px;
    bottom: 15%;
    right: 8%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.medical-shape.shape-5 svg {
    stroke: var(--accent);
    stroke-width: 2;
}

/* Animations */
@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* Add more floating shapes */
.hero-split::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(86, 184, 72, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 30%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-split::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 103, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    right: 25%;
    animation: pulse-glow 5s ease-in-out infinite;
    animation-delay: 2s;
}

/* Hide on mobile for performance */
@media (max-width: 768px) {
    .medical-shape {
        opacity: 0.15;
    }
    
    .medical-shape.shape-1,
    .medical-shape.shape-4 {
        display: none;
    }
    
    .hero-split::before,
    .hero-split::after {
        display: none;
    }
}

/* ==========================================================================
   New Hero Section - NahjAltatweer Style
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 74, 107, 0.92) 0%, rgba(0, 121, 194, 0.88) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.hero-buttons .btn-primary:hover {
    background-color: #48a03d;
    border-color: #48a03d;
}

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

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

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

/* DNA Animation */
.dna-wrapper {
    position: absolute;
    top: 0;
    right: 8%;
    width: 400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

.dna-material {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: rotateZ(-20deg) scale(1.3);
}

@keyframes dnaRotate {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}

.dna {
    position: relative;
    width: 2px;
    height: 160px;
    border: 1px dotted rgba(86, 184, 72, 0.5);
    box-shadow: 0 0 12px rgba(86, 184, 72, 0.4);
    background: transparent;
    margin: 0 10px;
    animation: dnaRotate 3s linear infinite;
}

.dna::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(86, 184, 72, 0.5);
}

.dna::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #2dd4bf;
    border-radius: 50%;
    box-shadow: 0 0 20px #2dd4bf, 0 0 40px rgba(45, 212, 191, 0.5);
}

.dna:nth-child(1) { animation-delay: -0.15s; }
.dna:nth-child(2) { animation-delay: -0.3s; }
.dna:nth-child(3) { animation-delay: -0.45s; }
.dna:nth-child(4) { animation-delay: -0.6s; }
.dna:nth-child(5) { animation-delay: -0.75s; }
.dna:nth-child(6) { animation-delay: -0.9s; }
.dna:nth-child(7) { animation-delay: -1.05s; }
.dna:nth-child(8) { animation-delay: -1.2s; }
.dna:nth-child(9) { animation-delay: -1.35s; }
.dna:nth-child(10) { animation-delay: -1.5s; }
.dna:nth-child(11) { animation-delay: -1.65s; }
.dna:nth-child(12) { animation-delay: -1.8s; }
.dna:nth-child(13) { animation-delay: -1.95s; }
.dna:nth-child(14) { animation-delay: -2.1s; }
.dna:nth-child(15) { animation-delay: -2.25s; }
.dna:nth-child(16) { animation-delay: -2.4s; }

/* Hero Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .dna-wrapper {
        display: none;
    }
}

/* ==========================================================================
   Fixed Navbar Colors for Dark Hero
   ========================================================================== */
.nav-link {
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: var(--primary-dark);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-toggle span {
    background-color: var(--white);
}

.header.scrolled .nav-toggle span {
    background-color: var(--primary-dark);
}

/* Nav CTA button */
.nav-cta {
    background-color: var(--accent);
    color: var(--white) !important;
}

.header.scrolled .nav-cta {
    color: var(--white) !important;
}

/* ==========================================================================
   Enhanced DNA Animation
   ========================================================================== */
.dna-wrapper {
    position: absolute;
    top: 0;
    right: 8%;
    width: 400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
    perspective: 1000px;
}

.dna-material {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: rotateZ(-20deg) scale(1.3);
    perspective: 500px;
}

.dna {
    position: relative;
    width: 3px;
    height: 180px;
    border: 1px dotted rgba(86, 184, 72, 0.6);
    box-shadow: 0 0 15px rgba(86, 184, 72, 0.5);
    background: transparent;
    margin: 0 12px;
    animation: dnaRotate 3s linear infinite;
    transform-style: preserve-3d;
}

.dna::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -9px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--accent), 0 0 50px rgba(86, 184, 72, 0.6);
}

.dna::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -9px;
    width: 20px;
    height: 20px;
    background: #2dd4bf;
    border-radius: 50%;
    box-shadow: 0 0 25px #2dd4bf, 0 0 50px rgba(45, 212, 191, 0.6);
}

@keyframes dnaRotate {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}
