/* ========================================
   DEVELX - Fresh Green & Blue Theme
   Premium Modern Design
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    /* Fresh Color Palette */
    --primary-green: #10b981;
    --dark-green: #059669;
    --light-green: #d1fae5;

    --primary-blue: #3b82f6;
    --dark-blue: #2563eb;
    --light-blue: #dbeafe;

    --accent-teal: #14b8a6;
    --accent-cyan: #06b6d4;

    /* Neutrals */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;

    /* Gradients */
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-teal: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-mixed: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 24px rgba(16, 185, 129, 0.25);
    --shadow-blue: 0 8px 24px rgba(59, 130, 246, 0.25);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* === ANIMATED BACKGROUND === */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: var(--gradient-green);
    top: -250px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--gradient-blue);
    bottom: -200px;
    left: -150px;
    animation-delay: 8s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--gradient-teal);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.15);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.85);
    }
}

/* === UTILITY CLASSES === */
.section-padding {
    padding: 110px 0;
}

.bg-dark-section {
    background: var(--bg-light);
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVIGATION === */
.navbar {
    padding: 22px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-blue);
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.brand-icon::before {
    display: none; /* Hide the pseudo element when using actual image */
}

.brand-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 32px;
    height: 26px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-gray);
    font-weight: 600;
    padding: 10px 22px !important;
    position: relative;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

.btn-nav {
    background: var(--gradient-green);
    border-radius: 50px;
    padding: 12px 32px !important;
    color: white !important;
    margin-left: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-green);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0.025;
}

.grid-line {
    border-right: 1px solid var(--text-dark);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 26px;
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    color: var(--primary-green);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--gradient-green);
    border-radius: 50%;
    animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-dark);
    letter-spacing: -2.5px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 45px;
    max-width: 680px;
    line-height: 1.9;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 65px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px;
    background: var(--gradient-green);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-green);
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-primary-custom i {
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
    transform: translateX(6px);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-secondary-custom:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--text-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 55px;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 3.2rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 55px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 680px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 28px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

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

.card-1 {
    top: 18%;
    left: 0;
    animation: float-card 7s infinite ease-in-out;
}

.card-2 {
    top: 48%;
    right: 0;
    animation: float-card 7s infinite ease-in-out 2.3s;
}

.card-3 {
    bottom: 18%;
    left: 28%;
    animation: float-card 7s infinite ease-in-out 4.6s;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-content h4 {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    font-weight: 600;
}

.hero-main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
}

.visual-shape {
    width: 100%;
    height: 100%;
    background: var(--gradient-mixed);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 12s infinite ease-in-out;
    opacity: 0.1;
    filter: blur(70px);
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 34px;
    height: 54px;
    border: 3px solid var(--text-dark);
    border-radius: 24px;
    position: relative;
}

.wheel {
    width: 5px;
    height: 13px;
    background: var(--primary-green);
    border-radius: 4px;
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 13px;
    }
    100% {
        opacity: 0;
        top: 34px;
    }
}

/* === SECTION HEADERS === */
.section-header {
    max-width: 880px;
    margin: 0 auto 75px;
}

.section-tag {
    display: inline-block;
    padding: 9px 26px;
    background: var(--light-green);
    color: var(--dark-green);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 28px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 26px;
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.95;
    font-weight: 400;
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 38px;
    margin-top: 75px;
}

.service-card-modern {
    background: white;
    padding: 48px 38px;
    border-radius: 30px;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card-modern:hover::before {
    opacity: 0.04;
}

.service-card-modern:hover {
    transform: translateY(-14px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-xl);
}

.service-number {
    position: absolute;
    top: 38px;
    right: 38px;
    font-size: 5.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.018);
    z-index: 1;
    line-height: 1;
}

.service-icon-modern {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: white;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.service-card-modern h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-card-modern > p {
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    font-size: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-gray);
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 500;
}

.service-features i {
    color: var(--primary-green);
    font-size: 13px;
}

/* Gradient Classes */
.gradient-red { background: var(--gradient-green); }
.gradient-blue { background: var(--gradient-blue); }
.gradient-purple { background: var(--gradient-teal); }
.gradient-green { background: var(--gradient-green); }
.gradient-orange { background: var(--gradient-blue); }
.gradient-pink { background: var(--gradient-teal); }

/* === ABOUT SECTION === */
.about-image-wrapper {
    position: relative;
    height: 580px;
}

.about-shape {
    position: absolute;
    border-radius: 38px;
    background: var(--gradient-green);
    opacity: 0.08;
}

.shape-1 {
    width: 370px;
    height: 370px;
    top: 0;
    left: 0;
    animation: float 9s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 0;
    right: 0;
    animation: float 9s infinite ease-in-out 4.5s;
}

.about-image-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: white;
    border-radius: 38px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 38px;
    background: var(--bg-light);
    border-radius: 24px;
    border: 2px solid var(--border-color);
}

