@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --dsc-primary: #0d9488;
    --dsc-secondary: #0f766e;
    --dsc-accent: #f43f5e;
    --dsc-background: #f0fdfa;
    --dsc-text-dark: #134e4a;
    --dsc-text-light: #ffffff;
    --dsc-muted: #5eead4;

    --ct-spacing-xl: 120px;
    --ct-spacing-lg: 80px;
    --ct-spacing-md: 48px;
    --ct-spacing-sm: 24px;

    --ct-border-radius: 12px;
    --ct-transition-duration: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dsc-text-dark);
    line-height: 1.6;
    background-color: var(--dsc-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    background-color: var(--dsc-accent);
    color: var(--dsc-text-light);
}

::selection {
    background-color: var(--dsc-accent);
    color: var(--dsc-text-light);
}

a {
    color: var(--dsc-primary);
    text-decoration: none;
    transition: color var(--ct-transition-duration) ease;
}

a:hover {
    color: var(--dsc-accent);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--dsc-secondary);
    margin-bottom: var(--ct-spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--dsc-primary);
}

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

h4 {
    font-size: 1.6rem;
    font-weight: 600;
}

h5 {
    font-size: 1.3rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dsc-muted);
}

p {
    margin-bottom: 1em;
}

/* Utility Classes */
.ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ct-spacing-sm);
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ct-spacing-md);
}

.ct-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ct-spacing-sm);
}

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

.ct-section-padding {
    padding: var(--ct-spacing-lg) 0;
}

.ct-bg-light {
    background-color: var(--dsc-background);
}

.ct-bg-dark {
    background-color: var(--dsc-secondary);
    color: var(--dsc-text-light);
}

.ct-bg-dark h1, .ct-bg-dark h2, .ct-bg-dark h3, .ct-bg-dark h4, .ct-bg-dark h5, .ct-bg-dark h6,
.ct-bg-dark p, .ct-bg-dark a {
    color: var(--dsc-text-light);
}

.ct-bg-dark a:hover {
    color: var(--dsc-accent);
}

/* Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--ct-border-radius);
    cursor: pointer;
    transition: all var(--ct-transition-duration) ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.ct-btn-primary {
    background-color: var(--dsc-accent);
    color: var(--dsc-text-light);
    border-color: var(--dsc-accent);
}

.ct-btn-primary:hover {
    background-color: #e02f52;
    border-color: #e02f52;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.4);
}

.ct-btn-secondary {
    background-color: var(--dsc-primary);
    color: var(--dsc-text-light);
    border-color: var(--dsc-primary);
}

.ct-btn-secondary:hover {
    background-color: var(--dsc-secondary);
    border-color: var(--dsc-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.4);
}

.ct-btn-outline {
    background-color: transparent;
    color: var(--dsc-secondary);
    border-color: var(--dsc-primary);
}

.ct-btn-outline:hover {
    color: var(--dsc-text-light);
    background-color: var(--dsc-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

/* Header & Navigation */
.ct-header {
    background-color: var(--dsc-background);
    padding: var(--ct-spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ct-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ct-logo a {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dsc-primary);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.ct-logo a span {
    color: var(--dsc-accent);
}

.ct-nav-menu {
    list-style: none;
    display: flex;
    gap: var(--ct-spacing-md);
}

.ct-nav-menu a {
    color: var(--dsc-text-dark);
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.ct-nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: var(--dsc-accent);
    transition: width var(--ct-transition-duration) ease;
}

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

.ct-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.ct-hamburger span {
    height: 3px;
    width: 25px;
    background-color: var(--dsc-text-dark);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all var(--ct-transition-duration) ease;
}

.ct-mobile-nav-active .ct-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.ct-mobile-nav-active .ct-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.ct-hero {
    background-image: linear-gradient(rgba(13, 148, 136, 0.7), rgba(15, 118, 110, 0.7)), url('https://loremflickr.com/1400/800/fitness%2Cgym/all?lock=889235640');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dsc-text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ct-hero-content {
    max-width: 900px;
    padding: var(--ct-spacing-md);
}

.ct-hero-content h1 {
    color: var(--dsc-text-light);
    font-size: 4.5rem;
    margin-bottom: var(--ct-spacing-sm);
    animation: bouncyText 1s ease-out both;
}

.ct-hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--ct-spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Bubbles Section */
.ct-feature-bubble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--ct-spacing-md);
    margin-top: var(--ct-spacing-md);
}

.ct-feature-bubble {
    background-color: var(--dsc-background);
    padding: var(--ct-spacing-md);
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform var(--ct-transition-duration) ease, box-shadow var(--ct-transition-duration) ease;
    border: 1px solid var(--dsc-muted);
}

.ct-feature-bubble:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.ct-feature-bubble .ct-icon {
    font-size: 3rem;
    color: var(--dsc-accent);
    margin-bottom: var(--ct-spacing-sm);
    display: inline-block;
    background-color: rgba(244, 63, 94, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.ct-feature-bubble h3 {
    color: var(--dsc-primary);
    margin-bottom: var(--ct-spacing-sm);
}

/* Testimonials */
.ct-testimonial-card {
    background-color: var(--dsc-background);
    padding: var(--ct-spacing-md);
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    font-style: italic;
    border: 1px solid var(--dsc-muted);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ct-testimonial-card p {
    margin-bottom: var(--ct-spacing-sm);
    font-size: 1.1rem;
}

.ct-testimonial-card .ct-author {
    font-weight: 600;
    color: var(--dsc-secondary);
    font-style: normal;
    margin-top: var(--ct-spacing-sm);
}

/* Benefits Cards */
.ct-benefit-card {
    background-color: var(--dsc-text-light);
    padding: var(--ct-spacing-md);
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: var(--ct-spacing-sm);
    transition: transform var(--ct-transition-duration) ease, box-shadow var(--ct-transition-duration) ease;
}

.ct-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ct-benefit-card .ct-icon {
    font-size: 2rem;
    color: var(--dsc-primary);
    flex-shrink: 0;
    background-color: rgba(13, 148, 136, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.ct-benefit-card h3 {
    margin-top: 0;
    color: var(--dsc-secondary);
}

/* CTA Section */
.ct-cta-colorful {
    background-image: linear-gradient(45deg, var(--dsc-primary), var(--dsc-accent));
    color: var(--dsc-text-light);
    padding: var(--ct-spacing-lg) 0;
    text-align: center;
    border-radius: var(--ct-border-radius);
    margin: var(--ct-spacing-lg) 0;
}

.ct-cta-colorful .ct-btn {
    background-color: var(--dsc-text-light);
    color: var(--dsc-accent);
    border-color: var(--dsc-text-light);
    padding: 16px 32px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.ct-cta-colorful .ct-btn:hover {
    background-color: var(--dsc-muted);
    color: var(--dsc-primary);
    border-color: var(--dsc-muted);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* How It Works */
.ct-step-card {
    background-color: var(--dsc-background);
    padding: var(--ct-spacing-md);
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dsc-muted);
}

.ct-step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.1);
  z-index: 0;
}

.ct-step-card .ct-icon {
    font-size: 3.5rem;
    color: var(--dsc-primary);
    margin-bottom: var(--ct-spacing-sm);
    position: relative;
    z-index: 1;
}

.ct-step-card h3 {
    color: var(--dsc-secondary);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Lead Form Section */
.ct-form-section {
    background-color: var(--dsc-text-light);
    padding: var(--ct-spacing-lg) 0;
}

.ct-form-card {
    background-color: var(--dsc-background);
    padding: var(--ct-spacing-lg);
    border-radius: var(--ct-border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--dsc-muted);
}

.ct-form-group {
    margin-bottom: var(--ct-spacing-sm);
    position: relative;
}

.ct-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dsc-secondary);
}

.ct-form-group input[type="text"],
.ct-form-group input[type="email"],
.ct-form-group input[type="tel"],
.ct-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--dsc-muted);
    border-radius: var(--ct-border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dsc-text-dark);
    transition: border-color var(--ct-transition-duration) ease, box-shadow var(--ct-transition-duration) ease;
    background-color: #ffffff;
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
    outline: none;
    border-color: var(--dsc-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

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

.ct-form-group .ct-form-error {
    color: var(--dsc-accent);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.ct-form-success, .ct-form-error-message {
    padding: var(--ct-spacing-sm);
    border-radius: var(--ct-border-radius);
    margin-top: var(--ct-spacing-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.ct-form-success {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--dsc-primary);
    border: 1px solid var(--dsc-primary);
}

.ct-form-error-message {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--dsc-accent);
    border: 1px solid var(--dsc-accent);
}

.ct-form-card .ct-btn-primary {
    width: 100%;
    margin-top: var(--ct-spacing-sm);
}

/* FAQ Section */
.ct-faq-item {
    background-color: var(--dsc-background);
    border: 1px solid var(--dsc-muted);
    border-radius: var(--ct-border-radius);
    margin-bottom: var(--ct-spacing-sm);
    overflow: hidden;
    transition: all var(--ct-transition-duration) ease;
}

.ct-faq-q {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dsc-secondary);
    background-color: #ffffff;
    transition: background-color var(--ct-transition-duration) ease;
}

.ct-faq-q:hover {
    background-color: #f8f8f8;
}

.ct-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--dsc-primary);
    transition: transform var(--ct-transition-duration) ease;
}

.ct-faq-item.active .ct-faq-q::after {
    content: '-';
    transform: rotate(180deg);
}

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ct-transition-duration) ease;
    padding: 0 24px;
    color: var(--dsc-text-dark);
}

