/*
* ROOT VARIABLES & GLOBAL STYLES
*/
:root {
    --primary-color: #00BFFF;
    /* Electric Blue */
    --primary-color-dark: #0099cc;
    --secondary-color: #1A1A2E;
    /* Dark Navy/Charcoal */
    --background-color: #0F0F1B;
    /* Even Darker Background */
    --card-background: #1A1A2E;
    --text-color: #EAEAEA;
    --text-muted-color: #A9A9A9;
    --heading-color: #FFFFFF;
    --border-color: rgba(0, 191, 255, 0.2);
    --shadow-color: rgba(0, 191, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/*
* HEADER STYLES
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, height var(--transition-speed) ease;
}

.header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.logo-link:hover {
    color: var(--heading-color);
}

.logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
 
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease-in-out;
}

/*
* BUTTON STYLES
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/*
* HERO SECTION
*/
.hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 120px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Animated background shapes */
.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 15%;
    animation: move-bubble 15s linear infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation: move-bubble 20s linear infinite reverse;
}

.shape-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 5%;
    animation: move-bubble 10s linear infinite;
}

@keyframes move-bubble {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-50px) scale(1.1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/*
* SECTION HEADER
*/
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/*
* STATS SECTION
*/
.stats-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
}

.stat-label {
    color: var(--text-muted-color);
    font-weight: 500;
    margin: 0;
}

/*
* SERVICES SECTION
*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1), transparent 40%);
    transition: opacity 0.5s ease;
    opacity: 0;
    transform-origin: center;
    animation: rotate 10s linear infinite;
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
}

.service-link i {
    transition: transform var(--transition-speed) ease;
    display: inline-block;
}

.service-link:hover i {
    transform: translateX(5px);
}

/*
* ABOUT SECTION
*/
.about-section {
    background-color: var(--secondary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-image-decoration {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-list {
    margin: 25px 0;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-list i {
    color: var(--primary-color);
}

/*
* PROCESS SECTION
*/
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    align-items: flex-end;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: 5px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--card-background);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.timeline-step {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.timeline-title {
    margin: 5px 0 10px;
}

.timeline-content p {
    margin: 0;
}

/*
* TESTIMONIALS SECTION
*/
.testimonials-section {
    background-color: var(--secondary-color);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-speed) ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-info {
    text-align: left;
}

.author-name {
    margin: 0;
    font-size: 1.1rem;
}

.author-title {
    margin: 0;
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.slider-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    pointer-events: all;
}

.slider-btn:hover {
    background: var(--primary-color-dark);
    transform: scale(1.1);
}


/*
* CTA SECTION
*/
.cta-section {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/*
* FOOTER
*/
.footer {
    background-color: var(--secondary-color);
    padding-top: 80px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.footer-logo {
    height: 100px;
    filter: brightness(0) invert(1);
 
}

.footer-about-text {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col-title {
    margin-bottom: 25px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted-color);
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted-color);
}

.footer-bottom p {
    margin: 0;
}

/*
* SUBPAGES (TERMS, PRIVACY, ETC.) & CONTACT PAGE
*/
.page-header {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--background-color));
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-color);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--text-muted-color);
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 10px;
}

.contact-page-section {
    padding-top: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--card-background);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-methods {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-details p {
    margin: 0;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group.full-width {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.3);
}

/*
* POPUP STYLES
*/
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted-color);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.popup h3 {
    margin-bottom: 10px;
}

.popup p {
    margin-bottom: 25px;
}


/*
* SCROLL ANIMATIONS
*/
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/*
* RESPONSIVE STYLES
*/
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--secondary-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right var(--transition-speed) ease-in-out;
        padding-top: 100px;
    }

    .nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle.is-active .bar-top {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.is-active .bar-middle {
        opacity: 0;
    }

    .mobile-toggle.is-active .bar-bottom {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .about-list {
        text-align: left;
        max-width: 400px;
        margin: 25px auto;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        align-items: flex-start;
    }

    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    .slider-controls {
        display: none;
    }

    /* On smaller screens, swipe would be better but for now hide */

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    section {
        padding: 80px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .contact-wrapper {
        padding: 30px;
    }
}