/* ===== VARIABLES ===== */
:root {
  --primary: #c70e0e;
  --primary-dark: #9e0b0b;
  --secondary: #2c3e50;
  --text-dark: #333;
  --text-muted: #777;
  --bg-light: #f8f9fa;
  --bg-section: #f4f4f4;
  --white: #ffffff;
}

/* ===== BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; transition: all .3s; }
a:hover { text-decoration: none; }
img { max-width: 100%; }
.section-padding { padding: 80px 0; }
.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; font-weight: 700; color: var(--secondary); position: relative; padding-bottom: 15px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }
.section-title p { color: var(--text-muted); margin-top: 15px; font-size: .95rem; }
.btn-primary-custom { background: var(--primary); color: #fff; border: 2px solid var(--primary); padding: 12px 30px; border-radius: 4px; font-weight: 600; font-size: .9rem; letter-spacing: .5px; transition: all .3s; display: inline-block; }
.btn-primary-custom:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline-custom { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px 30px; border-radius: 4px; font-weight: 600; font-size: .9rem; letter-spacing: .5px; transition: all .3s; display: inline-block; }
.btn-outline-custom:hover { background: var(--primary); color: #fff; }

/* ===== TOP BAR ===== */
#top-bar { background: var(--secondary); padding: 10px 0; font-size: .85rem; color: #ccc; }
#top-bar .top-bar-info span { margin-right: 25px; }
#top-bar .top-bar-info i { margin-right: 6px; color: var(--primary); }
#top-bar .top-bar-social a { color: #ccc; margin-left: 12px; font-size: .9rem; }
#top-bar .top-bar-social a:hover { color: var(--primary); }

/* ===== HEADER / NAVBAR ===== */
#main-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,.1); padding: 0; position: sticky; top: 0; z-index: 1000; }
#main-header .navbar { padding: 0; }
#main-header .navbar-brand img { height: 65px; }
#main-header .navbar-nav .nav-link { color: var(--secondary); font-weight: 500; font-size: .92rem; padding: 28px 16px; letter-spacing: .3px; position: relative; }
#main-header .navbar-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
#main-header .navbar-nav .nav-link:hover,
#main-header .navbar-nav .nav-link.active { color: var(--primary); }
#main-header .navbar-nav .nav-link:hover::after,
#main-header .navbar-nav .nav-link.active::after { transform: scaleX(1); }
#main-header .btn-appointment { background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 4px; font-weight: 600; font-size: .85rem; margin-left: 15px; white-space: nowrap; }
#main-header .btn-appointment:hover { background: var(--primary-dark); color: #fff; }
#main-header .navbar-toggler { border: 2px solid var(--secondary); border-radius: 4px; padding: 6px 10px; }
#main-header .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44,62,80,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ===== MOBILE HEADER ===== */
@media (max-width: 991px) {
  #main-header .navbar { padding: 10px 0; }
  #main-header .navbar-brand img { height: 50px; }
  #main-header .navbar-collapse { background: #fff; padding: 10px 0 15px; }
  #main-header .navbar-nav .nav-link { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; }
  #main-header .navbar-nav .nav-link::after { display: none; }
  #main-header .btn-appointment { margin: 12px 16px 0; display: block; text-align: center; }
}

/* ===== HERO ===== */
#hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, rgba(44,62,80,.85) 0%, rgba(199,14,14,.7) 100%), url('../images/bbc-6501-min.jpg') center/cover no-repeat; }
#hero .hero-content { color: #fff; }
#hero .hero-tagline { font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,.8); font-weight: 500; margin-bottom: 15px; }
#hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #fff; }
#hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 35px; max-width: 560px; }
#hero .hero-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: .85rem; display: inline-block; margin-bottom: 20px; }

/* ===== SERVICES STEPS ===== */
#service-steps { background: var(--primary); padding: 0; }
#service-steps .step-item { padding: 40px 30px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; color: #fff; }
#service-steps .step-item:last-child { border-right: none; }
#service-steps .step-icon { font-size: 2.5rem; margin-bottom: 15px; opacity: .9; }
#service-steps .step-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
#service-steps .step-item p { font-size: .88rem; opacity: .85; margin: 0; }

/* ===== ABOUT ===== */
#about { background: var(--white); }
#about .about-img { border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
#about .credentials { background: var(--primary); color: #fff; padding: 20px 25px; border-radius: 8px; margin-top: 20px; }
#about .credentials p { color: #fff; margin: 0; font-size: .9rem; line-height: 1.6; }
#about .section-subtitle { color: var(--primary); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
#about h2 { font-size: 1.8rem; font-weight: 700; color: var(--secondary); margin-bottom: 20px; }
#about p { color: var(--text-muted); line-height: 1.8; }
#about .media-title { font-size: 1rem; font-weight: 600; color: var(--secondary); margin: 25px 0 15px; }
#about .media-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
#about .media-logos img { height: 40px; width: auto; object-fit: contain; filter: grayscale(50%); transition: filter .3s; }
#about .media-logos img:hover { filter: grayscale(0); }

