/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&family=Open+Sans:wght@400;600&display=swap');

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CSS Variables */
:root {
    --primary: #1FA8A7;
    --primary-light: #3CBDBD;
    --primary-dark: #168685;
    --bg-light: #F0FAF9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: rgba(31, 168, 167, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.55);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-padding: clamp(1.5rem, 5vw, 3.5rem);
    --section-spacing: clamp(3rem, 8vw, 6rem);
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

button, .btn {
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

/* Header */
header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
    display: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Logo */
.logo {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo a {
    color: inherit;
    display: block;
}

.logo-svg {
    height: 40px;
    width: auto;
    max-width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 100;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.mobile-nav .icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: clamp(6rem, 15vw, 10rem) 0 clamp(3rem, 10vw, 6rem);
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.hero .btn {
    position: relative;
    z-index: 2;
}

/* Blob Animation */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.blob-1 {
    width: 350px;
    height: 350px;
    background-color: rgba(31, 168, 167, 0.2);
    top: -100px;
    right: -50px;
    animation: float1 18s ease-in-out infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(60, 189, 189, 0.15);
    bottom: -50px;
    left: -100px;
    animation: float2 20s ease-in-out infinite;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background-color: rgba(22, 134, 133, 0.1);
    top: 30%;
    left: 35%;
    animation: float3 15s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-3deg); }
    75% { transform: translate(-30px, -10px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, 20px) rotate(-5deg); }
    50% { transform: translate(10px, -30px) rotate(7deg); }
    75% { transform: translate(30px, 10px) rotate(-3deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(10px, -15px) rotate(3deg) scale(1.1); }
    66% { transform: translate(-15px, 10px) rotate(-3deg) scale(0.95); }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: rotateY(180deg);
}

/* Card Icons */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.card-icon i {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Step Icons */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(31, 168, 167, 0.3);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(31, 168, 167, 0.4);
}

/* Mobile Nav Icons */
.mobile-nav .icon i {
    font-size: 1.4rem;
}

/* Services Section */
.services {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

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

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.card-image {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
}

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

/* Benefits Section */
.benefits {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

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

.overlapping-cards {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

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

/* Process Section */
.process {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.process h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.stepper {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

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

/* Portfolio Section */
.portfolio {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: var(--transition);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow);
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

form {
    max-width: 600px;
    margin: 3rem auto 0;
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--shadow);
}

form button {
    width: 100%;
    margin-top: 1rem;
}

/* Thank You Message */
.thank-you-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: var(--radius-md);
}

.thank-you-content {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 168, 167, 0.2);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 80%;
}

.thank-you-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.thank-you-content p {
    margin-bottom: 1.5rem;
}

.thank-you-content button {
    width: auto;
    min-width: 120px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-info {
    max-width: 500px;
}

address {
    margin: 1.5rem 0;
    font-style: normal;
    opacity: 0.9;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Placeholder Pages */
.page-content {
    padding: 8rem 0 5rem;
    text-align: center;
}

.page-content h1 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.placeholder-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow);
}

.placeholder-content p {
    margin-bottom: 1.5rem;
}

.placeholder-content .btn {
    margin-top: 1rem;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .blob {
        animation: none;
    }
    
    .card:hover, 
    .benefit-card:hover, 
    .portfolio-item:hover {
        transform: none;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        transition: none;
    }
}

/* Media Queries */
@media (min-width: 576px) {
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Overlapping cards effect */
    .benefit-card:nth-child(2) {
        transform: translateY(-30px);
    }
    
    .benefit-card:nth-child(3) {
        transform: translateY(-60px);
    }
    
    .overlapping-cards {
        margin-bottom: -60px;
    }
}

@media (min-width: 768px) {
    header {
        display: block;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .mobile-nav {
        display: none;
    }
    
    main {
        margin-top: 70px;
    }
    
    /* Horizontal stepper */
    .stepper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
    }
    
    .stepper::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 60px;
        right: 60px;
        height: 2px;
        background-color: rgba(31, 168, 167, 0.2);
        z-index: 0;
    }
    
    .step {
        flex: 1;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
        padding: 0 15px;
    }
    
    .step-number {
        background-color: var(--white);
        border: 2px solid var(--primary);
        color: var(--primary);
        z-index: 1;
    }
    
    .step-number i {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        align-items: flex-start;
    }
} 