/* GLOBAL FONT SETTINGS */

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0c2340;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 15px;
}

.section-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.top-left span,
.top-right span {
  margin-right: 20px;
}

/* ===== NAVBAR ===== */
.main-navbar {
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
}

.nav-menu a {
  margin: 0 15px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #1e5eff;
}

.nav-btn {
  background: #1e5eff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  background: linear-gradient(
      rgba(12, 35, 64, 0.75),
      rgba(12, 35, 64, 0.75)
    ),
    url("https://images.unsplash.com/photo-1492724441997-5dc865305da7") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  max-width: 1000px;
}

.hero-text h1 {
  color: #ff0000;
  font-weight: 70;
  font-size: 4px;
  line-height: 1.3;
  max-width: 900px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-btn {
  border: 2px solid #fff;
  padding: 12px 30px;
  text-decoration: none;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
}

.hero-btn:hover {
  background: #1e5eff;
  border-color: #1e5eff;
}

.hero-badge img {
  width: 150px;
}

.hero h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
}

/* ===== CERTIFICATION STRIP ===== */

.certifications {
  background: #f8f9fb;
  padding: 50px 0;
}

.cert-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.cert-wrapper img {
  height: 70px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  cursor: pointer;
}

.cert-wrapper img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ===== ABOUT SECTION ===== */

.about-section {
  padding: 100px 0;
  background: #f8f9fb;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  position: relative;
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  font-weight: 600;
  color: #1e5eff;
}

.about-content {
  flex: 1;
}

.section-tag {
  display: inline-block;
  background: #e8f0ff;
  color: #1e5eff;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #0c2340;
}

.about-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-points li {
  margin-bottom: 10px;
  font-weight: 500;
  position: relative;
  padding-left: 25px;
}

.about-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1e5eff;
}

