/* ================= VARIABLES ================= */
:root {
  --orange: #f5902f;
  --gradient: linear-gradient(135deg, #f2673a, #fda60e);
  --black: #0b0b0b;
  --dark: #111;
  --white: #ffffff;
  --gray: #bdbdbd;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 14px 130px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
}

.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(245,144,47,0.45);
}

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--gradient);
  color: #000;
}

/* ================= HERO ================= */
.hero {
  min-height: 60vh;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../assets/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 100px 80px ; */
  padding-top: 30px;
  padding-inline: 70px;
  /* padding-bottom: 100px; */
}


.navbar {
  display: flex;
  justify-content: space-between;
  padding-right: 60px;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center; /* baseline alignment */
  /* gap: px; */
  font-weight: 800;
}

.logo img {
  width: 120px;
  display: block;
}

.logo span {
  color: var(--white);
  font-size: 18px;
  letter-spacing: 1px;

  /* Move text slightly UP */
  transform: translateY(22px);
}

.hero-content-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 60px; /* Adjust this value based on navbar height */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content-centered h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  min-height: 140px;
  text-align: center;
}

.hero-content-centered .hero-sub {
  margin: 21px auto 44px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  text-align: center;
}


.hero-content-centered .hero-goals {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 21px 0 44px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  flex-wrap: wrap;
}



/* ================= RESPONSIVE CENTERED HERO ================= */

@media (max-width: 1200px) {
  .hero-content-centered h1 {
    font-size: 52px;
  }
  
  .hero-content-centered .hero-sub {
    font-size: 20px;
    max-width: 700px;
  }
}

