:root {
    --pearl-white: #F8F7F4;
    --soft-gray: #E5E4E2;
    --maroon: #A0616A;
    --light-maroon: #C98E96;
    --ocean-blue: #5FA8D3;
    --light-blue: #8DC6E8;
    --dark-text: #2C3E50;
    --light-text: #6C757D;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.brand-text {
    background: linear-gradient(135deg, var(--maroon), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.btn-cta {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--maroon), var(--ocean-blue));
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 97, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 97, 106, 0.4);
    background: linear-gradient(135deg, var(--ocean-blue), var(--maroon));
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--ocean-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--maroon);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-maroon), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--soft-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--light-maroon), var(--light-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--maroon);
}

.ecommerce-banner {
    background: linear-gradient(135deg, var(--maroon), var(--ocean-blue));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(160, 97, 106, 0.9), rgba(95, 168, 211, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    padding: 2rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--soft-gray);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--light-text);
    line-height: 1.8;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--soft-gray);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 0.2rem rgba(95, 168, 211, 0.2);
}

.form-label {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--ocean-blue);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--maroon);
}

.social-links a, .social-links-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--ocean-blue);
    color: white;
}

.footer {
    background: linear-gradient(135deg, var(--dark-text) 0%, #1a252f 100%);
    color: white;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    font-size: 1.8rem;
    color: var(--light-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
    color: white;
}

.social-links-footer a {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.5rem;
}

.social-links-footer a:hover {
    background: var(--ocean-blue);
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
    }

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

    .service-card {
        margin-bottom: 1.5rem;
    }

    .portfolio-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

.bg-light {
    background-color: var(--pearl-white) !important;
}

section {
    scroll-margin-top: 80px;
}
