/* ==========================================================================
   Components CSS - Extracted from inline styles for reusability
   ========================================================================== */

/* --- Gradient Backgrounds --- */
.bg-gradient-primary { background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%); }
.bg-gradient-orange  { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
.bg-gradient-green   { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bg-gradient-pink    { background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%); }
.bg-gradient-indigo  { background: linear-gradient(135deg, #0e9eb2 0%, #18c8dc 100%); }
.bg-gradient-teal    { background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%); }
.bg-light-section    { background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%); }

/* --- Text Gradient --- */
.text-gradient-primary {
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Service Cards --- */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.service-card h3 { font-size: 24px; margin-bottom: 15px; }
.service-card h3 a { color: #333; }
.service-card h3 a:hover { color: #0e8ca0; }
.service-card p { color: #666; margin-bottom: 20px; }
.service-card .btn-link { font-weight: 600; text-decoration: none; }

/* --- Service Icon --- */
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.service-icon i { font-size: 28px; color: #fff; }

/* --- Service Features List --- */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.service-features li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.service-features li:last-child { border-bottom: none; }
.service-features li i { margin-right: 10px; }

/* --- Resource Cards --- */
.resource-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.resource-card h4 { font-size: 16px; margin-bottom: 10px; }
.resource-card h4 a { color: #333; }
.resource-card h4 a:hover { color: #0e8ca0; }
.resource-card p { color: #666; font-size: 14px; margin: 0; }

/* --- Resource Icon --- */
.resource-icon {
    width: 50px;
    height: 50px;
    background: rgba(85,81,239,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.resource-icon i { color: #0e8ca0; font-size: 20px; }

/* --- Sector Links --- */
.sector-link {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
}
.sector-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(85,81,239,0.15);
    background: linear-gradient(135deg, rgba(85,81,239,0.05) 0%, rgba(124,58,237,0.05) 100%);
}
.sector-link i { font-size: 32px; color: #0e8ca0; margin-bottom: 12px; display: block; }
.sector-link span { color: #333; font-weight: 600; font-size: 15px; }

/* --- City Links --- */
.city-link {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
}
.city-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(85,81,239,0.15);
}
.city-link i { color: #0e8ca0; font-size: 20px; margin-right: 12px; }
.city-link span { color: #333; font-weight: 600; font-size: 15px; }

/* --- Cities Grid --- */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* --- Experience Badge --- */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(85,81,239,0.4);
}
.experience-badge .number { font-size: 42px; font-weight: 700; display: block; line-height: 1; }
.experience-badge .label { font-size: 14px; }

/* --- Feature Items --- */
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(85,81,239,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.feature-icon i { color: #0e8ca0; font-size: 20px; }
.feature-item h4 { font-size: 18px; margin-bottom: 10px; }
.feature-item p { color: #666; font-size: 15px; margin: 0; }

/* --- Contact Info Items --- */
.contact-info-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}
.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}
.contact-info-item .icon i { color: #fff; font-size: 24px; }
.contact-info-item .label { color: #666; font-size: 14px; display: block; }
.contact-info-item .value { color: #333; font-size: 18px; font-weight: 600; }
.contact-info-item a.value { text-decoration: none; }
.contact-info-item a.value:hover { color: #0e8ca0; }

/* --- Contact Form Wrapper --- */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* --- CTA Gradient Section --- */
.cta-gradient {
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
}
.cta-gradient h2 { color: #fff; font-size: 36px; margin-bottom: 15px; }
.cta-gradient p { color: rgba(255,255,255,0.9); font-size: 18px; margin: 0; }

/* --- Trust Badges --- */
.trust-badges {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.trust-item h3 { font-size: 36px; color: #0e8ca0; margin-bottom: 5px; font-weight: 700; }
.trust-item p { margin: 0; color: #666; font-size: 14px; }

/* --- Common Image Styles --- */
.img-rounded { border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.img-rounded-lg { border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

/* --- Hero Specific --- */
.hero-title { font-size: 52px; line-height: 1.2; margin-bottom: 25px; }
.hero-subtitle { font-size: 20px; color: #555; max-width: 550px; line-height: 1.7; margin-bottom: 35px; }
.hero-buttons .main-btn { padding: 18px 35px; font-size: 16px; border-radius: 50px; text-decoration: none; }
.btn-purple {
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(85,81,239,0.35);
}
.btn-purple:hover {
    background: linear-gradient(135deg, #0c96ab 0%, #10c0d6 100%);
    color: #fff;
    box-shadow: 0 12px 35px rgba(85,81,239,0.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid #0e8ca0;
    color: #0e8ca0;
    margin-left: 15px;
}
.btn-outline:hover {
    background: #0e8ca0;
    color: #fff;
    transform: translateY(-2px);
}

/* --- reCAPTCHA badge (hidden, attribution text shown near form) --- */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { font-size: 12px; color: #999; margin-top: 10px; }
.recaptcha-notice a { color: #0e8ca0; }
/* --- CTA Button Variants --- */
.main-btn { text-decoration: none; }
.main-btn:hover { text-decoration: none; }
.btn-white {
    background: #fff;
    color: #0e8ca0;
    padding: 18px 35px;
    font-size: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-white:hover {
    background: #f0f0ff;
    color: #0a6b7a;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}
.btn-sm { padding: 10px 25px !important; font-size: 14px !important; }
.btn-purple, .btn-white, .btn-outline { text-decoration: none; }

/* --- Section Subtitle --- */
.section-subtitle { font-size: 18px; color: #666; }
.section-text { font-size: 17px; line-height: 1.8; color: #555; }
.accent-heading { color: #0e8ca0; margin-bottom: 20px; }

/* --- Check list --- */
.list-style-one li i.check-icon { color: #0e8ca0; margin-right: 10px; }

/* --- Sliding nav pill --- */
.main-menu > ul { position: relative; }
.main-menu > ul > li { z-index: 1; position: relative; }
.nav-pill-bg {
    position: absolute;
    background: linear-gradient(135deg, #0e8ca0 0%, #14b8cc 100%);
    border-radius: 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(85,81,239,0.3);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Hide underline animation when pill is active */
.has-nav-pill .main-menu > ul > li > a:after { display: none !important; }
/* Hide dropdown arrow so pill width is consistent across all items */
.has-nav-pill .main-menu > ul > li.has-children > a:before { display: none !important; }

/* Modern sub-menu */
.header-navigation .main-menu ul li .sub-menu {
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    padding: 8px !important;
    min-width: 220px !important;
    margin-top: -5px !important;
}
/* Invisible hover bridge between menu item and dropdown */
.header-navigation .main-menu ul li .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}
.header-navigation .main-menu ul li .sub-menu li a {
    border-radius: 8px !important;
    padding: 10px 16px !important;
    line-height: 1.4 !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
}
.header-navigation .main-menu ul li .sub-menu li a:hover {
    background: rgba(85,81,239,0.08) !important;
    color: #0e8ca0 !important;
}

/* --- Nav centered with logo offset --- */
.header-navigation .nav-menu { flex: 1; text-align: center; }
.header-navigation .main-menu ul { margin-left: -56px; }

/* --- Nav Logo Icon (left of menu items) --- */
.header-navigation .main-menu ul li.menu-logo { display: inline-flex !important; align-items: center; vertical-align: middle; margin-right: 10px; }
.header-navigation .main-menu ul li.menu-logo > a { display: inline-flex !important; flex-direction: column; align-items: center; padding: 0 !important; gap: 2px; text-decoration: none; }
.header-navigation .main-menu ul li.menu-logo .nav-logo-icon { height: 28px; width: auto; opacity: 0.5; transition: all 0.4s ease; filter: saturate(0.6); }
.header-navigation .main-menu ul li.menu-logo .nav-logo-text { font-size: 9px; font-weight: 700; color: #555; opacity: 0.5; transition: all 0.4s ease; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1; }
.header-navigation .main-menu ul li.menu-logo > a:hover .nav-logo-icon { opacity: 1; filter: saturate(1.4) brightness(1.1); transform: scale(1.15) rotate(-5deg); }
.header-navigation .main-menu ul li.menu-logo > a:hover .nav-logo-text { opacity: 1; color: #000; }
.header-navigation .main-menu ul li.menu-logo > a:after,
.header-navigation .main-menu ul li.menu-logo:hover > a:after,
.header-navigation .main-menu ul li.menu-logo > a:before,
.header-navigation .main-menu ul li.menu-logo:hover > a:before { display: none !important; width: 0 !important; height: 0 !important; }
.header-navigation .main-menu ul li.menu-logo:hover > a { color: inherit !important; background: none !important; }
@keyframes logoSpin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.2); filter: saturate(1.5) brightness(1.2); } 100% { transform: rotate(360deg) scale(1); } }
.nav-logo-icon.spinning { animation: logoSpin 0.6s ease-in-out; }
@media (max-width: 991px) {
    .header-navigation .main-menu ul { margin-left: 0; }
    .header-navigation .main-menu ul li.menu-logo { display: none !important; }
}

/* --- Mobile Nav Header (logo + phone) --- */
.nav-mobile-header {
    display: none;
    text-align: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #eee;
}
.nav-mobile-header img { margin-bottom: 12px; }
.nav-mobile-phone {
    display: block;
    color: #0e8ca0;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}
.nav-mobile-phone i { margin-right: 6px; }
.breakpoint-on .nav-mobile-header { display: block; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-title { font-size: 36px !important; }
    .hero-buttons .main-btn {
        display: block;
        margin: 10px 0 !important;
        text-align: center;
    }
    .btn-outline { margin-left: 0; }
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }
    .shape { display: none !important; }
}
