/**
 * Samsara Psikolojik Danışmanlık - Ana Stil Dosyası
 * Modern UX Design with Glassmorphism & Animations
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Colors */
    --primary: #017969;
    --primary-dark: #015a4f;
    --primary-light: #02a08a;
    --secondary: #F15A25;
    --secondary-dark: #d94a18;
    --secondary-light: #ff7a4d;
    --white: #ffffff;
    --black: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --gap: 2rem;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(1, 121, 105, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Typography
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* ========================================
   Container & Layout
======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-header .subtitle::before {
    right: calc(100% + 15px);
}

.section-header .subtitle::after {
    left: calc(100% + 15px);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(241, 90, 37, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 90, 37, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Header & Navigation
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 57px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../logo/desen.png') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-badge i {
    color: var(--secondary);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.5s backwards;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 20%;
    left: -30px;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

.hero-float-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-float-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.hero-float-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* Hero Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--white);
    bottom: -100px;
    left: -100px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 20%;
    right: 10%;
}

/* Swiper Specific Overrides */
.hero-swiper {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.mainSwiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 10px;
    background: var(--secondary);
}

.hero-swiper .swiper-slide [data-animation] {
    visibility: hidden;
}

.hero-swiper .swiper-slide-active [data-animation] {
    visibility: visible;
}

/* Ensure background image covers full area and gradient is visible */
.hero {
    background-size: cover !important;
    background-position: center !important;
}

/* ========================================
   Features Section
======================================== */
.features {
    background: var(--gray-100);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-card h4 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* ========================================
   About Section
======================================== */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.about-badge p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content .subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content>p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.about-list {
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list i {
    width: 32px;
    height: 32px;
    background: rgba(1, 121, 105, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* ========================================
   Services Section
======================================== */
.services {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../logo/desen.png') center/cover no-repeat;
    opacity: 0.05;
}

.services .section-header .subtitle,
.services .section-header h2,
.services .section-header p {
    color: var(--white);
}

.services .section-header .subtitle::before,
.services .section-header .subtitle::after {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(1, 121, 105, 0.1), rgba(1, 121, 105, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   Stats Section
======================================== */
.stats {
    background: var(--gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
    animation: pulse 1s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.15);
    }
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========================================
   Contact Section
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--primary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info>p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-list i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-list h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-list p,
.contact-list a {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 0.5rem;
}

.contact-form>p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 121, 105, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.0625rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../logo/desen-2') center/cover no-repeat;
    opacity: 0.2;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--secondary);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 0;
    position: relative;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 0.25rem;
}

.footer-contact a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../logo/desen.png') bottom left no-repeat;
    background-size: auto 90%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Back to Top
======================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {

    .features-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        order: 2;
        margin-top: 2rem;
        padding-bottom: 40px;
        /* Space for pagination */
    }

    .hero-visual {
        order: 1;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 70vh;
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
        object-fit: contain;
        object-position: top center;
    }

    .hero-text {
        margin: 0 auto 2rem;
        max-width: 90%;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu {
        display: none !important;
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: var(--white) !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
        z-index: 999 !important;
        padding: 2rem !important;
        overflow-y: auto !important;
    }

    .nav-menu.active li {
        width: 100%;
        text-align: center;
    }

    .nav-menu.active .nav-link {
        display: block;
        font-size: 1.25rem;
        padding: 1rem 2rem;
        color: var(--gray-800);
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }

    .nav-menu.active .nav-link::after {
        display: none;
    }

    .nav-menu.active .nav-link:hover,
    .nav-menu.active .nav-link.active {
        background: var(--primary);
        color: var(--white);
    }

    .nav-cta {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .features-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-badge {
        position: static;
        margin-top: 2rem;
    }

    .about-image::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-logo img {
        margin: 0 auto 1.5rem;
    }

    .footer-desc {
        margin: 0 auto 1.5rem;
        max-width: 400px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .social-links,
    .contact-social {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
    }

    .hero-float-card {
        display: none !important;
    }

    .hero {
        padding-top: 170px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header .subtitle::before,
    .section-header .subtitle::after {
        display: none;
    }
}

/* ========================================
   Service Detail Page Styles
======================================== */
.service-detail-section {
    background: var(--gray-100);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

/* Service Menu */
.service-menu {
    list-style: none;
}

.service-menu li {
    margin-bottom: 0.5rem;
}

.service-menu li:last-child {
    margin-bottom: 0;
}

.service-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-700);
    transition: var(--transition);
    font-weight: 500;
}

.service-menu a i:first-child {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.service-menu a span {
    flex: 1;
}

.service-menu a .arrow {
    font-size: 0.75rem;
    opacity: 0;
    transition: var(--transition);
}

.service-menu a:hover,
.service-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.service-menu a:hover i,
.service-menu a.active i {
    color: var(--white);
}

.service-menu a:hover .arrow,
.service-menu a.active .arrow {
    opacity: 1;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.contact-box h4 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-box-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-box-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.contact-box p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.contact-phone {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-phone:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

/* Service Detail Content */
.service-detail-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-content:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-detail-info {
    padding: 2.5rem;
}

.service-detail-info .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-detail-info h2 {
    margin-bottom: 1.5rem;
}

.service-detail-info .lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Feature List */
.service-features {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-features h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.125rem;
}

/* Service CTA */
.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Grid Full */
.services-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

.service-card-large {
    padding: 3rem 2rem;
}

.service-card-large .service-icon {
    width: 100px;
    height: 100px;
}

.service-card-large .service-icon i {
    font-size: 2.75rem;
}

/* Responsive */
@media (max-width: 992px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }

    .services-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        height: 250px;
    }

    .service-detail-info {
        padding: 1.5rem;
    }

    .service-cta {
        flex-direction: column;
    }

    .services-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   WhatsApp Support Styles (Pro Widget)
======================================== */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wa-float-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.wa-float-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.wa-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: wa-ping 2s infinite;
}

@keyframes wa-ping {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.wa-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.wa-chat-window.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-chat-header {
    background: #075e54;
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-chat-admin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-chat-admin img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}

.wa-chat-admin-info {
    display: flex;
    flex-direction: column;
}

.wa-chat-admin-info strong {
    font-size: 0.9375rem;
    display: block;
}

.wa-chat-admin-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.online-status {
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.wa-chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.wa-chat-close:hover {
    opacity: 1;
}

.wa-chat-body {
    padding: 20px;
    background: #e5ddd5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    height: 200px;
    overflow-y: auto;
}

.wa-chat-message {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 0 15px 15px 15px;
    font-size: 0.875rem;
    color: var(--gray-800);
    max-width: 90%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    line-height: 1.5;
}

.wa-chat-footer {
    padding: 15px;
    background: var(--white);
    display: flex;
    gap: 10px;
}

.wa-chat-footer input {
    flex: 1;
    border: 1px solid var(--gray-200);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.875rem;
    outline: none;
}

.wa-send-btn {
    width: 40px;
    height: 40px;
    background: #075e54;
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-send-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .wa-chat-window {
        width: calc(100vw - 40px);
        bottom: 70px;
    }
}

/* ========================================
   Blog Page Styles
======================================== */
.blog-section {
    background: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-card-meta i {
    margin-right: 0.35rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.blog-card-link i {
    transition: var(--transition);
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

/* Blog Detail */
.blog-detail-section {
    background: var(--gray-100);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.blog-detail-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.blog-detail-image {
    height: 400px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.blog-category {
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-date,
.blog-author {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-date i,
.blog-author i {
    margin-right: 0.35rem;
}

.blog-detail-text {
    padding: 2rem 2rem 0;
}

.blog-detail-text p {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-detail-text h3 {
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.blog-share {
    padding: 1rem 2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.blog-share span {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.share-links {
    display: flex;
    gap: 0.75rem;
}

.share-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
    transition: var(--transition);
}

.share-facebook {
    background-color: #3b5998;
}

.share-x {
    background-color: #000000;
}

.share-whatsapp {
    background-color: #25d366;
}

.share-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.blog-detail-cta {
    background: var(--gray-100);
    padding: 2rem;
    margin: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.blog-detail-cta h4 {
    margin-bottom: 0.5rem;
}

.blog-detail-cta p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.blog-sidebar-list {
    list-style: none;
}

.blog-sidebar-list li {
    margin-bottom: 1rem;
}

.blog-sidebar-list li:last-child {
    margin-bottom: 0;
}

.blog-sidebar-list a {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    transition: var(--transition);
}

.blog-sidebar-list a:hover {
    background: var(--gray-200);
}

.blog-sidebar-list img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.blog-sidebar-list h5 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.blog-sidebar-list span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.page-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.page-link.active {
    background: var(--primary);
    color: var(--white);
}

/* Blog Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-image {
        height: 250px;
    }

    .blog-detail-meta {
        padding: 1rem 1.5rem;
    }

    .blog-detail-text {
        padding: 1.5rem;
    }

    .blog-detail-cta {
        margin: 1.5rem;
        padding: 1.5rem;
    }
}