:root {
    --white-bg: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --green-clear: #16a34a;
    --red-alert: #e11d48;
    --border-light: #e2e8f0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --footer-bg: #0b0f19;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-color: #0f172a;
    --nav-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.92);
    --card-bg: #f8fafc;
    --hover-bg: #f0f0f0;
    --toggle-bg: #e0e0e0;
}

body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-color: #e2e8f0;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --nav-bg: #1e293b;
    --header-bg: rgba(15, 23, 42, 0.95);
    --card-bg: #1e293b;
    --border-light: #334155;
    --hover-bg: #334155;
    --toggle-bg: #475569;
    --white-bg: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.loading-active {
    overflow: hidden !important;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #110406 0%, #050102 100%);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.preloader-logo-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 3px;
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.3);
    box-shadow: 0 0 35px rgba(225, 29, 72, 0.4);
    margin-bottom: 40px;
    animation: preloaderPulse 2.5s infinite ease-in-out;
}

.preloader-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.preloader-bar-container {
    width: 260px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.preloader-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #e11d48, #ff4d73);
    box-shadow: 0 0 12px #e11d48, 0 0 4px #e11d48;
    border-radius: 10px;
    animation: fastLoad 1.2s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
}

.preloader-text {
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
    margin-top: 15px;
}

@keyframes preloaderPulse {
    0% { transform: scale(1); box-shadow: 0 0 35px rgba(225, 29, 72, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 0 55px rgba(225, 29, 72, 0.65), 0 0 20px rgba(225, 29, 72, 0.3); }
    100% { transform: scale(1); box-shadow: 0 0 35px rgba(225, 29, 72, 0.4); }
}

@keyframes fastLoad {
    0% { width: 0%; }
    20% { width: 35%; }
    50% { width: 70%; }
    80% { width: 92%; }
    100% { width: 100%; }
}

header {
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-left {
    display: flex;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.header-logo {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #f1f5f9;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.brand-main-title {
    font-size: 2.6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    font-family: var(--font-display);
}

.brand-sub-title {
    font-size: 1.05rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 2px;
    padding-left: 32px;
    color: var(--text-dark);
}

.shiny-text-effect {
    background: linear-gradient(120deg, var(--text-dark) 40%, #94a3b8 50%, var(--text-dark) 60%);
    background-size: 300% 100%;
    background-position: -100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShineClean 8s linear infinite;
}

@keyframes titleShineClean {
    0% { background-position: -100% 0; }
    30% { background-position: 200% 0; }
    100% { background-position: 200% 0; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item-text-only {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.25s ease;
}

.nav-item-text-only:hover {
    color: var(--green-clear);
    transform: translateY(-3px);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger-icon {
    width: 30px;
    height: 22px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 9px; }
.hamburger-icon span:nth-child(3) { top: 18px; }

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-btn-expanded {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    animation: float-passive 3.5s infinite ease-in-out;
}

.social-btn-expanded.ig { animation-delay: 0.2s; }
.social-btn-expanded.medical-btn { animation-delay: 0.4s; }

.social-btn-expanded.fb { background: #1877f2; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.25); }
.social-btn-expanded.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 4px 10px rgba(220, 39, 67, 0.25); }
.social-btn-expanded.medical-btn { background: #e11d48; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25); }

.icon-circle {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    z-index: 2;
    border-radius: 50%;
    flex-shrink: 0;
    order: 2;
}

.social-text-clear {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    order: 1;
    padding-right: 6px;
}

.social-group a:hover { animation-play-state: paused; }
.social-btn-expanded.fb:hover { width: 145px; box-shadow: 0 0 22px rgba(24, 119, 242, 0.7); }
.social-btn-expanded.ig:hover { width: 150px; box-shadow: 0 0 22px rgba(220, 39, 67, 0.7); }
.social-btn-expanded.medical-btn:hover { width: 195px; box-shadow: 0 0 22px rgba(225, 29, 72, 0.7); }

.social-btn-expanded:hover .social-text-clear { opacity: 1; max-width: 160px; }

@keyframes float-passive {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn {
    background: var(--toggle-bg);
    border: none;
    width: 48px;
    height: 24px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    padding: 0;
}

.theme-toggle-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffd700;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .theme-toggle-btn::after {
    left: 26px;
    background: #c0c0c0;
}

.theme-icon {
    font-size: 16px;
}

.theme-icon.sun { color: #ffd700; }
.theme-icon.moon { color: #6b6b8a; }

.mobile-social-menu {
    display: none;
}

.mobile-theme-toggle {
    display: none;
}

.hero-section {
    padding-top: 180px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.hero-ng-container {
    width: 88%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.procer-integration-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.quote-author {
    color: #1e3a8a;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

body.dark-mode .quote-author {
    color: #60a5fa;
}

.procer-image-wrapper {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f5f9;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 4px solid var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.procer-blended-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.quote-phrase {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
}

.hero-content-right {
    display: flex;
    flex-direction: column;
}

.institutional-block {
    display: flex;
    flex-direction: column;
    gap: 35px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.015);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.inst-segment {
    padding-left: 25px;
    border-left: 4px solid var(--border-light);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.inst-segment:hover {
    border-left-color: var(--green-clear);
    transform: translateX(6px);
}

.inst-segment h2 {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-family: var(--font-display);
    text-transform: uppercase;
}

.inst-segment p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

.section-banner-container {
    width: 100%;
    background: var(--footer-bg);
    padding: 35px 6%;
    margin: 60px 0;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-banner-container::before {
    content: '';
    position: absolute;
    left: 6%;
    top: 25%;
    height: 50%;
    width: 4px;
    background-color: var(--red-alert);
    border-radius: 2px;
}

.banner-text-wrapper {
    padding-left: 25px;
}

.banner-text-wrapper h2 {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.banner-text-wrapper h2 span {
    color: var(--red-alert);
}

.news-section-area {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 60px 40px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px dashed var(--border-light);
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.news-section-area p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-style: italic;
}

.footer {
    background-color: var(--footer-bg);
    color: #94a3b8;
    padding: 30px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--green-clear);
    font-family: var(--font-main);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    color: #ffffff;
    font-family: var(--font-display);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--green-clear);
}

@media (max-width: 1100px) {
    .hero-ng-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .banner-text-wrapper h2 {
        font-size: 1.7rem;
    }
    
    .procer-image-wrapper {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: var(--nav-bg);
        padding: 100px 25px 30px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .nav-container.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }

    .nav-menu li a {
        display: block;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 15px;
        color: var(--text-color);
        background: var(--card-bg);
        border: 1px solid var(--border-light);
    }

    .nav-menu li a:hover {
        background: var(--hover-bg);
        transform: translateX(5px);
    }

    .header-right .social-group {
        display: none;
    }

    .mobile-social-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
        border-top: 1px solid var(--border-light);
        margin-top: 5px;
    }

    .nav-container.active .mobile-social-menu {
        display: flex;
    }

    .mobile-social-menu .social-btn-expanded {
        width: 100% !important;
        height: 50px !important;
        justify-content: flex-start !important;
        border-radius: 10px !important;
        animation: none !important;
        padding: 0 15px;
    }

    .mobile-social-menu .social-btn-expanded:hover {
        width: 100% !important;
        transform: scale(1.02) !important;
    }

    .mobile-social-menu .icon-circle {
        min-width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        order: 1 !important;
    }

    .mobile-social-menu .social-text-clear {
        opacity: 1 !important;
        max-width: 100% !important;
        font-size: 0.95rem !important;
        padding-left: 12px !important;
        order: 2 !important;
    }

    .mobile-theme-toggle {
        display: none;
        padding: 15px 0;
        margin-top: 5px;
        border-top: 1px solid var(--border-light);
    }

    .nav-container.active .mobile-theme-toggle {
        display: block;
    }

    .mobile-theme-separator {
        display: none;
    }

    .mobile-theme-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 5px;
    }

    .mobile-theme-label {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text-color);
        font-style: italic;
    }

    .theme-toggle-wrapper-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-toggle-btn {
        width: 44px;
        height: 22px;
        border-radius: 11px;
    }

    .mobile-toggle-btn::after {
        width: 18px;
        height: 18px;
    }

    body.dark-mode .mobile-toggle-btn::after {
        left: 24px;
    }

    header {
        padding: 10px 4%;
    }

    .header-logo {
        width: 55px;
        height: 55px;
    }

    .brand-main-title {
        font-size: 2rem;
    }

    .brand-sub-title {
        font-size: 0.85rem;
        padding-left: 20px;
    }

    .header-right .theme-toggle-container {
        display: none;
    }

    .hero-section {
        padding-top: 140px;
    }

    .hero-ng-container {
        width: 94%;
        gap: 40px;
    }

    .institutional-block {
        padding: 30px 20px;
    }

    .inst-segment {
        padding-left: 18px;
    }

    .inst-segment h2 {
        font-size: 1.2rem;
    }

    .inst-segment p {
        font-size: 0.9rem;
    }

    .section-banner-container {
        padding: 25px 4%;
        margin: 40px 0;
    }

    .banner-text-wrapper h2 {
        font-size: 1.4rem;
    }

    .news-section-area {
        width: 94%;
        padding: 40px 20px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 20px 4%;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 45px;
        height: 45px;
    }

    .brand-wrapper {
        gap: 10px;
    }

    .brand-main-title {
        font-size: 1.6rem;
    }

    .brand-sub-title {
        font-size: 0.7rem;
        padding-left: 15px;
    }

    .procer-image-wrapper {
        width: 260px;
        height: 260px;
    }

    .nav-container {
        width: 280px;
    }
}