/* Color Palette */
:root {
    --primary-dark: #121212; /* Deep, sophisticated black for primary elements and text */
    --secondary-accent: #077045; /* Muted Gold/Bronze for accents, CTAs, and highlights */
    --light-bg: #F5F5F5; /* A very subtle off-white for section backgrounds */
    --text-color: #333333; /* Standard dark text */
    --light-text: #E0E0E0; /* For text on dark backgrounds */
    --border-color: #E0E0E0; /* Light border for forms/cards */
    --shadow-color: rgba(0, 0, 0, 0.08); /* Subtle shadow */
    --dark-shadow-color: rgba(0, 0, 0, 0.2); /* Stronger shadow for hover/active */
    --primary-dark-new: #F5F5F5;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #FFFFFF; /* Pure white base */
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

p {
    font-weight: 300;
}

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

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes buttonHoverPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.animate-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0; /* Hidden by default */
}

.animated-img {
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animated-card {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* For hover */
}

.animated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--dark-shadow-color);
}

.animated-button {
    transition: all 0.3s ease;
}

.animated-button:hover {
    animation: buttonHoverPulse 0.6s ease-in-out infinite;
}

/* Utility for elements that should animate on scroll via JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-card-fade.is-visible {
    animation: fadeIn 0.8s ease-out forwards;
}


/* Header */
.main-header {
    background-color: #FFFFFF; /* Pure white header */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1020; /* Ensure header is above other content */
}

.navbar-brand img.black-logo {
    max-height: 75px; /* Ensures black logo is visible on white background */
    width: auto;
    border-radius: 12px;
}

.navbar-nav .nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 20px); /* Adjust width to leave some space on sides */
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-accent) !important;
}

/* CTA Buttons (Unified Style) */
.cta-button {
    background-color: var(--secondary-accent);
    border: 2px solid var(--secondary-accent);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 5px; /* Slightly less rounded for a modern edge */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: darken(var(--secondary-accent), 10%) !important;
    border-color: darken(var(--secondary-accent), 10%) !important;
    color: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--dark-shadow-color);
}

.hero-cta {
    padding: 1rem 3.5rem; /* Larger for hero section */
    font-size: 1.15rem;
}

.hero-cta-outline {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background-color: transparent;
    padding: 1rem 3.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    min-height: 95vh; /* Taller hero */
    position: relative;
    overflow: hidden; /* Important for image sizing */
}

.hero-section .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    z-index: -2; /* Below overlay */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.75), rgba(18, 18, 18, 0.55)); /* Darker, more sophisticated gradient overlay */
    z-index: -1;
}

.hero-section .hero-content {
    position: relative; /* Ensure content is above overlay */
    z-index: 1;
    text-shadow: 0 3px 8px rgba(0,0,0,0.7); /* Stronger text shadow */
}

.hero-section h1 {
    font-size: 4.5rem; /* Larger, more impactful */
    margin-bottom: 1.5rem !important;
}
.reverse-icon{
    transform: scaleX(-1);
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 400;
}

.hero-section .fs-4 {
    font-size: 1.25rem !important;
    font-weight: 500;
}

.hero-section .highlight-text {
    color: var(--secondary-accent); /* Highlight key figures */
    font-weight: 700;
}

/* Sections General */
section {
    padding: 100px 0; /* More generous vertical padding */
}

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

/* Section Headings */
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 15px; /* Space for the underline effect */
    margin-bottom: 40px !important; /* More space below headings */
    font-size: 3.2rem; /* Larger section headings */
    font-weight: 700;
    text-align: center;
    width: 100%; /* Ensures centering for inline-block */
    color: var(--primary-dark);
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Short, impactful line */
    height: 4px; /* Thicker line */
    background-color: var(--secondary-accent);
    border-radius: 2px;
}

.section-heading.small-heading { /* For modal headings */
    font-size: 2.2rem;
    margin-bottom: 30px !important;
}

/* Why Partner Section */
#why-partner img {
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* What We Offer Section */
.offer-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    background-color: #FFFFFF;
}

.offer-card .card-img-top {
    height: 240px; /* Taller images */
    object-fit: cover;
}

.offer-card .card-body {
    padding: 1.8rem;
    text-align: center;
}
.offer-card .card-title {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.offer-card .card-text {
    color: var(--text-color);
}

/* Ideal Partner Section */
.checkmark-list {
    padding-left: 0;
}

.checkmark-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-weight: 400;
}