.about-btn {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid #1e5eff;
  color: #1e5eff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}

.about-btn:hover {
  background: #1e5eff;
  color: #fff;
}

.services-section {
  padding: 120px 0;
  background: #ffffff;
  overflow: hidden;
}

.services-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.services-content {
  flex: 1;
}

.services-images {
  flex: 1;
  position: relative;
  height: 500px;
}

/* Image Cards */
.image-card {
  position: absolute;
  width: 75%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s ease;
}

.image-card img {
  width: 100%;
  display: block;
}

/* First Image */
.img1 {
  top: 0;
  right: 0;
}

/* Second Image (overlapping) */
.img2 {
  bottom: 0;
  left: 0;
}

/* ACTIVE CLASS (scroll pe trigger hoga) */
.image-card.active {
  transform: translateY(0);
  opacity: 1;
}


.expertise-section {
  padding: 120px 0;
  background: #f5f7fb;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 36px;
  color: #0c2340;
  margin-top: 10px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.expertise-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 1px solid #eef1f6;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.expertise-card .icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e5eff;
}

.expertise-card h3 {
  margin-bottom: 15px;
  color: #0c2340;
}

.expertise-card p {
  color: #666;
  line-height: 1.6;
}

.center-btn {
  text-align: center;
  margin-top: 60px;
}


/* ===== WHY SECTION ===== */

.why-section {
  padding: 120px 0;
  background: #f8f9fb;
}

.why-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.why-image {
  position: relative;
  flex: 1;
}

.why-image img {
  width: 100%;
  border-radius: 20px;
}

.stats-card {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  text-align: center;
}

.stats-card h3 {
  font-size: 28px;
  color: #1e5eff;
}

.bars {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.bars span {
  width: 8px;
  height: 40px;
  background: #1e5eff;
  border-radius: 4px;
  opacity: 0.7;
}

.why-content {
  flex: 1;
}

.why-content h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #0c2340;
}

/* FAQ */

.faq-item {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e8f0;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== FOUNDER SECTION ===== */

.founder-section {
  padding: 120px 0;
  background: #ffffff;
}

.founder-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.founder-image {
  flex: 1;
}

.founder-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.founder-content {
  flex: 1;
}

.section-tag {
  display: inline-block;
  background: #eaf1ff;
  color: #1e5eff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.founder-content h2 {
  font-size: 38px;
  margin-bottom: 15px;
  color: #0c2340;
}

.founder-intro {
  font-weight: 600;
  color: #1e5eff;
  margin-bottom: 20px;
}

.founder-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.founder-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #1e5eff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #1e5eff;
  color: #1e5eff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* CTA SECTION */

.cta-section {
  background: linear-gradient(90deg, #1e5eff, #1746c8);
  padding: 60px 0;
  color: #ffffff;
}

.cta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-left h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #ffffff;
}

.cta-phone span {
  font-size: 14px;
  opacity: 0.9;
}

.cta-phone h3 {
  font-size: 22px;
  margin-top: 5px;
  color: #ffffff;
}

.cta-btn {
  border: 2px solid #fff;
  padding: 12px 25px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #fff;
  color: #1e5eff;
}

/* FOOTER */

.main-footer {
  background: #061a3a;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-col p,
.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #1e5eff;
}

.newsletter {
  display: flex;
  margin-top: 15px;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border-radius: 25px 0 0 25px;
  border: none;
  outline: none;
}

.newsletter button {
  padding: 10px 20px;
  border-radius: 0 25px 25px 0;
  border: none;
  background: #1e5eff;
  color: #fff;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 14px;
}


/* COMMON HERO WITH IMAGE */

.page-hero {

    position: relative;

    padding: 120px 0;

    text-align: center;

    color: #ffffff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

/* DARK OVERLAY */

.page-hero::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(12, 35, 64, 0.75);

}

.page-hero .container {

    position: relative;

    z-index: 2;

}

.page-hero h1 {

    font-size: 38px;

    font-weight: 700;

    margin-bottom: 20px;
    color:white;

}

.page-hero p {

    font-size: 16px;

    max-width: 850px;

    margin: auto;

    line-height: 1.6;

    color: rgba(255,255,255,0.9);

}

/* ABOUT PAGE IMAGE */

.about-hero {

    background-image: url("assets/about-banner.webp");

}

/* SERVICES PAGE IMAGE */

.services-hero {

    background-image: url("assets/services-banner.png");

}

/* CONTACT PAGE IMAGE */

.contact-hero {

    background-image: url("assets/contact-us-banner.png");

}


/* STORY INTRO */

.story-intro{
padding:80px 0;
}

.story-container{
width:1200px;
max-width:90%;
margin:auto;
}

.story-intro h2{
font-size:36px;
margin-bottom:20px;
color:#0f2a44;
}

.story-intro p{
color:#555;
margin-bottom:30px;
}

.story-image img{
width:100%;
border-radius:12px;
}


/* JOURNEY */

.story-journey{
padding:80px 0;
background:#f7f9fc;
}

.center{
text-align:center;
margin-bottom:60px;
font-size:36px;
color:#0f2a44;
}

.journey-item{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
margin-bottom:60px;
}

.journey-item.reverse{
direction:rtl;
}

.journey-item.reverse .journey-text{
direction:ltr;
}

.journey-image img{
width:100%;
border-radius:12px;
}

.journey-text h3{
font-size:26px;
margin-bottom:10px;
color:#0f2a44;
}

.journey-text p{
color:#555;
line-height:1.7;
}


/* VALUES */

.about-values{
padding:80px 0;
}

.values-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:40px;
}

.value-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
text-align:center;
font-weight:600;
transition:.3s;
}

.value-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.1);
}


/* MOBILE */

@media(max-width:900px){

.journey-item{
grid-template-columns:1fr;
}

.values-grid{
grid-template-columns:1fr 1fr;
}

.about-hero h1{
font-size:34px;
}

}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 5%;
}

.navbar{
display:flex;
align-items:center;
justify-content:space-between;
padding:20px 5%;
background:white;
}

/* right side group */
.nav-right{
display:flex;
align-items:center;
gap:30px;
}

/* nav links */
nav{
display:flex;
gap:25px;
}

nav a{
text-decoration:none;
color:#0f2a44;
font-weight:500;
}

/* button */
.btn-primary{
background:#2f5bea;
color:white;
padding:12px 22px;
border-radius:30px;
text-decoration:none;
font-weight:600;
}

/* TOP BAR */

.topbar{
background:#0f2a44;
color:white;
font-size:14px;
padding:8px 0;
}

.topbar-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.top-left span{
margin-right:20px;
}

.top-right{
font-weight:500;
}


/* NAVBAR */

.navbar{
background:white;
border-bottom:1px solid #eee;
}

.nav-container{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 0;
}

.logo img{
height:40px;
}

.nav-menu{
display:flex;
gap:30px;
}

.nav-menu a{
text-decoration:none;
color:#0f2a44;
font-weight:500;
}

.nav-menu a:hover{
color:#2f5bea;
}

