@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --secondary-color: #2E7D32;
    --accent-color: #FFC107;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf6 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%), url('https://images.unsplash.com/photo-1498837167922-ddd27525d352?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero {
    padding: 110px 0 70px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.8) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.icon-heart { background-color: rgba(255, 82, 82, 0.1); color: #ff5252; }
.icon-fire { background-color: rgba(255, 193, 7, 0.1); color: #ffc107; }
.icon-smile { background-color: rgba(33, 150, 243, 0.1); color: #2196f3; }

.hero-img-container {
    position: relative;
}

.hero-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 10px solid var(--white);
    position: relative;
    z-index: 2;
}

.hero-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 30px;
    top: 20px;
    right: -20px;
    z-index: 1;
}

/* Section Common */
section {
    padding: 80px 0;
}

section[id] {
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Transformations */
.portfolio-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    background: var(--white);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.before-after-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.before-after-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .before-after-img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
}

.stats-badge {
    background-color: rgba(255, 193, 7, 0.2);
    color: #d39e00;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    margin: 10px 0;
    font-size: 0.85rem;
}

/* Testimonials */
.testimonial-section {
    background-color: var(--light-bg);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    margin: 20px;
}

.quote-icon {
    color: rgba(76, 175, 80, 0.2);
    font-size: 4rem;
    position: absolute;
    top: 20px;
    left: 20px;
}

.client-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.stars {
    color: var(--accent-color);
    margin-top: 10px;
}

/* About Section */
.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.content-card {
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.tag-pill {
    background-color: rgba(76, 175, 80, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

/* Contact Section */
.contact-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.form-control, .form-select {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
    background-color: var(--white);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: #1a252f;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-note {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: var(--white);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin: 0 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
    }
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-img-container {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}