.about-badge i {
    font-size: 3.8rem;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-badge h4 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-badge p {
    margin: 0;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 2.1;
    margin-bottom: 38px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 38px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.value-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 9px;
    font-weight: 700;
}

.value-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

/* === PORTFOLIO SECTION === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 38px;
    margin-top: 75px;
}

.portfolio-card-modern {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.portfolio-card-modern:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

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

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.8rem;
    color: white;
    transition: transform 0.4s ease;
}

.portfolio-card-modern:hover .portfolio-placeholder {
    transform: scale(1.18);
}

.portfolio-content {
    padding: 38px;
}

.portfolio-category {
    display: inline-block;
    padding: 7px 18px;
    background: var(--light-blue);
    color: var(--dark-blue);
    border-radius: 28px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.portfolio-content h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.9;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
}

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

.portfolio-link i {
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: translateX(7px);
}

/* === TESTIMONIALS SECTION === */
.testimonials-carousel {
    margin-top: 75px;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 38px;
}

.testimonial-card-modern {
    background: white;
    padding: 48px 42px;
    border-radius: 30px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-14px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 7px;
    margin-bottom: 28px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 19px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 2.1;
    color: var(--text-gray);
    margin-bottom: 38px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 7px;
    font-weight: 700;
}

.author-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    font-weight: 600;
}

/* Client Logos */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 32px;
    margin-top: 45px;
}

.client-logo-modern {
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 22px;
    transition: all 0.3s ease;
}

.client-logo-modern:hover {
    background: var(--bg-light);
    border-color: var(--primary-green);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.client-placeholder {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-gray);
}

/* === CONTACT SECTION === */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: 26px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-green);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 11px;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0;
    line-height: 1.8;
}

.social-links-modern {
    padding: 32px;
    background: white;
    border-radius: 26px;
    border: 2px solid var(--border-color);
}

.social-links-modern h4 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.social-icon:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

/* Contact Form */
.contact-form-modern {
    padding: 48px;
    background: white;
    border-radius: 30px;
    border: 2px solid var(--border-color);
}

.form-group-modern {
    margin-bottom: 0;
}

.form-group-modern label {
    display: block;
    font-weight: 700;
    margin-bottom: 13px;
    color: var(--text-dark);
    font-size: 15px;
}

.form-control-modern {
    width: 100%;
    padding: 17px 24px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.form-control-modern::placeholder {
    color: var(--text-light);
}

select.form-control-modern {
    cursor: pointer;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 145px;
}

/* === NEWSLETTER SECTION === */
.newsletter-section-modern {
    padding: 110px 0;
    background: var(--bg-light);
}

.newsletter-content {
    padding: 75px;
    background: white;
    border-radius: 38px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.newsletter-icon {
    width: 95px;
    height: 95px;
    background: var(--gradient-green);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
    color: white;
    margin-bottom: 28px;
    box-shadow: var(--shadow-green);
}

.newsletter-content h2 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.newsletter-content p {
    color: var(--text-gray);
    font-size: 1.15rem;
}

.newsletter-form-modern {
    display: flex;
    gap: 20px;
}

.newsletter-form-modern input {
    flex: 1;
    padding: 21px 32px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form-modern input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.newsletter-form-modern button {
    padding: 21px 48px;
    background: var(--gradient-green);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-green);
}

.newsletter-form-modern button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(16, 185, 129, 0.4);
}

/* === FOOTER === */
.footer-modern {
    background: white;
    padding: 95px 0 38px;
    border-top: 2px solid var(--border-color);
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 2;
    margin-top: 24px;
}

.footer-modern h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

.footer-bottom {
    margin-top: 75px;
    padding-top: 38px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--gradient-green);
    color: white;
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-green);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .hero-visual {
        height: 580px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 85px 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-visual {
        height: 480px;
        margin-top: 65px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form-modern {
        flex-direction: column;
    }

    .newsletter-content {
        padding: 55px 38px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 65px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta a {
        justify-content: center;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-item h3 {
        font-size: 2.7rem;
    }

    .contact-form-modern {
        padding: 38px 28px;
    }
}

@media (max-width: 575px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-divider {
        width: 100%;
        height: 2px;
    }

    .services-grid,
    .portfolio-grid,
    .testimonial-track {
        grid-template-columns: 1fr;
    }

    .brand-text {
        font-size: 24px;
    }

    .brand-icon {
        width: 56px;
        height: 56px;
    }

    .newsletter-content {
        padding: 45px 28px;
    }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-green);
    border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* === SELECTION === */
::selection {
    background: var(--primary-green);
    color: white;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.whatsapp-float i {
    color: white;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 35px;
    background: var(--gradient-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.scroll-top.show {
    display: flex;
    opacity: 1;
    animation: fadeInUp 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.35);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 22px;
        font-size: 18px;
    }
}