/*
Theme Name: EUH Modern Premium (Doctreat Replication)
Theme URI: https://entrancehospitals.com/
Author: Antigravity
Description: An elite replication of the Doctreat design for Entrance University Hospital.
Version: 4.0
Text Domain: euh-modern
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --dt-blue: #37A8EC;
    /* Updated Official Brand Blue */
    --dt-teal: #0099ff;
    /* Accent Teal */
    --dt-red: #E31E24;
    /* Updated Official Brand Red */
    --dt-dark: #323232;
    --dt-light-blue: #f4f9ff;
    --dt-bg: #ffffff;
    --dt-gray: #777777;
    --dt-border: #eeeeee;
    --dt-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --dt-radius: 4px;
    --dt-transition: all 0.3s ease;
}

/* Page Header */
.dt-page-header {
    position: relative;
    overflow: hidden;
}

.dt-page-header h1,
.dt-page-header div,
.dt-page-header a {
    color: #fff !important;
}

.dt-page-header span {
    color: var(--dt-teal) !important;
}

@media (max-width: 768px) {
    .dt-page-header h1 {
        font-size: 2.2rem !important;
    }
}

body {
    font-family: 'Outfit', sans-serif !important;
    color: var(--dt-dark);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

.dt-grid-responsive {
    display: grid;
}

@media (max-width: 991px) {
    .dt-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    color: var(--dt-blue);
}

/* Header UI - Medicoz Style */
.dt-top-bar {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 13px;
    color: var(--dt-blue);
    border-bottom: 1px solid #eee;
}

.dt-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.dt-top-info {
    display: flex;
    gap: 25px;
}

.dt-top-info i {
    color: var(--dt-teal);
    margin-right: 8px;
}

.dt-social-links {
    display: flex;
    gap: 20px;
}

.dt-social-links a {
    color: var(--dt-blue);
    font-size: 14px;
    transition: var(--dt-transition);
}

.dt-social-links a:hover {
    color: var(--dt-teal);
    transform: translateY(-2px);
}

.dt-main-header-wrap {
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.dt-header-container {
    background: #fff;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dt-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.dt-logo img {
    height: 40px;
}

.dt-nav {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.dt-nav li a {
    color: var(--dt-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--dt-transition);
}

.dt-nav li a:hover {
    color: var(--dt-teal);
}

/* Mega Menu */
.has-mega {
    position: static !important;
}

.dt-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 3px solid var(--dt-teal);
}

.has-mega:hover .dt-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dt-mega-inner {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.mega-item {
    text-align: center;
    text-decoration: none;
    transition: var(--dt-transition);
}

.mega-img {
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.mega-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--dt-transition);
}

.mega-item span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dt-blue);
    text-transform: uppercase;
}

.mega-item:hover .mega-img img {
    transform: scale(1.1);
}

.mega-item:hover span {
    color: var(--dt-red);
}

.dt-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dt-header-search {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-blue);
}

.dt-header-btn {
    background: var(--dt-blue);
    color: #fff;
    padding: 14px 35px;
    border-radius: 6px;
    /* Rectangular button to match header */
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--dt-transition);
}

.dt-header-btn:hover {
    background: var(--dt-teal);
    transform: translateY(-3px);
}

.dt-mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--dt-blue);
    cursor: pointer;
}

/* Full Width Hero Section */
.dt-hero {
    height: 850px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    margin-top: 0;
}

.dt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.dt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Slider Typography Entry Animations */
.dt-hero-content small {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.dt-hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
}

.dt-hero-content p {
    opacity: 0;
    transform: translateY(20px);
}

.dt-hero-btns {
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    gap: 20px;
}

