/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background-color: #08376B;
    color: white;
    box-shadow: 0 4px 15px rgba(8, 55, 107, 0.3);
}

.btn-primary:hover {
    background-color: #0a4a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 55, 107, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #08376B;
    border: 2px solid #08376B;
}

.btn-secondary:hover {
    background-color: #08376B;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* Service Page Logo - Visible on all screen sizes */
.service-page-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-right: auto;
}

.service-page-logo:hover {
    background-color: rgba(8, 55, 107, 0.05);
}

.service-logo-img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.service-page-logo:hover .service-logo-img {
    transform: scale(1.05);
}

.nav-logo {
    position: relative;
}

.nav-logo .logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #08376B;
    background: rgba(8, 55, 107, 0.1);
    border: 1px solid rgba(8, 55, 107, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 55, 107, 0.1);
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-phone:hover {
    background: rgba(8, 55, 107, 0.1);
    border: 1px solid rgba(8, 55, 107, 0.3);
    color: #08376B;
}

.nav-phone i {
    color: #36c0ed;
}

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

.nav-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-social .social-link:hover {
    background: rgba(8, 55, 107, 0.1);
    border: 1px solid rgba(8, 55, 107, 0.3);
    color: #08376B;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Banner Carrusel */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    margin-top: 100px;
    background: #f8f9fa;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide:hover {
    opacity: 0.95;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-indicator.active {
    background: #36c0ed;
    border-color: #36c0ed;
    transform: scale(1.2);
}

.hero-indicator:hover {
    background: rgba(54, 192, 237, 0.7);
    border-color: rgba(54, 192, 237, 0.9);
}


/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #08376B;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.section-link {
    color: #08376B;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #08376B;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: #0a4a8a;
    border-bottom-color: #0a4a8a;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

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

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #08376B, #0a4a8a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 55, 107, 0.15);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon-img {
    opacity: 1;
}

.service-title {
    color: #08376B;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Special Section */
.special-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #08376B 0%, #0a4a8a 100%);
    color: white;
    text-align: center;
}

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

.special-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.special-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #FFD700;
}

.special-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.special-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #FFD700;
}

.special-phone i {
    font-size: 1.8rem;
}