/* ===== FEATURES ===== */
#features { background: var(--bg-section); }
#features .feature-card { background: #fff; border-radius: 8px; padding: 35px 25px; text-align: center; height: 100%; box-shadow: 0 3px 20px rgba(0,0,0,.06); transition: all .3s; }
#features .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(199,14,14,.15); }
#features .feature-card .icon { width: 65px; height: 65px; background: rgba(199,14,14,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--primary); }
#features .feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
#features .feature-card p { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ===== OFFICE GALLERY ===== */
#office { background: var(--secondary); }
#office .section-title h2 { color: #fff; }
#office .section-title h2::after { background: var(--primary); }
#office .section-title p { color: rgba(255,255,255,.7); }
#office .gallery-item { overflow: hidden; border-radius: 6px; }
#office .gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform .4s; }
#office .gallery-item:hover img { transform: scale(1.05); }

/* ===== CREDENTIALS / STATS ===== */
#credentials { background: var(--primary); }
#credentials .cred-item { text-align: center; padding: 30px 20px; border-right: 1px solid rgba(255,255,255,.2); }
#credentials .cred-item:last-child { border-right: none; }
#credentials .cred-icon { font-size: 2rem; color: rgba(255,255,255,.8); margin-bottom: 12px; }
#credentials .cred-item h4 { font-size: .95rem; font-weight: 600; color: #fff; line-height: 1.5; margin: 0; }

/* ===== SERVICES ===== */
#services { background: var(--white); }
#services .service-item { display: flex; gap: 20px; margin-bottom: 35px; }
#services .service-item:last-child { margin-bottom: 0; }
#services .service-icon { width: 55px; height: 55px; min-width: 55px; background: rgba(199,14,14,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); }
#services .service-text h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
#services .service-text p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin: 0; }
#services .services-img { border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
#services .services-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== BLOG ===== */
#blog { background: var(--bg-section); }
#blog .blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 20px rgba(0,0,0,.06); height: 100%; transition: transform .3s, box-shadow .3s; }
#blog .blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,.12); }
#blog .blog-card img { width: 100%; height: 200px; object-fit: cover; }
#blog .blog-card .card-body { padding: 25px; }
#blog .blog-card .blog-date { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
#blog .blog-card h5 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 12px; line-height: 1.4; }
#blog .blog-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 15px; }
#blog .blog-card .read-more { color: var(--primary); font-size: .85rem; font-weight: 600; }
#blog .blog-card .read-more:hover { color: var(--primary-dark); }

/* ===== PRE-FOOTER ===== */
#pre-footer { background: var(--secondary); padding: 50px 0; }
#pre-footer h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
#pre-footer p { color: rgba(255,255,255,.7); margin: 0; }
#pre-footer .btn-outline-white { border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 4px; font-weight: 600; font-size: .9rem; display: inline-block; }
#pre-footer .btn-outline-white:hover { background: #fff; color: var(--secondary); }

/* ===== FOOTER ===== */
#footer { background: #1a252f; padding: 60px 0 30px; }
#footer .footer-logo img { height: 70px; margin-bottom: 20px; }
#footer .footer-desc { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.8; }
#footer h5 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
#footer .footer-links li { margin-bottom: 10px; }
#footer .footer-links a { color: rgba(255,255,255,.55); font-size: .87rem; transition: color .3s; }
#footer .footer-links a:hover { color: var(--primary); }
#footer .footer-contact p { color: rgba(255,255,255,.6); font-size: .87rem; margin-bottom: 10px; }
#footer .footer-contact i { color: var(--primary); margin-right: 8px; width: 16px; }
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 25px; margin-top: 40px; }
#footer .footer-bottom p { color: rgba(255,255,255,.4); font-size: .82rem; margin: 0; }
#footer .footer-bottom img { height: 28px; filter: brightness(0) invert(1) opacity(.4); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
.whatsapp-float a { display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 14px 22px 14px 18px; border-radius: 50px; box-shadow: 0 4px 20px rgba(37,211,102,.4); font-weight: 600; font-size: .9rem; }
.whatsapp-float a:hover { background: #1da851; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,.5); }
.whatsapp-float i { font-size: 1.4rem; }

/* ===== OFFICE CAROUSEL ===== */
.office-carousel .item { padding: 0 5px; }
.office-carousel .item img { width: 100%; height: 260px; object-fit: cover; border-radius: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  #hero h1 { font-size: 2.2rem; }
  #hero { min-height: 70vh; padding: 80px 0; }
  #service-steps .step-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  #credentials .cred-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding: 20px; }
  #top-bar { display: none; }
  .section-padding { padding: 60px 0; }
}
@media (max-width: 767px) {
  #hero h1 { font-size: 1.8rem; }
  .section-title h2 { font-size: 1.5rem; }
  #service-steps .step-item { padding: 25px 20px; }
}
