@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700&display=swap');

:root {
    --color-text: #D1D9E6;
    /* Body text (soft white) */
    --color-heading: #F1F5FF;
    /* Headings (bright, premium) */
    --color-subheading: #B8C3D9;
    /* Sub headings */

    --color-link: #d0ddf8;
    --color-link-hover: #E0EAFF;

    --color-button-bg: linear-gradient(135deg, #8FA8FF, #b9cffd, #B8C3D9);

    --color-button-bghover: linear-gradient(135deg,#b9cffd,#8FA8FF);

    --color-button-text: #253155;

    --color-quote: #E6ECFF;

    --color-border: rgba(255, 255, 255, 0.14);

    --color-accent: #9BB3FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
}

/* Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top left, #00111a 0%, #000 70%);
}

.aurora-bg::before,
.aurora-bg::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%,
            rgba(108, 114, 255, 0.35),
            /* Indigo */
            rgba(139, 92, 246, 0.30),
            /* Violet */
            rgba(56, 189, 248, 0.30),
            /* Sky */
            rgba(148, 163, 184, 0.25),
            /* Silver */
            rgba(108, 114, 255, 0.35));

    mix-blend-mode: screen;
    animation: auroraMove 15s ease-in-out infinite alternate;
    filter: blur(120px);
}

.aurora-bg::after {
    animation-delay: -7s;
    opacity: 0.6;
}

