/* style.css – premium responsive design for R.K. Finance */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */
.main-header {
  background: linear-gradient(135deg, #0a2b4e, #123b66);
  color: white;
  padding: 16px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo span {
  font-weight: 300;
  color: #fbbf24;
  display: inline-block;
}

.tagline {
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  margin-top: 4px;
  font-weight: 400;
}

.tagline i {
  color: #fbbf24;
  margin-right: 6px;
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: 0.2s;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav a.active {
  border-bottom-color: #fbbf24;
  color: #fde68a;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* hero */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f0fa 100%);
  padding: 60px 0 80px;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-owner {
  font-size: 1.2rem;
  font-weight: 500;
  color: #0a2b4e;
  background: rgba(251,191,36,0.2);
  display: inline-block;
  padding: 4px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.since {
  background: #0a2b4e;
  color: white;
  padding: 2px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-left: 12px;
}

.hero h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.highlight {
  color: #b45309;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  padding: 0 8px;
  display: inline-block;
}

.hero-tagline {
  font-size: 1.4rem;
  color: #1e3a5f;
  font-weight: 400;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
  font-size: 1.1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: #0a2b4e;
  color: white;
  box-shadow: 0 8px 16px rgba(10,43,78,0.25);
}

.btn-primary:hover {
  background: #123b66;
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(10,43,78,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #0a2b4e;
  color: #0a2b4e;
}

.btn-outline:hover {
  background: #0a2b4e;
  color: white;
}

/* section titles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0f172a;
  position: relative;
  display: inline-block;
}

.section-title h3:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #fbbf24;
  margin: 12px auto 8px;
  border-radius: 4px;
}

.section-title p {
  font-size: 1.2rem;
  color: #475569;
}

/* highlights grid */
.highlights {
  padding: 70px 0 40px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.highlight-card {
  background: white;
  padding: 32px 20px;
  border-radius: 24px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(0,0,0,0.02);
}

.highlight-card:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 40px -10px rgba(10,43,78,0.15);
}

.highlight-card i {
  font-size: 2.8rem;
  color: #0a2b4e;
  background: #fef9e7;
  padding: 18px;
  border-radius: 60px;
  margin-bottom: 20px;
}

.highlight-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* services home */
.services-home {
  background: white;
  padding: 70px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f8fafc;
  padding: 40px 24px 32px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,0.06);
  transition: 0.3s;
  border: 1px solid #e9eef2;
}

.service-card:hover {
  background: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 30px 35px -12px rgba(251,191,36,0.2);
}

.icon-box i {
  font-size: 3.2rem;
  color: #0a2b4e;
  background: #e2eaf1;
  padding: 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  display: inline-block;
}

.service-card h4 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* stats */
.stats-section {
  background: linear-gradient(145deg, #0a2b4e, #1e3f68);
  color: white;
  padding: 50px 0;
}

.stats-flex {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.stat-item {
  font-size: 1.4rem;
  font-weight: 300;
}

.stat-item span {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #fbbf24;
}

/* about page */
.page-title {
  background: linear-gradient(to right, #e2eaf1, #f1f5f9);
  padding: 40px 0;
  text-align: center;
}

.page-title h2 {
  font-size: 2.8rem;
  color: #0a2b4e;
}

.about-intro {
  padding: 70px 0 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 20px;
  color: #334155;
}

.founder-story {
  background: #fef9e7;
  padding: 30px;
  border-radius: 30px;
  margin-top: 30px;
}

.founder-story h4 i {
  color: #fbbf24;
  margin-right: 8px;
}

.owner-card {
  background: white;
  padding: 40px 24px;
  text-align: center;
  border-radius: 40px;
  box-shadow: 0 25px 40px -12px #0a2b4e33;
}

.owner-card i {
  font-size: 5rem;
  color: #123b66;
}

.owner-card h4 {
  font-size: 2rem;
}

.est {
  color: #fbbf24;
  font-weight: 600;
}

.mission-vision {
  background: #f1f5f9;
  padding: 70px 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-item {
  background: white;
  padding: 40px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.05);
}

.mv-item i {
  font-size: 3rem;
  color: #fbbf24;
  background: #0a2b4e;
  padding: 18px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.why-us {
  padding: 60px 0;
  text-align: center;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature {
  background: white;
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.feature i {
  color: #fbbf24;
  margin-right: 12px;
}

/* contact page */
.contact-section {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 20px 30px -10px #cfddee;
}

.info-item {
  margin-bottom: 20px;
  font-size: 1.1rem;
  border-bottom: 1px dashed #d1d9e6;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-item i {
  color: #fbbf24;
  width: 36px;
  font-size: 1.4rem;
  text-align: center;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 20px 30px -10px #cfddee;
}

.form-group {
  margin-bottom: 22px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #dbe1e8;
  border-radius: 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: #fafcff;
}

.form-group textarea {
  border-radius: 28px;
  resize: vertical;
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: 0.9rem;
  margin-top: 16px;
  color: #5f6c80;
}

.contact-social {
  background: #eef2f6;
  padding: 50px 0;
  text-align: center;
}

.social-big a {
  display: inline-block;
  margin: 20px 16px;
  padding: 16px 32px;
  background: white;
  border-radius: 50px;
  text-decoration: none;
  color: #0a2b4e;
  font-weight: 600;
  font-size: 1.3rem;
  box-shadow: 0 10px 14px rgba(0,0,0,0.02);
  transition: 0.2s;
}

.social-big a i {
  margin-right: 10px;
  color: #fbbf24;
}

.social-big a:hover {
  background: #0a2b4e;
  color: white;
}

.social-big a:hover i {
  color: white;
}

/* footer */
.main-footer {
  background: #0c1e2f;
  color: #cbd5e1;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-about h4, .footer-links h4, .footer-unlock h4 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-about p i {
  width: 24px;
  color: #fbbf24;
}

.social-links a {
  color: white;
  background: #1f3a5f;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.2s;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-links a:hover {
  background: #fbbf24;
  color: #0c1e2f;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-unlock .unlock-link {
  color: #fbbf24;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
}

.credit {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #9aa9b9;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #253c54;
  margin-top: 40px;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 2.4rem;
  }
  .section-title h3 {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  /* header */
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    margin-top: 10px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #123b66;
    padding: 24px;
    border-radius: 24px;
    width: 100%;
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 28px;
    right: 24px;
  }
  /* hero */
  .hero h2 {
    font-size: 2rem;
  }
  .hero-tagline {
    font-size: 1.2rem;
  }
  .btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
  /* grids */
  .about-grid, .contact-grid, .mv-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats-flex {
    flex-direction: column;
    align-items: center;
  }
  .stat-item {
    width: 100%;
  }
  .owner-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .contact-info, .contact-form {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .logo {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 0.8rem;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero-owner {
    font-size: 1rem;
  }
  .since {
    display: block;
    margin: 8px 0 0 0;
    width: fit-content;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .btn {
    text-align: center;
  }
  .section-title h3 {
    font-size: 1.8rem;
  }
  .section-title p {
    font-size: 1rem;
  }
  .highlights-grid, .services-grid, .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .highlight-card, .service-card {
    padding: 24px 16px;
  }
  .stats-section {
    padding: 30px 0;
  }
  .stat-item span {
    font-size: 2.5rem;
  }
  .page-title h2 {
    font-size: 2rem;
  }
  .about-text h3 {
    font-size: 1.8rem;
  }
  .founder-story {
    padding: 20px;
  }
  .mv-item {
    padding: 30px 20px;
  }
  .contact-info, .contact-form {
    padding: 24px;
    border-radius: 28px;
  }
  .info-item {
    flex-wrap: wrap;
  }
  .social-big a {
    display: block;
    margin: 12px auto;
    max-width: 280px;
  }
  .footer-grid {
    gap: 30px;
  }
  .footer-about p {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .hero h2 {
    font-size: 1.5rem;
  }
  .logo {
    font-size: 1.3rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}


/* ===============================
   MOBILE RESPONSIVE FIXES ONLY
   (Theme unchanged)
=============================== */

/* -------- Tablets & small laptops -------- */
@media (max-width: 1024px) {

  .hero h2 {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .section-title h3 {
    font-size: 2rem;
  }

}

/* -------- Tablets & large mobiles -------- */
@media (max-width: 900px) {

  /* Header */
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    width: 100%;
    margin-top: 12px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #123b66;
    padding: 20px;
    border-radius: 24px;
  }

  .nav-links.show {
    display: flex;
  }

  /* Layout grids */
  .about-grid,
  .contact-grid,
  .mv-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-flex {
    flex-direction: column;
  }

  .owner-card {
    max-width: 420px;
    margin: auto;
  }
}

/* -------- Mobile phones -------- */
@media (max-width: 600px) {

  .container {
    padding: 0 16px;
  }

  /* Header */
  .logo {
    font-size: 1.4rem;
  }

  .tagline {
    font-size: 0.75rem;
  }

  /* Hero */
  .hero {
    padding: 40px 0 60px;
  }

  .hero h2 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero-owner {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Cards */
  .highlight-card,
  .service-card {
    padding: 24px 18px;
  }

  /* Stats */
  .stat-item span {
    font-size: 2.4rem;
  }

  /* About */
  .page-title h2 {
    font-size: 2rem;
  }

  .about-text h3 {
    font-size: 1.7rem;
  }

  .founder-story {
    padding: 20px;
  }

  /* Contact */
  .contact-info,
  .contact-form {
    padding: 24px;
    border-radius: 28px;
  }

  .info-item {
    flex-wrap: wrap;
    font-size: 1rem;
  }

  /* Social buttons */
  .social-big a {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
    text-align: center;
  }
}

/* -------- Very small devices -------- */
@media (max-width: 380px) {

  .hero h2 {
    font-size: 1.6rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}