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

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #49D9E6;
    --primary-dark: #267077;
    --primary-darker: #1B5055;
    --accent-color: #47D0DD;
    --accent-medium: #3CB0BB;
    --accent-dark: #319099;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F8F8F8;
    --gray-medium: #E0E0E0;
    --border-light: #E8E8E8;
    --border-medium: #D0D0D0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(73, 217, 230, 0.2);
    --gradient-primary: linear-gradient(135deg, #49D9E6 0%, #267077 100%);
    --gradient-accent: linear-gradient(135deg, #47D0DD 0%, #7FC23F 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}
h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
h3 {
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

.cta-button {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 65vh;
    padding: 3rem 20px;
    background: linear-gradient(135deg, rgba(73, 217, 230, 0.05) 0%, var(--white) 50%, rgba(127, 194, 63, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(73, 217, 230, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(71, 208, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(71, 208, 221, 0.4);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #152C4D;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--primary-color);
}

/* Quote Section */
.quote-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.75rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.quote-section cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent-color);
}

/* Services Overview */
.services-overview {
    padding: 4rem 20px;
    background: var(--gray-light);
}

.services-overview h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin: 1rem 0;
}

.service-card li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.service-card li:before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
}

/* Testimonials Preview */
.testimonials-preview {
    padding: 4rem 20px;
    background: var(--white);
}

.testimonials-preview h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.testimonial-carousel {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.carousel-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.carousel-panel.active {
    display: grid;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

.testimonial-card cite {
    display: block;
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

@media (max-width: 968px) {
    .carousel-panel {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    background: var(--gradient-accent);
    color: var(--white);
    border: 2px solid transparent;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(71, 208, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-prev::before,
.carousel-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(73, 217, 230, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev:hover::before,
.carousel-next:hover::before {
    width: 100px;
    height: 100px;
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(-1px) scale(0.98);
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 20px 1rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid var(--text-light);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-medium);
}

/* Page Headers */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-size: 3rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 3rem 20px;
    border-bottom: 1px solid var(--border-light);
}

.content-section:nth-child(even) {
    background: var(--gray-light);
}

/* Pricing Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-medium);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid,
    .testimonial-carousel,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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