.btn-primary{
background:#2f5bea;
color:white;
padding:10px 20px;
border-radius:25px;
text-decoration:none;
font-weight:600;
}

.btn-primary:hover{
background:#1f48cc;
}

/* FOOTER */

.site-footer{
background:#0f2a44;
color:#ffffff;
padding:60px 0 20px;
}

.footer-container{
  width:100%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 2fr;
  gap:40px;
}

.footer-brand h3{
font-size:24px;
margin-bottom:15px;
}

.footer-brand span{
color:#2f5bea;
}

.footer-brand p{
color:#cfd8e3;
line-height:1.6;
font-size:15px;
}

/* links */

.footer-links h4,
.footer-contact h4{
margin-bottom:15px;
font-size:18px;
}

.footer-links a{
display:block;
color:#cfd8e3;
text-decoration:none;
margin-bottom:10px;
font-size:15px;
}

.footer-links a:hover{
color:#ffffff;
}

/* contact */

.footer-contact-item{
display:flex;
align-items:flex-start;
gap:10px;
margin-bottom:12px;
font-size:14px;
color:#cfd8e3;
}

.footer-contact-item img{
width:18px;
margin-top:3px;
}

/* bottom */

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.15);
margin-top:40px;
padding-top:15px;
text-align:center;
font-size:14px;
color:#cfd8e3;
}

@media(max-width:900px){

.footer-container{
grid-template-columns:1fr;
gap:30px;
}

.footer-brand{
text-align:center;
}

.footer-links{
text-align:center;
}

.footer-contact{
text-align:center;
}

.footer-contact-item{
justify-content:center;
}

}

.services-section{
padding:80px 0;
margin: 0;
}

.services-grid{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:30px;
margin-top:40px;
}

.service-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.service-card:hover{
transform:translateY(-6px);
}

.service-card h3{
margin-bottom:10px;
color:#0b2545;
}

.contact-hero{
padding:100px 0 140px;
text-align:center;
}

.contact-hero h1{
font-size:42px;
margin-bottom:10px;
}

.contact-hero p{
max-width:700px;
margin:auto;
color:#fff;
}

