:root {
    --primary-color: #00bcd4;
    --secondary-color: #4dd0e1;
    --accent-color: #26c6da;
    --dark-color: #0097a7;
    --light-color: #e0f7fa;
    --text-dark: #37474f;
    --gradient: linear-gradient(135deg, #00bcd4 0%, #4dd0e1 100%);
    --gradient-dark: linear-gradient(135deg, #0097a7 0%, #00bcd4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Cookie Alert */
.cookie-alert {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 400px;
    margin: 0 auto;
    display: none;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Space for fixed navbar */
    padding-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary-custom {
    background: var(--gradient-dark);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: white;
    margin-top: 0;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--light-color);
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
}

.about h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 15px;
}

.about p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Team Section */
.team {
    padding: 120px 0;
    background: white;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 280px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 10px;
}

.team-info p {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    line-height: 1.6;
}

/* Clients Section */
.clients {
    padding: 120px 0;
    background: var(--light-color);
}

.client-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.client-card h4 {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    margin-bottom: 20px;
}

.client-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--gradient);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: 20px 10px;
    text-align: center;
    height: auto;
}

.testimonial-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-card h6 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary-custom {
        padding: 12px 30px;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .features,
    .about,
    .team,
    .clients,
    .testimonials {
        padding: 80px 0;
    }

    .feature-card,
    .team-card {
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .team-info {
        padding: 20px 15px;
    }

    .testimonial-card {
        margin: 15px 5px;
        padding: 25px 20px;
    }

    .client-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .display-4 {
        font-size: 2.2rem !important;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .cookie-alert {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero .btn-primary-custom,
    .hero .btn-outline-light {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .team-img {
        height: 250px;
    }

    .features,
    .about,
    .team,
    .clients,
    .testimonials {
        padding: 60px 0;
    }

    .display-4 {
        font-size: 1.8rem !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Fix for overlapping sections */
section {
    position: relative;
    z-index: 1;
}

.navbar {
    z-index: 1000;
}