* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a1929;
    --secondary-dark: #1a2d52;
    --accent-blue: #00d4ff;
    --accent-cyan: #00ffff;
    --accent-green: #00ff88;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --border-glow: rgba(0, 212, 255, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-blue);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color: var(--primary-dark);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 35px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-emergency {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, rgba(0, 212, 255, 0.05) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 15%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeIn 0.8s ease-in forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease-in 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-in 0.6s forwards;
    opacity: 0;
}

.fade-in-scroll {
    animation: fadeInScroll 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* ========== ABOUT SECTION ========== */
.about {
    background: linear-gradient(135deg, rgba(26, 45, 82, 0.5) 0%, rgba(10, 25, 41, 0.8) 100%);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(26, 45, 82, 0.6) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.02) 100%);
    border: 2px solid var(--border-glow);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.service-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.05);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose {
    background: linear-gradient(135deg, rgba(26, 45, 82, 0.7) 0%, var(--primary-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.feature-item h3 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========== GALLERY SECTION ========== */
.gallery {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(26, 45, 82, 0.6) 100%);
}

.gallery .section-header p {
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-top: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid var(--border-glow);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* ========== LIGHTBOX MODAL ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeInLightbox 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInLightbox {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.lightbox-close:hover {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 1rem;
    user-select: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
    transform: translateY(-50%) scale(1.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}


/* ========== CONTACT SECTION ========== */
.contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(26, 45, 82, 0.5) 100%);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid var(--border-glow);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.contact-item h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.contact-item a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-green);
}

.social-link {
    display: inline-block;
    margin-top: 0.5rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-blue);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.footer p {
    margin: 0.5rem 0;
}

.footer strong {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* ========== MOBILE RESPONSIVENESS ========== */
@media (max-width: 768px) {
    .navbar-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-emergency {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .section-padding {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 50px;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
}
