/* CSS Variables & Design System */
:root {
    /* Colors */
    --primary-color: #0A192F;
    /* Deep Navy */
    --primary-light: #172a45;
    --accent-color: #ff5252;
    /* Vivid Red */
    --accent-hover: #ff7b7b;
    --text-color: #8892B0;
    /* Muted Blue-Grey */
    --heading-color: #CCD6F6;
    /* Lightest Blue-White */
    --background-color: #020c1b;
    /* Very Dark Navy */
    --white: #ffffff;
    --gray-light: #f4f4f4;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-standard: all 0.3s ease;

    /* Shadow */
    --shadow-card: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.btn-secondary {
    color: var(--heading-color);
}

.btn-secondary:hover {
    color: var(--accent-color);
}

.btn-tertiary {
    color: var(--accent-color);
    font-weight: 500;
}

.btn-primary-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.btn-primary-outline:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background-color: rgba(10, 25, 47, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Increased gap slightly */
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 120px;
    /* Doubled from 60px */
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
    letter-spacing: 0.5px;
    line-height: 1;
    /* Help with vertical alignment */
    margin-top: 2px;
    /* Optical adjustment */
}


.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--heading-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* offset header */
    background: url('hero_background.png') no-repeat center center/cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services / Solutions */
.solutions {
    background-color: var(--primary-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--light-navy);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.card-list li::before {
    content: "•";
    /* You could use a checkmark icon here with font-awesome if preferred */
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Stats */
.stats-section {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About */
.about-container {
    max-width: 800px;
    text-align: center;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* CTA */
.cta {
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('hero_background.webp') no-repeat center center/cover;
    background-attachment: fixed;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    margin-bottom: 2rem;
    color: var(--heading-color);
}

/* WhatsApp CTA */
.whatsapp-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #25D366;
    /* WhatsApp Green */
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.telegram-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #0088cc;
    /* Telegram Blue */
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-decoration: none;
}

.telegram-btn:hover {
    background-color: #0077b5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.whatsapp-btn i,
.telegram-btn i {
    font-size: 2.5rem;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-label {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.whatsapp-number {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-wrapper {
    text-align: center;
}

.gallery-title {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-caption {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    display: flex;
    flex-direction: column;
    /* Center visually */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-modal {
    position: absolute;
    top: 40px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
        margin-top: 50%;
        transform: translateY(-50%);
    }
}



/* Footer */
.footer {
    background-color: var(--background-color);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1.2rem;
    color: var(--heading-color);
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #5d6680;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background-color: var(--primary-light);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease-in-out;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}