/* =============================================
   Estilos para Estudio Jurídico - Parte 1
   Variables y estilos base
   ============================================= */

@import url('estudio-juridico-header.css');

/* Variables de colores */
:root {
  /* Colores principales */
  --primary-color: #D4AF37;     /* Dorado principal */
  --primary-dark: #b3922e;      /* Dorado oscuro */
  --secondary-color: #1a1a1a;   /* Negro/gris oscuro */
  --accent-color: #8b6e2e;      /* Dorado apagado */
  
  /* Escala de grises */
  --dark: #212529;
  --gray-dark: #495057;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Colores de texto */
  --text-color: #333333;
  --text-light: #666666;
  --text-on-dark: #ffffff;
  --text-on-primary: #ffffff;
  
  /* Colores de fondo */
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  
  /* Bordes */
  --border-color: #dee2e6;
  --border-radius: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  
  /* Sombras */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --shadow-primary: 0 0.5rem 1rem rgba(212, 175, 55, 0.3);
  
  /* Transiciones optimizadas para evitar reflow */
  --transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  --transition-slow: transform 0.5s ease, opacity 0.5s ease, background-color 0.5s ease;
  --transition-fast: transform 0.15s ease, opacity 0.15s ease;
  
  /* Espaciados */
  --spacer: 1rem;
  --spacer-2: calc(var(--spacer) * 1.5);
  --spacer-3: calc(var(--spacer) * 3);
  --spacer-4: calc(var(--spacer) * 4);
  --spacer-5: calc(var(--spacer) * 5);
}

/* Reset y estilos base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* Utilidades */
.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--secondary-color);
}

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

.divider {
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto 2rem;
  position: relative;
}

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

.text-primary {
  color: var(--primary-color) !important;
}

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

.bg-dark {
  background-color: var(--dark) !important;
  color: var(--white);
}

/* Botones */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn:focus,
.btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

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

.btn-primary {
  will-change: transform;
}

.btn-primary:hover {
  color: var(--white);
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  background-color: transparent;
}

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.btn-cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-dark);
  transition: var(--transition);
  z-index: -1;
}

.btn-cta:hover::before {
  width: 100%;
}

/* Secciones */
section {
  padding: 5rem 0;
  position: relative;
}

.section-padding {
  padding: 6rem 0;
}

/* =================================
   Hero Section
==================================== */
.hero {
    padding: 180px 0 120px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 20, 30, 0.85), rgba(10, 20, 30, 0.85));
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

/* Set explicit navbar height and background for visualization */
.header.fixed-top,
.navbar {
    height: 70px;
    min-height: 70px;
    padding: 10px 0;
    background-color: #fff; /* Temporary background to visualize */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

/* Fix hero overlap with fixed navbar on mobile */
@media (max-width: 767.98px) {
    .hero {
        padding-top: 0 !important;
        margin-top: 70px !important; /* Use margin-top equal to navbar height */
    }
}

/* Remove specific padding for very small devices to avoid conflict */
/* @media (max-width: 575.98px) {
    .hero {
        padding-top: 160px !important; 
    }
} */

/* Fix navbar toggler visibility and positioning */
.navbar-toggler {
    position: relative;
    z-index: 1051; /* Higher than hero */
}

/* Fix dropdown arrow cut off and submenu visibility */
.navbar-nav .nav-item.dropdown {
    position: relative;
    overflow: visible !important; /* Ensure dropdown is not clipped */
}

.navbar-nav .nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    position: relative;
    top: 2px;
}

.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1200;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

/* Show dropdown menu on hover */
.navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Prevent horizontal overflow causing hamburger menu off-screen */
body, html {
    overflow-x: hidden;
}

/* =================================
   Botón Salir del Demo
==================================== */
.btn-exit-demo {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    padding: 10px 20px 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1100 !important;
}

/* =================================
   Botón Volver Arriba
==================================== */
.btn-scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 1 !important; /* Force visible for testing */
    visibility: visible !important; /* Force visible for testing */
    transition: all 0.3s ease;
    z-index: 1100 !important;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #FFF8E1; /* Ocre claro */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .lead {
    font-family: var(--font-secondary);
    font-size: 1.25rem; /* 20px */
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero .hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero .hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.hero .hero-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .hero-buttons .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.hero .hero-features {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.hero .hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero .hero-features .feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero .hero-image {
    position: relative;
}

.hero .hero-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero .experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-color);
    color: var(--dark);
    padding: 1.5rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: 4px solid var(--bg-dark);
}

