:root {
    --color-primary: #0A2540;
    --color-secondary: #0066FF;
    --color-secondary-hover: #0052CC;
    --color-accent: #00D4FF;

    --color-text: #333F51;
    --color-heading: #0A2540;
    --color-bg: #FFFFFF;
    --color-bg-light: #F4F7FB;
    --color-bg-dark: #0A2540;

    --color-border: #E6EAF0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 20px rgba(10, 37, 64, 0.08);
    --shadow-hover: 0 20px 30px rgba(0, 102, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: white;
}

.bg-dark h2 {
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 102, 255, 0.2);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

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

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-img {
    height: 48px;
}

.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--color-text);
    font-weight: 500;
}

.navbar:not(.scrolled) .nav-links a:not(.btn) {
    color: white;
}

.nav-links a:not(.btn):hover {
    color: var(--color-secondary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-heading);
    transition: var(--transition);
}

.navbar:not(.scrolled) .mobile-toggle span {
    background-color: white;
}

.hero {
    position: relative;
    padding: 8rem 0 4rem;
    /* Reduced bottom padding */
    min-height: 60vh;
    /* Reduced from 90vh to tighten space */
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-bg-accent {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(10, 37, 64, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-secondary);
}

.service-icon img {
    width: 30px;
    height: 30px;
    filter: invert(18%) sepia(35%) saturate(1900%) hue-rotate(193deg) brightness(88%) contrast(92%);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    color: var(--color-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    margin-top: auto;
    display: inline-block;
}

.advantage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.advantage-text .lead {
    font-size: 1.125rem;
    margin: 1.5rem 0 2.5rem;
}

.advantage-list {
    list-style: none;
}

.advantage-list li {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
}

.advantage-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17l-5-5" stroke="%230066FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
}

.advantage-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.modern-visual-container {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.2);
    height: 420px;
    width: 100%;
}

.modern-visual-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 500;
}

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    color: var(--color-text);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: #64748B;
    text-align: center;
    margin-top: 1.5rem;
}

.site-footer {
    background: #061626;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 30px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.875rem;
    text-align: center;
}

.service-hero {
    position: relative;
    padding: 10rem 0 4rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.service-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.service-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-section-title {
    margin-bottom: 2rem;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 212, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.2);
}

.service-card h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-list {
    padding-left: 2rem;
    list-style-type: decimal;
    font-size: 1.125rem;
    line-height: 2;
}

.service-divider {
    margin: 4rem 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

.service-example-box {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.05);
    transition: var(--transition);
}

.service-example-box:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.service-example-box h3 {
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@media (max-width: 992px) {

    .advantage-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modern-visual-container {
        height: 250px;
        width: 100%;
        order: -1;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 3rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:not(.btn) {
        color: var(--color-heading) !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }
}