:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.4);
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--darker);
    color: var(--light);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--accent);
    margin-right: 2px;
}

.navbar-start {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.navbar-item {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.navbar-item:hover {
    opacity: 1;
    color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    opacity: 1 !important;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--darker) 30%, transparent 100%);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text-wrapper {
    max-width: 700px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}

.button.is-primary {
    background: var(--accent);
    color: white;
}

.button.is-primary:hover {
    background: #ea580c;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.button.is-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.button.is-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Section common */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    background: var(--dark);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--glass-border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--accent);
    display: inline-block;
    vertical-align: top;
    margin-left: 0.25rem;
}

.stat-label {
    color: var(--gray);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.stat-bar {
    width: 60%;
    height: 4px;
    background: var(--glass);
    border-radius: 2px;
    margin: 1rem auto 0;
    overflow: hidden;
}

.stat-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item.visible .stat-bar span {
    width: var(--width);
}

/* Partners Section Enhanced */
.partners-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.partners-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.4;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.partner-item span {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Services Grid Enhanced */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #fb923c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-10px);
    border-color: rgba(249, 115, 22, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
}

.service-card:hover .icon-pulse {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent);
}

.service-card>p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card.visible .service-features li {
    opacity: 1;
    transform: translateX(0);
}

.service-card.visible .service-features li:nth-child(1) {
    transition-delay: 0.2s;
}

.service-card.visible .service-features li:nth-child(2) {
    transition-delay: 0.35s;
}

.service-card.visible .service-features li:nth-child(3) {
    transition-delay: 0.5s;
}

.service-features li i {
    color: var(--accent);
    font-size: 0.7rem;
}

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

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

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

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Projects Gallery */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Section */
.contact-card {
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 4rem;
    background: var(--primary);
    background-image: linear-gradient(45deg, var(--primary), #1e293b);
}

.contact-details {
    margin-top: 3rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
}

.contact-form {
    padding: 4rem;
}

.field {
    margin-bottom: 2rem;
}

.label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

.input,
.textarea,
.select select {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 4px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: var(--gray);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons i {
    font-size: 1.5rem;
    opacity: 0.7;
}

.social-icons i:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--gray);
    font-size: 0.8rem;
}

/* Animations */
.animate-in {
    animation: fadeInUp 1s forwards;
    opacity: 0;
}

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

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

.animate-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.animate-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

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

@media (max-width: 768px) {
    .navbar-start {
        display: none;
    }

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

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

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .button.is-large {
        width: 100%;
    }

    .section {
        padding: 4rem 0;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-item::after {
        display: none;
    }

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

    .stat-bar {
        width: 80%;
    }

    .partners-grid {
        justify-content: center;
    }

    .partner-item {
        min-width: 120px;
    }

    .partner-item span {
        font-size: 0.7rem;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-item {
        aspect-ratio: 16/10;
    }

    .testimonial-card {
        padding: 2.5rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.15rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 2.5rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

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

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

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

    .partners-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .partner-item {
        min-width: auto;
    }
}

/* Print styles */
@media print {

    .navbar,
    .scroll-indicator,
    .cursor-follower {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}