/* 
   Astitva Constructions - Main Stylesheet
   Colors: Deep Blue, Gold, White, Grey
   Fonts: Poppins (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #0B1E3B;
    /* Deep Blue */
    --secondary-color: #D4AF37;
    /* Gold */
    --accent-color: #F3F4F6;
    /* Light Grey */
    --text-dark: #1F2937;
    /* Dark Grey for text */
    --text-light: #F9FAFB;
    /* Off-white for text on dark backgrounds */
    --white: #FFFFFF;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-width: 1200px;

    /* Transitions */
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Page Content Fade Animation */
.page-content {
    animation: fadeInContent 0.6s ease-in;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Top Spacing - Responsive for fixed header */
.page-top-spacing {
    padding-top: 162px !important;
    /* Top bar (42px) + Header (80px) + spacing (40px) */
}

@media (max-width: 768px) {
    .page-top-spacing {
        padding-top: 120px !important;
        /* Header (80px) + spacing (40px) only, no top bar on mobile */
    }
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #b5952f;
    color: var(--white);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Typography */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .section-title {
        margin-bottom: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-contact i {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 42px;
    z-index: 1000;
}

@media (max-width: 768px) {
    header {
        top: 0;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
    }
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
    margin-left: 34px;
}

@media (max-width: 768px) {
    .logo-tagline {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        max-width: 300px;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links .btn {
        margin-top: 10px;
        text-align: center;
    }

    /* Mobile menu backdrop */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
}

.hero {
    height: 100vh;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 122px;
    /* Top bar + Header height */
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        /* Only header on mobile */
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 59, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Stats - Inline in Hero Section */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item {
    text-align: center;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    display: inline;
    line-height: 1;
}

.hero-stat-suffix {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: inline;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Hero Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        margin-top: 35px;
        padding-top: 30px;
    }
    
    .hero-stat-item::after {
        display: none;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-suffix {
        font-size: 1.2rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 20px 10px;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stat-suffix {
        font-size: 1rem;
    }
    
    .hero-stat-label {
        font-size: 0.7rem;
    }
}

/* About Snapshot */
.about-snapshot {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.about-snapshot p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Services Grid */
.services-section {
    padding: var(--section-padding);
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-bottom: 3px solid transparent;
    width: 100%;
    max-width: 320px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

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

/* Featured Projects */
.projects-section {
    padding: var(--section-padding);
}

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

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

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

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 30, 59, 0.9), transparent);
    padding: 20px;
    color: var(--white);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(11, 30, 59, 1), transparent);
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.view-all-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* Why Choose Us */
.why-choose-us {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--white);
}

.why-choose-us .section-title h2 {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #050e1c;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Comprehensive Mobile & Tablet Responsive Styles */

/* Touch-friendly buttons and links */
@media (max-width: 768px) {
    .btn {
        padding: 14px 32px;
        min-height: 44px;
        font-size: 1rem;
    }

    /* Service Cards */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        max-width: 100%;
        min-height: 280px;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .project-card {
        height: 220px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Container padding on mobile */
    .container {
        padding: 0 15px;
    }

    /* Adjust section padding */
    section {
        padding: 60px 15px !important;
    }

    .about-snapshot p {
        font-size: 1.2rem;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 30px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .top-contact {
        flex-direction: column;
        gap: 8px;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

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

    .service-card {
        max-width: 100%;
        min-height: 260px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        height: 200px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Form responsiveness - prevents zoom on iOS */
@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Project Detail Page Styles */
.project-detail-header {
    padding: 60px 20px 40px;
    background: var(--accent-color);
}

.project-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.project-breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.project-breadcrumb a:hover {
    color: var(--secondary-color);
}

.project-breadcrumb i {
    font-size: 0.7rem;
}

.project-breadcrumb span {
    color: var(--secondary-color);
    font-weight: 600;
}

.project-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #666;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta i {
    color: var(--secondary-color);
}

/* Project Gallery */
.project-gallery {
    padding: 60px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Make project cards clickable */
.project-card {
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive for project detail pages */
@media (max-width: 768px) {
    .project-detail-header h1 {
        font-size: 2rem;
    }

    .project-meta {
        gap: 15px;
    }

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

    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .project-detail-header h1 {
        font-size: 1.75rem;
    }

    .gallery-item img {
        height: 220px;
    }
}

/* ============================================
   COMMERCIAL & CONVERSION-FOCUSED STYLES
   ============================================ */

/* Floating Action Buttons (WhatsApp + Call) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse-green 2s infinite;
}

.float-btn.call {
    background: linear-gradient(135deg, var(--secondary-color), #b5952f);
    animation: pulse-gold 2s infinite;
    animation-delay: 0.5s;
}

.float-label {
    position: absolute;
    right: 70px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
}

.float-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--primary-color);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(212, 175, 55, 0.7); }
}

/* Promo Banner */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #e63946, #d62839, #e63946);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 12px 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.promo-banner.hidden {
    display: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: badgePulse 1.5s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-text {
    font-size: 0.95rem;
}

.promo-cta {
    background: white;
    color: #e63946;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.promo-cta:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.promo-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.promo-close:hover {
    opacity: 1;
}

/* Adjust header position when promo banner is visible */
body.promo-active .top-bar {
    top: 48px;
}

body.promo-active header {
    top: 90px;
}

body.promo-active .hero {
    padding-top: 170px;
}

@media (max-width: 768px) {
    body.promo-active header {
        top: 48px;
    }
    
    body.promo-active .hero {
        padding-top: 130px;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .float-label {
        display: none;
    }
    
    .promo-text {
        font-size: 0.85rem;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #0d2850);
    padding: 60px 20px;
    margin-top: -5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: inline;
}

.stat-suffix {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: inline;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Trust Badges Section */
.trust-badges-section {
    background: var(--accent-color);
    padding: 30px 20px;
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .trust-badges-grid {
        gap: 20px;
    }
    
    .trust-badge {
        font-size: 0.85rem;
    }
    
    .trust-badge i {
        font-size: 1.2rem;
    }
}

/* Button Variants */
.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

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

.btn-light:hover {
    background: var(--accent-color);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
}

.pulse-animation {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 20px;
    background: white;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(11, 30, 59, 0.1);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #b5952f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.9rem;
    color: #666;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 70px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

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

.cta-subtext {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.cta-subtext i {
    color: #28a745;
}

@media (max-width: 900px) {
    .step-connector {
        display: none;
    }
    
    .steps-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .step-item {
        min-width: 100%;
    }
}

/* Testimonials Section - Enhanced */
.testimonials-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f9f9f9, white);
}

.testimonials-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

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

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1a365d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: #888;
}

.verified-badge {
    font-size: 0.8rem;
    color: #28a745;
}

.verified-badge i {
    margin-right: 5px;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--primary-color);
    color: white;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 5px;
}

.google-rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 30px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.google-rating-badge span {
    color: #333;
}

.google-stars {
    display: flex;
    gap: 2px;
}

.google-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: var(--accent-color);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question i {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.7;
}

/* CTA Banner Section */
.cta-banner-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color), #1a365d);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-banner {
        text-align: center;
        justify-content: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Contact Section Enhanced */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), #1a365d);
    color: white;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

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

.contact-info-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-info-card h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-details p {
    margin: 0;
    font-size: 1rem;
}

.contact-details a {
    color: white;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-header h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.form-subtext {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    border-color: var(--secondary-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
}

.form-privacy i {
    color: #28a745;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }
}