/* 
 * Dr. Mandadi Campaign - Exact Match Styles
 */

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

:root {
    --brand-red: #e31837;
    --brand-red-dark: #b81022;
    --brand-dark: #1a1a1a;
    --brand-light: #f8f9fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Typography & Utilities */
.fw-black { font-weight: 900 !important; }
.text-red { color: var(--brand-red) !important; }
.bg-red { background-color: var(--brand-red) !important; }
.bg-dark-custom { background-color: #1a1a1a !important; }

/* Navbar */
.navbar { padding: 15px 0; }
.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: #333 !important;
    padding: 8px 16px !important;
}
.nav-item .active {
    color: var(--brand-red) !important;
    border-bottom: 2px solid var(--brand-red);
}
.brand-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.vote-badge-header {
    background-color: var(--brand-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.brand-text-main {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    font-style: italic;
}
.brand-text-sub {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    font-style: normal;
}

@media (max-width: 575px) {
    .brand-text-main {
        font-size: 22px;
    }
    .vote-badge-header {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Buttons */
.btn-red-solid {
    background-color: var(--brand-red) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 10px 24px !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-red-solid:hover {
    background-color: var(--brand-red-dark) !important;
}
.btn-outline-white {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 8px 24px !important;
}
.btn-outline-white:hover {
    background-color: white !important;
    color: var(--brand-red) !important;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background: url('../images/banner.JPG') center/cover no-repeat, linear-gradient(135deg, #a50d22 0%, #e31837 50%, #a50d22 100%);
    padding-top: 60px;
    padding-bottom: 180px;
    overflow: hidden;
}
.hero-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: ellipse(75% 100% at 50% 100%);
    z-index: 5;
}
.hero-portrait-col {
    position: relative;
    z-index: 2;
}
.banner-fullscreen {
    height: auto;
}
@media (min-width: 992px) {
    .banner-fullscreen {
        height: calc(100vh - 75px); /* Subtract approximate navbar height */
        object-fit: cover;
        object-position: center top;
    }
}
.hero-slider-wrapper {
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
    overflow: hidden;
    background-color: #fff;
}
.hero-slider-wrapper img {
    height: 240px;
    object-fit: contain;
    background-color: #000;
}
@media (max-width: 991px) {
    .hero-slider-wrapper {
        max-width: 100%;
    }
    .hero-slider-wrapper img {
        height: 200px;
    }
}
.hero-vote-badge {
    background-color: var(--brand-red);
    color: white;
    border: 2px solid white;
    font-weight: 800;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
    color: white;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.maple-leaf-divider {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 15px 0 25px 0;
    color: white;
    opacity: 0.9;
}
.maple-leaf-divider hr {
    width: 250px;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 0;
}
.maple-leaf-divider i {
    color: var(--brand-red);
    font-size: 20px;
    margin: 0 15px;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: white;
}

/* Section Titles */
.section-subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.section-subtitle-container.left {
    justify-content: flex-start;
}
.section-subtitle {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.title-line {
    width: 30px;
    height: 2px;
    background-color: var(--brand-red);
    margin: 0 15px;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #000;
}

/* Priorities */
.priority-icon {
    color: var(--brand-red);
    font-size: 45px;
    margin-bottom: 15px;
}
.priority-title {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
}
.priority-line {
    width: 25px;
    height: 2px;
    background-color: var(--brand-red);
    margin: 10px auto;
}
.priority-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* About Section */
.check-icon-solid {
    color: var(--brand-red);
    font-size: 20px;
    margin-right: 8px;
}
.about-img-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.quote-mark {
    color: var(--brand-red);
    font-size: 35px;
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}
.testimonial-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-top: 30px;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.testimonial-name {
    font-size: 14px;
    font-weight: 800;
    color: #000;
    margin: 0;
}
.testimonial-title {
    font-size: 12px;
    color: var(--text-muted);
}
.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
}
.carousel-dot.active {
    background-color: var(--brand-red);
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}
.gallery-img-large {
    width: 100%;
    height: 416px; /* 200px + 200px + 16px gutter */
    object-fit: cover;
    border-radius: 6px;
}
@media (max-width: 767px) {
    .gallery-img-large {
        height: 250px;
    }
}
.view-more-text {
    font-weight: 800;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--brand-red);
    color: white;
    padding: 40px 0;
}
.cta-icon {
    font-size: 24px;
    margin-bottom: 10px;
}
.cta-title {
    font-size: 16px;
    font-weight: 700;
}
.cta-desc {
    font-size: 12px;
    opacity: 0.9;
}

/* Newsletter */
.newsletter-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}
.newsletter-icon {
    font-size: 35px;
    color: var(--brand-red);
    margin-right: 20px;
}

/* Footer */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--brand-red);
}
.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.footer-link:hover {
    color: white;
    transform: translateX(5px);
}
