/*
Theme Name: HTI New Site
Theme URI: https://hairtransplantsindia.com
Author: HTI
Author URI: https://hairtransplantsindia.com
Description: Rebuild of the old HTI website using WordPress
Version: 1.0
*/

/* ================================
   RESET / BASE
================================ */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { text-decoration: none; color: inherit; }

/* ================================
   TOP BAR
================================ */
.top-bar {
    background: #0c3c60;
    color: #fff;
    font-size: 14px;
}

.top-bar-inner {
    max-width: 1200px;
    margin: auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-logos img { height: 28px; }

.top-contact a {
    color: #fff;
    font-weight: 600;
}

/* ================================
   HEADER
================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 70px;
}

.register-logos img {
    max-height: 50px;
    margin-top: 8px;
}

/* ================================
   HERO
================================ */
.hero-wrap {
    width: 100%;
    background: #0c0c0c;
    padding: 90px 20px;
    clear: both;
}

.hero-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    color: #fff;
}

.hero-left h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-left p {
    font-size: 18px;
    color: #ddd;
    max-width: 520px;
}

.hero-cta a {
    display: inline-block;
    margin-top: 20px;
    background: #00b3a4;
    color: #fff;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-cta a:hover {
    background: #009688;
    transform: translateY(-3px);
}

.hero-right {
    flex: 1;
    position: relative;
}

.hero-right img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
}

/* Register logos on hero */
.reg-logos {
    position: absolute;
    bottom: -35px;
    right: 40px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.reg-logos img { max-width: 260px; }

/* ================================
   SLIDER FIX
================================ */
.slick-slider,
.slider,
.slider-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    float: none !important;
    clear: both;
}

/* ================================
   SECTIONS
================================ */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

#about, #services, #contact {
    text-align: center;
}

#about h2, #services h2, #contact h2 {
    font-size: 2.5rem;
    color: #0073aa;
    margin-bottom: 20px;
}

#about p, #services p, #contact p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Services grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.service-grid div {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ================================
   FOOTER
================================ */
.hti-footer {
    margin-top: 80px;
    font-family: Arial, sans-serif;
}

.footer-top {
    background: #eef6fb;
    padding: 50px 20px;
}

.footer-bottom {
    background: #0073aa;
    color: #fff;
    text-align: center;
    padding: 18px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .reg-logos { position: relative; right: 0; bottom: 0; margin-top: 20px; }
    .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-left h1 { font-size: 28px; }
    .hero-left p { font-size: 14px; }
    .hero-cta a { padding: 10px 20px; }
}
/* ===============================
   TOP BAR
================================ */
.top-bar {
    width: 100%;
    background: #0c3c60;
    position: relative;
    z-index: 1000;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-logos img {
    height: 28px;
    width: auto;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-contact a {
    color: #fff;
    font-weight: 600;
}

/* ===============================
   MAIN HEADER
================================ */
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 999;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 10px;
    display: flex;
    align-items: flex-start;
}

.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-logo img {
    max-height: 70px;
    width: auto;
}

/* ===============================
   REGISTER LOGOS
================================ */
.register-logos {
    margin-top: 6px;
}

.register-logos img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* ===============================
   SLIDER FIX (very important)
================================ */
.slider,
.slick-slider,
.slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    clear: both !important;
    overflow: hidden;
}

/* Prevent header from overlapping slider */
.site-header + .slider,
.site-header + .hero-wrap {
    margin-top: 0;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .site-logo {
        align-items: center;
    }

    .register-logos img {
        max-height: 32px;
    }
}
/* ---------------- TOP BAR ---------------- */
.top-bar {
    background: #0c3c60;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
}
.top-bar-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-weight: 500;
}

/* ---------------- HEADER ---------------- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.header-left img,
.header-center img {
    max-height: 80px;
}

.header-center img {
    display: block;
    margin: 0 auto;
}

.main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

/* ---------------- HERO SECTION ---------------- */
.hero-section {
    background: #f5f5f5;
    padding: 50px 20px;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hero-left h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0c3c60;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.hero-right {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    .header-container,
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        margin-top: 15px;
    }

    .hero-left, .hero-right {
        width: 100%;
    }
}
/* Header container */
.header-container {
    display: flex;
    justify-content: flex-start; /* start from left */
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

/* Logo */
.header-left img {
    max-height: 90px; /* fully visible */
    width: auto;
    display: block;
}

/* Register GIF shifted right */
.header-center {
    margin-left: auto;   /* pushes it toward menu */
    margin-right: 20px;  /* space before menu */
    display: flex;
    align-items: center;
}

.header-center img {
    max-height: 60px;
}

/* Menu */
.header-right {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-center {
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
    }
    .header-right {
        margin-top: 15px;
    }
}
.hero-container{display:flex;max-width:1200px;margin:auto;gap:40px;padding:60px 20px;}
.hero-left{flex:1}
.hero-btn{background:#0c3c60;color:#fff;padding:12px 25px;display:inline-block}

.hero-slider img{width:100%;border-radius:10px}

.home-magazine{background:#f5f6f8;padding:60px 20px}
.magazine-wrap{max-width:1200px;margin:auto;display:grid;grid-template-columns:3fr 1.3fr;gap:30px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:25px}
.post-card{background:#fff;padding:15px;border-radius:10px;box-shadow:0 5px 15px rgba(0,0,0,.1)}

.side-box{background:#fff;padding:15px;border-radius:10px;margin-bottom:20px}

.three-columns .container{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.three-columns .box{background:#0c3c60;color:#fff;padding:40px;text-align:center;border-radius:10px}
.medical-portal {
    padding: 60px 20px;
    background: #f7f9fc;
}

.portal-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
}

.portal-left {
    flex: 2;
}

.portal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.portal-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-card h4 a {
    color: #0c3c60;
    text-decoration: none;
    font-weight: 600;
}

.testimonial {
    margin-bottom: 15px;
    font-style: italic;
}

.tools-list {
    list-style: none;
    padding: 0;
}

.tools-list li {
    margin-bottom: 10px;
}

.tools-list a {
    color: #0c3c60;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .portal-container {
        flex-direction: column;
    }
}
