/* ============================================
   Studio Legale Avv. Benedetta Prota
   Modern & Professional CSS
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2444;
    --primary-light: #2c5282;
    --secondary-color: #c9a227;
    --secondary-light: #d4b54a;
    --accent-color: #8b7355;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --container-max: 1200px;
    --header-height: 100px;
    --header-top-offset: 25px;
}

/* ---------- Font Face ---------- */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

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

.bg-cream {
    background-color: var(--bg-cream);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--bg-white);
}

.text-center {
    text-align: center;
}

/* ---------- Header & Navigation ---------- */
.header {
    position: fixed;
    top: var(--header-top-offset);
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--header-top-offset));
    left: 0;
    right: 0;
    height: var(--header-top-offset);
    background-color: var(--bg-white);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 4px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + var(--header-top-offset));
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-white);
    padding: 2rem;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

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

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-top: calc(var(--header-height) + var(--header-top-offset));
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs-item:not(:last-child)::after {
    content: '/';
    color: var(--text-light);
}

.breadcrumbs-link {
    color: var(--text-light);
}

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

.breadcrumbs-current {
    color: var(--primary-color);
    font-weight: 500;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: calc(var(--header-height) + var(--header-top-offset));
    background-image: url('../img/hero-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.65) 0%, rgba(15, 36, 68, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    max-width: 600px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Page Hero (smaller) */
.page-hero {
    position: relative;
    padding: 6rem 0 4rem;
    margin-top: calc(var(--header-height) + var(--header-top-offset));
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.page-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ---------- Cards ---------- */
.card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.card-link:hover {
    color: var(--secondary-color);
}

.card-link svg {
    transition: transform var(--transition-fast);
}

.card-link:hover svg {
    transform: translateX(5px);
}

/* Service Cards */
.service-card {
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card-text {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

/* ---------- Feature List ---------- */
.feature-list {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px;
    font-size: 1.25rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ---------- Grid System ---------- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content .lead {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Services Section ---------- */
.services-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ---------- CTA Section ---------- */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-medium);
}

.contact-details a {
    color: var(--primary-color);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-fast);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* ---------- Section Titles ---------- */
.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-text {
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* ---------- Content Pages ---------- */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2rem;
}

.content-wrapper h3 {
    margin-top: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
}

.content-wrapper li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.content-wrapper blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    font-style: italic;
    color: var(--text-medium);
}

/* ---------- Why Choose Us ---------- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-choose-item {
    text-align: center;
    padding: 2rem;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 2rem;
}

.why-choose-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.why-choose-text {
    color: var(--text-medium);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ---------- Testimonial ---------- */
.testimonial-card {
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ---------- Animation Classes ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image::before {
        display: none;
    }

    .services-grid,
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

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

    .hero-text {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .services-grid,
    .why-choose-grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 45%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-inner {
        justify-content: space-between;
    }

    .logo {
        gap: 0;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn img {
        width: 28px;
        height: 28px;
    }

    .btn {
        width: 100%;
    }

    .page-hero {
        padding: 4rem 0 3rem;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    .header,
    .footer,
    .whatsapp-btn,
    .mobile-nav {
        display: none !important;
    }

    .hero,
    .page-hero {
        margin-top: 0;
        background: none;
        color: #000;
    }

    .hero-title,
    .page-hero-title {
        color: #000;
    }
}
