@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
    --zgx-primary: #334155;
    --zgx-secondary: #1e293b;
    --zgx-accent: #22d3ee;
    --zgx-background: #f8fafc;
    --zgx-text-color: #0f172a;
    --zgx-muted-text: #cbd5e1;
    --zgx-light-gray: #e2e8f0;
    --zgx-dark-gray: #475569;
    --zgx-border-radius: 12px;
    --zgx-transition-speed: 0.3s;
    --zgx-max-width: 1200px;
    --zgx-section-padding-desktop: 96px 0;
    --zgx-section-padding-mobile: 48px 0;
    --zgx-card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --zgx-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--zgx-text-color);
    line-height: 1.6;
    background-color: var(--zgx-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--zgx-accent);
    color: var(--zgx-secondary);
}

a {
    color: var(--zgx-accent);
    text-decoration: none;
    transition: color var(--zgx-transition-speed) ease;
}

a:hover {
    color: var(--zgx-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--zgx-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

h6 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--zgx-dark-gray);
}

p {
    margin-bottom: 1em;
}

/* Utility Classes */
.sc-container {
    max-width: var(--zgx-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sc-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sc-flex-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sc-text-center {
    text-align: center;
}

.sc-section-spacing {
    padding: var(--zgx-section-padding-desktop);
}

.sc-bg-light {
    background-color: var(--zgx-background);
}

.sc-bg-secondary {
    background-color: var(--zgx-light-gray);
}

/* Navigation */
.sc-header {
    background-color: var(--zgx-background);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.sc-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--zgx-primary);
    text-decoration: none;
}

.sc-logo span {
    color: var(--zgx-accent);
}

.sc-nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.sc-nav-link a {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--zgx-dark-gray);
    padding: 8px 0;
    position: relative;
}

.sc-nav-link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: var(--zgx-accent);
    transition: width var(--zgx-transition-speed) ease;
}

.sc-nav-link a:hover::after, .sc-nav-link a.sc-active::after {
    width: 100%;
}

.sc-hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--zgx-primary);
}

.sc-mobile-menu {
    display: none;
}

/* Hero Section */
.sc-hero {
    background-color: var(--zgx-secondary);
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--zgx-section-padding-desktop);
}

.sc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: 1;
}

.sc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sc-hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.sc-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--zgx-muted-text);
}

/* Blob background effect */
.sc-hero-bg-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://loremflickr.com/1400/800/diy%2Ccraft/all?lock=18379931');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 0;
}

/* Buttons */
.sc-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: transform var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
    text-decoration: none;
    border: none;
}

.sc-btn-primary {
    background: linear-gradient(45deg, var(--zgx-accent), #06b6d4);
    color: var(--zgx-primary);
    box-shadow: 0 5px 15px rgba(34, 211, 238, 0.4);
}

.sc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.6);
}

.sc-btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 28px;
}

.sc-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sc-btn-secondary {
    background-color: var(--zgx-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(51, 65, 85, 0.3);
}

.sc-btn-secondary:hover {
    background-color: var(--zgx-dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(51, 65, 85, 0.5);
}

/* Card Components */
.sc-card {
    background-color: #fff;
    border-radius: var(--zgx-border-radius);
    padding: 30px;
    box-shadow: var(--zgx-card-shadow);
    transition: transform var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zgx-hover-shadow);
}

.sc-card-icon {
    font-size: 3rem;
    color: var(--zgx-accent);
    margin-bottom: 20px;
}

.sc-card-img {
    border-radius: var(--zgx-border-radius);
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sc-process-step {
    background-color: #fff;
    border-radius: var(--zgx-border-radius);
    padding: 25px;
    box-shadow: var(--zgx-card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
}

.sc-process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--zgx-hover-shadow);
}

.sc-process-step::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background-color: var(--zgx-accent);
    border-radius: 50%;
    opacity: 0.1;
    transition: all var(--zgx-transition-speed) ease;
}

.sc-process-step:hover::before {
     transform: scale(1.5);
     opacity: 0.2;
}

.sc-process-icon {
    font-size: 2.5rem;
    color: var(--zgx-accent);
    margin-bottom: 15px;
}

.sc-process-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--zgx-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* Form Styling */
.sc-form-group {
    margin-bottom: 20px;
}

.sc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--zgx-dark-gray);
}

.sc-form-group input, .sc-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--zgx-muted-text);
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: var(--zgx-text-color);
    background-color: #fff;
    transition: border-color var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
}

.sc-form-group input:focus, .sc-form-group textarea:focus {
    outline: none;
    border-color: var(--zgx-accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.sc-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.sc-form-submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--zgx-accent), #06b6d4);
    color: var(--zgx-primary);
    border: none;
    cursor: pointer;
    transition: transform var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
}

.sc-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.6);
}

.sc-form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    display: none;
}

.sc-form-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.sc-form-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Trust/Badge Elements */
.sc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--zgx-card-shadow);
    font-weight: 600;
    color: var(--zgx-dark-gray);
    transition: transform var(--zgx-transition-speed) ease;
}

.sc-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--zgx-hover-shadow);
}

.sc-trust-item i {
    font-size: 1.8rem;
    color: var(--zgx-accent);
}

