/* styles.css - Modern, responsive styles for NGHIS */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    background: #E8DACF !important;
    color: #222;
    padding-top: 0px;
}

/* Animations (float, backgroundPulse, slideInDown, slideInUp, textGlow, spin, bounce) */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes backgroundPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
    100% { text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,214,193,0.6); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-10px); }
    70% { transform: translateY(-5px); }
}

/* ===== Center Logo Navbar (bumptonappy style) ===== */

/* Desktop: Center logo nav layout */
.center-logo-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo-nav .nav-left,
.center-logo-nav .nav-right {
    flex: 1;
    display: flex;
}

.center-logo-nav .nav-left {
    justify-content: flex-end;
}

.center-logo-nav .nav-right {
    justify-content: flex-start;
}

/* Center logo styling */
.navbar-center-logo {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.navbar-center-logo .logo-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-center-logo .logo-container img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    padding: 2px 0;
    margin-top: -15px;
    margin-bottom: -15px;
    position: relative;
    z-index: 10;
}

.navbar-center-logo:hover .logo-container {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Mobile logo styling */
.navbar-brand-mobile {
    text-decoration: none;
}

.navbar-brand-mobile .logo-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand-mobile .logo-container img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navigation Link Hover Effects */
.navbar-nav .nav-link:hover {
    background: #7B2A2B !important; /* Dark red background on hover */
    backdrop-filter: blur(10px) !important;
    border: 1px solid #A1341F !important; /* Red border on hover */
    color: #FFFFFF !important; /* White text on hover */
    transform: translateY(-2px);
}

/* Particle Animation */
.particle {
    animation-timing-function: ease-in-out;
}

/* Stats Card Enhancements */
.stats-card {
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.stats-card:hover::before {
    left: 100%;
}

/* CTA Button Enhancements */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.cta-primary:hover::before {
    left: 100%;
}
/* Main Header Styling */
header {
    /* Ensure header is NOT fixed and scrolls with the page */
    position: relative; /* Or static, depending on layout needs. Relative is safer. */
    z-index: 100; /* Normal z-index for a scrolling element */
    /* background, height, box-shadow are applied via inline styles in HTML */
    /* Keep header separate from hero section */
    margin-bottom: 0;
    border-bottom: 1px solid rgba(161,52,31,0.1);
}

/* Header Container Styling */
.header-container {
    background: #E8DACF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: visible !important;
}

header.main-header {
    overflow: visible !important;
}

/* Hero Section - Separate from Header (consolidated in main hero section below) */

/* nav.navbar, .navbar .navbar-brand img, etc. - these were from a previous version, check if still relevant */
/* The current HTML has inline styles for nav and its children */

.navbar { /* Targeting the nav element with class navbar */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    height: 100px !important;
    min-height: 100px !important;
    overflow: visible !important;
}

/* Navbar Toggler for Light Background */
.navbar-toggler {
    border-color: #A1341F !important;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(161, 52, 31, 0.25) !important;
}

.navbar .navbar-brand img {
    height: 60px !important; 
    width: auto;
    display: block;
    margin-right: 1rem; 
}

.navbar .navbar-brand { 
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav .nav-link {
    color: #A1341F !important;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px; 
    transition: all 0.3s ease; 
    border: 1px solid transparent; 
}

.navbar-nav .nav-link.active {
    color: #FFFFFF !important; /* White text for active state */
    background: #A1341F !important; /* Dark red background for active state */
    backdrop-filter: blur(5px);
    border: 1px solid #7B2A2B !important; /* Darker border for active state */
}

.navbar-nav .nav-link:hover {
    background: #7B2A2B !important; /* Dark red background on hover */
    backdrop-filter: blur(10px) !important;
    border: 1px solid #A1341F !important; /* Red border on hover */
    color: #FFFFFF !important; /* White text on hover */
    transform: translateY(-2px);
}


nav a { /* General nav link styling, might be too broad, .navbar-nav .nav-link is more specific */
    color: #fff; /* Default, but overridden by .navbar-nav .nav-link */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
nav a:hover {
    background: #7B2A2B;
    color: #fff;
}
/* Prevent nav hover from affecting center logo */
.navbar-center-logo:hover {
    background: transparent !important;
}
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 3vw 0 3vw;
    gap: 2rem;
    background: transparent;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(123,42,43,0.08);
    margin-top: 2rem;
}
.hero-content h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #f5c4a9 0%, #f5c4a9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #7B2A2B;
    font-weight: 600;
}
.cta-btn {
    background: linear-gradient(90deg, #A1341F 0%, #7B2A2B 100%);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(161,52,31,0.10);
    transition: background 0.2s, color 0.2s;
    margin-right: 1rem;
}
.cta-btn:hover {
    background: #ffd700;
    color: #7B2A2B;
}
.hero-image img {
    width: 380px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(123,42,43,0.15);
    /* Example Unsplash image for hero section */
    content: url('images/hero.jpg');
}
.section, .about-home, .services-overview, .why-choose-us, .cta-section {
    background: transparent;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(123,42,43,0.08);
    margin: 2rem 0;
    padding: 2.5rem 2vw;
}
.section-title, .about-home h2, .services-overview h2, .why-choose-us h2, .cta-section h2 {
    font-size: 2rem;
    color: #e7aa9e;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.testimonial, .testimonial blockquote {
    background: #F9F4F1;
    border-left: 6px solid #A1341F;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #444;
    box-shadow: 0 2px 8px rgba(123,42,43,0.06);
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(44,83,100,0.08);
    padding: 1.5rem;
    max-width: 300px;
    text-align: left;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(123,42,43,0.15);
}
.card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    /* Example Unsplash image for service cards */
    content: url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=600&q=80');
}
footer, .bg-dark {
    background: linear-gradient(90deg, #7B2A2B 0%, #A1341F 100%) !important;
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    font-size: 1rem;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -2px 12px rgba(123,42,43,0.08);
    position: relative;
    bottom: 0;
    width: 100%;
}


footer a, .bg-dark a {
  color: #ffffff !important;
}


footer a:hover, .bg-dark a:hover {
    color: #fff !important;
}
footer .container .row .col-md-4.mb-4:first-child {
    text-align: center;
}
footer .container .row .col-md-4.mb-4:first-child p,
footer .container .row .col-md-4.mb-4:first-child h5 {
    text-align: center;
}
.btn-danger {
    background-color: #A1341F !important;
    border-color: #A1341F !important;
    color: #fff !important;
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #7B2A2B !important;
    border-color: #7B2A2B !important;
    color: #fff !important;
}
.btn-outline-danger {
    color: #A1341F !important;
    border-color: #A1341F !important;
    background-color: transparent !important;
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
    color: #fff !important;
    background-color: #A1341F !important;
    border-color: #A1341F !important;
    box-shadow: 0 4px 16px rgba(123,42,43,0.18);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.text-danger {
    color: #A1341F !important;
}
@media (max-width: 900px) {
    .hero, .about-content, .service-cards {
        flex-direction: column;
        align-items: center;
    }
    .hero-image img, .about-content img {
        width: 90vw;
        max-width: 350px;
    }
    .card {
        max-width: 90vw;
    }
    .section, .about-home, .services-overview, .why-choose-us, .cta-section {
        padding: 1.5rem 4vw;
    }
    header.fixed-top {
        height: auto;
    }
    .navbar .navbar-brand img {
        height: 32px !important;
    }
}
/* Center feature cards section on desktop */
@media (min-width: 992px) {
  .feature-cards-row {
    justify-content: center !important;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== HERO SECTION STYLES ===== */

/* Hero Section */
.hero-section {
    min-height: 100vh; /* Ensure hero section takes full viewport height */
    display: flex; /* Enable flexbox for vertical centering */
    align-items: center; /* Vertically center content */
    padding-top: 80px; /* Add padding to account for fixed header */
    padding-bottom: 40px; /* Add some bottom padding */
    background: 
        linear-gradient(135deg, rgba(161,52,31,0.8) 0%, rgba(123,42,43,0.9) 100%),
        url('images/hero.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,214,193,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(161,52,31,0.2) 0%, transparent 70%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

/* Particles Styling */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle-1 {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.particle-2 {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,214,193,0.7);
    border-radius: 50%;
    top: 60%;
    left: 85%;
    animation: float 8s ease-in-out infinite reverse;
}

.particle-3 {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    top: 40%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
}

/* Hero Content Styling */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Badge Styling */
.hero-badge {
    animation: slideInDown 1s ease-out;
    margin-top: 20px; /* Add margin to separate from header */
}

.hero-badge .badge {
    background: linear-gradient(45deg, #A1341F, #7B2A2B);
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(161,52,31,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    position: relative;
}

.hero-badge .spinning-star {
    animation: spin 3s linear infinite;
}

.hero-badge .spinning-star-reverse {
    animation: spin 3s linear infinite reverse;
}

/* Hero Title Styling */
.hero-title {
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    animation: slideInUp 1s ease-out 0.2s both;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif;
}

.hero-title-gradient {
    background: linear-gradient(45deg, #FFD6C1, #FFF, #FFD6C1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* Hero Subtitle Styling - Modified */
.hero-subtitle {
    font-size: 0.75em;
    color: #FFFFFF; /* Changed to plain white */
    text-shadow: none; /* Removed text shadow */
    font-weight: 800;
    /* Removed background gradient and text clipping */
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    /* Ensure no animation is applied if there was one before */
    animation: none;
}

/* Hero Description Styling */
.hero-description {
    font-size: 1.2rem;
    animation: slideInUp 1s ease-out 0.4s both;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.hero-description-highlight {
    color: #FFD6C1;
    font-weight: 600;
}

/* Hero Stats Cards Styling */
.hero-stats {
    animation: slideInUp 1s ease-out 0.6s both;
    /* Ensure stats are in a single line */
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping to multiple lines */
    justify-content: center; /* Center the stats cards */
}

.hero-stats .row {
    flex-wrap: nowrap; /* Ensure columns within the row don't wrap */
    width: 100%; /* Make the row take full width to contain its children */
}

.hero-stats .col-md-4 {
    flex: 1; /* Distribute space equally among the three cards */
    padding-left: 5px; /* Adjust padding as needed */
    padding-right: 5px; /* Adjust padding as needed */
}


.hero-stats-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    transform: translateY(0);
    padding: 1.5rem;
    border-radius: 1rem;
}

.hero-stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.hero-stats-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #dc3545;
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.hero-stats-number-1 {
    animation: bounce 2s infinite;
}

.hero-stats-number-2 {
    animation: bounce 2s infinite 0.2s;
}

.hero-stats-number-3 {
    animation: bounce 2s infinite 0.4s;
}

.hero-stats-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 1rem;
}

/* Hero CTA Buttons Styling */
.hero-cta-container {
    animation: slideInUp 1s ease-out 0.8s both;
}

.hero-cta-primary {
    background: linear-gradient(45deg, #A1341F, #7B2A2B);
    border: none;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(161,52,31,0.4);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: bold;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(161,52,31,0.6);
}

.hero-cta-secondary {
    font-size: 1.2rem;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: bold;
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
}

.hero-cta-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.hero-cta-whatsapp {
    font-size: 1.2rem;
    background: #25D366;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
    font-weight: bold;
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
}

.hero-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.5);
}

/* About Section Styling */
.about-badge {
    border: 1px solid #A1341F;
    background-color: #E8DACF !important;
}

.about-badge i,
.about-badge span {
    color: #A1341F;
}

.about-title {
    color: #A1341F;
}

.about-description {
    color: #444;
}

.about-paragraph {
    color: #555;
}

/* About Image Styling */
.about-image {
    aspect-ratio: 3/2;
    object-fit: cover;
}

/* Services Section Styling */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-title {
    color: #A1341F;
    background: linear-gradient(135deg, #A1341F 0%, #7B2A2B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #A1341F, #7B2A2B);
    border-radius: 2px;
}

/* Testimonials Section Styling */
.testimonials-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 600px;
}

.testimonials-background {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.testimonials-decoration-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.testimonials-decoration-2 {
    top: 70%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #a8e6cf, #ffd93d);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.testimonials-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 12px 24px;
    backdrop-filter: blur(10px);
}

.testimonials-badge-icon {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.testimonials-badge-text {
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.testimonials-title {
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.testimonials-title-gradient {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-description {
    max-width: 600px;
    font-size: 1.1rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d3748;
    font-style: italic;
    position: relative;
}

/* Client Avatar Styling */
.client-avatar-1 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255,107,107,0.3);
}

.client-avatar-2 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ecdc4, #a8e6cf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(78,205,196,0.3);
}

.client-avatar-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd93d, #ff9a9e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255,217,61,0.3);
    transition: all 0.4s ease;
}

/* Client name and location for third testimonial */
.client-name-3 {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: bold;
}

.client-location-3 {
    color: #718096;
    font-weight: 500;
}

/* Trust indicators container */
.trust-indicators-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 16px 32px;
    backdrop-filter: blur(10px);
}

/* Additional CSS classes for remaining testimonial inline styles */

/* Testimonial star rating styles */
.testimonial-star {
    color: #ffd700;
    font-size: 1.1rem;
    margin-right: 2px;
    transition: all 0.3s ease;
}

.testimonial-star:last-child {
    margin-right: 0;
}

/* Quote icon styling variations */
.quote-icon-1 {
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(78,205,196,0.1);
}

.quote-icon-2 {
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(255,217,61,0.1);
}

/* Testimonial card base styling */
.testimonial-card-base {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Testimonial gradient border styling */
.testimonial-gradient-border-inner {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    height: 100%;
    border-radius: 22px;
}

.testimonial-gradient-border-container {
    border-radius: 24px;
    padding: 2px;
}

/* Why Choose Us Section Styles */
.why-choose-us-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8DACF 100%);
    position: relative;
}

.why-choose-us-badge {
    background: linear-gradient(135deg, #A1341F 0%, #7B2A2B 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(161,52,31,0.3);
}

.why-choose-us-title {
    color: #A1341F;
}

.why-choose-us-title-gradient {
    background: linear-gradient(135deg, #A1341F 0%, #7B2A2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-choose-us-description {
    max-width: 600px;
    font-size: 1.2rem;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #A1341F 0%, #7B2A2B 100%);
    box-shadow: 0 8px 25px rgba(161,52,31,0.3);
}

.feature-title {
    color: #A1341F;
}

/* Additional CSS classes for remaining Why Choose Us section inline styles */

.cta-container {
    background: linear-gradient(135deg, rgba(161,52,31,0.1) 0%, rgba(123,42,43,0.1) 100%);
    border: 2px solid rgba(161,52,31,0.2);
}

.cta-title {
    color: #A1341F;
}

.cta-button {
    background: linear-gradient(135deg, #A1341F 0%, #7B2A2B 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(161,52,31,0.3);
}

/* Navigation gradient - used across all pages */
.navbar-gradient {
    background: linear-gradient(90deg, #A1341F 0%, #7B2A2B 100%) !important;
}

/* Page titles and section headings - consistent brand color */
.page-title {
    color: #A1341F !important;
}

.section-heading {
    color: #A1341F !important;
}

/* Layout containers - consistent max-width and centering */
.page-title-container {
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.services-grid-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Duplicate media query removed - consolidated with main responsive design section above */

@media (max-width: 767.98px) {
    body {
        padding-top: 0;
    }
    
    /* .hero-section h1 - existing rule */
    /* .stats-card - existing rule */
}

/* Enhanced Button Styles */
.btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Additional Hero Enhancements */
.hero-badge .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Services Section Styling */
.hover-shadow {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(161, 52, 31, 0.15), 
                0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Services Cards Responsive Adjustments */
@media (width: 1100px) {
    /* Services cards mobile adjustments - maintain larger images */
    .card .position-relative {
        height: 100px !important;
    }
    
    .card-title {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    /* Mobile - maintain good image size */
    .card .position-relative {
        height: 220px !important;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .card-title {
        font-size: 1.2rem !important;
    }
}

/* Additional animation for service cards */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stagger animation for service cards - Updated for 3+2 layout */
.col-lg-4:nth-child(1) .card { animation: fadeInScale 0.6s ease-out 0.1s both; }
.col-lg-4:nth-child(2) .card { animation: fadeInScale 0.6s ease-out 0.2s both; }
.col-lg-4:nth-child(3) .card { animation: fadeInScale 0.6s ease-out 0.3s both; }
.col-lg-6:nth-child(4) .card { animation: fadeInScale 0.6s ease-out 0.4s both; }
.col-lg-6:nth-child(5) .card { animation: fadeInScale 0.6s ease-out 0.5s both; }
/* ========================================
   PREMIUM SERVICE CARDS - MODERN DESIGN
   ======================================== */

/* Premium Service Card Container */
.premium-service-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(161, 52, 31, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    border: 1px solid rgba(161, 52, 31, 0.05);
}

.premium-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(161, 52, 31, 0.15);
    border-color: rgba(161, 52, 31, 0.1);
}

/* Service Image Container */
.service-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.premium-service-card:hover .service-image {
    transform: scale(1.08);
    filter: brightness(1);
}

/* Service Overlay with Icon */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(161, 52, 31, 0.85) 0%, rgba(123, 42, 43, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.premium-service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    color: #ffffff;
    font-size: 3.5rem;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Service Content */
.service-content {
    padding: 2rem;
    position: relative;
}

/* Service Title */
.service-title {
    color: #A1341F;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 1rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.premium-service-card:hover .service-title {
    color: #7B2A2B;
}

/* Service Description */
.service-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Call to Action Section */
.cta-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(161, 52, 31, 0.08);
    border: 1px solid rgba(161, 52, 31, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A1341F, #7B2A2B, #A1341F);
}

.cta-title {
    color: #A1341F;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: #f7f9fd;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta, .btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Fixed: Added solid transparent */
}

.btn-primary-cta {
    background: linear-gradient(135deg, #A1341F, #7B2A2B);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(161, 52, 31, 0.25);
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(161, 52, 31, 0.35);
    color: #ffffff;
}

.btn-secondary-cta {
    background: transparent;
    color: #A1341F;
    border-color: #A1341F;
}

.btn-secondary-cta:hover {
    background: #A1341F;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(161, 52, 31, 0.25);
}

/* Responsive Design for Service Cards */
@media (max-width: 992px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-cta, .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-content {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-image-container {
        height: 220px;
    }
    
    .cta-container {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
}

/* ====================================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN
   ==================================================================== */

/* Small Mobile Devices (320px - 575px) */
@media (max-width: 575.98px) {
    /* General Layout */
    body {
        padding-top: 0 !important;
    }

    /* Navigation Mobile */
    .main-header {
        height: auto !important;
    }
    
    .navbar-nav {
        padding: 1rem 0 !important;
        gap: 0.5rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 80vh !important;
        padding-top: 60px !important;
        padding-bottom: 40px !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
     /* Hero Badge Mobile - Adjusted positioning */
    .hero-badge {
        margin-top: 40px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-badge .badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.8rem !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        max-width: 280px !important;
        white-space: nowrap !important;
    }
    
    /* Hero Stats Mobile */
    .hero-stats {
        margin-bottom: 1rem !important;
    }
    
    .hero-stats-card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-stats-number {
        font-size: 1.5rem !important;
    }
    
    .hero-stats-label {
        font-size: 0.8rem !important;
    }
    
    /* Hero CTA Buttons Mobile */
    .hero-cta-container {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }
    
    .hero-cta-container .btn {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        font-size: 0.95rem !important;
        padding: 0.875rem 1.5rem !important;
    }
    
    /* Services Section Mobile */
    .services-title {
        font-size: 2rem !important;
    }
    
    .premium-service-card {
        margin-bottom: 2rem !important;
    }
    
    .service-image-container {
        height: 200px !important;
    }
    
    .service-content {
        padding: 1.5rem !important;
    }
    
    .service-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    .service-description {
        font-size: 0.9rem !important;
    }
    
    /* Testimonials Mobile */
    .testimonials-title {
        font-size: 2rem !important;
    }
    
    .testimonials-section .card {
        min-width: 280px !important;
        max-width: 320px !important;
        margin: 0 auto 1.5rem auto !important;
    }
    
    .trust-indicators-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .trust-indicator {
        margin-right: 0 !important;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-us-title {
        font-size: 2rem !important;
    }
    
    .feature-icon-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .feature-icon-circle i {
        font-size: 1.5rem !important;
    }
    
    .feature-title {
        font-size: 1.1rem !important;
    }
    
    /* About Section Mobile */
    .about-title {
        font-size: 2rem !important;
    }
    
    .about-image {
        margin-top: 2rem !important;
    }
    
    /* CTA Container Mobile */
    .cta-container {
        padding: 2rem 1rem !important;
        margin: 1rem !important;
    }
    
    .cta-title {
        font-size: 1.3rem !important;
    }
    
    .cta-button {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Section Spacing Mobile */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Container Spacing Mobile */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Medium Mobile Devices (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-stats-number {
        font-size: 2.5rem !important;
    }
    
    /* Services */
    .services-title {
        font-size: 2.5rem !important;
    }
    
    .service-image-container {
        height: 220px !important;
    }
    
    .service-title {
        font-size: 1.3rem !important;
    }
    
    /* Testimonials */
    .testimonials-section .card {
        min-width: 300px !important;
        max-width: 350px !important;
    }
    
    .trust-indicators-container {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* Tablet Devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-title {
        font-size: 2.8rem !important;
    }
    
    .hero-stats {
        justify-content: center !important;
    }
    
    /* Services Grid */
    .premium-service-card {
        height: 100% !important;
    }
    
    /* Testimonials */
    .testimonials-section .row {
        justify-content: center !important;
    }
    
    .testimonials-section .card {
        max-width: 350px !important;
    }
}

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Container adjustments */
    .container {
        max-width: 960px !important;
    }
    
    /* Services grid adjustment */
    .services-section .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .services-section .col-lg-4:nth-child(odd):last-child {
        flex: 0 0 100% !important;
        max-width: 50% !important;
        margin: 0 auto !important;
    }
}

/* Extra Small Height Devices (Landscape phones) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh !important;
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-stats {
        display: none !important;
    }
    
    .main-header {
        height: auto !important;
    }

    body {
        padding-top: 0 !important;
    }

    .navbar-center-logo .logo-container {
        width: 80px !important;
        height: 80px !important;
    }

    .navbar-center-logo .logo-container img {
        height: 55px !important;
    }
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 48px !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .nav-link {
        min-height: 48px !important;
    }
    
    /* Hover effects disabled for touch devices */
    .premium-service-card:hover .service-overlay {
        opacity: 0 !important;
    }
    
    .hero-stats-card:hover {
        transform: none !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-center-logo .logo-container img,
    .navbar-brand-mobile .logo-container img {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This can be implemented if dark mode is desired */
    /* Currently maintaining light theme as per design */
}

/* Print Styles */
@media print {
    .main-header,
    .hero-section,
    .testimonials-section {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }
    
    body {
        padding-top: 0 !important;
        background: white !important;
        color: black !important;
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-appearance: none) {
    @media (max-width: 575.98px) {
        .hero-section {
            min-height: -webkit-fill-available !important;
        }
        
        body {
            padding-top: env(safe-area-inset-top, 85px) !important;
        }
    }
}

/* Android Chrome Specific Fixes */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: calc(100vh - 85px) !important;
    }
}

/* Header & Navbar Mobile Responsive Enhancements */
@media (max-width: 575.98px) {
    header,
    .main-header {
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(161,52,31,0.07);
    }
    .header-container {
        padding: 0 !important;
    }
    .navbar {
        flex-direction: row !important;
        align-items: center !important;
        min-height: 60px !important;
        padding: 0 0.5rem !important;
    }
    .navbar .navbar-brand img {
        height: 36px !important;
        margin-right: 0.5rem !important;
    }
    .navbar .navbar-brand {
        padding: 0 !important;
        margin-right: 0.5rem !important;
    }
    .navbar-toggler {
        margin-left: auto !important;
        padding: 4px 8px !important;
    }
    .navbar-nav {
        width: 100% !important;
        padding: 0.5rem 0 !important;
        gap: 0.25rem !important;
        background: #E8DACF !important;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 4px 16px rgba(161,52,31,0.06);
    }
    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.75rem 1.25rem !important;
        margin-bottom: 0.25rem !important;
        border-radius: 30px !important;
        text-align: left !important;
    }
    .navbar-nav .nav-link.active {
        font-size: 1rem !important;
    }
    .navbar-nav .nav-link:last-child {
        margin-bottom: 0 !important;
    }
    .navbar-brand-mobile .logo-container {
        width: 60px !important;
        height: 60px !important;
    }
    .navbar-brand-mobile .logo-container img {
        height: 42px !important;
    }
}




        /* Footer improvements */
        .footer-logo-intro {
          display: flex;
          align-items: flex-start;
          gap: 1.5rem;
        }
        .footer-logo-intro .footer-logo {
          flex-shrink: 0;
        }
        .footer-logo-intro .footer-logo img {
          height: 144px; /* 3x original 48px */
          width: auto;
        }
        .footer-logo-intro .footer-intro {
          text-align: left;
        }
        .footer-social .btn {
          border: none;
          background: rgba(255,255,255,0.08);
          color: #fff;
          transition: background 0.2s, color 0.2s;
        }
        .footer-social .btn:hover {
          background: #fff !important;
        }
        .footer-social .btn-facebook:hover i { color: #1877f3; }
        .footer-social .btn-instagram:hover i { color: #e4405f; }
        .footer-social .btn-linkedin:hover i { color: #0a66c2; }
        .footer-social .btn i {
          transition: color 0.2s;
        }
        .footer-contact-list i {
          color: #fff !important;
          font-size: 1.1rem;
        }
        .footer-contact-list span,
        .footer-address {
          text-align: left;
          display: block;
        }
        .footer-address {
          font-size: 0.97rem;
        }
        @media (max-width: 991px) {
          .footer-logo-intro { flex-direction: column; gap: 0.5rem; }
          .footer-logo-intro .footer-intro { text-align: left; }
        }


@media (max-width: 575.98px) {
  .hero-about-content {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}




@media (max-width: 575.98px) {
  footer {
    text-align: center !important;
  }

  footer h5,
  footer ul,
  footer ul li,
  footer .footer-intro,
  footer .footer-contact-list span,
  footer .footer-address {
    text-align: center !important;
    margin: 0 auto !important;
  }

  footer ul {
    padding-left: 0 !important;
    list-style: none;
  }

  .footer-logo-intro {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-logo-intro .footer-logo img {
    height: 120px;
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center !important;
  }

  .footer-contact-list li {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-contact-list i {
    margin-bottom: 5px;
    margin-right: 0;
  }

  footer .text-center p {
    text-align: center !important;
  }
}
