/* Navbar Cedar Custom Background */
.navbar-cedar {
  background: #f8f9fa !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1100 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}
:root {
    --cedar-green: #2E5A32;
    --warm-sand: #E6D3A7;
    --clean-white: #ffffff;
    --soft-charcoal: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--soft-charcoal);
    background-color: var(--clean-white);
    padding-top: 96px;
}

/* Adjust first section if it has custom padding */
body > section:first-of-type,
body > .hero-section,
body > .hero,
body > main > section:first-of-type {
    margin-top: 0 !important;
}

.legacy-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Legacy (not used with navbar-cedar) */
header {
    background-color: var(--clean-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    z-index: 1000;
}

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

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

.logo-img {
    width: 150px;
    height: 100px;
}

.logo-text {
    font-size: 14px;
    font-weight: bold;
    color: var(--soft-charcoal);
    text-align: center;
}

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

.nav-link {
    color: var(--soft-charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--soft-charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-toggle:hover {
    color: var(--cedar-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--soft-charcoal);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.whatsapp-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10;
}

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

/* Main Content */
.legacy-main-content {
    padding: 80px 0;
}

.legacy-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.legacy-section-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--soft-charcoal);
}

.legacy-section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--clean-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--medium-gray);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--cedar-green);
    font-size: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--soft-charcoal);
}

.service-card p {
    color: #666;
    font-size: 14px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.founder-photo {
    width: 128px;
    height: 128px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--soft-charcoal);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

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

.testimonial-card {
    background-color: var(--clean-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--medium-gray);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    color: #666;
}

.testimonial-author {
    font-weight: bold;
    color: var(--soft-charcoal);
}

.testimonial-location {
    font-size: 14px;
    color: #666;
}

/* Payment Section */
.payment-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.payment-container {
    background-color: var(--clean-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 32px;
}

.payment-header h2 {
    font-size: 2rem;
    color: var(--cedar-green);
    margin-bottom: 12px;
}

.payment-plan {
    background-color: var(--warm-sand);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.plan-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--cedar-green);
}

.payment-form {
    margin-top: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--soft-charcoal);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--cedar-green);
}

.card-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.card-icon {
    font-size: 24px;
    color: #333;
}

.submit-btn {
    width: 100%;
    background-color: var(--cedar-green);
    color: var(--clean-white);
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 24px;
}

.submit-btn:hover {
    background-color: #254a28;
}

.payment-security {
    text-align: center;
    margin-top: 24px;
    color: #666;
    font-size: 14px;
}

