@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary: #0d9488; /* Vibrant Teal */
    --primary-dark: #0f766e;
    --accent: #3b82f6; /* Modern Blue */
    --surface-glass: rgba(255, 255, 255, 0.85);
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(13, 148, 136, 0.15);
}

body, p, li, span, div, a {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
}

/* -------------------------------------
 * Service cards (Glassmorphism & Elevate)
 * ------------------------------------- */
.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.services-block .inner-box {
    background: var(--surface-glass) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px !important;
    box-shadow: var(--shadow-premium) !important;
    padding: 40px 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.services-block .inner-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover) !important;
}

.services-block .upper-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.services-block .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.3);
    flex-shrink: 0;
    margin-bottom: 0 !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}

.services-block h3 {
    margin-left: 20px !important;
    margin-top: 0 !important;
}

.services-block h3 a {
    color: #1e293b !important;
    transition: color 0.3s ease;
    font-size: 22px;
}

.services-block:hover h3 a {
    color: var(--primary) !important;
}

.services-block .text {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

/* -------------------------------------
 * Modern Buttons
 * ------------------------------------- */
.theme-btn.btn-style-two, .theme-btn.btn-style-three {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 34px !important;
    color: white !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25) !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 1;
}

.theme-btn.btn-style-two:hover, .theme-btn.btn-style-three:hover {
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4) !important;
    transform: translateY(-2px);
    color: white !important;
}

.theme-btn.btn-style-two::before, .theme-btn.btn-style-three::before {
    display: none !important;
}

/* -------------------------------------
 * Welcome Section Upgrades
 * ------------------------------------- */
.welcome-section {
    padding: 90px 0;
    background: #ffffff;
}

.welcome-section .sec-title h2 {
    font-size: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.welcome-section .image {
    perspective: 1000px;
}

.welcome-section .image img {
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.welcome-section .image:hover img {
    transform: scale(1.02) rotateY(2deg);
    box-shadow: var(--shadow-hover);
}

.welcome-section .text {
    font-size: 16px;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 35px;
}

/* -------------------------------------
 * Slider Typography Overrides
 * ------------------------------------- */
.tp-caption h1 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.tp-caption .text {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* -------------------------------------
 * Team Directory Cards (World-class UI)
 * ------------------------------------- */
.team-section-two {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.team-block-two {
    margin-bottom: 40px;
}

.team-block-two .inner-box {
    border-radius: 20px !important;
    box-shadow: var(--shadow-premium) !important;
    overflow: hidden;
    background: white;
    position: relative;
    transition: all 0.4s ease;
}

.team-block-two .inner-box:hover {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-8px);
}

.team-block-two .image {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.team-block-two .image img {
    width: 100%;
    transition: transform 0.6s ease;
    display: block;
}

.team-block-two:hover .image img {
    transform: scale(1.05);
}

.team-block-two .overlay-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Soft dark gradient that lets the image peek through elegantly */
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%) !important;
    padding: 60px 20px 20px !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto !important;
    top: auto !important;
}

.team-block-two .content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-block-two h3 {
    color: white !important;
    font-size: 22px !important;
    margin: 0 0 5px !important;
    font-family: 'Outfit', sans-serif !important;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-block-two .designation {
    color: #94a3b8 !important;
    font-size: 14px;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

/* Hover effects to slide up text when hovered */
.team-block-two:hover h3,
.team-block-two:hover .designation {
    transform: translateY(0);
}

.team-block-two .social-icon-two {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.team-block-two:hover .social-icon-two {
    opacity: 1;
    transform: translateY(0);
}

.team-block-two .social-icon-two li {
    display: inline-block;
}

.team-block-two .social-icon-two li a {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.team-block-two .social-icon-two li a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

