:root{
  --bg:#f4f6f9;
  --primary:#0a3d62;
  --accent:#16a085;
  --muted:#6b7280;
  --card:#ffffff;
  --radius:12px;
  --glass: rgba(255,255,255,0.6);
}
*{box-sizing:border-box}
body{
  font-family:'Poppins',system-ui,Arial;
  margin:0;
  background:var(--bg);
  color:#111827;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:1100px;margin:0 auto;padding:20px;}
.header-inner{display:flex;align-items:center;gap:20px;justify-content:space-between;}
.site-header{background:linear-gradient(90deg,var(--primary),#2c5a7a);color:#fff;position:sticky;top:0;z-index:60}
.site-header .container{padding:18px 24px}
.brand{display:flex;align-items:center;gap:14px}
.logo{width:56px;height:56px;object-fit:contain;border-radius:8px;background:rgba(255,255,255,0.06)}
.brand h1{margin:0;font-size:20px;font-weight:600}
.tag{margin:0;font-size:13px;opacity:.95}

/* nav */
.nav{display:flex;gap:8px}
.nav a{color:#fff;text-decoration:none;padding:10px 12px;border-radius:8px;font-weight:500;opacity:.95}
.nav a:hover{background:rgba(255,255,255,0.12)}
.hamburger{display:none;background:transparent;border:none;color:#fff;font-size:22px}

/* hero/about */
.hero{display:flex;gap:24px;align-items:center;padding:36px 0}
.hero-left{flex:1}
.hero-right{flex:1;display:flex;justify-content:center}
.hero img,.hero-img{width:100%;max-width:480px;border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,0.12)}
.lead{color:var(--muted);font-size:16px;margin-top:8px}
.hero-stats{display:flex;gap:18px;margin-top:16px}
.hero-stats div{background:var(--card);padding:12px 16px;border-radius:10px;box-shadow:0 6px 20px rgba(15,23,42,0.06);text-align:center}
.hero-stats strong{display:block;font-size:20px}

/* panels */
.panel{padding:30px 0}
.section-header{margin-bottom:18px}
.section-header h2{margin:6px 0 6px 0;color:var(--primary)}
.muted{color:var(--muted);font-size:14px}

/* grids */
.grid{display:grid;gap:20px}
.cards-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.two-col{grid-template-columns:360px 1fr;align-items:start}
@media (max-width:900px){.two-col{grid-template-columns:1fr}.hero{flex-direction:column}.nav{display:none}.hamburger{display:block}}

/* service cards */
.service-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,0.06);cursor:pointer;transition:transform .25s,box-shadow .25s}
.service-card img{width:100%;height:150px;object-fit:cover;display:block}
.service-card .card-body{padding:12px}
.service-card h3{margin:0;font-size:16px;color:var(--primary)}
.service-card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(15,23,42,0.12)}

/* forms and cards */
.form-card{background:var(--card);border-radius:var(--radius);padding:18px;box-shadow:0 8px 28px rgba(15,23,42,0.04)}
.nice-form label{display:block;font-size:13px;color:var(--muted);margin:8px 0}
.nice-form input[type="text"],.nice-form input[type="email"],.nice-form textarea{width:100%;padding:10px;border-radius:10px;border:1px solid #e6e9ef;background:#fff;outline:none;font-size:14px}
.nice-form input[type="file"]{padding:6px 2px}
.form-actions{display:flex;gap:10px;margin-top:10px}
.btn{background:linear-gradient(90deg,var(--primary),#2c5a7a);color:#fff;padding:10px 14px;border:none;border-radius:10px;cursor:pointer;font-weight:600;box-shadow:0 8px 20px rgba(10,61,98,0.12)}
.btn.ghost{background:transparent;color:var(--primary);border:1px solid rgba(10,61,98,0.08)}
.btn:hover{transform:translateY(-3px)}

/* list of profile cards (employees/trainers) */
.cards-list{display:grid;gap:14px}
.profile-card{
  display:flex;gap:14px;align-items:center;background:var(--card);padding:12px;border-radius:12px;box-shadow:0 8px 22px rgba(15,23,42,0.04);
}
.avatar{width:72px;height:72px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#f1f5f9}
.avatar img{width:100%;height:100%;object-fit:cover}
.profile-info h4{margin:0;font-size:16px;color:var(--primary)}
.profile-info p{margin:2px 0;color:var(--muted);font-size:14px}
.profile-actions{margin-left:auto;display:flex;gap:8px}
.icon-btn{border:none;padding:8px 10px;border-radius:8px;cursor:pointer;font-weight:600}
.icon-btn.edit{background:#f6d365;color:#6b3e00}
.icon-btn.delete{background:#fde2e1;color:#8b1d11}
.icon-btn:hover{transform:translateY(-2px)}

/* modal */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);z-index:200}
.modal-inner{background:var(--card);border-radius:12px;padding:18px;max-width:700px;width:95%;text-align:center;box-shadow:0 30px 60px rgba(2,6,23,0.4)}
.modal-inner img{width:100%;height:260px;object-fit:cover;border-radius:8px}
.modal-close{position:absolute;right:24px;top:18px;border:none;background:transparent;font-size:22px;cursor:pointer}

/* contact */
#contact {
  background: #d2e0f6;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 300px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #e2eaf0;
  outline: none;
  box-shadow: 0 0 5px rgba(60,99,130,0.5);
}
.contact-form button {
  width: 100%;
  background: linear-gradient(90deg, #0a3d62, #3c6382);
  color: rgb(173, 236, 246);
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #3c6382, #0a3d62);
}
.contact-info {
  flex: 1;
  min-width: 300px;
}



/* footer */
.site-footer{padding:18px;background:#fff;margin-top:26px;border-top:1px solid #eef2f7}
.site-footer small{color:var(--muted)}

/* small helpers */
small.muted{color:var(--muted);font-size:13px}
/* Company Header */
#top-header {
  background: #0a3d62;
  color: white;
  text-align: center;
  padding: 25px 15px;
}
#top-header h1 {
  font-size: 2.8rem;       /* not too big */
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
}
#top-header .tagline {
  font-size: 1.2rem;
  font-style: oblique;
  color: #f1f1f1;
}
/* Navbar */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #3c6382;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Buttons */
.nav-btn {
  background: white;
  color: #0a3d62;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Hover Effect */
.nav-btn:hover {
  background: #0a3d62;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Active / Touch Effect */
.nav-btn:active {
  transform: scale(0.95);
  background: #f1c40f;
  color: #0a3d62;
}
/* Profile cards */
.profile-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 16px;
  text-align: center;
  width: 220px;        /* fix card size */
  margin: 12px;
  display: inline-block;
  vertical-align: top;
}

.profile-card img {
  width: 75px;        /* photo size fixed */
  height: 75px;
  object-fit: cover;   /* crop instead of stretch */
  border-radius: 50%;  /* make it circular */
  margin-bottom: 12px;
  border: 2px solid #eee;
}

.profile-card h4 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.profile-card p {
  margin: 2px 0;
  font-size: 0.9rem;
  color: #666;
}

.cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Buttons inside card */
.card-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.card-actions .btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.edit-btn {
  background: #4CAF50;
  color: white;
}

.delete-btn {
  background: #f44336;
  color: white;
}

.edit-btn:hover { background: #45a049; }
.delete-btn:hover { background: #d32f2f; }

/* Card hover effect */
.profile-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

html {
  scroll-behavior: smooth;  /* smooth scroll */
  scroll-padding-top: 25px; /* navbar ki height ke hisaab se adjust karo */
}

section {
  scroll-margin-top: 25px; /* jitna navbar ki height hai utna */
}

/* Service Modal */
#serviceModal {
  position: fixed;
  inset: 0;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

#serviceModal .modal-inner {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideDown 0.3s ease;
}

#serviceModal .modal-inner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

#serviceModal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* Slide down animation */
@keyframes slideDown {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Service cards hover */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.provide-detail {
  margin-top: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: none; /* hidden by default */
  animation: slideDown 0.3s ease;
}

.provide-detail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

@keyframes slideDown {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.modal-inner img {
  width: 100%;
  height: auto;       /* maintain aspect ratio */
  max-height: 400px;  /* adjust as needed */
  object-fit: cover;  /* crop instead of stretch */
  border-radius: 8px;
}


.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-inner {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-inner img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 60px 20px;
}

.contact-form, .contact-info {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info h3 {
  margin-bottom: 10px;
  color: #0a3d62;
}

.contact-info p {
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}

/* Modal background */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Modal box */
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 350px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

#loginForm input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#loginForm button {
  width: 95%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #0a3d62;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#loginForm button:hover {
  background: #074472;
}

#loginMsg {
  margin-top: 10px;
  font-size: 14px;
  color: red;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.edit-btn, .delete-btn {
  display: none; /* hidden until login */
  padding: 6px 12px;
  margin: 5px 4px 0 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.edit-btn {
  background: #007bff;
  color: white;
}

.edit-btn:hover {
  background: #0056b3;
}

.delete-btn {
  background: red;
  color: white;
}

.delete-btn:hover {
  background: darkred;
}

.form-card {
  background: #ffffff;
  padding: 25px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 450px;
  animation: fadeIn 0.5s ease-in-out;
}

.form-card h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.6rem;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-card label {
  font-weight: 600;
  color: #34495e;
}

.form-card input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: 0.3s;
}

.form-card input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.form-card .btn {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.form-card .btn:hover {
  background: #2980b9;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* #################################################### */

/* ================= Interactive Animations ================= */

/* Smooth hover for service & provide cards */
.service-card, .profile-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.service-card:hover, .profile-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Buttons pop effect */
.btn, .nav-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover, .nav-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Fade-in sections on scroll */
.panel {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.panel.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal pop effect */
.modal-inner {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal.show .modal-inner {
  transform: scale(1);
  opacity: 1;
}

/* ================= Center Section Headers ================= */
.section-header h2 {
  text-align: center;
  font-size: 2rem;       /* slightly bigger */
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p.muted {
  text-align: center;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;        /* center paragraph */
  line-height: 1.6;
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++ */
:root {
  --bg: #f4f6f9;
  --primary: #0a3d62;       /* Dark Blue */
  --accent: #16a085;        /* Teal */
  --muted: #6b7280;         /* Gray text */
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 24px rgba(0,0,0,0.12);
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: #111827;
}
.hero-left h2 {
  animation: slideInLeft 1s ease forwards;
}
.hero-left p {
  animation: fadeIn 1.5s ease forwards;
}
.hero-right img {
  transition: transform 0.5s ease;
}
.hero-right img:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.service-card, .profile-card {
  transition: all 0.3s ease;
  cursor: pointer;
}
.service-card:hover, .profile-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow);
}
.section-header h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  animation: fadeInDown 1s ease forwards;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 8px auto 0;
  border-radius: 2px;
}
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.panel {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.panel.active {
  opacity: 1;
  transform: translateY(0);
}
.btn, .nav-btn {
  transition: all 0.3s ease;
}
.btn:hover, .nav-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: var(--shadow);
}
.modal-inner {
  animation: fadeInScale 0.4s ease forwards;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
.modal-close:hover {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}


/* ######################################################### For Photo ##################################################### */

/* *{
  font-family:cursive;
  font-weight: 200;
  font-size: large;
} */