.ct-faq-item.active .ct-faq-a {
    max-height: 500px; /* Sufficiently large value */
    padding: 10px 24px 20px;
}

/* Footer */
.ct-footer {
    background-color: var(--dsc-secondary);
    color: var(--dsc-text-light);
    padding: var(--ct-spacing-lg) 0 var(--ct-spacing-sm);
    font-size: 0.95rem;
}

.ct-footer .ct-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-bottom: var(--ct-spacing-md);
    border-bottom: 1px solid var(--dsc-primary);
    margin-bottom: var(--ct-spacing-sm);
}

.ct-footer h4 {
    color: var(--dsc-muted);
    margin-bottom: var(--ct-spacing-sm);
}

.ct-footer p, .ct-footer ul {
    margin-bottom: 10px;
}

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

.ct-footer ul li a {
    color: var(--dsc-text-light);
    display: block;
    padding: 5px 0;
}

.ct-footer ul li a:hover {
    color: var(--dsc-accent);
    transform: translateX(5px);
}

.ct-footer-bottom {
    text-align: center;
    padding-top: var(--ct-spacing-sm);
    border-top: 1px solid var(--dsc-primary);
}

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

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

@keyframes bouncyText {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  40% {
    transform: translateY(10px);
    opacity: 1;
  }
  70% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.ct-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.ct-animate.ct-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ct-container {
        padding: 0 var(--ct-spacing-sm);
    }
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .ct-hero-content p {
        font-size: 1.1rem;
    }
    .ct-nav-menu {
        gap: var(--ct-spacing-sm);
    }
    .ct-footer .ct-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .ct-navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
    }
    .ct-logo a {
        margin-bottom: 0;
    }
    .ct-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--dsc-background);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: var(--ct-spacing-sm) 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .ct-mobile-nav-active .ct-nav-menu {
        display: flex;
        max-height: 400px; /* Adjust to fit content */
    }
    .ct-nav-menu li {
        text-align: center;
        width: 100%;
    }
    .ct-nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--dsc-muted);
    }
    .ct-nav-menu a::after {
        bottom: -1px;
        height: 2px;
    }
    .ct-hamburger {
        display: flex;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .ct-hero-content {
        padding: var(--ct-spacing-sm);
    }
    .ct-section-padding {
        padding: var(--ct-spacing-md) 0;
    }
    .ct-grid {
        grid-template-columns: 1fr;
    }
    .ct-footer .ct-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ct-footer ul li a {
        display: inline-block;
        margin: 0 10px;
    }
    .ct-footer h4 {
        margin-top: var(--ct-spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .ct-hero-content p {
        font-size: 1rem;
    }
    .ct-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .ct-logo a {
        font-size: 1.8rem;
    }
    .ct-form-card {
        padding: var(--ct-spacing-md);
    }
    .ct-faq-q {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .ct-faq-item.active .ct-faq-a {
        padding: 8px 20px 15px;
    }
}
