/* index.css - Estilo Jurídico Renovado */

/* Variables de Color para consistencia */
:root {
    --primary-color: #0e1c36; /* Azul Oxford profundo */
    --secondary-color: #c5a059; /* Dorado elegante */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-heading: 'Playfair Display', serif; /* Fuente clásica para títulos */
    --font-body: 'Inter', sans-serif; /* Fuente limpia para lectura */
}

/* Reset y configuración básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía Jurídica */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 28, 54, 0.95); /* Azul transparente */
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3); /* Borde dorado sutil */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color); /* Línea dorada */
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.hamburger img {
    height: 45px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Gradiente azul profundo a negro */
    background: linear-gradient(135deg, var(--primary-color) 0%, #050a14 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a059' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.highlight {
    color: var(--secondary-color);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #dcdcdc;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2px; /* Bordes más rectos para seriedad */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background: #d4b06a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.8s both;
    padding: 2rem;
}

.hero-image-wrapper {
    position: relative;
    width: min(350px, 90vw); /* Más responsive */
    height: min(600px, 85vh); /* Se adapta mejor a móviles */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5), /* Sombra más moderna */
        0 0 0 1px rgba(255, 255, 255, 0.05); /* Borde sutil interno */
    z-index: 1;
    overflow: hidden;
    border-radius: 12px; /* Esquinas ligeramente redondeadas */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Marco decorativo mejorado */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 2px solid var(--secondary-color);
    border-radius: 16px; /* Coherencia con el border-radius principal */
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    z-index: -1;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: 
        grayscale(25%) 
        brightness(1.05) 
        contrast(1.1)
        saturate(0.9); /* Filtros más equilibrados */
    transition: all 0.5s ease;
    transform: scale(1.01); /* Evita bordes blancos en imágenes */
}

/* Efectos hover mejorados */
.hero-image-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 35px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper:hover::before {
    transform: translate(-2px, -2px);
    opacity: 1;
}

.hero-image-wrapper:hover::after {
    transform: translate(2px, 2px);
    opacity: 0.8;
}

.hero-image-wrapper:hover img {
    filter: 
        grayscale(0%) 
        brightness(1.1) 
        contrast(1.15)
        saturate(1.05);
    transform: scale(1.03);
}

/* Efecto de brillo sutil */
.hero-image-wrapper::before {
    background: linear-gradient(
        45deg,
        transparent,
        rgba(var(--secondary-color-rgb), 0.1),
        transparent
    );
}

/* Media Queries mejorados */
@media (max-width: 768px) {
    .hero-visual {
        padding: 1.5rem;
    }
    
    .hero-image-wrapper {
        width: min(280px, 85vw);
        height: min(480px, 75vh);
        border-radius: 8px;
    }
    
    .hero-image-wrapper::before {
        top: -8px;
        left: -8px;
        width: calc(100% + 16px);
        height: calc(100% + 16px);
        border-radius: 12px;
    }
    
    .hero-image-wrapper::after {
        bottom: -6px;
        right: -6px;
        width: calc(100% + 12px);
        height: calc(100% + 12px);
        border-radius: 10px;
    }
    
    /* Efectos hover más sutiles en móvil */
    .hero-image-wrapper:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero-visual {
        padding: 1rem;
    }
    
    .hero-image-wrapper {
        width: min(250px, 80vw);
        height: min(400px, 70vh);
    }
}

/* Soporte para modo oscuro/claro */
@media (prefers-color-scheme: light) {
    .hero-image-wrapper {
        box-shadow: 
            0 20px 40px -12px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(0, 0, 0, 0.1);
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 4px; /* Bordes sutiles */
    text-align: left; /* Alineación a la izquierda es más formal */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: #444;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--primary-color); /* Fondo azul oscuro */
    color: #fff;
    position: relative;
}

.about .section-title {
    color: #fff;
    text-align: left;
    margin-bottom: 0;
}

.about .section-title::after {
    margin: 15px 0 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.about-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    line-height: 1.4;
}

.about p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #d0d0d0;
}