/* FAQ Accordion */
.sc-faq-item {
    background-color: #fff;
    border-radius: var(--zgx-border-radius);
    margin-bottom: 15px;
    box-shadow: var(--zgx-card-shadow);
    overflow: hidden;
    transition: all var(--zgx-transition-speed) ease;
}

.sc-faq-q {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--zgx-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--zgx-transition-speed) ease;
}

.sc-faq-q:hover {
    background-color: var(--zgx-light-gray);
}

.sc-faq-q i {
    transition: transform var(--zgx-transition-speed) ease;
}

.sc-faq-item.active .sc-faq-q i {
    transform: rotate(180deg);
}

.sc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--zgx-transition-speed) ease-out;
    padding: 0 25px;
    color: var(--zgx-dark-gray);
}

.sc-faq-item.active .sc-faq-a {
    max-height: 500px; /* Sufficiently large to contain content */
    padding: 10px 25px 20px;
}

/* Separators */
.sc-section-separator {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--zgx-accent), transparent);
    margin: 60px auto;
    opacity: 0.2;
}

/* Testimonials */
.sc-testimonial-card {
    background-color: #fff;
    border-radius: var(--zgx-border-radius);
    padding: 30px;
    box-shadow: var(--zgx-card-shadow);
    text-align: center;
    transition: transform var(--zgx-transition-speed) ease, box-shadow var(--zgx-transition-speed) ease;
}

.sc-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zgx-hover-shadow);
}

.sc-testimonial-card p {
    font-style: italic;
    color: var(--zgx-dark-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.sc-testimonial-card .sc-author {
    font-weight: 700;
    color: var(--zgx-primary);
    margin-bottom: 5px;
}

.sc-testimonial-card .sc-context {
    font-size: 0.9rem;
    color: var(--zgx-muted-text);
}

/* Footer */
.sc-footer {
    background-color: var(--zgx-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--zgx-section-padding-desktop) 0 30px;
    font-size: 0.95rem;
}

.sc-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.sc-footer-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.sc-footer-logo span {
    color: var(--zgx-accent);
}

.sc-footer-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.sc-social-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.sc-social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color var(--zgx-transition-speed) ease;
}

.sc-social-links a:hover {
    color: var(--zgx-accent);
}

.sc-footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.sc-footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--zgx-transition-speed) ease;
}

.sc-footer ul li a:hover {
    color: var(--zgx-accent);
}

.sc-footer-newsletter h4 {
    margin-bottom: 15px;
}

.sc-newsletter-form {
    display: flex;
    gap: 10px;
}

.sc-newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
}

.sc-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sc-newsletter-form button {
    background-color: var(--zgx-accent);
    color: var(--zgx-primary);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color var(--zgx-transition-speed) ease;
}

.sc-newsletter-form button:hover {
    background-color: #06b6d4;
}

.sc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sc-animate {
    opacity: 0;
}

.sc-animate.sc-visible {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-name: fadeInUp;
}

.sc-animate.sc-visible.delay-1 {
    animation-delay: 0.1s;
}
.sc-animate.sc-visible.delay-2 {
    animation-delay: 0.2s;
}
.sc-animate.sc-visible.delay-3 {
    animation-delay: 0.3s;
}
.sc-animate.sc-visible.delay-4 {
    animation-delay: 0.4s;
}
.sc-animate.sc-visible.delay-5 {
    animation-delay: 0.5s;
}
.sc-animate.sc-visible.delay-6 {
    animation-delay: 0.6s;
}

.sc-animate.slide-left.sc-visible {
    animation-name: slideInLeft;
}

.sc-animate.slide-right.sc-visible {
    animation-name: slideInRight;
}

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .sc-hero h1 {
        font-size: 2.8rem;
    }

    .sc-hero p {
        font-size: 1.15rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .sc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablets and small devices */
@media (max-width: 768px) {
    .sc-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--zgx-background);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-radius: var(--zgx-border-radius);
        animation: slideDown 0.3s ease-out forwards;
    }

    .sc-nav-links.sc-active {
        display: flex;
    }

    .sc-nav-link a {
        padding: 12px 20px;
        display: block;
        text-align: center;
        color: var(--zgx-primary);
    }

    .sc-nav-link a::after {
        height: 2px;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
    }

    .sc-hamburger {
        display: block;
    }

    .sc-hero {
        min-height: 70vh;
        padding: var(--zgx-section-padding-mobile);
    }

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

    .sc-hero p {
        font-size: 1rem;
    }

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

    .sc-section-spacing {
        padding: var(--zgx-section-padding-mobile);
    }

    .sc-trust-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .sc-trust-item i {
        font-size: 1.5rem;
    }

    .sc-footer-grid {
        grid-template-columns: 1fr;
    }

    .sc-newsletter-form {
        flex-direction: column;
    }

    .sc-newsletter-form button {
        width: 100%;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .sc-hero h1 {
        font-size: 2rem;
    }

    .sc-hero p {
        font-size: 0.9rem;
    }

    .sc-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .sc-logo {
        font-size: 1.8rem;
    }

    .sc-faq-q {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .sc-faq-a {
        padding: 0 20px;
    }

    .sc-faq-item.active .sc-faq-a {
        padding: 10px 20px 15px;
    }

    .sc-footer-grid {
        gap: 30px;
    }

    .sc-footer-logo {
        font-size: 1.8rem;
    }
}

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