@media (max-width: 992px) {
  .hero-content-centered {
    margin-top: 40px;
  }
  
  .hero-content-centered h1 {
    font-size: 44px;
    min-height: 110px;
  }
  
  .hero-content-centered .hero-sub {
    font-size: 18px;
    max-width: 600px;
  }
  
  .hero-content-centered .hero-goals {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content-centered {
    margin-top: 30px;
  }
  
  .hero-content-centered h1 {
    font-size: 38px;
  }
  
  .hero-content-centered .hero-sub {
    font-size: 17px;
    max-width: 500px;
  }
  
  .hero-content-centered .hero-goals {
    gap: 25px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .hero-content-centered {
    margin-top: 20px;
  }
  
  .hero-content-centered h1 {
    font-size: 32px;
    min-height: 90px;
  }
  
  .hero-content-centered .hero-sub {
    font-size: 16px;
    max-width: 100%;
  }
  
  .hero-content-centered .hero-goals {
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .hero-content-centered h1 {
    font-size: 28px;
  }
  
  .hero-content-centered .hero-sub {
    font-size: 15px;
  }
  
  .hero-content-centered .hero-goals {
    font-size: 15px;
  }
}




/* ================= ROTATING TEXT ================= */
.rotating-text::after {
  content: "MARKETING PARTNER";
  /* font-style: italic; */
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rotateText 8s infinite;
}

@keyframes rotateText {
  0% { content: "MARKETING PARTNER"; }
  25% { content: "GROWTH CATALYST"; }
  50% { content: "IMPACT PARTNER"; }
  75% { content: "BRAND ARCHITECT"; }
  100% { content: "MARKETING PARTNER"; }
}




/* ================= HERO LAYOUT ================= */


/* ================= HERO FORM ================= */
.hero-form {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 16px;
  color: #000;
  max-width: 380px;
}

.hero-form h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.hero-form h3 span {
  color: var(--orange);
}

.form-sub {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

.hero-form textarea {
  resize: none;
  height: 80px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  margin-top: 3px;          /* aligns with text */
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}

.hero-form .btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
}




.hero-form {
  animation: heroFade 1.2s ease forwards;
}

@keyframes heroSlide {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.animate {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}



/*============================== media queriesssssss */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .hero-form {
    max-width: 100%;
  }

  .hero-goals {
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 576px) {
  .btn {
    padding: 14px 40px;
  }
}












@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= CTA ================= */
.cta {
  padding: 100px 80px;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url("../assets/cta.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.cta-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.cta-content {
  text-align: left;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.2;
}


.cta-content .scaleup {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.cta-content p {
  color: var(--white);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 650px;
}



/* ================= CTA FORM ================= */
.cta-form {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 20px;
  color: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.cta-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-form h3 span {
  color: var(--orange);
}

.cta-form .form-sub {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #555;
  letter-spacing: 0.5px;
}

.cta-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 144, 47, 0.2);
  background: #fff;
}

.cta-form textarea {
  resize: none;
  height: 100px;
  min-height: 100px;
}

.cta-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  cursor: pointer;
  margin: 10px 0 5px;
}

.cta-form .checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.cta-form .btn {
  margin-top: 15px;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Form message styling */
#formMessage {
  margin-top: 15px;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  display: none;
}



/* ================= RESPONSIVE CTA ================= */

@media (max-width: 1200px) {
  .cta {
    padding: 80px 60px;
  }
  
  .cta-wrapper {
    gap: 60px;
  }
  
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 42px;
  }
  
  .cta-content p {
    font-size: 19px;
  }
}

@media (max-width: 992px) {
  .cta {
    padding: 70px 40px;
  }
  
  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .cta-content {
    text-align: center;
  }
  
  .cta-content p {
    margin: 0 auto 30px;
    text-align: center;
  }
  
  .cta-form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .cta {
    padding: 60px 30px;
  }
  
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 32px;
  }
  
  .cta-content p {
    font-size: 18px;
  }
  
  .cta-form {
    padding: 30px 25px;
  }
  
  .cta-form h3 {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .cta {
    padding: 50px 20px;
  }
  
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 28px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-form {
    padding: 25px 20px;
  }
  
  .cta-form h3 {
    font-size: 20px;
  }
  
  .cta-form input,
  .cta-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .cta-form .btn {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 24px;
  }
  
  .cta-form {
    padding: 20px 15px;
  }
  
  .cta-form h3 {
    font-size: 18px;
  }
}





/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px;
  }

  .hero-content h1 {
    font-size: 44px;
     min-height: 110px;
  }
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}


/* Media queries */


/* ================= ENHANCED RESPONSIVENESS ================= */
@media (max-width: 1200px) {
  .hero-wrapper {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 52px;
  }
  
  .service-grid {
    gap: 30px;
  }
  
  .value-container {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 30px 40px;
    min-height: auto;
  }
  
  .navbar {
    padding-right: 0;
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-content {
    margin-top: 40px;
    text-align: center;
  }
  
  .hero-goals {
    justify-content: center;
    gap: 20px;
  }
  
  .hero-form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 0;
  }
  
  .value-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .value-image img {
    max-width: 400px;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    padding-inline: 40px;
  }
  
  .process-step.reverse {
    direction: ltr;
  }
  
 
  .value-section {
    padding: 70px 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 30px;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .hero-sub {
    font-size: 18px;
  }
  
  .hero-goals {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  

  .value-content h2,
  .process h2,
  .cta h2 {
    font-size: 36px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .process-step {
    padding-inline: 20px;
  }
  
  .text h3 {
    font-size: 32px;
  }
  
  .cta h2,
  .scaleup {
    font-size: 36px;
  }

}

@media (max-width: 576px) {
  .hero {
    padding: 20px;
  }
  
  .hero-content h1 {
    font-size: 32px;
    min-height: 90px;
  }
  
  .hero-sub {
    font-size: 16px;
    margin: 15px 0 30px;
  }
  
  .logo span {
    font-size: 14px;
    transform: translateY(0);
    display: block;
    margin-top: 5px;
  }
  
  .logo {
    flex-direction: column;
    text-align: center;
  }
  
  .btn {
    padding: 14px 40px;
    width: 100%;
    text-align: center;
  }
  

  .value-content h2,
  .process h2,
  .cta h2 {
    font-size: 28px;
  }
  
  .scaleup {
    font-size: 28px;
  }
  
 
  .value-section {
    padding: 50px 20px;
  }
  
  .service-header {
    font-size: 16px;
    width: auto;
  }
  
  .text h3 {
    font-size: 26px;
  }
  
  .cta {
    padding: 40px 20px;
  }
  
  .process-step {
    padding-inline: 10px;
  }
  
  
}

/* Fix for very small screens */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 28px;
  }
  

  .value-content h2,
  .process h2,
  .cta h2 {
    font-size: 24px;
  }
  
  .text h3 {
    font-size: 22px;
  }
  
  .service-card {
    padding: 25px 15px;
  }
}



/* Animations */




/* ================= SCROLL ANIMATIONS ================= */
.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for service cards */
.service-card.animate-hidden {
  transition-delay: calc(var(--index, 0) * 0.1s);
}

/* Add delay for process steps */
.process-step.animate-hidden {
  transition-delay: 0.2s;
}

/* Hero animation on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-form {
  animation: fadeInUp 1s ease-out 0.3s both;
}





/* ================= FOOTER ================= */
.footer {
  background: #ffffff;
  padding: 50px 80px 20px;
  border-top: 1px solid #eee;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* LEFT: LOGO */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 1px;
}

/* RIGHT: CONTACT & SOCIAL */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Contact Info */
.contact-info p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.contact-info p i {
  color: #f5902f;
  width: 20px;
  text-align: center;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5902f;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(245, 144, 47, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 10px;
}

.footer-bottom p {
  font-size: 14px;
  color: #333;
  /* margin-bottom: 10px; */
}

.footer-links {
  font-size: 14px;
}

.footer-links a {
  color: #f5902f;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 5px;
}

.footer-links a:hover {
  color: #d97a1f;
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-left, .footer-right {
    align-items: center;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
    text-align: center;
  }
  
  .contact-info p {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info p {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-links a {
    margin: 0;
  }
}


#typewriter-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  min-height: 1.2em; /* Prevents layout shift */
}

.cursor {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: blink 1s infinite;
  font-weight: 700;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}


.footer-contact-btn {
  padding: 12px 30px !important;
  font-size: 14px !important;
  margin-bottom: 20px !important;
  width: auto !important;
  display: inline-block !important;
}

/* Responsive adjustments for footer button */
@media (max-width: 992px) {
  .footer-contact-btn {
    margin: 0 auto 20px !important;
  }
}

@media (max-width: 768px) {
  .footer-contact-btn {
    padding: 12px 25px !important;
  }
}

/* ================= FAQ ================= */
.faq-section {
  background: #ffffff;
  padding: 100px 80px;
}

.faq-section h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 60px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #000;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-question .icon {
  color: var(--orange);
  font-size: 24px;
  font-weight: 900;
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
  line-height: 1;
}

/* Remove the rotate transform - this was causing the tilt */
.faq-item.active .icon {
  transform: none !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #444;
  line-height: 1.7;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Better hover effect for FAQ items */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item.active {
  border-bottom: 2px solid var(--orange);
}

.faq-question span:first-child {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .faq-section {
    padding: 80px 40px;
  }
  
  .faq-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 30px;
  }
  
  .faq-section h2 {
    font-size: 32px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: 18px 0;
  }
  
  .faq-question .icon {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .faq-section {
    padding: 50px 20px;
  }
  
  .faq-section h2 {
    font-size: 24px;
  }
  
  .faq-question {
    font-size: 15px;
    padding: 16px 0;
  }
  
  .faq-answer p {
    font-size: 14px;
  }
}






/* ================= NAVBAR MENU ================= */
.nav-menu {
  display: flex;
 gap: 25px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--orange);
  background: rgba(245, 144, 47, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--orange);
  /* background: rgba(245, 144, 47, 0.1); */
}


.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  animation: slideIn 0.3s ease forwards;
}

/* Optional dropdown for Industries */
.industries-dropdown {
  position: relative;
}

.industries-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  min-width: 200px;
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(245, 144, 47, 0.1);
  color: var(--orange);
}


@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 30px;
  }
}