@keyframes auroraMove {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    50% {
        transform: translate(10%, 10%) rotate(180deg);
    }

    100% {
        transform: translate(-10%, 10%) rotate(360deg);
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    height: 70px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: #ffffff1a;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    z-index: 1000;
}

nav:hover {
    transform: translateX(-50%) scale(1.02);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-container img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-style: normal;
    font-size: 1.8em;
    font-weight: 700;
    display: inline-block;
    background: linear-gradient(90deg, #2D2D4E, #2F3438);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #2f3438;
    letter-spacing: 1px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 40px;
    /* center the nav links horizontally inside the navbar */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.nav-links a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: var(--color-link-hover);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-link-hover);
}

.nav-links a:active {
    transform: scale(0.9);
}

/* Button */
.btn {
    background: var(--color-button-bg);
    background-size: 300% 300%;
    /* allows smooth movement */
    color: var(--color-button-text);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--color-border);
    animation: gradientShift 6s ease infinite;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn:hover {
    background: var(--color-button-bghover);
    box-shadow: 0 0 25px rgba(134, 160, 231, 0.76);
    transform: scale(1.1);
}

.btn:active {
    transform: scale(0.95);
}

/* Social icon group (used instead of Downloads) */
.social-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-group.mobile { display: none; }

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    text-decoration: none;
    box-shadow: 0 0 12px var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-btn i { font-size: 1.05em; }

.social-btn:hover {
    transform: scale(1.08);
    background: var(--color-button-bghover);
    box-shadow: 0 0 22px rgba(0,0,0,0.18);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media(min-width:1080px) {
    .nav-links .btn {
        display: none;
    }
}

/* Mobile Nav */
@media (max-width: 768px) {

    .nav-links,
    .btn {
        display: none;
    }

    /* hide desktop social icons on small screens; show mobile-only group inside nav-links when active */
    .social-group { display: none; }
    .social-group.mobile { display: flex; gap: 14px; justify-content: center; }

    .hamburger {
        display: flex;
    }

    nav.active .nav-links {
        content: "";
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: conic-gradient(from 180deg at 50% 50%,
                #173138e7, #211C32e7, #14061Ce7,
                #1D2935e7);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
        gap: 25px;
        text-align: center;
        animation: slideDown 0.4s ease forwards;
    }

    nav.active .btn {
        display: inline-block;
        margin: 10px auto;
        animation: fadeIn 0.4s ease forwards;
    }

    /* show only the mobile social group inside the dropdown when active */
    nav.active .nav-links .social-group.mobile {
        display: flex;
        margin: 10px auto;
        animation: fadeIn 0.4s ease forwards;
        gap: 14px;
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =====================
   ====== FOOTER ======
   ===================== */



footer {
    background: #f5f5f517;
    color: var(--color-border);
    padding: 60px 10%;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

/* Left Section */
.footer-left {
    flex: 1 1 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-logo h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--color-heading);
}

.by-text {
    font-size: 0.95em;
    margin: 8px 0;
    color: var(--color-text);
}

.quote {
    font-style: italic;
    color: var(--color-quote);
    max-width: 250px;
}

/* Navigation */
.footer-nav {
    flex: 1 1 180px;
}

.footer-nav h3 {
    font-size: 1.2em;
    color: var(--color-heading);
    margin-bottom: 10px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: var(--color-link);
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav ul li a:hover {
    color: var(--color-link-hover);
    padding-left: 5px;
}

/* Contact + Social */
.footer-contact-social {
    flex: 1 1 350px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-contact,
.footer-social {
    flex: 1;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 1.2em;
    color: var(--color-heading);
    margin-bottom: 10px;
}

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

.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-contact ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-link);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95em;
}

.footer-contact ul li a i {
    font-size: 1.1em;
    color: var(--color-link);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--color-link-hover);
}

.footer-contact ul li a:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icons a {
    color: var(--color-link);
    font-size: 1.6em;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #e0e4eb00;
    padding-top: 15px;
    color: var(--color-text);
    font-size: 0.9em;
}

.footer-bottom a {
    color: var(--main-color);
}

.footer-bottom a:hover {
    color: #4f5e72;
}

@media (max-width: 900px) {
    .footer-contact-social {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact ul li a {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-left,
    .footer-nav,
    .footer-contact-social {
        flex: 1 1 100%;
    }

    .quote {
        margin: 0 auto;
    }
}

.half-underline {
    position: relative;
    display: inline-block;
    font-size: 1.4em;
    font-weight: 600;
}

.half-underline span {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 50%;
    height: 3px;
    background: var(--color-heading);
    border-radius: 2px;
    content: "";
}

@media (max-width:768px) {

    .half-underline span {
        width: 100%;
    }
}

/* ============================
   ====== TEXT SLIDESHOW ======
   ============================ */

.slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(30px);
    opacity: 0;
    filter: blur(10px);
    width: 90%;
    max-width: 800px;
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--color-heading);
    transition: all 1s ease;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
    filter: blur(0);
}

.slide.active span {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff, #bdeeff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s infinite linear;
    background-size: 200%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .slide {
        font-size: 1.6rem;
        padding: 0 10px;
    }
}


/* ==============================
   Founder Section
============================== */
.founder-section {
    width: 100%;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
}

.founder-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.founder-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.25);
}

.founder-content {
    flex: 2;
    color: var(--color-text);
    text-align: left;
}

.founder-heading {
    font-size: 2em;
    font-weight: 700;
    color: var(--color-heading);
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #8FA8FF, #acb4cf, #8FA8FF);
    animation: colorFlow 5s infinite linear;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-heading::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--color-link-hover);
    border-radius: 3px;
}

.founder-name {
    font-size: 1.6em;
    color: var(--color-subheading);
    margin: 15px 0;
    font-weight: 600;
}

.founder-text {
    font-size: 1.05em;
    line-height: 1.7em;
    color: var(--color-quote);
    max-width: 600px;
    margin-bottom: 25px;
}

.founder-btn {
    display: inline-block;
    padding: 12px 26px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.founder-btn:hover {
    background: var(--color-button-bghover);
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-content {
        text-align: center;
    }

    .founder-image img {
        width: 180px;
        height: 180px;
    }
}

.what-we-do {
    text-align: center;
    padding: 80px 20px;
    color: #f5f5f5;
    position: relative;
}

/* Animated gradient heading */
.animated-heading {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #8FA8FF, #acb4cf, #8FA8FF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorFlow 5s infinite linear;
    margin-bottom: 50px;
}

@keyframes colorFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Cards layout */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    width: 350px;
    overflow: hidden;
    transform: scale(0.95);
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

.service-card p {
    padding: 0 20px 20px;
    font-size: 1rem;
    opacity: 0.85;
}

/* Hover effect */
.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.whatwedobtn {
    margin-top: 25px;
    display: inline-block;
    padding: 16px 30px;
    width: 300px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.whatwedobtn:hover {
    background: var(--color-button-bghover);
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
}