.contact-section{
padding:80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2{
margin-bottom:15px;
}

.contact-item{
margin-top:20px;
}

.contact-form{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
margin: 0 20px;
}

.form-group{
margin-bottom:15px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;
font-family:inherit;
}

.contact-form button{
background:#2f6fed;
color:white;
border:none;
padding:12px 20px;
border-radius:6px;
cursor:pointer;
}

.widget-title{
font-size:18px;
margin-bottom:15px;
border-bottom:2px solid #2f6fed;
display:inline-block;
padding-bottom:5px;
}

.search-form input{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}



/* META */
.single-meta{
font-size:14px;
color:#6b7280;
margin-bottom:20px;
}

/* IMAGE */
.single-image img{
width:100%;
border-radius:10px;
margin-bottom:20px;
}


/* TITLE */

.widget-title{
font-size:20px;
font-weight:700;
color:#0b2545;
margin-bottom:15px;
position:relative;
}

.widget-title::after{
content:"";
width:40px;
height:3px;
background:#2f6fed;
display:block;
margin-top:8px;
border-radius:5px;
}

.hero-title{

font-size:42px;
font-weight:700;
margin-bottom:10px;

}

.hero-meta{

color:#dbe4ff;
font-size:15px;

}


/* IMAGE */

.single-image img{

width:100%;
border-radius:12px;
margin-bottom:25px;

}

/* RELATED POSTS */

.related-posts{

margin-top:50px;
padding-top:30px;
border-top:1px solid #eee;

}

.related-posts h3{

font-size:22px;
margin-bottom:15px;

}

.related-posts ul{

list-style:none;
padding:0;

}

.related-posts li{

margin-bottom:10px;

}

.related-posts a{

text-decoration:none;
color:#0b2545;
font-weight:600;

}

.related-posts a:hover{

color:#2f6fed;

}



/* IMAGE */

.single-image img{

width:100%;
border-radius:10px;
margin-bottom:25px;

}

/* TITLE */

.widget-title{

font-size:22px;
font-weight:700;

color:#0b2545;

margin-bottom:18px;

position:relative;

}

.widget-title::after{

content:"";

width:40px;
height:3px;

background:#2f6fed;

display:block;

margin-top:8px;

border-radius:5px;

}

/* FORCE SEARCH INPUT + BUTTON SAME LINE */

.widget_search form{

display:flex;

align-items:center;

gap:10px;

}

/* INPUT */

.widget_search input[type="search"]{

flex:1;

padding:12px 15px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}

/* BUTTON */

.widget_search input[type="submit"]{

background:#2f6fed;

color:#fff;

border:none;

padding:12px 18px;

border-radius:8px;

font-weight:600;

cursor:pointer;

white-space:nowrap;

}

/* ===== FINAL SEARCH INLINE FIX ===== */

.widget_search form{

display:flex !important;

flex-direction:row !important;

align-items:center !important;

gap:10px;

width:100%;

}

/* INPUT */

.widget_search input[type="search"]{

flex:1;

margin:0;

}

/* =========================
BLOG LAYOUT
========================= */

.blog-section{
padding:60px 0;
}

.blog-layout{
display:grid;
grid-template-columns:70% 30%;
gap:40px;
align-items:start;
}

.blog-main{
width:100%;
background:transparent;
padding:0;
box-shadow:none;
border-radius:0;
}

@media(max-width:992px){
.blog-layout{
grid-template-columns:1fr;
}
}

/* =========================
BLOG HERO
========================= */

.blog-hero{

background:
linear-gradient(
rgba(11,37,69,0.85),
rgba(11,37,69,0.85)
),
url("assets/blog-banner.jpg");

background-size:cover;
background-position:center;

color:white;
padding:90px 20px;
text-align:center;
margin-bottom:50px;

}

.blog-hero h1{
font-size:42px;
font-weight:700;
margin-bottom:10px;
}

.blog-hero p{
color:#dbe4ff;
font-size:15px;
}

/* =========================
POST CONTENT
========================= */

.single-title{
font-size:36px;
font-weight:700;
margin-bottom:15px;
color:#0b2545;
}

.single-meta{
font-size:14px;
color:#6b7280;
margin-bottom:20px;
}

.single-image img{
width:100%;
border-radius:12px;
margin-bottom:25px;
}

.single-content{
font-size:17px;
line-height:1.8;
color:#444;
}

/* =========================
SIDEBAR
========================= */

.blog-sidebar{
display:flex;
flex-direction:column;
gap:30px;
padding-left:20px;
background:transparent;
}

/* WIDGET TITLE */

.widget-title{
font-size:22px;
font-weight:700;
color:#0b2545;
margin-bottom:18px;
position:relative;
}

.widget-title::after{
content:"";
width:40px;
height:3px;
background:#2f6fed;
display:block;
margin-top:8px;
border-radius:5px;
}

/* WIDGET LIST */

.sidebar-widget ul{
list-style:none;
padding:0;
margin:0;
}

.sidebar-widget ul li{
padding:12px 0;
border-bottom:1px solid #f1f1f1;
}

.sidebar-widget ul li:last-child{
border-bottom:none;
}

.sidebar-widget ul li a{
text-decoration:none;
color:#333;
font-weight:500;
transition:0.3s;
}

.sidebar-widget ul li a:hover{
color:#2f6fed;
padding-left:5px;
}

/* =========================
SEARCH BAR
========================= */

.widget_search form{
display:flex;
align-items:center;
gap:10px;
width:100%;
}

.widget_search input[type="search"]{
flex:1;
padding:12px 15px;
border-radius:8px;
border:1px solid #ddd;
font-size:15px;
}

.widget_search input[type="submit"]{
background:#2f6fed;
color:white;
border:none;
padding:12px 18px;
border-radius:8px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.widget_search input[type="submit"]:hover{
background:#1f57c8;
}

/* REMOVE WHITE BOX LOOK */

.sidebar-widget,
.widget,
.wp-block-group{
background:transparent !important;
box-shadow:none !important;
border-radius:0 !important;
padding:0 !important;
margin-bottom:30px;
}

/* ===== FINAL SEARCH FORM FIX ===== */

.search-form{

display:flex;

align-items:center;

gap:10px;

width:100%;

}

.search-form input[type="search"]{

flex:1;

padding:12px 15px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}

.search-form input[type="submit"]{

background:#2f6fed;

color:white;

border:none;

padding:12px 18px;

border-radius:8px;

font-weight:600;

cursor:pointer;

white-space:nowrap;

transition:0.3s;

}

.search-form input[type="submit"]:hover{

background:#1f57c8;

}

/* ===== ABSOLUTE SEARCH FIX ===== */

.blog-sidebar .search-form{

display:flex !important;

align-items:center !important;

width:100% !important;

}

.blog-sidebar .search-form input[type="search"]{

flex:1 !important;

width:100% !important;

min-width:0 !important;

padding:12px 15px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}

.blog-sidebar .search-form input[type="submit"]{

margin-left:10px;

background:#2f6fed;

color:#fff;

border:none;

padding:12px 18px;

border-radius:8px;

font-weight:600;

cursor:pointer;

white-space:nowrap;

}

/* ===== EXACT FIX FOR YOUR SEARCH STRUCTURE ===== */

.wp-block-search{

display:flex !important;

flex-direction:row !important;

align-items:center !important;

gap:10px;

width:100%;

}

/* INNER WRAPPER */

.wp-block-search__inside-wrapper{

display:flex !important;

flex-direction:row !important;

align-items:center !important;

gap:10px;

width:100%;

}

/* INPUT */

.wp-block-search__input{

flex:1 !important;

width:100% !important;

padding:12px 15px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}

/* BUTTON */

.wp-block-search__button{

background:#2f6fed;

color:white;

border:none;

padding:12px 18px;

border-radius:8px;

font-weight:600;

cursor:pointer;

white-space:nowrap;

}

/* ===== FINAL SIDEBAR SEARCH DESIGN ===== */

.blog-sidebar .wp-block-search{

width:100%;

}

/* wrapper */

.blog-sidebar .wp-block-search__inside-wrapper{

display:flex;

align-items:center;

gap:10px;

width:100%;

}

/* input */

.blog-sidebar .wp-block-search__input{

flex:1;

width:100%;

padding:12px 15px;

border-radius:8px;

border:1px solid #ddd;

font-size:15px;

}

/* button */

.blog-sidebar .wp-block-search__button{

background:#2f6fed;

color:white;

border:none;

padding:12px 18px;

border-radius:8px;

font-weight:600;

cursor:pointer;

white-space:nowrap;

}

/* spacing under title */

.blog-sidebar .wp-block-search label{

display:none;

margin-bottom:10px;

font-weight:600;

color:#0b2545;

}

/* ============================= */
/* BLOG LAYOUT */
/* ============================= */

.blog-section {
    padding: 60px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* ============================= */
/* BLOG GRID (LIST PAGE) */
/* ============================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch; /* IMPORTANT */
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 220px;   /* SAME HEIGHT FOR ALL */
    overflow: hidden;
    border-radius: 12px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* IMPORTANT */
}

.blog-content {
    flex: 1;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 14px;
    color: #6b21a8;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    color: #1e293b;
}

.blog-title a:hover {
    color: #2563eb;
}

.blog-date {
    margin-top: auto; /* PUSH TO BOTTOM */
    font-size: 14px;
    color: #64748b;
}

/* ============================= */
/* SINGLE POST */
/* ============================= */

.single-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.blog-hero {
    background: #334a63;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 36px;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-meta {
    color: #cbd5f5;
    font-size: 15px;
}

/* ============================= */
/* SIDEBAR */
/* ============================= */

.blog-sidebar {
    width: 100%;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ============================= */
/* SEARCH BAR */
/* ============================= */

.sidebar-widget form {
    display: flex;
    gap: 10px;
}

.sidebar-widget input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.sidebar-widget input[type="submit"] {
    padding: 10px 18px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar-widget input[type="submit"]:hover {
    background: #1d4ed8;
}

/* ============================= */
/* RECENT POSTS */
/* ============================= */

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: #1e293b;
    font-size: 15px;
}

.sidebar-widget ul li a:hover {
    color: #2563eb;
}

/* ============================= */
/* RELATED POSTS */
/* ============================= */

.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.related-posts ul {
    padding-left: 18px;
}

.related-posts li {
    margin-bottom: 10px;
}

.related-posts a {
    text-decoration: none;
    color: #2563eb;
}

.main-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0; /* SAME HEIGHT */
}

/* CONTAINER */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAV CONTAINER */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo img {
    height: 36px;
}

/* MENU */

nav {
    display: flex;
    align-items: center;
    gap: 50px; /* MENU SPACING */
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: #1e293b;
    font-size: 16px;
}

/* BUTTON */

.nav-btn {
    background: #2563eb;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
}

/* TOP BAR */

.top-bar {
    background: #0b2a4a;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

/* REMOVE WORDPRESS ADMIN BAR SPACE */

body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html {
    margin-top: 0 !important;
}

/* FORCE HERO TITLE SIZE FIX */

.hero .hero-text h1 {
    font-size: 42px !important;
    line-height: 1.3 !important;
}


div.founder-content p{
    margin-bottom:20px;
}

/* Section background colors */

.section-white{
    background:#ffffff;
}

.section-gray{
    background:#f4f6f9;
}

/* spacing */

.services-section{
    padding:90px 0;
}

.services-section:last-of-type{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 60px;
}

/* Ensure footer sticks correctly */

.site-footer{
    margin-top: 0;
}

.services-section:last-of-type{
    padding-bottom: 0px;
}

.footer-container {
  align-items: start; 
}

.footer-links h4,
.footer-contact h4 {
  margin-top: 10px;
}


.contact-section {
    padding: 80px 0;
    background: #f4f6f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-item {
    margin-top: 20px;
}

.contact-form {
    width: 100%;
    max-width: 500px;   
    margin-left: 20px;
    margin-right: 20px;  
}

.form-group {
    margin-bottom: 15px;
    margin-right: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.submit-btn {
    background: #2f6fed;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #1f57c8;
}

/* =========================================
GLOBAL RESPONSIVE SYSTEM
Add this at END of style.css
========================================= */

/* =========================
TABLET (≤ 992px)
========================= */

@media (max-width: 992px) {

    .container {
        width: 95%;
        padding: 0 15px;
    }

    /* NAVBAR */

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    /* HERO */

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    /* ABOUT */

    .about-wrapper {
        flex-direction: column;
    }

    /* SERVICES */

    .services-wrapper {
        flex-direction: column;
    }

    .services-images {
        height: auto;
    }

    /* WHY SECTION */

    .why-wrapper {
        flex-direction: column;
    }

    /* FOUNDER */

    .founder-wrapper {
        flex-direction: column;
    }

    /* CTA */

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    /* GRID FIXES */

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
MOBILE (≤ 768px)
========================= */

@media (max-width: 768px) {

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 15px;
    }

    /* TOP BAR */

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    /* NAVBAR */

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    /* HERO */

    .hero-text {
        text-align: center;
    }

    /* GRIDS */

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        margin: 0;
    }

    /* FOOTER */

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

}


/* =========================
SMALL MOBILE (≤ 480px)
========================= */

@media (max-width: 480px) {

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-tag {
        font-size: 12px;
    }

    .cta-btn,
    .btn-primary,
    .about-btn {
        width: 100%;
        text-align: center;
    }

}

/* =========================
HAMBURGER MENU
========================= */

.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu {
        flex-direction: column;
        background: white;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

}

/* =========================
MOBILE NAVBAR FIX
========================= */

@media (max-width: 768px) {

    .nav-container {
        display: flex;
        flex-direction: row;        /* keep logo and hamburger in same line */
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;            /* allow button to go next line */
    }

    .logo {
        flex: 1;
    }

    .hamburger {
        display: block;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        margin-left: auto;
    }

    /* CONTACT BUTTON */

    .nav-btn {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    /* MENU DROPDOWN */

    .nav-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        background: white;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

}


@media (max-width: 768px) {

    .nav-btn {
        display: none;
    }

}

@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

}

/* =========================
HAMBURGER ICON ANIMATION
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0f2a44;
    transition: 0.3s;
}

/* Transform to X */

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* =========================
SMOOTH SLIDE DOWN MENU
========================= */

.nav-menu {
    transition: all 0.3s ease;
}

/* MOBILE */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background: white;
        width: 100%;
        transition: max-height 0.35s ease;
    }

    .nav-menu.active {
        max-height: 300px;
    }

}

/* =========================
FIX BUTTON OVERFLOW
========================= */

.about-btn,
.btn-primary,
.cta-btn {
    box-sizing: border-box;
    max-width: 100%;
}

/* MOBILE */

@media (max-width: 768px) {

    .about-btn,
    .btn-primary,
    .cta-btn {
        width: 100%;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }

}

/* =========================
FIX MOBILE MENU TO SINGLE COLUMN
========================= */

@media (max-width: 768px) {

    .nav-menu {
        display: flex;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

}

/* =========================
FINAL CLEAN MOBILE MENU FIX
========================= */

@media (max-width: 768px) {

    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: #ffffff;
        z-index: 9999;

        /* hidden by default */

        display: flex;
        flex-direction: column;

        max-height: 0;
        overflow: hidden;

        padding: 0;
        border: none;

        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .nav-menu a {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

}