/* ================= RESPONSIVE NAVBAR ================= */
/* For 1200px */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 18px;
  }

  .navbar {
        flex-direction: column;
        gap: 20px;
    }

  .hero {
    min-height: 35vh;
  }
}

/* For 992px */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-menu {
    gap: 16px;
  }
}

/* For 768px */
@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 15px;
    padding: 6px 12px;
  }
}

/* For 576px */
@media (max-width: 576px) {
  .nav-menu {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    font-size: 14px;
    padding: 5px 10px;
  }
  
  .logo span {
    font-size: 12px;
  }
}

/* For 400px */
@media (max-width: 400px) {
  .nav-menu {
    gap: 5px;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 4px 8px;
  }
}








/* Inner orange dot */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #f5902f;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Outer ring */
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(245, 144, 47, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border 0.25s ease;
}

/* Click ripple */
.cursor-ring.ripple {
  animation: cursorRipple 0.6s ease-out;
}

@keyframes cursorRipple {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  to {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

/* Disable on mobile */
@media (max-width: 992px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}



* {
  scrollbar-width:auto;
  scrollbar-color: #f5902f #0b0b0b;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #f2673a, #fda60e);
  border-radius: 10px;
  border: 3px solid #0b0b0b;
  transition: background 0.3s ease;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #fda60e, #f2673a);
}

/* Active (on click) */
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #f5902f, #fda60e);
}





/* ================= RECENT POST SECTION ================= */
.recent-post {
  background: var(--white);
  padding: 80px 80px;
}

.recent-post-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.recent-post-header .divider {
  width: 100%;
  height: 2px;
  background: #000;
  margin-bottom: 50px;
}

/* CARD LAYOUT */
.recent-post-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.recent-post-image {
  display: flex;
  align-items: center;
}

.recent-post-image img {
  width: 100%;
  height: auto;          /* ✅ key fix */
  max-height: 420px;     /* optional safety cap */
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}


/* CONTENT */
.recent-post-content {
  max-width: 600px;
}

.post-date {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 14px;
}

.post-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.post-excerpt {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* BUTTON */
.post-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 144, 47, 0.35);
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .recent-post {
    padding: 70px 50px;
  }

  .post-title {
    font-size: 38px;
  }
}