.hero .experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.hero .experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* =================================
   Stats Section
==================================== */
.stats-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.stat-item .stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .stat-text {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* =================================
   Services Section
==================================== */
.services-section .section-intro {
    max-width: 700px;
    margin: 0 auto 1rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card {
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.service-card:hover .service-icon {
    background-color: var(--primary-dark);
    transform: rotate(15deg);
}

.service-card .service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card .service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .service-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.service-card .service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

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


/* =================================
   About Us Section
==================================== */
.about-section .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-section .section-title::after {
    display: none; /* No divider needed here */
}

.about-content p {
    color: var(--text-light);
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.about-features i {
    margin-top: 5px;
    font-size: 1.1rem;
}

/* =================================
   Responsive Design
==================================== */

/* Tablets y dispositivos medianos */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-image {
        margin-bottom: 2rem;
    }

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

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

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }
}

/* Móviles */
@media (max-width: 767.98px) {
    .hero {
        padding: 6rem 0;
        text-align: center;
    }

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

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

    .stats-item {
        text-align: center;
        margin-bottom: 2rem;
    }

    .stats-item:last-child {
        margin-bottom: 0;
    }

    .about-section .section-title {
        text-align: center;
    }

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

    .footer-legal {
        margin-top: 0.5rem;
    }
}

/* =================================
   Mobile Responsiveness Improvements
==================================== */

/* Comentarios Reales Section */
.testimonials-section {
    padding: 4rem 1rem 3rem;
    background-color: var(--bg-light);
    text-align: center;
}

.testimonials-section .section-title {
    margin-bottom: 0.5rem;
}

.testimonials-section .section-subtitle {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-light);
}

/* Testimonial cards */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 0.5rem;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Navigation arrows */
.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1100;
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
    opacity: 1;
}

.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
    filter: invert(1);
}

/* Very small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Adjust hero padding and text alignment */
  .hero {
    padding: 4rem 1rem 3rem !important;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.3;
  }

  .hero .lead {
    font-size: 0.9rem !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stack hero buttons vertically with spacing */
  .hero .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  .hero .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 0;
    font-size: 0.9rem;
  }

  /* Hero features stack vertically */
  .hero .hero-features {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  /* Hero image and badge adjustments */
  .hero .hero-image {
    margin-top: 2rem;
    position: relative;
  }

  .hero .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .hero .experience-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    padding: 1rem;
    font-size: 0.8rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  }

  .hero .experience-badge .years {
    font-size: 2rem;
  }

  /* Stats section: center text and reduce margin */
  .stats-section .stat-item {
    margin-bottom: 1.5rem;
  }

  /* Reduce padding in sections */
  section {
    padding: 2rem 1rem !important;
  }

  /* Footer adjustments */
  .footer-top {
    text-align: center !important;
  }

  .footer-links,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* =================================
   Team Section
==================================== */
.team-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: var(--gray-light);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member:hover .team-image::after {
    opacity: 1;
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.team-member:hover .team-social {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.team-info {
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: var(--white);
    position: relative;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.team-member:hover .team-name {
    color: var(--primary-color);
}

.team-role {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    padding-top: 0.5rem;
}

.team-role::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Team section animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.team-member {
    animation: fadeInScale 0.5s ease-out;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

/* Team responsive */
@media (max-width: 991.98px) {
    .team-image {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .team-image {
        height: 320px;
    }

    .team-info {
        padding: 1.5rem 1.25rem;
    }
}

/* =================================
   Contact Section
==================================== */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    background-color: var(--white);
    outline: none;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn-primary {
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-dark);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.contact-info {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d2d 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info .info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-details li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.25rem;
    min-width: 24px;
    margin-top: 2px;
}

.contact-details span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact section animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form,
.contact-info {
    animation: fadeInUp 0.6s ease-out;
}

/* Contact responsive */
@media (max-width: 991.98px) {
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-form .btn-primary {
        width: 100%;
    }
}

/* =================================
   Footer Section
==================================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
}

.footer-top {
    padding: 4rem 0 3rem;
    position: relative;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

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

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Footer responsive */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

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

@media (max-width: 767.98px) {
    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 0.75rem;
    }
}
