/* ===================================
   MCG Healthcare - Main Stylesheet
   Royal Blue + White Premium Theme
   =================================== */

:root {
    --royal-blue: #0A2463;
    --blue-mid: #1E3A8A;
    --blue-light: #3B82F6;
    --blue-accent: #60A5FA;
    --blue-glow: #93C5FD;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --gold: #C9A84C;
    --gold-light: #E5D5A0;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- PAGE LOADER ---- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-inner {
    text-align: center;
}

.page-loader-gif {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.page-loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(10,36,99,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.page-loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--blue-light));
    border-radius: 10px;
    animation: pageLoaderBar 1.2s ease-in-out forwards;
}

@keyframes pageLoaderBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================
   HEADER
   ================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    transition: all 0.4s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    padding: 0 40px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-header.scrolled .header-container {
    height: 68px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.header-logo .logo-white {
    display: block;
}

.header-logo .logo-dark {
    display: none;
}

.site-header.scrolled .header-logo .logo-white {
    display: none;
}

.site-header.scrolled .header-logo .logo-dark {
    display: block;
}

.h-logo-mark {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.site-header.scrolled .h-logo-mark {
    color: var(--royal-blue);
}

.h-logo-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.site-header.scrolled .h-logo-text {
    color: var(--gray-500);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.site-header.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--royal-blue);
    background: var(--gray-50);
}

.nav-link-cta {
    background: var(--white) !important;
    color: var(--royal-blue) !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    margin-left: 8px;
}

.site-header.scrolled .nav-link-cta {
    background: var(--royal-blue) !important;
    color: var(--white) !important;
}

.nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10,36,99,0.2);
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--gray-100);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: var(--gray-50);
    color: var(--royal-blue);
    padding-left: 20px;
}

/* Mega Menu */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid var(--royal-blue);
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-mega:hover .nav-link i {
    transform: rotate(180deg);
}

.mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
}

.mega-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.mega-heading a:hover {
    color: var(--blue-light);
}

.mega-links {
    list-style: none;
}

.mega-links li a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-500);
    transition: all 0.2s ease;
}

.mega-links li a:hover {
    color: var(--royal-blue);
    padding-left: 8px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.site-header.scrolled .mobile-toggle span {
    background: var(--gray-800);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

/* ==================
   HERO SLIDER
   ================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    max-height: 750px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,36,99,0.85) 0%, rgba(30,58,138,0.6) 50%, rgba(10,36,99,0.4) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    max-width: 650px;
}

.hero-text .hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s ease 0.3s forwards;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s ease 0.5s forwards;
}

.hero-text .hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s ease 0.7s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--royal-blue);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s ease 0.9s forwards;
}

.hero-btn:hover {
    background: var(--blue-accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-arrows {
    position: absolute;
    bottom: 50px;
    right: 80px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--royal-blue);
    border-color: var(--white);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 80px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-dot.active {
    background: var(--white);
    width: 36px;
    border-radius: 6px;
}

/* ==================
   SECTIONS
   ================== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--royal-blue);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-dark .section-label {
    color: var(--blue-accent);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-dark .section-desc {
    color: rgba(255,255,255,0.7);
}

/* ==================
   CARDS
   ================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--gray-200);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gray-100);
}

.card-body {
    padding: 28px;
}

.card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--royal-blue);
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 10px;
    color: var(--blue-light);
}

/* ==================
   ICON CARDS (Why Choose / Values)
   ================== */
.icon-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.icon-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--blue-accent);
}

.icon-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-blue), var(--blue-mid));
    color: var(--white);
    border-radius: 16px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.icon-card:hover .icon-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.icon-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==================
   PARTNER GRID
   ================== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: var(--blue-light);
}

.partner-card img {
    max-height: 60px;
    margin-bottom: 16px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ==================
   PRODUCT DETAIL
   ================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery-main {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-50);
    margin-bottom: 16px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover {
    border-color: var(--royal-blue);
}

.product-info h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.product-info .product-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-tabs {
    margin-top: 30px;
}

.product-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 24px;
}

.product-tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.product-tab-btn.active {
    color: var(--royal-blue);
    border-bottom-color: var(--royal-blue);
}

.product-tab-content {
    display: none;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

.product-tab-content.active {
    display: block;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--royal-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(10,36,99,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--royal-blue);
    border: 2px solid var(--royal-blue);
}

.btn-outline:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--royal-blue);
}

.btn-white:hover {
    background: var(--gray-50);
}

/* ==================
   CONTACT FORM
   ================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    background: var(--white);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-info-card {
    padding: 40px;
    background: var(--royal-blue);
    border-radius: 16px;
    color: var(--white);
}

.contact-info-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-list li a {
    color: rgba(255,255,255,0.8);
}

.contact-info-list li a:hover {
    color: var(--white);
}

/* ==================
   PAGE HERO BANNER
   ================== */
.page-hero {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, var(--royal-blue), var(--blue-mid));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

.page-hero .breadcrumb span {
    color: var(--blue-accent);
}

/* ==================
   BLOG / NEWS
   ================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gray-100);
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==================
   FOOTER
   ================== */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.f-logo-mark {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.f-logo-text {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-400);
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact li i {
    width: 16px;
    text-align: center;
    color: var(--blue-accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: var(--gray-400);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ==================
   WHATSAPP FLOAT
   ================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 44px;
    height: 44px;
    background: var(--royal-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 14px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--blue-mid);
    transform: translateY(-3px);
}

/* ==================
   CMS PAGE CONTENT
   ================== */
.page-content {
    padding: 80px 0;
}

.page-content .content-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

.page-content .content-wrap h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--gray-900);
    margin: 40px 0 16px;
}