/* iPad / Small Tablets */
@media (max-width: 768px) {
  .recent-post {
    padding: 60px 30px;
  }

  .recent-post-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recent-post-content {
    text-align: center;
    margin: 0 auto;
  }

  .post-title {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .recent-post {
    padding: 50px 20px;
  }

  .post-title {
    font-size: 28px;
  }

  .post-excerpt {
    font-size: 16px;
  }

  .post-btn {
    width: 100%;
    text-align: center;
  }
}



/* ================= BLOG GRID SECTION ================= */

.blog-grid-section {
  background: #ffffff;
  padding: 80px 80px;
}

.blog-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= BLOG CARD ================= */

.blog-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(245, 144, 47, 0.25);
}

/* ================= IMAGE ================= */

.blog-card-image {
  width: 100%;
}

.blog-card-image img {
  width: 100%;
  height: auto;              /* height adapts to content */
  max-height: 260px;
  object-fit: cover;         /* clean crop */
  object-position: center;   /* crop from center */
  display: block;
}

/* ================= CONTENT ================= */

.blog-card-content {
  padding: 26px 26px 30px;
}

.blog-date {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--orange);
  margin-bottom: 14px;
}

.blog-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ================= BUTTON ================= */

.blog-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(245, 144, 47, 0.45);
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .blog-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid-section {
    padding: 60px 40px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .blog-grid-container {
    grid-template-columns: 1fr;
  }

  .blog-grid-section {
    padding: 50px 20px;
  }

  .blog-title {
    font-size: 20px;
  }
}



/* Filter Styles */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.category-filter, .search-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
}

.category-filter:focus, .search-input:focus {
  outline: none;
  border-color: #007bff;
}

.search-container {
  position: relative;
}

.search-input {
  padding-right: 45px;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.clear-filters-btn {
  padding: 12px 24px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.3s;
}

.clear-filters-btn:hover {
  background: #545b62;
}

/* Blog Card Enhancements */
.blog-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #007bff;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.blog-read-time {
  background: #fff7f0;
  padding: 3px 10px;
  border-radius: 12px;
  color: var(--orange);
  font-weight: 600;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
  min-height: 3.6em; /* Approx 2 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 4.8em; /* Approx 3 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* No blogs / Error messages */
.no-blogs-container,
.error-container,
.no-results-message {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.no-blogs-container i,
.error-container i,
.no-results-message i {
  font-size: 48px;
  color: #6c757d;
  margin-bottom: 20px;
}

.no-blogs-container h3,
.error-container h3,
.no-results-message h3 {
  color: #333;
  margin-bottom: 10px;
}

.no-blogs-container p,
.error-container p,
.no-results-message p {
  color: #666;
  max-width: 500px;
  margin: 0 auto 20px;
}

.retry-btn {
  padding: 12px 30px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.3s;
}

.retry-btn:hover {
  background: #0056b3;
}

/* Loading state */
.blog-grid-container.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  grid-column: 1 / -1;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive filters */
@media (max-width: 768px) {
  .blog-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .blog-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .blog-tags {
    width: 100%;
  }
}

/* Pagination styles (optional) */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  grid-column: 1 / -1;
}

.page-btn {
  padding: 10px 18px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.3s;
}

.page-btn:hover {
  background: #e9ecef;
}

.page-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}