/* ==========================================================================
   FCMCCU Homepage Stylesheet
   ========================================================================== */

/* Import Outfit Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Design System */
:root {
    --primary-color: #0d3b66;      /* Trust Navy Blue */
    --primary-dark: #051d33;       /* Deeper Navy */
    --primary-light: #eef4f8;      /* Light Navy Tint */
    --secondary-color: #d62828;    /* Methodist Red */
    --secondary-hover: #b31d1d;    /* Darker Red */
    --accent-color: #f77f00;       /* Gold/Orange */
    --accent-gold: #fcbf49;        /* Warm Gold */
    --text-dark: #1e293b;          /* Charcoal for readability */
    --text-muted: #64748b;         /* Cool Grey */
    --bg-light: #f8f9fa;           /* Off-white */
    --bg-white: #ffffff;           /* Pure white */
    
    /* Font styles */
    --font-primary: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1240px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadow effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(13, 59, 102, 0.08), 0 4px 6px -2px rgba(13, 59, 102, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(13, 59, 102, 0.12), 0 10px 10px -5px rgba(13, 59, 102, 0.06);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

/* Section Header Styles */
.section-tag {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 59, 102, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(214, 40, 40, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 40, 40, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Utility Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info-item i {
    color: var(--accent-gold);
}

.top-socials {
    display: flex;
    gap: 16px;
}

.top-socials a:hover {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Main Navigation Bar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.sticky {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link.active {
    color: var(--primary-color);
}

/* Nav Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    padding: 12px 0;
    border-top: 3px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
    text-align: left;
    display: block;
    width: 100%;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 24px;
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Menu Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slide-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35); /* Darken for text readability */
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 5;
    color: var(--bg-white);
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    background-color: rgba(214, 40, 40, 0.9);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.slide-title span {
    color: var(--accent-gold);
}

.slide-desc {
    font-size: 1.15rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.slide-actions {
    display: flex;
    gap: 16px;
}

.slide-actions .btn-outline-white {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    font-weight: 700;
}

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

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.slider-control:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    transition: var(--transition-normal);
}

.indicator.active {
    width: 32px;
    border-radius: 10px;
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Services Grid Section (A Suite of Solutions)
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
    position: relative;
}

/* Decorative background elements */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 59, 102, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 5;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(13, 59, 102, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 59, 102, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service Card Themes - Different Colors based on Layout */
.service-card.theme-1::before { background-color: var(--primary-color); }
.service-card.theme-2::before { background-color: var(--secondary-color); }
.service-card.theme-3::before { background-color: var(--accent-color); }
.service-card.theme-4::before { background-color: var(--accent-gold); }

.card-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(13, 59, 102, 0.06);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    transition: var(--transition-normal);
}

.service-card:hover .card-num {
    color: rgba(214, 40, 40, 0.1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.service-card.theme-1 .service-icon-wrapper { background-color: rgba(13, 59, 102, 0.08); color: var(--primary-color); }
.service-card.theme-2 .service-icon-wrapper { background-color: rgba(214, 40, 40, 0.08); color: var(--secondary-color); }
.service-card.theme-3 .service-icon-wrapper { background-color: rgba(247, 127, 0, 0.08); color: var(--accent-color); }
.service-card.theme-4 .service-icon-wrapper { background-color: rgba(252, 191, 73, 0.12); color: var(--accent-color); }

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.service-link i {
    transition: var(--transition-fast);
}

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

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   Section: Why We Stand Out
   ========================================================================== */
.why-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Background overlay patterns */
.why-section::after {
    content: '';
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 30px solid rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content {
    position: relative;
    z-index: 5;
}

.why-section .section-title {
    color: var(--bg-white);
}

.why-section .section-tag {
    color: var(--accent-gold);
}

.why-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-normal);
}

.why-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(252, 191, 73, 0.2);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.why-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--bg-white);
}

.why-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Image styling */
.why-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.why-image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.why-image {
    object-fit: cover;
    width: 100%;
    max-height: 550px;
    display: block;
    transition: var(--transition-slow);
}

.why-image-wrapper:hover .why-image {
    transform: scale(1.03);
}

/* Image background circular decoration */
.why-image-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    z-index: -1;
    filter: blur(5px);
}

/* ==========================================================================
   Section: The Tale of FCMCCU (About Us)
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Red overlapping graphical shape from HYDRO image */
.about-badge-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 30px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 250px;
    z-index: 10;
}

.about-badge-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--accent-gold);
}

.about-badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-bullets {
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.about-bullet-item i {
    color: var(--secondary-color);
    font-size: 1.15rem;
}

/* Agent Support Badge */
.agent-support-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-md);
    border: 1px dashed rgba(13, 59, 102, 0.2);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.agent-info {
    flex-grow: 1;
}

.agent-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.agent-phone {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.agent-phone:hover {
    color: var(--secondary-hover);
}

/* ==========================================================================
   Section: Testimonials & News (Split)
   ========================================================================== */
.testimonials-news-section {
    background-color: var(--bg-light);
}

.tn-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 60px;
}

/* Testimonial Area */
.testimonial-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.quote-icon {
    font-size: 4rem;
    color: rgba(13, 59, 102, 0.05);
    position: absolute;
    top: 30px;
    right: 50px;
    line-height: 1;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    height: auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.rating-stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
}

.author-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.test-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(13, 59, 102, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.test-nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* News/Blog Area */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-img-wrapper {
    width: 160px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-img {
    transform: scale(1.08);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-title:hover {
    color: var(--secondary-color);
}

.news-link {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.news-card:hover .news-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   Section: Kiddy Savings CTA Banner
   ========================================================================== */
.cta-banner-section {
    padding: 60px 0;
}

.cta-banner-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.cta-banner-img-wrapper {
    height: 100%;
    min-height: 350px;
    position: relative;
}

.cta-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.cta-banner-content {
    padding: 60px;
    position: relative;
    z-index: 5;
}

/* Graphic arcs overlaying the CTA banner content */
.cta-banner-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 20px solid rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.cta-banner-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-banner-title span {
    color: var(--accent-gold);
}

.cta-banner-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

.cta-btn-white {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.cta-btn-white:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   Section: Footer & Subscription
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
    font-size: 0.95rem;
    border-top: 5px solid var(--secondary-color);
}

/* Newsletter bar */
.newsletter-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 48px;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-text h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: none;
    color: var(--bg-white);
    padding: 12px 18px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-btn {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

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

/* Footer Grid columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-col-desc {
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.footer-link a:hover {
    color: var(--bg-white);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-contact-text h5 {
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Copyright footer */
.footer-bottom {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.85rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

/* Large Tablets and Laptops (1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-image-wrapper {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tn-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile & Small Tablets (768px) */
@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide details on small screens for simplicity */
    }
    
    .navbar .container {
        height: 70px;
    }
    
    .nav-dropdown {
        width: 100%;
        text-align: center;
        position: relative;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--primary-light);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-top: none;
        transition: max-height var(--transition-normal);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 10px 0;
    }
    
    .dropdown-item {
        text-align: center;
        padding: 8px 20px;
        color: var(--primary-color);
    }
    
    .dropdown-item:hover {
        padding-left: 20px;
        background: none;
        color: var(--secondary-color);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 24px;
        transition: var(--transition-normal);
        z-index: 999;
        box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none; /* Hide button on mobile inside navbar, or handle in side nav */
    }
    
    /* Toggle animations */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-desc {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-control.prev { left: 10px; }
    .slider-control.next { right: 10px; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-banner-card {
        grid-template-columns: 1fr;
    }
    
    .cta-banner-img-wrapper {
        min-height: 250px;
    }
    
    .cta-banner-content {
        padding: 40px 24px;
    }
    
    .cta-banner-title {
        font-size: 2rem;
    }
}

/* Extra Small Phones (480px) */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-badge-card {
        bottom: -20px;
        right: -10px;
        padding: 20px;
        max-width: 180px;
    }
    
    .about-badge-num {
        font-size: 2.2rem;
    }
    
    .about-bullets {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-img-wrapper {
        width: 100%;
        height: 180px;
    }
    
    .testimonial-container {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 12px;
    }
    
    .newsletter-input {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius-sm);
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* ==========================================================================
   Floating AI Chatbot Styles
   ========================================================================== */
.chatbot-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(214, 40, 40, 0.3);
    z-index: 9999;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    animation: chatPulse 2s infinite;
}

.chatbot-bubble:hover {
    transform: scale(1.08);
    background-color: var(--secondary-hover);
    cursor: pointer;
}

.chatbot-window {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 360px;
    height: 480px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(13, 59, 102, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--secondary-color);
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
}

.chatbot-header-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.chatbot-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ec4b6;
    animation: statusPulse 1.5s infinite;
}

.chatbot-close {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    color: var(--bg-white);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--bg-light);
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: msgFadeIn 0.3s ease;
}

.chat-msg.bot {
    background-color: var(--bg-white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.chat-msg.user {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input-area {
    padding: 12px 16px;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.chatbot-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.chatbot-send-btn:hover {
    background-color: var(--primary-dark);
}

/* Animations */
@keyframes chatPulse {
    0% { box-shadow: 0 8px 24px rgba(214, 40, 40, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(214, 40, 40, 0.5); }
    100% { box-shadow: 0 8px 24px rgba(214, 40, 40, 0.3); }
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator dot animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background-color: var(--bg-white);
    border-radius: 12px;
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
    animation: msgFadeIn 0.3s ease;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Mobile responsive for chat window */
@media (max-width: 480px) {
    .chatbot-window {
        right: 15px;
        left: 15px;
        width: auto;
        bottom: 95px;
        height: 400px;
    }
    .chatbot-bubble {
        right: 15px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
}