/* Active Slide Transitions */
.swiper-slide-active .dt-hero-content small {
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.swiper-slide-active .dt-hero-content h1 {
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.swiper-slide-active .dt-hero-content p {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.swiper-slide-active .dt-hero-btns {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Slider Buttons */
.btn-dt {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-dt-blue {
    background: var(--dt-blue);
    color: #fff !important;
}

.btn-dt-white {
    background: #fff;
    color: var(--dt-blue) !important;
}

.btn-dt-teal {
    background: var(--dt-teal);
    color: #fff !important;
}

.btn-dt:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-dt:active {
    transform: translateY(-2px) scale(0.98);
}

/* Search Area */
.dt-search-area {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 5%;
}

.dt-search-container {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

.dt-search-main {
    flex: 1;
    padding: 25px 40px;
    border-right: 1px solid #eee;
}

.dt-search-main h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.dt-search-form {
    display: flex;
    gap: 10px;
}

.dt-search-input-group {
    flex: 1;
}

.dt-search-input-group input,
.dt-search-input-group select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    outline: none;
    background: #fdfdfd;
    font-size: 14px;
}

.dt-search-btn-sq {
    background: #3fabf3;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.dt-search-banner {
    background: var(--dt-blue);
    color: #fff;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
}

.dt-search-banner img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.dt-search-banner h5 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 400;
}

.dt-search-banner h4 {
    color: #fff;
    margin: 0;
    font-size: 22px;
}

.btn-join {
    background: #3fabf3;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

/* Quick Info */
.dt-quick-info {
    padding: 100px 5% 50px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.dt-quick-item {
    border-right: 1px solid #eee;
    padding: 0 20px;
}

.dt-quick-item:last-child {
    border-right: none;
}

.dt-quick-item h4 {
    color: var(--dt-teal);
    font-size: 20px;
    margin-bottom: 10px;
}

/* How It Works */
.dt-how-it-works {
    padding: 100px 5%;
    text-align: center;
    background: #fdfdfd;
}

.dt-steps {
    display: flex;
    justify-content: space-around;
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.dt-step {
    flex: 1;
    position: relative;
    z-index: 2;
}

.dt-step-icon {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px dashed var(--dt-teal);
    font-size: 35px;
    color: var(--dt-blue);
    position: relative;
}

.dt-step-line {
    position: absolute;
    top: 60px;
    left: 60%;
    width: 80%;
    height: 2px;
    border-top: 2px dashed #ccc;
    z-index: 1;
}

.dt-step:last-child .dt-step-line {
    display: none;
}

/* Articles */
.dt-articles {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.dt-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.dt-article-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.dt-article-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.dt-article-body {
    padding: 20px;
}

.dt-article-body small {
    color: var(--dt-teal);
}

.dt-article-body h5 {
    margin: 10px 0 15px;
    font-size: 17px;
}

/* Floating Emergency */
.dt-emergency-bar-wrap {
    text-align: center;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.dt-emergency-bar {
    background: #fff;
    border-radius: 100px;
    padding: 20px 50px;
    display: inline-flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    border: 1px solid #f0f0f0;
    white-space: nowrap;
}

.dt-emergency-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.dt-emergency-item i {
    font-size: 24px;
    color: var(--dt-red);
}

.dt-emergency-item small {
    display: block;
    color: var(--dt-gray);
    font-size: 12px;
}

.dt-emergency-item span {
    font-weight: 700;
    color: var(--dt-red);
}

/* Footer */
footer {
    background: var(--dt-blue);
    color: #fff;
    padding: 70px 5% 40px;
}

.dt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.dt-footer-grid h4 {
    color: #fff;
    margin-bottom: 25px;
}

.dt-footer-grid ul {
    list-style: none;
    padding: 0;
}

.dt-footer-grid ul li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
    .dt-top-bar {
        display: none;
    }

    .dt-main-header-wrap {
        top: 0;
        padding: 10px 0;
        position: relative;
    }

    .dt-header-container {
        border-radius: 0;
        padding: 10px 20px;
    }

    .dt-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 30px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .dt-header-container.mobile-active .dt-nav {
        display: block;
    }

    .dt-nav li {
        margin-bottom: 20px;
    }

    .dt-header-right {
        display: flex !important;
        gap: 15px;
    }

    .dt-header-search,
    .dt-header-btn {
        display: none;
    }

    .dt-mobile-toggle {
        display: block;
    }

    .dt-hero {
        height: auto;
        padding: 120px 20px 80px;
        margin-top: 0;
        text-align: center;
    }

    .dt-hero-content h1 {
        font-size: 2.8rem !important;
    }

    .dt-hero-btns {
        justify-content: center;
    }

    .dt-footer-grid,
    .dt-article-grid,
    .dt-quick-info {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .dt-search-container {
        flex-direction: column;
        margin-top: -50px;
        width: 95%;
    }

    .dt-search-main,
    .dt-search-banner {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .dt-search-banner {
        border-bottom: none;
    }

    .dt-steps {
        flex-direction: column;
        gap: 50px;
    }

    .dt-step-line {
        display: none;
    }
}