.page-content .content-wrap p {
    margin-bottom: 16px;
}

.page-content .content-wrap .founder-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--royal-blue);
    margin-top: 30px;
}

/* ==================
   ALERT MESSAGES
   ================== */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ==================
   MAP
   ================== */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==================
   ANIMATIONS
   ================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mega-inner {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }

    .icon-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }

    .icon-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 24px 24px;
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        color: var(--gray-700);
        padding: 14px 16px;
        width: 100%;
        border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--gray-50);
        color: var(--royal-blue);
    }

    .nav-link-cta {
        background: var(--royal-blue) !important;
        color: var(--white) !important;
        text-align: center;
        justify-content: center;
        margin: 12px 0 0 0;
    }

    .dropdown-menu,
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
        border-top: none;
    }

    .has-dropdown.open .dropdown-menu,
    .has-mega.open .mega-menu {
        display: block;
    }

    .mega-inner {
        grid-template-columns: 1fr;
        padding: 8px 0;
        gap: 16px;
    }

    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .hero-slide-content {
        padding: 0 24px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .hero-desc {
        font-size: 15px;
    }

    .slider-arrows {
        right: 24px;
        bottom: 24px;
    }

    .slider-dots {
        left: 24px;
        bottom: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   CORPORATE PAGE STYLES
   =================================== */

/* Sub Navigation */
.corp-subnav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 68px;
    z-index: 50;
}

.corp-subnav-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}

.corp-subnav-inner::-webkit-scrollbar {
    display: none;
}

.corp-subnav-link {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    color: var(--gray-500);
    transition: all 0.3s ease;
    text-decoration: none;
}

.corp-subnav-link i {
    margin-right: 6px;
}

.corp-subnav-link:hover {
    background: var(--gray-50);
    color: var(--royal-blue);
}

.corp-subnav-link.active {
    background: var(--royal-blue);
    color: var(--white);
}

/* Corporate Welcome Section */
.corp-welcome {
    padding: 80px 0;
}

.corp-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Collage */
.corp-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

.corp-collage-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.corp-collage-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.corp-collage-side img {
    width: 100%;
    height: 152px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.corp-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(10,36,99,0.3);
    border: 4px solid var(--white);
    animation: badgeSpin 20s linear infinite;
}

.corp-badge-inner {
    text-align: center;
    color: var(--white);
}

.corp-badge-text {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 700;
}

.corp-badge-year {
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 2px 0;
}

@keyframes badgeSpin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Corporate Label */
.corp-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--royal-blue);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    padding-left: 35px;
}

.corp-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 2px;
    background: var(--royal-blue);
}

/* Corporate Heading */
.corp-heading {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.corp-text {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.corp-text p {
    margin-bottom: 12px;
}

/* Corporate Features List */
.corp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.corp-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.corp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-accent);
    flex-shrink: 0;
}

/* Read More Link */
.corp-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    border-bottom: 2px solid var(--gray-800);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.corp-readmore:hover {
    color: var(--royal-blue);
    border-color: var(--royal-blue);
    gap: 14px;
}

/* Corporate Content Section */
.corp-content-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.corp-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.corp-content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--gray-100);
}

.corp-content-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--royal-blue), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 24px;
}

.corp-content-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.3;
}

.corp-content-body {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 15px;
}

.corp-content-body p {
    margin-bottom: 16px;
}

.corp-content-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.corp-content-body ul li {
    padding: 6px 0;
    color: var(--gray-700);
}

.corp-content-body strong {
    color: var(--gray-900);
}

/* Corporate Sidebar */
.corp-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.corp-sidebar-card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--gray-100);
}

.corp-sidebar-card h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--royal-blue);
}

.corp-sidebar-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

.corp-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.corp-sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.corp-sidebar-links li a:hover,
.corp-sidebar-links li a.active {
    background: var(--royal-blue);
    color: var(--white);
}

.corp-sidebar-links li a i {
    width: 16px;
    text-align: center;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 992px) {
    .corp-welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .corp-content-grid {
        grid-template-columns: 1fr;
    }

    .corp-heading {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .corp-welcome {
        padding: 50px 0;
    }

    .corp-collage {
        grid-template-columns: 1fr 1fr;
    }

    .corp-collage-main img {
        height: 200px;
    }

    .corp-collage-side img {
        height: 94px;
    }

    .corp-content-card {
        padding: 30px 24px;
    }

    .corp-content-title {
        font-size: 24px;
    }

    .corp-subnav-link {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* ===================================
   PRODUCT CAROUSEL
   =================================== */
.product-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 4px;
}

.product-carousel-card {
    position: relative;
    min-width: calc(33.333% - 14px);
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.pcc-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product-carousel-card:hover .pcc-bg {
    transform: scale(1.05);
}

.pcc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10, 36, 99,0.65);
    transition: background 0.3s ease;
}

.product-carousel-card:hover .pcc-overlay {
    background: rgb(10, 36, 99,0.75);
}

.pcc-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.pcc-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.pcc-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 260px;
}

.pcc-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pcc-btn:hover {
    background: var(--white);
    color: var(--gray-800);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-800);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 14px;
}

.carousel-arrow:hover {
    background: var(--royal-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

@media (max-width: 992px) {
    .product-carousel-card {
        min-width: calc(50% - 10px);
        height: 340px;
    }
}

@media (max-width: 600px) {
    .product-carousel-card {
        min-width: 100%;
        height: 300px;
    }
}
