/* ActiVolt Services - Main CSS */

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: loading-pulse 2s ease-in-out infinite;
}

.loading-icon {
    font-size: 4rem;
    color: var(--brand-red);
    margin-bottom: 1rem;
    display: block;
    animation: loading-pulse 2s ease-in-out infinite;
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--brand-red);
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

.loading-progress {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    overflow: hidden;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
    animation: loading-progress 2s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--brand-red));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--brand-red));
    }
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loading-progress {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Root Variables */
:root {
    /* Brand Colors */
    --brand-primary: #252f37;
    --brand-blue: #1e4767;
    --brand-red: #a61e32;
    
    /* Grays */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --border-radius: 0.3rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--brand-primary);
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

.text-maroon {
   color: var(--brand-red);
}

/* Button Styles */
.btn-primary {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-300);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .btn-primary,
    .btn-outline-primary {
        padding: .5rem 1rem;
}
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Circuit Background Animation - ALWAYS VISIBLE */
.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.04 !important; /* Always visible at 30% */
    overflow: hidden;
}

.circuit-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.circuit-line {
    stroke: var(--gray-300);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 10, 5;
    animation: circuit-flow 60s linear infinite;
}

.circuit-line.red {
    stroke: var(--gray-300);
    animation: circuit-flow-red 60s linear infinite;
}

.circuit-node {
    fill: var(--gray-300);
    animation: circuit-pulse 60s ease-in-out infinite;
}

.circuit-node.red {
    fill: var(--brand-red);
    animation: circuit-pulse-red 60s ease-in-out infinite;
}

.circuit-connector {
    fill: none;
    stroke: var(--gray-300);
    stroke-width: 0.5;
    opacity: 0;
}

/* Fixed Circuit Animations - No Opacity Changes */
@keyframes circuit-flow {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes circuit-flow-red {
    0% {
        stroke-dashoffset: 80;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes circuit-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes circuit-pulse-red {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px var(--brand-red));
    }
    50% {
        transform: scale(1.3);
        filter: drop-shadow(0 0 6px var(--brand-red));
    }
}

/* Navigation */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-toggler {
    border: 0;
}

.navbar .brand-text {
    color: var(--brand-blue);
    margin-left: 1rem;
}

.brand-icon {
    max-height: 30px;
}

.navbar .nav-link {
    color: var(--gray-700);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand-red);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

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

.brand-icon {
    color: var(--brand-red);
    font-size: 2rem;
    transition: var(--transition);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: var(--brand-primary);
    position: relative;
    overflow: hidden;
}

 @media screen and (max-width: 768px) {
    .hero-section {
        margin-top: 4rem;
    }

}
.hero-content {
    background-color: var(--brand-primary);
    min-height: 50vh;
    background-image: url('../img/noise.png');
    background-repeat: repeat;
}

@media (min-width: 992px) {
    .hero-content {
        min-height: 100vh;
    }
}


#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .hero-image {
  height: 100%;
  max-height: 100vh !important; /* Or set a fixed height like 600px if you prefer */
  object-fit: cover;
}

@media (max-width: 768px) {
  #heroCarousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  .hero-image {
    height: 30vh !important;
    min-height: 300px; /* ensures taller container to avoid jump */
  }
}


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

#heroCarousel {
  position: relative;
  z-index: 4;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    margin: 4rem 1rem 0;
}

 @media screen and (max-width: 768px) {
    .carousel-control-prev,
.carousel-control-next {
    
    margin: 0 1rem;
}
}

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

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 2rem;
}

.carousel-control-prev i:hover,
.carousel-control-next i:hover {
    color: var(--brand-blue);
}

.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 8px !important;
    height: 8px !important;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--brand-red);
    transform: scale(1.2);
}

.hero-icon {
    font-size: 3rem;
    color: var(--brand-red);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-100);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}
 @media screen and (max-width: 768px) {
 
    .hero-buttons .btn {
        margin-right: .5rem;
    }
 }

.hero-features {
    font-size: 0.9rem;
    color: var(--gray-300);
}

.hero-features i {
    color: var(--brand-red);
}

/* Responsive Hero */
@media (max-width: 991px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
     .hero-description {
        font-size: .9rem;
    }
    
    .hero-icon {
        font-size: 2rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 5;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    background-color: rgba(166, 30, 50, .5);
}

.scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
}

/* Services Section */
.services-section {
    background-color: var(--gray-100);
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(166, 30, 50, 0.05), rgba(30, 71, 103, 0.05));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(166, 30, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--brand-red);
    color: white;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--brand-red);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0;
    transition: var(--transition);
}

.service-card:hover .service-header h3 {
    color: var(--brand-red);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.service-features li {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--brand-red);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* CTA Box */
.cta-box {
    background: var(--brand-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

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

.cta-description {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

/* Portfolio Section */
.portfolio-section {
    background: white;
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-item {
    background: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    cursor: pointer;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay i {
    color: white;
    font-size: 2rem;
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brand-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-title {
    color: var(--brand-red);
}

.portfolio-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.portfolio-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
    display: none;
}

.portfolio-item.expanded .portfolio-features {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.portfolio-features li {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.portfolio-features i {
    color: var(--brand-red);
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

/* Stats Section */
.stats-section {
    margin-top: 5rem;
}

.stat-item {
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(166, 30, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--brand-red);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--brand-red);
    transition: var(--transition);
}

.stat-item:hover .stat-icon i {
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    background: var(--gray-100);
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    height: 100%;
}

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

.feature-card i {
    color: var(--brand-red);
    margin-right: 10px;
    font-size: 1.5rem;
}

.feature-img img{
    border-radius: var(--border-radius-lg);    
    filter: brightness(120%) saturate(0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(166, 30, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--brand-red);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--brand-red);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 1rem 0;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    height: 100%;
    border-left: 4px solid var(--brand-red);
}

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

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 1rem 0;
}

.review-author {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.review-author strong {
    color: var(--brand-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* FAQ Section */
.faq-section {
    background: var(--gray-100);
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--brand-primary);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--brand-red);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.7;
    border-top: 1px solid var(--gray-200);
}

/* Contact Section */
.contact-section {
    background: white;
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.2rem rgba(166, 30, 50, 0.25);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: color-mix(in srgb, var(--brand-red), transparent 92%);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
}

.contact-details h5 {
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: var(--gray-700);
}

.contact-details a {
    color: var(--brand-red);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-details small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* Footer */
.footer-section {
    background: var(--brand-primary);    
    background-image: url('../img/noise.png');
    background-repeat: repeat;
    color: white;
    padding: 3rem 0 1rem 0;
    position: relative;
    z-index: 1;
}

.footer-brand h4 {
    color: white;
    font-weight: 700;
}

.footer-brand p {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    font-size: .8rem;
}

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

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

.social-link:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-2px);
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-red);
}

.contact-info-footer p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info-footer i {
    color: var(--brand-red);
    margin-right: 0.5rem;
    width: 16px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem 0;
}

.copyright,
.license-info {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: white;
    transform: scale(1.1);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--brand-red);
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glowRed {
  animation: glowRed 6s ease-in-out infinite;
}

@keyframes glowRed {
    0% {
        text-shadow: 0 0 2px var(--brand-red) ;
    }
    50% {
        text-shadow: 0 0 5px var(--brand-red);
    }
    100% {
        text-shadow: 0 0 2px var(--brand-red);
    }
}