.checkmark-list li i {
    font-size: 1.4rem;
    margin-right: 15px;
    color: var(--secondary-accent);
    flex-shrink: 0;
    line-height: 1.6; /* Align icon with text */
}

/* CTA Banner */
.cta-banner {
    min-height: 50vh; /* Make it more prominent */
    position: relative;
    overflow: hidden;
    padding: 80px 0; /* Ensure padding for content */
}

.cta-banner .hero-bg-img { /* Reusing hero-bg-img style for consistency */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.75), rgba(18, 18, 18, 0.55));
    z-index: -1;
}

.cta-banner .cta-content {
    position: relative;
    z-index: 1;
    text-shadow: 0 3px 8px rgba(0,0,0,0.7);
}

.cta-banner h2 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem !important;
    color: #FFFFFF;
}

/* Get In Touch Section */
.get-in-touch-section {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.get-in-touch-section .contact-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 3rem 2rem; /* More generous padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute content nicely */
    min-height: 300px; /* Ensure cards have some height for consistency */
}

.get-in-touch-section .contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--dark-shadow-color);
}

.get-in-touch-section .contact-icon {
    color: var(--secondary-accent);
    margin-bottom: 1.5rem;
    font-size: 4.5rem; /* Larger icons */
}

.get-in-touch-section .contact-number {
    font-size: 1.8rem !important; /* Larger number */
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-button-outline {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.7rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.contact-button-outline:hover {
    background-color: var(--primary-dark);
    color: #FFFFFF;
}

.contact-button-outline.whatsapp-btn {
    border-color: #25D366; /* WhatsApp green */
    color: #25D366;
}

.contact-button-outline.whatsapp-btn:hover {
    background-color: #25D366;
    color: #FFFFFF;
}


/* Footer */
.site-footer {
    background-color: var(--primary-dark) !important;
    color: var(--light-text);
    padding: 30px 0; /* Tighter padding */
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer .footer-links {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between links */
}

.site-footer .footer-links .footer-link {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-links .footer-link:hover {
    color: var(--secondary-accent) !important;
}


/* Fixed Footer CTAs (Mobile Specific) */
.bottom-cta-bar {
    background-color: var(--primary-dark);
    z-index: 1050;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    padding: 10px 0; /* Slightly more padding */
}

.bottom-cta-bar .btn {
    border-radius: 0; /* Sharp corners for full width */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.05rem;
    padding: 15px 0; /* Taller buttons */
}

.bottom-cta-bar .btn-call {
    background-color: #007bff;
    border-color: #007bff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.bottom-cta-bar .btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
}


/* Modal Styling */
.modal-custom-header {
    background: linear-gradient(90deg, var(--primary-dark-new), var(--secondary-accent));
    color: white;
    border-bottom: none; /* Clean look */
    padding: 1.5rem; /* More padding */
}

.modal-content {
    border-radius: 10px;
    overflow: hidden; /* Ensures header gradient corners are clean */
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-step {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px var(--shadow-color);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .site-footer {
        padding-bottom: 80px !important; /* Adjust based on sticky bar height + spacing */
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #FFFFFF;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 15px var(--shadow-color);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
    }
    .navbar-nav .nav-link::after {
        display: none; /* Hide underline animation on mobile */
    }
    .cta-button {
        width: 100%;
        margin-top: 15px;
    }
    .hero-section h1 {
        font-size: 2.8rem; /* Smaller for mobile */
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    .hero-section .fs-4 {
        font-size: 1rem !important;
    }
    .hero-cta, .hero-cta-outline {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .hero-cta-outline {
        margin-left: 0 !important; /* Stack buttons */
        margin-top: 15px;
    }
    section {
        padding: 60px 0; /* Less padding on mobile */
    }
    .section-heading {
        font-size: 2.5rem;
        margin-bottom: 40px !important;
    }
    .offer-card .card-img-top {
        height: 200px;
    }
    .cta-banner h2 {
        font-size: 2.5rem;
    }
    .bottom-cta-bar {
        display: flex !important;
    }
    .site-footer {
        text-align: center;
    }
    .site-footer .footer-links {
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
    }
    .site-footer .footer-links span {
        display: none !important;
    }
    .get-in-touch-section .contact-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    .get-in-touch-section .contact-icon {
        font-size: 3.5rem;
    }
    .get-in-touch-section .contact-number {
        font-size: 1.5rem !important;
    }
}