* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sofia Sans';
}

/* Theme Variables */
:root {
    --bg-color: #fff;
    --text-color: #1b1c1d;
    --card-bg: #fff;
    --navbar-bg: #fff;
    --navbar-fg: #1b1c1d;
    --footer-bg: #1b1c1d;
    --footer-fg: #ccc;
    --gradient: linear-gradient(152deg, #12c2e9, #c471ed, #f64f59);
    --shadow-gradient: linear-gradient(45deg, #BB1881, #F88B50);
    --grey-border: #ccc;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #fff;
    --card-bg: #1a1a1a;
    --navbar-bg: #1b1c1d;
    --navbar-fg: #fff;
    --footer-bg: #1b1c1d;
    --footer-fg: #ccc;
    --grey-border: #555;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--navbar-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    flex-shrink: 0;
}

.logo {
    height: 40px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-item {
    margin-left: 15px;
    position: relative;
}

.navbar-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--navbar-fg);
    text-decoration: none;
    cursor: pointer;
}

.dropdown .navbar-link {
    padding-right: 2em;
}

.dropdown .navbar-link::after {
    content: "";
    border: 3px solid transparent;
    border-top: 0.3em solid var(--navbar-fg);
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    position: absolute;
    right: 0.75em;
    top: 50%;
    transform: translateY(-50%);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--navbar-bg);
    min-width: 160px;
    border-radius:10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.dropdown-content a {
    color: var(--navbar-fg);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #ccc;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-cta {
    margin-left: 15px;
}

.cta-btn {
    padding: 11px 30px;
    font-size: 18px;
    background-color: #111212;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: box-shadow 0.3s ease-in-out;
    line-height: 28px;
    font-family: sans-serif;
}


.cta-btn:hover {
    box-shadow: -20px 0 50px #12c2e9a8,10px 10px 40px #c471ed82,10px 10px 40px #f64f5a7c;
    transition: all .3s;
    }

.dark-mode-toggle {
    background: var(--navbar-bg);
    border: none;
    border-radius:10px;
    color: var(--navbar-fg);
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    margin-left: 15px;
    transition: background-color 0.3s;
}

.dark-mode-toggle:hover {
    background-color: #ccc;
}

.dark-mode-toggle-icon {
    width: 24px;
    height: 24px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navbar-fg);
    margin-left: 15px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5% 0px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: left;
}

.hero-content h1 {
    font-size: 72px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 90px;
    letter-spacing: -1.44px;
}

.hero-content h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: center;
  max-width: 100%;
  flex-direction: column;
  height: 100%;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 5%;
    text-align: left;
}

.trusted-by h2 {
    font-size: 72px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.trusted-by h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trusted-by p {
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.4;
}


.logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .logos img {
    flex: 1 1 auto;
    max-width: 151px;
    max-height: 60px;
    object-fit: contain;
  }

/* Services Section */
.services {
    padding: 60px 5%;
    text-align: left;
}

.services h2 {
    font-size: 72px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.services h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services p {
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.4;
}

.services-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.service-card {
    position: relative;
    flex: 1 1 300px;
    max-width: 100%;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius: 10px;
    text-align: left;
    transition: border 0.3s ease;
}

.service-card:hover {
    border: 1px solid transparent;
}

.service-card:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid transparent;
    border-radius: 10px; 
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.service-card img {
    width: 50px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}

.service-card ul {
    list-style: none;
    margin-left: 20px;
    font-weight: 400;
}

.service-card ul li::before {
    content: "•";
    color: var(--text-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 5%;
    text-align: left;
}

.testimonials h2 {
    font-size: 72px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.testimonials h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials p {
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.4;
}

.testimonials-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.testimonial-card {
    flex: 1 1 300px;
    max-width: 100%;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--grey-border);
    border-radius:10px; /* Updated border radius */
    text-align: left;
    transition: border 0.3s, border-radius 0.3s;
}

.testimonial-card:hover {
    border: 2px solid transparent;
    border-image: var(--gradient) 1;
    border-radius:10px; /* Updated border radius on hover */
}

.testimonial-card img {
    width: 50px;
    border-radius:50%;
    margin-bottom: 15px;
}

.testimonial-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}

.testimonial-card p {
    font-weight: 400;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 60px 5%;
    text-align: left;
}

.cta h2 {
    font-size: 72px;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.4;
}

.cta h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    padding: 20px 5%;
    text-align: center;
    background-color: var(--footer-bg);
    color: var(--footer-fg);
}

.footer-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--footer-fg);
    font-weight: 400;
    line-height: 1.4;
}

footer p {
    font-weight: 400;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--navbar-bg);
        padding: 20px;
        height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }

    .navbar-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero {
        flex-direction: column;
        /* padding: 100px 5% 40px; */
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .logos img {
        max-width: 80px;
    }

    .services h2, .testimonials h2, .cta h2 {
        font-size: 36px;
    }

    .service-card, .testimonial-card {
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) {
    .service-card, .testimonial-card {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 72px;
    }

    .hero-content p, .trusted-by p, .services p, .testimonials p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 20px;
    }

    .services h2, .testimonials h2, .cta h2 {
        font-size: 28px;
    }
}