:root {
    --primary-color: #00e5ff;
    /* Pulse Cyan */
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary-color: #00acc1;
    --background-color: #0a0a0b;
    /* Deep Void */
    --surface-color: #161618;
    /* Onyx */
    --accent-color: #1e1e21;
    /* Charcoal */
    --text-color: #e2e2e5;
    --light-text: #a0a0aa;
    --white: #ffffff;
    --black: #000000;
    --danger-color: #ff3d00;
    /* Crisis Red */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.sub-title {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.badge {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 229, 255, 0.3);
    margin-bottom: 20px;
    display: inline-block;
}

/* Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header & Top Bar */
.top-header {
    background: var(--accent-color);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-info span {
    margin-right: 25px;
    color: var(--light-text);
}

.top-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

.top-social a {
    color: var(--light-text);
    margin-left: 15px;
    font-size: 14px;
}

.top-social a:hover {
    color: var(--primary-color);
}

.header {
    background: rgba(10, 10, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 40px;
    /* Offset for top-bar */
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    top: 0;
    padding: 12px 0;
    background: rgba(10, 10, 11, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

.logo i {
    color: var(--primary-color);
    margin-right: 8px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary-sm {
    background: var(--primary-color);
    color: var(--black);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary-sm:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--black);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.03), transparent);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary-color), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 19px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--light-text);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 10px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--surface-color);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.floating-card h4 {
    font-size: 16px;
    color: var(--white);
}

.floating-card p {
    font-size: 12px;
    color: var(--light-text);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.icon-blob {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--black);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    font-weight: 800;
}

.experience-badge span {
    display: block;
    font-size: 32px;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.vm-item {
    background: var(--accent-color);
    padding: 20px;
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
}

.vm-item h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 16px;
}

.vm-item p {
    font-size: 13px;
    color: var(--light-text);
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-weight: 500;
}

.about-list i {
    color: var(--primary-color);
}

/* Technology Showcase */
.technology {
    padding: 120px 0;
    background: var(--accent-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-card:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
}

.tech-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Process Section */
.process {
    padding: 120px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    padding: 40px 30px;
    background: var(--surface-color);
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.step-num {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 48px;
    font-weight: 800;
    opacity: 0.05;
    color: var(--white);
}

.step-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
}

/* Emergency Care */
.emergency-care {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 100%);
}

.emergency-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    background: var(--surface-color);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 61, 0, 0.1);
}

.emergency-list {
    margin: 30px 0;
}

.emergency-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.emergency-list i {
    color: var(--danger-color);
}

.btn-emergency {
    background: var(--danger-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    display: inline-block;
}

.btn-emergency:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 61, 0, 0.3);
}

.emergency-image img {
    width: 100%;
    border-radius: 20px;
}

/* Team Section */
.team {
    padding: 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.team-member {
    display: flex;
    gap: 30px;
    background: var(--surface-color);
    padding: 30px;
    border-radius: 30px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.member-img img {
    width: 150px;
    height: 150px;
    border-radius: 24px;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: var(--surface-color);
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-question {
    padding: 25px 30px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--light-text);
    display: none;
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--surface-color);
    padding: 60px;
    border-radius: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 30px;
}

.contact-form-container input,
.contact-form-container select {
    width: 100%;
    background: var(--background-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--white);
}

/* Footer & Other */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

/* Animations System */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-bottom {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-right {
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.active.reveal,
.active.reveal-bottom,
.active.reveal-left,
.active.reveal-right {
    transform: translate(0, 0);
    opacity: 1;
}

/* Specific Hover Enhancements */
.tech-card,
.step-card,
.service-card,
.feature-box,
.team-member {
    transition: var(--transition);
}

.tech-card:hover,
.step-card:hover,
.service-card:hover,
.feature-box:hover,
.team-member:hover {
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--white);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1000px) {
    .header {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        background: rgba(10, 10, 11, 0.99);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 2000;
        padding: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered menu items animation logic */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links li a {
        font-size: 26px;
        font-family: var(--font-heading);
        color: var(--white);
        font-weight: 700;
        letter-spacing: 1px;
    }

    .hamburger {
        z-index: 2001;
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 100px;
    }

    .hero .container,
    .about .container,
    .emergency-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 0 15px;
        text-align: left;
    }

    .hero-image,
    .emergency-image {
        display: none;
    }

    .feature-grid,
    .tech-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .about,
    .technology,
    .process,
    .services,
    .team,
    .faq,
    .contact {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }
}

/* Professional Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(40px);
    z-index: 3000;
    padding: 60px 50px;
    transition: 0.6s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.side-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.close-drawer {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.drawer-links {
    flex: 1;
}

.drawer-links li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.4s ease;
}

.side-drawer.active .drawer-links li {
    opacity: 1;
    transform: translateX(0);
}

.side-drawer.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.side-drawer.active li:nth-child(2) {
    transition-delay: 0.15s;
}

.side-drawer.active li:nth-child(3) {
    transition-delay: 0.2s;
}

.side-drawer.active li:nth-child(4) {
    transition-delay: 0.25s;
}

.side-drawer.active li:nth-child(5) {
    transition-delay: 0.3s;
}

.side-drawer.active li:nth-child(6) {
    transition-delay: 0.35s;
}

.side-drawer.active li:nth-child(7) {
    transition-delay: 0.4s;
}

.side-drawer.active li:nth-child(8) {
    transition-delay: 0.45s;
}

.side-drawer.active li:nth-child(9) {
    transition-delay: 0.5s;
}

.drawer-links a {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.drawer-links a span {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 800;
}

.drawer-links a:hover {
    color: var(--primary-color);
}

.drawer-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-whatsapp {
    color: #25d366;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-top: 10px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Professional Aesthetic Refinements */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/black-linen.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

.hamburger {
    display: block !important;
    /* Visible on all devices for drawer */
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .bar {
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    width: 30px;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    width: 30px;
}

@media (max-width: 600px) {
    .side-drawer {
        width: 100%;
        padding: 60px 30px;
    }
}