/* Blog Section */
.blog {
    padding: 60px 0;
    background-color: white;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    color: #08376B;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.blog-link {
    color: #08376B;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.blog-link:hover {
    color: #0a4a8a;
}

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

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #08376B;
    opacity: 0.3;
    font-family: serif;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author strong {
    color: #08376B;
    font-weight: 600;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

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

/* Team Section */
.team {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.team-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.team-image {
    height: 250px;
    overflow: hidden;
}

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

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

.team-content {
    padding: 2rem;
}

.team-name {
    color: #08376B;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.team-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.team-education {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.team-linkedin {
    color: #08376B;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.team-linkedin:hover {
    color: #0a4a8a;
}

.team-linkedin i {
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: white;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coes-legal-highlight {
    color: #08376B;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature i {
    color: #08376B;
    font-size: 2rem;
    margin-top: 0.25rem;
}

.feature-content h4 {
    color: #08376B;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.about-image {
    text-align: center;
    overflow: hidden;
    border-radius: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
    max-width: 100%;
}

/* Team Section */
.team {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
    scroll-margin-top: 100px;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.team-header {
    text-align: center;
    margin-bottom: 2rem;
}

.team-title {
    color: #08376B;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.team-subtitle {
    color: #08376B;
    font-size: 1.2rem;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 0.8;
}

.team-content {
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 600px;
    height: auto;
}

.team-image {
    text-align: center;
    overflow: visible;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

.team-img {
    width: auto;
    height: 95%;
    max-height: 95%;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    display: block;
    max-width: 100%;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    align-self: stretch;
}

.team-name {
    color: #333;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

.team-role {
    color: #08376B;
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    margin-top: 3px;
    line-height: 1.2;
}

.team-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-icon {
    color: #08376B;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.team-section-title {
    color: #333;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 0;
}

.team-section-text {
    color: #666;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin-bottom: 0;
    margin-left: 2.5rem;
}

.team-linkedin {
    margin-top: 1rem;
}

.team-linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #08376B;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.team-linkedin-link:hover {
    color: #0a4a8a;
}

.team-linkedin-icon {
    font-size: 1.2rem;
    color: #08376B;
}

.team-linkedin-text {
    font-weight: 400;
}

/* Consultation Section */
.consultation {
    padding: 60px 0;
    background: linear-gradient(135deg, #08376B 0%, #0a4a8a 100%);
    color: white;
    text-align: center;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
}

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

.consultation-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.consultation-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.consultation .btn-primary {
    background-color: #ffffff;
    color: #08376B;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 35px;
}

.consultation .btn-primary:hover {
    background-color: #f5f5f5;
    color: #08376B;
    border-color: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    color: #36c0ed;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details strong {
    color: #08376B;
    font-weight: 600;
}

.contact-details span {
    color: #666;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-row .form-group {
    margin-bottom: 1.5rem;
}

/* reCAPTCHA Styles */
.recaptcha-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

.recaptcha-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: center;
}

/* Responsive reCAPTCHA */
@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.7);
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #08376B;
    box-shadow: 0 0 0 3px rgba(8, 55, 107, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #08376B;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-description {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-contact .contact-item i {
    color: #36c0ed;
    font-size: 1rem;
    width: 16px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #FFD700;
    color: #08376B;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
/* Tablet - Hide phone number text, keep icon only */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-phone span {
        display: none;
    }
    
    .nav-phone {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }
    
    /* Hero Section - Banner Carrusel Tablet */
    .hero {
        height: 45vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    /* Team Section - Tablet */
    .team {
        padding: 60px 0;
    }
    
    .team-card {
        grid-template-columns: 300px 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
        min-height: 550px;
    }
    
    .team-image {
        height: 100%;
    }
    
    .team-img {
        width: auto;
        height: 95%;
        max-height: 95%;
    }
    
    .team-title {
        font-size: 2.2rem;
    }
    
    .team-subtitle {
        font-size: 1.1rem;
    }
    
    .team-name {
        font-size: 1.6rem;
    }
    
    .team-section-text {
        font-size: 0.95rem;
    }
}

/* Small Desktop - Hide phone number text, keep icon only (1025px - 1126px) */
@media (min-width: 1025px) and (max-width: 1126px) {
    .nav-phone span {
        display: none;
    }
    
    .nav-phone {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }
}


@media (max-width: 768px) {
    /* Sticky Header */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .hamburger {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(8, 55, 107, 0.2);
        padding: 2rem 0;
        border-top: 3px solid #08376B;
        z-index: 1001;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    /* Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero Section - Banner Carrusel Mobile */
    .hero {
        height: 40vh;
        min-height: 300px;
        max-height: 450px;
        margin-top: 80px;
        display: block;
    }
    
    .hero-slider {
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }
    
    .hero-slide {
        display: block;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        max-width: 100%;
        max-height: 100%;
    }
    
    /* About Section - Compact Mobile */
    .about {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .about::before {
        display: none;
    }
    
    /* Team Section - Mobile */
    .team {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .team::before {
        display: none;
    }
    
    .team-header {
        margin-bottom: 1.5rem;
    }
    
    .team-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .team-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        min-height: auto;
        align-items: start;
    }
    
    .team-image {
        order: 1;
        overflow: visible;
        height: auto;
        min-height: 400px;
    }
    
    .team-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .team-info {
        order: 2;
        gap: 1.5rem;
    }
    
    .team-name {
        font-size: 1.5rem;
    }
    
    .team-role {
        font-size: 1rem;
    }
    
    .team-section {
        gap: 0.75rem;
    }
    
    .team-section-header {
        gap: 0.75rem;
    }
    
    .team-icon {
        font-size: 1.25rem;
    }
    
    .team-section-title {
        font-size: 1.1rem;
    }
    
    .team-section-text {
        font-size: 0.95rem;
        margin-left: 2rem;
        line-height: 1.5;
    }
    
    .hero-indicators {
        bottom: 15px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .nav-menu .nav-link {
        color: #333;
        padding: 1rem;
        margin: 0.5rem 1rem;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu .nav-link:hover {
        color: #08376B;
        background: rgba(8, 55, 107, 0.1);
        border: 1px solid rgba(8, 55, 107, 0.3);
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    /* About Section - Compact */
    .about {
        padding: 60px 0;
    }
    
    .about {
        padding: 60px 0;
        margin-top: 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text {
        order: 2;
        text-align: left;
        width: 100%;
    }
    
    .about-image {
        order: 1;
        border-radius: 0;
        height: auto;
    }
    
    .about-img {
        height: 400px;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .about-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 22px;
    }
    
    /* About Features - Reduce gap between icon and text */
    .feature {
        gap: 0.75rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .feature i {
        font-size: 1.75rem;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .feature-content {
        text-align: left;
        flex: 1;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        text-align: left;
    }
    
    .feature-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: left;
    }
    
    .about-features {
        gap: 1.5rem;
        margin-top: 1.5rem;
        align-items: flex-start;
    }
    
    /* Services Section - Compact */
    .services {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .services::before {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .service-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Publications Section - Compact */
    .blog {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .blog::before {
        display: none;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        margin-bottom: 20px;
        border-radius: 0;
    }
    
    .blog-image {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .blog-image img {
        height: 180px;
        object-fit: cover;
        border-radius: 0;
        display: block;
    }
    
    .blog-content {
        padding: 1.5rem;
        margin: 0;
        padding-top: 0;
        margin-top: 0;
    }
    
    .blog-title {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .blog-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Testimonials Section - Compact */
    .testimonials {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .testimonials::before {
        display: none;
    }
    
    /* Consultation Section - Compact */
    .consultation {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .consultation::before {
        display: none;
    }
    
    .consultation-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .consultation-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .consultation .btn-primary {
        font-size: 0.95rem;
        padding: 12px 28px;
    }
    
    /* Contact Section - Compact */
    .contact {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .contact::before {
        display: none;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Section Titles - Smaller */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    

    .nav-contact {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
        position: relative;
    }
    
    .service-page-logo {
        order: 0;
        padding: 6px 10px;
    }
    
    .service-logo-img {
        height: 32px;
    }
    
    .nav-menu {
        order: 1;
    }
    
    /* En páginas de servicios, asegurar que nav-contact esté oculto en mobile igual que en home */
    /* La regla general ya lo oculta, pero esta regla específica asegura que se mantenga oculto */
    body:has(.service-page-logo) .nav-contact {
        display: none;
    }
    
    .service-icon-img {
        width: 50px;
        height: 50px;
    }

    .header-contact {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-logo .logo {
        height: 60px;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .about-text {
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .about-img {
        height: 400px;
        object-position: center;
        border-radius: 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

    /* Hero Section - Banner Carrusel Extra Small */
    .hero {
        height: 35vh;
        min-height: 250px;
        max-height: 350px;
        margin-top: 70px;
    }
    
    /* About Section - Extra Compact */
    .about {
        padding: 30px 0;
        margin-top: 0;
    }
    
    /* Team Section - Extra Small */
    .team {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .team-header {
        margin-bottom: 1rem;
    }
    
    .team-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .team-subtitle {
        font-size: 0.9rem;
    }
    
    .team-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .team-image {
        min-height: 350px;
    }
    
    .team-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    
    .team-info {
        gap: 1.25rem;
    }
    
    .team-name {
        font-size: 1.3rem;
    }
    
    .team-role {
        font-size: 0.95rem;
    }
    
    .team-section {
        gap: 0.5rem;
    }
    
    .team-section-header {
        gap: 0.5rem;
    }
    
    .team-icon {
        font-size: 1.1rem;
    }
    
    .team-section-title {
        font-size: 1rem;
    }
    
    .team-section-text {
        font-size: 0.9rem;
        margin-left: 1.6rem;
        line-height: 1.5;
    }
    
    .team-linkedin-link {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .team-linkedin-icon {
        font-size: 1rem;
    }
    
    .hero-indicators {
        bottom: 10px;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
    
    .nav-logo .logo {
        height: 50px;
    }

    /* Section Titles - Extra Small */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Services - Extra Compact */
    .service-icon-img {
        width: 40px;
        height: 40px;
    }

    .service-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* About Section - Extra Compact */
    .about {
        padding: 60px 0;
    }
    
    .about-img {
        height: 300px;
        object-position: center;
        border-radius: 0;
    }
    
    .about-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    /* About Features - Extra small screens */
    .feature {
        gap: 0.65rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .feature i {
        font-size: 1.6rem;
        flex-shrink: 0;
    }
    
    .feature-content {
        text-align: left;
        flex: 1;
    }
    
    .feature-content h4 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
        text-align: left;
    }
    
    .feature-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: left;
    }
    
    .about-features {
        gap: 1.25rem;
        margin-top: 1.25rem;
        align-items: flex-start;
    }
    
    /* Publications - Extra Compact */
    .blog {
        padding: 30px 0;
        margin-top: 0;
    }
    
    /* Testimonials - Extra Compact */
    .testimonials {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .blog-card {
        border-radius: 0;
    }
    
    .blog-image {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .blog-image img {
        height: 150px;
        border-radius: 0;
        display: block;
    }
    
    .blog-content {
        padding: 1.5rem;
        margin: 0;
        padding-top: 0;
        margin-top: 0;
    }
    
    .blog-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .blog-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Consultation - Extra Compact */
    .consultation {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .consultation-title {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .consultation-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    
    .consultation .btn-primary {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
    
    /* Contact - Extra Compact */
    .contact {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .contact-form {
        padding: 15px;
    }
    
    .form-row {
        gap: 12px;
    }
    
    /* Footer - Compact */
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-logo-img {
        height: 50px;
        width: auto;
        margin-bottom: 1rem;
    }
    
}


/* Success Message Styles */
.success-message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    animation: slideInDown 0.6s ease-out;
}

.success-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.success-icon {
    flex-shrink: 0;
    font-size: 3rem;
    color: white;
    margin-top: 5px;
}

.success-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    font-family: 'Playfair Display', serif;
}

.success-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.success-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.success-details p {
    margin-bottom: 10px;
    font-weight: 600;
}

.success-details ul {
    margin: 0;
    padding-left: 20px;
}

.success-details li {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message Styles */
.error-message {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    animation: slideInDown 0.6s ease-out;
}

.error-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.error-icon {
    flex-shrink: 0;
    font-size: 3rem;
    color: white;
    margin-top: 5px;
}

.error-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    font-family: 'Playfair Display', serif;
}

.error-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Success Message */
@media (max-width: 768px) {
    .success-message,
    .error-message {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .success-content,
    .error-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .success-icon,
    .error-icon {
        font-size: 2.5rem;
        margin-top: 0;
    }
    
    .success-text h3,
    .error-text h3 {
        font-size: 1.3rem;
    }
    
    .success-text p,
    .error-text p {
        font-size: 1rem;
    }
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-display: swap;
}

/* Optimize font loading */
@font-face {
    font-family: 'Open Sans';
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical CSS for above-the-fold content */

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* WhatsApp Button Styles */
.whatsapp-item {
    position: relative;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.whatsapp-item > i.fab.fa-whatsapp {
    flex-shrink: 0;
}

.whatsapp-item .contact-details {
    flex: 1;
    min-width: 200px;
}

.whatsapp-item .whatsapp-btn {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i.fab.fa-whatsapp {
    font-size: 18px;
    color: #075E54 !important;
    display: inline-block;
}

.whatsapp-btn:hover i.fab.fa-whatsapp {
    color: #075E54 !important;
}

.whatsapp-btn span {
    font-weight: 600;
}

/* WhatsApp item specific styles */
.whatsapp-item i.fab.fa-whatsapp {
    color: #25D366;
    font-size: 20px;
}

/* WhatsApp Social Links Styles */
.social-link.whatsapp-social {
    color: #25D366;
    transition: all 0.3s ease;
}

.social-link.whatsapp-social:hover {
    color: #128C7E;
    transform: scale(1.1);
}

/* Header WhatsApp specific */
.nav-social .whatsapp-social:hover {
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
}

/* Footer WhatsApp specific */
.footer .whatsapp-social:hover {
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
}

/* Mobile Navigation Elements - Hidden by default */
.quick-nav {
    display: none;
}

.back-to-top {
    display: none;
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    /* Quick Navigation Links */
    .quick-nav {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-nav-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #36c0ed;
        color: white;
        border: none;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(54, 192, 237, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .quick-nav-btn:hover {
        background: #2bb3d9;
        transform: scale(1.1);
    }
    
    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #08376B;
        color: white;
        border: none;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(8, 55, 107, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        display: block;
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top:hover {
        background: #0a4a7a;
        transform: scale(1.1);
    }
    
    /* WhatsApp Button Mobile Styles */
    .whatsapp-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .whatsapp-item .contact-details {
        min-width: auto;
        width: 100%;
    }
    
    .whatsapp-item .whatsapp-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    /* WhatsApp Social Mobile */
    .nav-social .whatsapp-social,
    .footer .whatsapp-social {
        font-size: 18px;
    }
    
    .nav-social .whatsapp-social:hover,
    .footer .whatsapp-social:hover {
        transform: scale(1.2);
    }
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Smooth scrolling offset for fixed header */
section {
    scroll-margin-top: 140px;
}

/* Service Pages Styles */
.service-hero {
    background: linear-gradient(135deg, #08376B 0%, #0a4a8a 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 100px;
    position: relative;
    z-index: 2;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.service-hero-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: white;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Service Navigation */
.service-navigation {
    background-color: white;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-nav-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.service-nav-tab i {
    font-size: 1.1rem;
    color: #08376B;
    transition: all 0.3s ease;
}

.service-nav-tab:hover {
    color: #08376B;
    background-color: rgba(8, 55, 107, 0.05);
    border-bottom-color: rgba(8, 55, 107, 0.3);
}

.service-nav-tab.active {
    color: #08376B;
    border-bottom-color: #08376B;
    background-color: rgba(8, 55, 107, 0.08);
    font-weight: 600;
}

.service-nav-tab.active i {
    color: #08376B;
}

/* Service Navigation Footer */
.service-nav-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.service-nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-nav-btn:hover {
    border-color: #08376B;
    background-color: rgba(8, 55, 107, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 55, 107, 0.15);
    text-decoration: none;
    color: #08376B;
}

.service-nav-btn i {
    font-size: 1.2rem;
    color: #08376B;
    transition: transform 0.3s ease;
}

.service-nav-prev:hover i {
    transform: translateX(-3px);
}

.service-nav-next:hover i {
    transform: translateX(3px);
}

.service-nav-btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.service-nav-btn-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.service-nav-btn-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.service-nav-btn:hover .service-nav-btn-label {
    color: #08376B;
}

.service-nav-btn:hover .service-nav-btn-title {
    color: #08376B;
}

.service-nav-next {
    text-align: right;
    flex-direction: row-reverse;
}

.service-nav-next .service-nav-btn-content {
    text-align: right;
    align-items: flex-end;
}

.service-content {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(8, 55, 107, 0.1), transparent);
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-detail-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 55, 107, 0.15);
}

.service-detail-card.accordion-active:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 55, 107, 0.15);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #08376B;
}

.accordion-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    background-color: rgba(8, 55, 107, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(8, 55, 107, 0.2);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(8, 55, 107, 0.1);
    border-color: rgba(8, 55, 107, 0.3);
}

.accordion-toggle-text {
    font-weight: 600;
    color: #08376B;
    font-size: 0.95rem;
}

.accordion-icon {
    font-size: 1rem;
    color: #08376B;
    transition: transform 0.3s ease;
}

.service-detail-card.accordion-active .accordion-icon {
    transform: rotate(180deg);
}


.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.service-detail-card.accordion-active .accordion-content {
    margin-top: 1rem;
}

.service-detail-header i {
    font-size: 2rem;
    color: #08376B;
    min-width: 40px;
}

.service-detail-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #08376B;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.service-detail-list li:last-child {
    border-bottom: none;
}

.service-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #08376B;
    font-weight: bold;
}

.service-detail-description {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 25px 0;
        margin-top: 70px;
        min-height: auto;
    }
    
    .service-hero-header {
        gap: 1rem;
        flex-direction: column;
    }
    
    .service-hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .service-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-hero-img {
        width: 100px;
        height: 100px;
    }
    
    .service-navigation {
        position: relative;
        z-index: 10;
        margin-bottom: 0;
    }
    
    .service-nav-tabs {
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .service-nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
    
    .service-nav-tab span {
        display: none;
    }
    
    .service-nav-tab i {
        font-size: 1.2rem;
    }
    
    .service-nav-footer {
        flex-direction: column;
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .service-nav-btn {
        max-width: 100%;
    }
    
    .service-nav-next {
        flex-direction: row;
    }
    
    .service-nav-next .service-nav-btn-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .service-content {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .service-content::before {
        display: none;
    }
    
    .service-intro {
        margin-bottom: 2.5rem;
        padding-top: 1rem;
    }
    
    .service-intro-text {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-detail-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 20px 0;
        margin-top: 70px;
        min-height: auto;
    }
    
    .service-hero-header {
        gap: 0.75rem;
    }
    
    .service-hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .service-hero-subtitle {
        font-size: 1rem;
    }
    
    .service-hero-img {
        width: 80px;
        height: 80px;
    }
    
    .service-content {
        padding: 20px 0;
    }
}

@media (max-width: 375px) {
    .service-hero {
        padding: 15px 0;
        margin-top: 70px;
        min-height: auto;
    }
    
    .service-hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .service-content {
        padding: 15px 0;
    }

    .service-nav-tab {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .service-nav-tab i {
        font-size: 1.1rem;
    }
    
    .service-nav-btn {
        padding: 1rem 1.25rem;
    }
    
    .service-nav-btn-title {
        font-size: 1rem;
    }
    
    .service-detail-card {
        padding: 1.2rem;
    }
    
    .service-detail-header i {
        font-size: 1.5rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #08376B;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    color: #0a4a8a;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.cookie-btn-accept {
    background-color: #08376B;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #0a4a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 55, 107, 0.3);
}

.cookie-btn-reject {
    background-color: transparent;
    color: #08376B;
    border: 2px solid #08376B;
}

.cookie-btn-reject:hover {
    background-color: #08376B;
    color: white;
    transform: translateY(-2px);
}

.cookie-btn-configure {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.cookie-btn-configure:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

/* Cookie Settings Panel */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-settings.show {
    opacity: 1;
}

.cookie-settings-content {
    background-color: #ffffff;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings.show .cookie-settings-content {
    transform: scale(1);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.cookie-settings-header h3 {
    color: #08376B;
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cookie-settings-close:hover {
    color: #08376B;
    background-color: #f8f9fa;
}

.cookie-settings-body {
    padding: 2rem;
}

.cookie-settings-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cookie-setting-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.cookie-setting-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-setting-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-setting-label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-setting-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.cookie-setting-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    appearance: none;
    background-color: #ccc;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cookie-toggle:checked {
    background-color: #08376B;
}

.cookie-toggle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.cookie-toggle:checked + .cookie-toggle-slider {
    transform: translateX(24px);
}

.cookie-settings-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings-link {
    color: #08376B;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-settings-link:hover {
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-text {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-settings {
        padding: 1rem;
    }
    
    .cookie-settings-content {
        max-height: 95vh;
    }
    
    .cookie-settings-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .cookie-settings-body {
        padding: 1.5rem;
    }
    
    .cookie-settings-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-settings-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cookie-settings-header h3 {
        font-size: 1.3rem;
    }
    
    .cookie-setting-title {
        font-size: 1rem;
    }
    
    .cookie-setting-desc {
        font-size: 0.85rem;
    }
}

/* Large Mobile Devices and Tablets (769px - 1599px) - Keep cover behavior */
/* This includes high-resolution mobile devices like Samsung S25 Ultra */
@media (min-width: 769px) and (max-width: 1599px) {
    .hero {
        display: block;
    }
    
    .hero-slider {
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }
    
    .hero-slide {
        display: block;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        max-width: 100%;
        max-height: 100%;
    }
}

/* High Resolution Desktop Screens (>= 1600px) - Adapt images without cropping */
/* Only applies to desktop screens, not mobile devices */
@media (min-width: 1600px) {
    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-slider {
        align-items: center;
        justify-content: center;
    }
    
    .hero-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        max-width: 1920px;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        margin: 0 auto;
    }
}

/* Large Desktop Screens - Prevent image stretching */
@media (min-width: 1921px) {
    .hero {
        max-height: 700px;
    }
    
    .hero-slide-img {
        max-width: 1920px;
        max-height: 700px;
        object-fit: contain;
    }
}

/* Extra Large Desktop Screens */
@media (min-width: 2560px) {
    .hero {
        max-height: 800px;
    }
    
    .hero-slide-img {
        max-width: 1920px;
        max-height: 800px;
        object-fit: contain;
    }
}