.security-icon {
    color: var(--cedar-green);
    margin-right: 8px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form {
    background-color: var(--clean-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.contact-info {
    text-align: center;
    margin-top: 32px;
}

.contact-info p {
    color: #666;
    margin-bottom: 24px;
    font-size: 16px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    color: var(--clean-white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

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

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--clean-white);
    padding: 32px 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

/* Unified footer style (matches about.php) */
.footer { background: #0f172a; color: #e2e8f0; padding: 48px 0 24px; }
.footer a { color: #e2e8f0; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: #ffffff; }
/* Footer icon sizing + alignment - prevent size changes on hover/interaction */
.footer i,
.footer svg { font-size: 0.8rem !important; width: 1em; height: 1em; line-height: 1; vertical-align: middle; margin-right: 6px; transform: none !important; transition: none !important; }
.footer .mt-3 i,
.footer .mt-3 svg { font-size: 0.9rem !important; margin-right: 0; }
.footer .fa-lg { font-size: 0.9rem !important; }
.footer a:hover i,
.footer a:hover svg { transform: none !important; font-size: inherit !important; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 400px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-form,
    .payment-container {
        padding: 32px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
#fullcalendar {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-height: 400px;
    overflow: auto;
}
/* Home page (moved from inline styles) */
.hero-section { position: relative; background: radial-gradient(ellipse at 15% 20%, rgba(255,255,255,0.08), transparent 45%), radial-gradient(ellipse at 85% 10%, rgba(255,255,255,0.05), transparent 40%), linear-gradient(135deg, #0b1f3d 0%, #123d78 50%, #0f2850 100%); color: #fff; min-height: 520px; display: flex; align-items: center; padding: 96px 0 72px; overflow: hidden; }
.hero-section .container { z-index: 3; }
.hero-section .hero-content { max-width: 600px; }

/* Hero video background */
.hero-video {
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Video overlay for better text readability */
.hero-video-overlay {
  background: linear-gradient(135deg, rgba(11, 31, 61, 0.85) 0%, rgba(18, 61, 120, 0.75) 50%, rgba(15, 40, 80, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Fallback if video doesn't load */
.hero-video:not([src]) {
  display: none;
}

/* Background texture overlay */
.hero-section .hero-bg { background: url('Beirut-lebanon-opt.jpg') right bottom/cover no-repeat; opacity: 0.05; z-index: 0; pointer-events: none; }
/* Foreground illustration image */
.hero-section .hero-illustration { max-width: 90%; opacity: 0.85; }
/* Hero glass card */
.hero-glass { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 32px; box-shadow: 0 30px 90px rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
/* Hero highlights */
.hero-highlights .hero-highlight-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 8px 12px; color: #e8eef5; font-weight: 600; font-size: 0.95rem; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.hero-highlights i { color: #ffd166; font-size: 0.95rem; }
/* Hero carousel */
#heroCarousel { position: relative; border-radius: 0.75rem; overflow: hidden; width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
#heroCarousel .carousel-inner, #heroCarousel .carousel-item { min-height: 400px; height: 400px; position: relative; }
#heroCarousel .carousel-item img { object-fit: cover; height: 400px; width: 100%; opacity: 1; }
#heroCarousel .carousel-control-prev-icon, #heroCarousel .carousel-control-next-icon { background-color: rgba(0,0,0,0.5); border-radius: 50%; padding: 10px; width: 50px; height: 50px; }
#heroCarousel .carousel-indicators { bottom: 15px; }
#heroCarousel .carousel-indicators button { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,0.6); }
#heroCarousel .carousel-indicators button.active { background-color: #ffffff; }
@media (max-width: 991.98px) {
  #heroCarousel .carousel-inner, #heroCarousel .carousel-item { min-height: 300px; height: 300px; }
  #heroCarousel .carousel-item img { height: 300px; }
  #heroCarousel .carousel-control-prev-icon, #heroCarousel .carousel-control-next-icon { width: 40px; height: 40px; padding: 8px; }
  
  /* Optimize video on mobile */
  .hero-video-overlay {
    background: linear-gradient(135deg, rgba(11, 31, 61, 0.92) 0%, rgba(18, 61, 120, 0.88) 50%, rgba(15, 40, 80, 0.92) 100%);
  }
}
/* Hero CTA */
.hero-cta-primary { font-weight: 700; letter-spacing: 0.02em; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; }
.hero-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,165,36,0.4) !important; }
.hero-cta-primary:active { transform: translateY(0); }
/* Trust bar */
.hero-trust-bar { background: linear-gradient(135deg, #0f172a 0%, #0b244a 100%); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.hero-trust-bar .trust-stat { min-width: 140px; }
.hero-trust-bar .trust-badges .badge { background: rgba(255,255,255,0.08); color: #e2e8f0; border: 1px solid rgba(255,255,255,0.12); font-weight: 600; }
/* Hero supporting elements */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); letter-spacing: 0.08em; font-weight: 700; font-size: 0.78rem; }
.hero-subtle { font-size: 0.95rem; }
.hero-section .btn-outline-light { border-width: 1.5px; }
.hero-section .btn-warning { background: var(--warm-sand); color: var(--cedar-green); border: none; font-weight: bold; }
.hero-section .btn-warning:hover { filter: brightness(0.95); }
.testimonials-section { background: #f8f9fa; padding: 3rem 0; }
.testimonial-card { background: #fff; border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 2rem; margin: 0 1rem; border: 1px solid #e8eef5; }
.testimonial-card .fa-quote-left { color: #016fd0; font-size: 1rem; }
/* Navbar icon sizing */
.navbar .nav-link i { font-size: 0.95em; margin-right: 6px; }
/* Service and steps icon sizing */
.service-card i { font-size: 1.05rem !important; }
#how-it-works i.fa-solid { font-size: 1.05rem; }
/* Icon chips for services and steps */
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, rgba(1,111,208,0.12), rgba(78,84,200,0.14)); box-shadow: 0 6px 18px rgba(1,111,208,0.12); }
.contact-section .contact-form form { border: 1px solid #e8eef5; }
.contact-section .contact-info { border: 1px solid #e8eef5; }
.contact-section { background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%); }
/* Service card hover effect */
.service-card { transition: all 0.2s; }
.service-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 8px 32px rgba(1,111,208,0.12); }
/* Testimonial stars sizing */
.testimonial-card .fa-star, .testimonial-card .fa-star-half-stroke { font-size: 0.95rem; }
/* Smaller floating contact button */
.contact-fab { bottom: 28px !important; right: 28px !important; width: 56px !important; height: 56px !important; display:flex; align-items:center; justify-content:center; }
.contact-fab i { font-size: 1rem; }
@media (max-width: 768px) { 
    .service-card i { font-size: 0.95rem !important; }
    #how-it-works i.fa-solid { font-size: 0.95rem; }
    .hero-section { min-height: 420px; padding: 72px 0 56px; }
    .hero-section h1 { font-size: 2.25rem; }
    .hero-section .lead { font-size: 1rem; }
}
.contact-section .contact-form { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
.contact-section .contact-form form { flex:1 1 420px; background:#fff; padding:18px; border-radius:8px; box-shadow:0 4px 18px rgba(2,6,23,0.06); }
.contact-section .contact-info { flex:0 1 240px; padding:18px; background:#fff; border-radius:8px; box-shadow:0 4px 18px rgba(2,6,23,0.04); }
.flash { padding:10px 14px; border-radius:6px; margin-bottom:12px; }
.flash.success { background:#e6ffed; border:1px solid #b7f0c6; color:#0a6b2a; }
.flash.error { background:#ffecec; border:1px solid #f2b6b6; color:#8a1a1a; }
@media (max-width:800px) { .contact-section .contact-form { flex-direction:column; } .contact-section .contact-info { order:2; } }
.bg-warm-sand { background-color: var(--warm-sand); }
.mt-12 { margin-top: 12px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.small { font-size: 14px; }
.muted { color: #666; }
.block { display: block; }
.center { text-align: center; }
.no-underline { text-decoration: none; }
.visually-hidden-focusable.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: 10000; }
.visually-hidden-focusable.skip-link:focus { left: 8px; top: 8px; width: auto; height: auto; padding: 8px 16px; background: #ffc107; color: #016fd0; border-radius: 6px; outline: 2px solid #016fd0; text-decoration: none; font-weight: bold; }

/* Vertical cards (How It Works & Services) */
.vertical-card { 
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); 
  border: 1px solid rgba(255,255,255,0.7) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  position: relative;
  overflow: hidden;
}
.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}
.vertical-card:hover { 
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 2.5rem 4rem rgba(16,24,40,.18), 0 1rem 2rem rgba(16,24,40,.12), inset 0 1px 2px rgba(255,255,255,0.5);
  border-color: rgba(245, 165, 36, 0.4) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}
.vertical-card .card-img-wrap { 
  height: 220px; 
  overflow: hidden; 
  border-top-left-radius: .5rem; 
  border-top-right-radius: .5rem; 
  background: linear-gradient(135deg, #e8eef5 0%, #f0f4f8 100%); 
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}
.vertical-card .card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(245,165,36,0.05) 0%, rgba(59,130,246,0.05) 100%);
  pointer-events: none;
  z-index: 2;
}
.vertical-card .card-img-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.vertical-card:hover .card-img-wrap img { 
  transform: scale(1.12) rotate(1deg);
}
.vertical-card .card-body { 
  padding: 1.75rem 1.5rem 2rem; 
  position: relative;
  z-index: 3;
}
.vertical-card .card-title { 
  margin-bottom: .65rem;
  background: linear-gradient(135deg, #0f172a 0%, #0b3a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem;
}
.vertical-card .card-text { 
  color: #64748b; 
  margin-bottom: 0; 
  line-height: 1.7;
  font-weight: 500;
}
.vertical-card .icon-chip { 
  width: 60px; 
  height: 60px; 
  border-radius: 16px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: 0 8px 24px rgba(1, 111, 208, 0.18), inset 0 1px 2px rgba(255,255,255,0.4);
  background: linear-gradient(135deg, rgba(1, 111, 208, 0.2), rgba(59, 130, 246, 0.18)) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  margin-bottom: 1rem;
}
.vertical-card .icon-chip i {
  font-size: 1.75rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vertical-card:hover .icon-chip { 
  transform: scale(1.15) rotateY(10deg);
  box-shadow: 0 12px 32px rgba(1, 111, 208, 0.25), inset 0 1px 2px rgba(255,255,255,0.6);
}
.vertical-card:hover .icon-chip i {
  transform: rotate(-15deg) scale(1.2);
}
@media (min-width: 576px) {
  .how-services-grid > [class*='col-'] { display: flex; }
  .how-services-grid .vertical-card { width: 100%; }
}

/* How It Works - Modern Step Cards with Images */
.step-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Step Image Container */
.step-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #123d78 0%, #0b1f3d 100%);
}

.step-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.85;
}

.step-card:hover .step-image {
  transform: scale(1.1);
  opacity: 1;
}

/* Icon Overlay on Image */
.step-icon-overlay {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f5a524 0%, #f39c12 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 165, 36, 0.4);
  border: 4px solid white;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-icon-overlay i {
  font-size: 28px;
  color: white;
}

.step-card:hover .step-icon-overlay {
  transform: translateX(-50%) scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(245, 165, 36, 0.5);
}

/* Step Number Badge */
.step-number-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #123d78;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
  50% { transform: scale(1.08); box-shadow: 0 6px 25px rgba(245, 165, 36, 0.4); }
}

/* Step Content */
.step-content {
  padding: 50px 30px 30px;
  text-align: center;
}

.step-content h5 {
  color: #123d78;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* Connecting Line Between Steps */
.how-it-works-connector {
  position: absolute;
  top: 110px;
  left: 25%;
  right: 25%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 165, 36, 0.2) 10%,
    rgba(245, 165, 36, 0.4) 50%,
    rgba(245, 165, 36, 0.2) 90%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .step-image-container {
    height: 180px;
  }
  
  .step-content {
    padding: 45px 20px 25px;
  }
  
  .step-content h5 {
    font-size: 1.15rem;
  }
  
  .step-icon-overlay {
    width: 60px;
    height: 60px;
  }
  
  .step-icon-overlay i {
    font-size: 24px;
  }
  
  .how-it-works-connector {
    display: none !important;
  }
}

/* Services Section - Modern Cards with Images */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Service Image Container */
.service-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5a524 0%, #f39c12 100%);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
  opacity: 0.9;
}

.service-card:hover .service-image {
  transform: scale(1.15);
  opacity: 1;
}

/* Service Icon Overlay */
.service-icon-overlay {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #123d78 0%, #0b1f3d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 61, 120, 0.4);
  border: 4px solid white;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-icon-overlay i {
  font-size: 28px;
  color: white;
}

.service-card:hover .service-icon-overlay {
  transform: translateX(-50%) scale(1.12) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(18, 61, 120, 0.5);
  background: linear-gradient(135deg, #f5a524 0%, #f39c12 100%);
}

/* Service Content */
.service-content {
  padding: 50px 25px 30px;
  text-align: center;
}

.service-content h5 {
  color: #123d78;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* Services Section Background */
#services {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

/* Responsive for Services */
@media (max-width: 768px) {
  .service-image-container {
    height: 170px;
  }
  
  .service-content {
    padding: 45px 20px 25px;
  }
  
  .service-content h5 {
    font-size: 1.1rem;
  }
  
  .service-icon-overlay {
    width: 60px;
    height: 60px;
  }
  
  .service-icon-overlay i {
    font-size: 24px;
  }
}

/* Services section accent styling */
#services {
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* CTA button enhancement */
#services .btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#services .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

#services .btn:hover::before {
  left: 100%;
}

#services .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(245, 165, 36, 0.4) !important;
}

/* Gradient text for section headers */
#how-it-works h2, #services h2, .values-section h2, .team-section h2 {
  background: linear-gradient(135deg, #0f172a 0%, #0b3a7a 50%, #f5a524 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

/* Section subtitle styling */
#how-it-works .lead, #services .lead, .values-section .lead, .team-section .lead {
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Badge animation */
.rounded-pill {
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}