.qualifications h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.qualification-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Esto se arregla con el JS */
    transform: scale(0.9);
}

.about-visual.animate {
    opacity: 1;
    transform: scale(1);
    transition: all 1s ease;
}

.about-image-container {
    width: 400px;
    height: 650px;
    position: relative;
    z-index: 1;
}
.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Marco decorativo para la foto */
.about-image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: -1;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
}

/* Opcional: Un patrón sutil de fondo que simula papel de calidad */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem; /* Más espacio para respirar */
    position: relative;
    z-index: 2;
}

.contact-info.animate, .contact-form.animate {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título */
.contact-info h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Alineación superior para mejor lectura */
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #eaeaea; /* Borde sutil */
    border-left: 4px solid var(--secondary-color); /* Acento dorado */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px); /* Levantar en lugar de mover a la derecha */
    box-shadow: 0 10px 25px rgba(14, 28, 54, 0.1); /* Sombra azulada muy suave */
    border-color: var(--secondary-color);
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--secondary-color); /* Íconos dorados para resaltar sobre blanco */
    margin-top: 3px;
    background: var(--primary-color);
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px; /* Bordes rectos */
}

.contact-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    opacity: 0;
    transform: translateX(30px);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Estilos para el Logo en Contacto */
.contact-logo-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(14, 28, 54, 0.1); /* Línea sutil divisoria */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-logo-wrapper img {
    max-width: 220px; /* Tamaño controlado */
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); /* Sombra suave para realzar */
    transition: transform 0.3s ease;
}

.contact-logo-wrapper img:hover {
    transform: scale(1.05); /* Efecto sutil al pasar el mouse */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .contact-logo-wrapper {
        margin-top: 2rem;
        padding-top: 2rem;
        margin-bottom: 3rem; /* Espacio antes del formulario en móvil */
    }
}

.form {
    background: #f9f9f9; /* Gris muy claro para diferenciar del fondo blanco */
    padding: 3.5rem;
    border: 1px solid #e1e1e1;
    border-top: 5px solid var(--secondary-color); /* Detalle "premium" arriba */
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d1d1;
    background: #fff;
    border-radius: 0; /* Estética de "documento" */
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Efecto de enfoque elegante */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1); /* Resplandor dorado suave */
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer Style Refinement */
.footer {
    background: #0a1221; /* Azul aún más oscuro */
    color: #fff;
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 3rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: #a0a5b0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #cbd0d9;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    color: #cbd0d9;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #667085;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* 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); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content, .about-content, .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title { font-size: 3rem; }
    
    .contact-info h3::after {
        margin: 10px auto 0; /* Centrar la línea decorativa */
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
    
    .contact-item i {
        margin-bottom: 1rem;
    }
    
    .form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu.active { left: 0; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

/* --------------------------- */
/*   Mobile Optimizations      */
/* --------------------------- */

@media (max-width: 768px) {

    /* HEADER */
    .nav {
        padding: 1rem;
    }

    .nav-brand h2 {
        font-size: 1.4rem;
    }

    .nav-menu {
        width: 100%;
        left: -100%;
        top: 60px;
    }

    .nav-menu.active {
        left: 0;
    }

    /* HERO */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
        gap: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 1rem;
        padding-left: 10px;
        border-left-width: 2px;
        width: fit-content;
    }

    .hero-description {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }

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

    .hero-image-wrapper {
        width: 85vw;
        height: 65vh;
    }

    /* SERVICES */
    .services {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

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

    /* ABOUT */
    .about {
        padding: 6rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        padding: 0 1rem;
    }

    .about-image-container {
        width: 80vw;
        height: auto;
    }

    /* CONTACT */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        margin-top: 2rem;
    }

    .form {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* --------------------------- */
/* Extra Small Devices <480px  */
/* --------------------------- */

@media (max-width: 480px) {

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

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .about-image-container {
        width: 90vw;
    }

    .form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}
