:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --transition: all 0.3s ease;
    --nav-font: 'Inter', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --satoshi-font: 'Satoshi', sans-serif;
    --background-color: #f8fafc;
    --navbar-bg: rgba(255, 255, 255, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(11.5px);
    -webkit-backdrop-filter: blur(11.5px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--nav-font);
    font-weight: 300;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 22px;
    width: auto;
    display: block;
    transition: filter 0.3s ease;
}

/* Add class for color change on scroll */
.navbar.scrolled .logo-img {
    filter: var(--primary-gradient);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:not(.cta-button):hover {
    color: var(--primary-color);
}

.nav-links .cta-button {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    color: white;
    font-family: var(--nav-font);
    font-weight: 400;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    background: rgba(37, 99, 235, 0.9);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-text {
    flex: 0 0 60%;
    text-align: left;
    padding-right: 2rem;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

.hero-content h1 {
    font-size: 3.84rem;
    font-family: var(--satoshi-font);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
    position: relative;
    width: 100%;
    max-width: 100%;
}

.hero-content p {
    font-size: 1.25rem;
    font-family: var(--nav-font);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-color);
    max-width: 90%;
    margin-left: 0;
    line-height: 1.5;
}

/* Notepad background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background-image: 
        linear-gradient(rgba(200, 200, 200, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.3;
}

.hero .cta-button {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.5rem;
    color: white;
    font-size: 1.1rem;
    font-family: var(--nav-font);
    font-weight: 400;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    align-self: flex-start;
    margin-left: 0;
}

.hero .cta-button:hover {
    background: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* Update responsive styles for hero section */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 2rem;
        max-width: 100%;
        align-items: center;
    }
    
    .hero-content p {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .hero .cta-button {
        align-self: center;
        margin-left: 0;
    }
    
    .hero-image {
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }
    
    .hero-image dotlottie-player {
        width: 300px !important;
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    /* Enhanced notepad background effect for mobile */
    .hero::before {
        background-image: 
            linear-gradient(rgba(200, 200, 200, 0.25) 1px, transparent 1px),
            linear-gradient(90deg, rgba(200, 200, 200, 0.25) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.6;
        bottom: 40px;
    }
    
    /* Hero section optimizations for mobile */
    .hero {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding: 0 1.5rem;
        text-align: center;
    }
    
    .hero-text {
        padding: 0;
        margin: 1.5rem 0 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.22rem;
        margin-bottom: 2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        text-align: center;
    }
    
    .hero .cta-button {
        align-self: center;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    .hero-image {
        display: none; /* Hide the SVG art on mobile */
    }
    
    .trusted-companies {
        margin-top: 3rem;
        text-align: center;
        position: relative;
        top: 40px;
    }
    
    .trusted-text {
        font-size: 1rem;
    }
    
    .logo-container {
        margin-top: 1rem;
    }
    
    .company-logo {
        height: 20px;
        margin: 0 0.5rem;
    }
    
    .logo-container {
        margin-top: 1rem;
    }
    
    .company-logo {
        height: 20px;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .hero .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Services Section */
.services-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
    scroll-margin-top: 120px; /* Add space to account for the fixed navbar */
}

.services-grid h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-grid .services-subtitle {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--nav-font);
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-card p {
    font-family: var(--nav-font);
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--nav-font);
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.service-link:hover {
    background: rgba(37, 99, 235, 0.9);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.services-cta {
    background: linear-gradient(135deg, #000851 0%, #1CB5E0 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.services-cta-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.services-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-family: var(--nav-font);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.services-link:hover {
    background-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.services-link .arrow-icon {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    transition: transform 0.3s ease;
}

.services-link:hover .arrow-icon {
    transform: translateX(3px);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-family: var(--nav-font);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-cta .cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 2.5rem;
    color: white;
    font-size: 1.1rem;
    font-family: var(--nav-font);
    font-weight: 400;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.services-cta .cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        margin-top: -2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Trusted Companies Section */
.trusted-companies {
    margin-top: 2.5rem;
    text-align: left;
    width: 100%;
}

.trusted-companies .trusted-text {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logo-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.logo-slide {
    display: flex;
    animation: scroll 20s linear infinite;
}

.logo-wrapper {
    flex: 0 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    height: 25px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.company-logo:hover {
    opacity: 0.8;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Remove hover pause */
.logo-container:hover .logo-slide {
    animation-play-state: running;
}

/* Responsive styles for the trusted companies section */
@media (max-width: 768px) {
    .trusted-companies {
        margin-top: 1.5rem;
    }
    
    .trusted-companies .trusted-text {
        font-size: 0.8rem;
    }
    
    .logo-wrapper {
        padding: 0 1rem;
    }
    
    .company-logo {
        height: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    border-radius: 15px;;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    border-radius: 15px;
}

.testimonial-cards {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.testimonial-card.sliding-out {
    transform: translateX(-100%);
    opacity: 0;
}

.testimonial-card.sliding-in {
    transform: translateX(0);
    opacity: 1;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-content h4 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--text-color);
}

.testimonial-content .position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-content .stars {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.nav-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    cursor: pointer;
    padding: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.nav-button svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.nav-button:hover svg {
    stroke: white;
}

.nav-button:active {
    transform: translateY(0);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.nav-button:disabled svg {
    stroke: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 2rem 1rem;
    }

    .testimonials-container {
        gap: 1rem;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .testimonial-image img {
        width: 60px;
        height: 60px;
    }

    .testimonial-content h4 {
        font-size: 1.1rem;
    }

    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .testimonial-content .position {
        font-size: 0.85rem;
    }

    .nav-button {
        padding: 0.5rem;
    }
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Hamburger Animation */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -20px;
        right: -20px;
        bottom: 0;
        width: calc(100% + 40px);
        height: 100vh;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        opacity: 0;
        transform: translateX(50px);
        transition: 0.3s ease-in-out;
        color: var(--text-color);
        text-align: center;
        font-weight: 600;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        width: calc(100% - 1.5rem);
        top: 0.75rem;
        border-radius: 30px;
    }

    .logo-img {
        height: 20px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.waves {
    position: relative;
    width: 100%;
    height: 60px;
}

.wave-1 use {
    animation: wave-anim 25s cubic-bezier(.55,.5,.45,.5) infinite;
    fill: rgba(255, 255, 255, 0.1);
}

.wave-2 use {
    animation: wave-anim 15s cubic-bezier(.55,.5,.45,.5) infinite;
    fill: rgba(255, 255, 255, 0.15);
}

.wave-3 use {
    animation: wave-anim 20s cubic-bezier(.55,.5,.45,.5) infinite;
    fill: rgba(255, 255, 255, 0.2);
}

@keyframes wave-anim {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section.company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    align-self: flex-start;
}

.company-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: left;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #fff;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.contact-info .icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

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

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.newsletter-form {
    margin-top: 1rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.subscribe-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.subscribe-btn .arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover .arrow {
    transform: translateX(3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer {
        padding: 6rem 1.5rem 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }
}

/* About Section Styles */
.about-section {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

.about-section h2 {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.about-container:nth-child(even) {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-family: var(--nav-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

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

/* Responsive styles for about section */
@media (max-width: 968px) {
    .about-container {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

.about-cta {
    text-align: center;
    margin: 2rem 0 4rem;
}

.about-cta .cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--nav-font);
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.about-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 968px) {
    .about-cta {
        margin: 1rem 0 3rem;
    }
    
    .about-cta .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Active link style */
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

/* Services Page Styles */
.services {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.services-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow: hidden;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-hero h1 {
    font-size: 3.5rem;
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: white;
}

.services-hero p {
    font-size: 1.25rem;
    font-family: var(--nav-font);
    opacity: 0.9;
}

.services-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.services-grid h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-grid .services-subtitle {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--nav-font);
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-card p {
    font-family: var(--nav-font);
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--nav-font);
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.service-link:hover {
    background: rgba(37, 99, 235, 0.9);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.services-cta {
    background: linear-gradient(135deg, #000851 0%, #1CB5E0 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.services-cta-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.services-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-family: var(--nav-font);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.services-link:hover {
    background-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.services-link .arrow-icon {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    transition: transform 0.3s ease;
}

.services-link:hover .arrow-icon {
    transform: translateX(3px);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-family: var(--nav-font);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-cta .cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 2.5rem;
    color: white;
    font-size: 1.1rem;
    font-family: var(--nav-font);
    font-weight: 400;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.services-cta .cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        margin-top: -2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* About Preview Section Styles */
.about-preview {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text .tagline {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text .description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.about-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.about-cta:hover {
    background: rgba(37, 99, 235, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.about-cta:hover .arrow-icon {
    transform: translateX(5px);
}

.about-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.tech-pattern {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Grid lines fade in */
.grid-lines line {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.grid-lines line:nth-child(2) { animation-delay: 0.2s; }
.grid-lines line:nth-child(3) { animation-delay: 0.4s; }
.grid-lines line:nth-child(4) { animation-delay: 0.6s; }
.grid-lines line:nth-child(5) { animation-delay: 0.8s; }

/* Main growth line animation */
.growth-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

/* Secondary trend line animation */
.trend-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

/* Data points pop in */
.point {
    opacity: 0;
    transform: scale(0);
}

/* Labels fade in */
.label {
    opacity: 0;
}

/* Gradient area fade in */
.gradient-area {
    opacity: 0;
}

/* MonzTech and Market labels */
.monz-label, .market-label {
    opacity: 0;
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 500;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    50% {
        opacity: 0;
        transform: scale(2);
    }
    100% {
        opacity: 0;
        transform: scale(2.2);
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-illustration {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-highlights {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-preview {
        padding: 4rem 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .about-highlights {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
}

/* Orbit */
.orbit {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

/* Floating elements */
.floating-elements {
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

/* Tech symbol */
.tech-symbol {
    animation: pulse 3s ease-in-out infinite;
}

.tech-symbol:nth-child(2) {
    animation-delay: -1s;
}

.tech-symbol:nth-child(3) {
    animation-delay: -2s;
}

.tech-symbol:nth-child(4) {
    animation-delay: -3s;
}

/* Center element */
.center-element {
    animation: glow 4s ease-in-out infinite;
}

/* Connecting lines */
.connecting-lines {
    animation: fade 4s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fade {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.contact-section {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.info-card:hover::before {
    opacity: 0.02;
}

.info-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    transition: color 0.3s ease;
}

.form-group.focused label {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 40px;
}

.map-container:hover {
    transform: translateY(-5px);
}

#map {
    width: 100%;
    height: 100%;
}

@keyframes backgroundMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 60px;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .contact-form-container {
        padding: 30px;
    }

    .map-container {
        height: 400px;
    }
}

/* Utility classes for responsive content */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Services and Contact page logo transitions */
.services-page .logo-img,
.contact-page .logo-img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.services-page .navbar.scrolled-past-hero .logo-img,
.contact-page .navbar.scrolled-past-hero .logo-img {
    filter: none;
}

/* Highlighted text in blue */
.highlight-blue {
    color: var(--primary-color);
}

/* Responsive styles for mobile hero section */
@media (max-width: 768px) {
    .hero-text {
        padding: 0;
        margin: 1.5rem 0 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.22rem;
        margin-bottom: 2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        text-align: center;
    }
    
    .hero .cta-button {
        align-self: center;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    .hero-image {
        display: none; /* Hide the SVG art on mobile */
    }
    
    .trusted-companies {
        margin-top: 3rem;
        text-align: center;
        position: relative;
        top: 40px;
    }
    
    .trusted-text {
        font-size: 1rem;
    }
    
    .logo-container {
        margin-top: 1rem;
    }
    
    .company-logo {
        height: 20px;
        margin: 0 0.5rem;
    }
    
    .logo-container {
        margin-top: 1rem;
    }
    
    .company-logo {
        height: 20px;
        margin: 0 0.5rem;
    }
}

/* Fix for Telegram in-app browser */
@supports (-webkit-touch-callout: none) {
    /* iOS and Telegram in-app browser specific styles */
    .navbar {
        position: fixed;
        top: 0;
        padding-top: 1rem;
    }
    
    .hero {
        padding-top: 4rem; /* Add extra padding to compensate for fixed navbar */
    }
}

/* Additional fix specifically for WebView browsers like Telegram */
@media screen and (max-width: 768px) {
    /* Mobile WebView specific fixes */
    .navbar {
        -webkit-transform: translateX(-50%); /* Ensure transform works in all WebView browsers */
        transform: translateX(-50%);
        -webkit-backdrop-filter: blur(11.5px); /* Ensure backdrop filter works in all WebView browsers */
        backdrop-filter: blur(11.5px);
    }
    
    /* Ensure proper spacing in hero section for WebView browsers */
    .hero-content {
        padding-top: 3.5rem;
    }
}
