:root {
  --dark-brown: #3b1c07;
  --saffron: #d97706;
  --pearl-white: #f9f7f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quattrocento', serif;

}

body {
  background: url("images/bg.webp") center/cover no-repeat;

}
html, body {
  margin: 0;
  padding: 0;
}
/* =============preloader start============ */
/* Preloader full screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3b1c07; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader container */
.loader {
  position: relative;
  width: 150px;
  height: 150px;
}

/* Logo in the center */
.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: auto;
  z-index: 2;
}

/* Rotating circle */
.loader-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotateCircle 1s linear infinite;
}

/* Animation */
@keyframes rotateCircle {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===============preloader end=============== */
/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Wrapper */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 40px;
  gap: clamp(40px, 5vw, 80px); /* space between logo & nav */
}

/* Scrolled background */
.nav-wrapper.scrolled {
  background-color: #3b1c07;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Logo */
.logo img {
  height: 80px;
  flex-shrink: 0;
}

/* Nav Links */
.nav-group {
  display: flex;
  flex: 1; /* occupies remaining navbar width */
  justify-content: space-evenly; /* equal spacing */
  align-items: center;
  margin-left: 40px; /* space after logo */
}

.nav-group a {
  text-decoration: none;
  color: var(--pearl-white);
  font-size: 20px;
  font-weight: 500;
  position: relative;
}

/* Hover underline */
.nav-group a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s ease;
}

.nav-group a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--pearl-white);
    margin: 1px 0;
    border-radius: 2px;
}

/* ================= RESPONSIVE ================= */


@media (max-width: 1023px) {
  .nav-wrapper {
    justify-content: space-between;
  }

  .nav-group {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #3b1c07;
    flex-direction: column;
    gap: 22px;
    padding: 20px 0;
    display: none;
  }

  .nav-group.active {
    display: flex;
    margin-left: auto;
  }

  .hamburger {
    display: flex;
  }
}

/* ====================== Hero Section title,images and sliding effect styling starts ====================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Sliding container */
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 1.2s ease-in-out;
}

.hero-slide {
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  object-fit:cover;        
  display: block;
}

.hero-branding {
  position: absolute;
  left: 8%;
  bottom: 24%;
  max-width: 720px;
  color: #ffffff;
  z-index: 20;
  pointer-events: none;
}

/* Brand Name */
.hero-branding h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: opacity 0.4s ease;
}

/* Tagline */
.hero-branding .tagline {
  font-size: 22px;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  opacity: 0.95;
  transition: opacity 0.4s ease;
}

/* Divider line */
.hero-branding .divider {
  display: block;
  width: 80px;
  height: 3px;
  background: #d97706; /* premium saffron accent */
  margin-bottom: 18px;
}

/* Credibility text */
.hero-branding .credibility {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.92;
   transition: opacity 0.4s ease;
}
/* hero text tile styling on the image */
  .hero-category-title {
  display: none;
  font-size: 35px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color:#ffffff;
}


.hero-branding.category-mode {
  left: 45%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
}

/* ====================== Hero Section titles,images and sliding effect styling ends ====================== */


/* ====================== first section agri-section-styling starts ======================*/
.agri-section {
  padding: 80px 20px;
}

.agri-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start; /* align top edges */
}


/* LEFT SIDE */
.agri-tagline {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 12px;
}

.agri-title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.agri-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.agri-stats li {
  font-size: 20px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 12px;
}

.agri-stats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #0b6b3a;
  border-radius: 50%;
}

.agri-description {
  font-size: 18px;
  line-height: 1.7;
}
/* agri video */

/* Remove fixed height */
.agri-image video {
  width: 100%;
  height: 100%; /* match container height */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: scale(1);
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  display: block;
}
.agri-image {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  margin-top: 80px; /* adjust this value as needed */
}

/* Hover Effect remains same */
.agri-image video:hover {
  transform: scale(1.05) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* agri-section-styling ends */


/* About vardana styling starts  */
.about-vardana {
  padding: 0px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Content */
.about-tagline {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 14px;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  /* color: #555; */
  margin-bottom: 18px;
}

/* About Right Images */
.about-images {
  position: relative;
  max-width: 800px; /* increased from 600px */
  margin: 0 auto;
    perspective: 1200px;
}

/* Main Image */
.image-main img {
  width: 100%;
  height: 500px; /* increased from 420px */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  display: block;
   transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Hover state */
.image-main img:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

/* Secondary Video */
.image-secondary {
position: absolute;
    bottom: -50px;
    right: -120px;
    width: 100%;
    /* left: 10px; */
    z-index: 2;
    border: 6px solid #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Video inside secondary */
.image-secondary video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}


/* Video inside secondary */
.image-secondary video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit; /* matches container radius */
}
@media (max-width: 768px) {
  .image-secondary {
    width: 70%;
    bottom: -30px;
  }
}

@media (max-width: 480px) {
  .image-secondary {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 20px;
  }
  .image-main img {
    height: auto;
  }
}
@media (max-width: 768px) {
  .image-main img:hover {
    transform: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  }
}

/* About vardana styling ends  */

/* Products By Category Section */
.products-by-category {
  padding: 80px 40px 40px;
}

.products-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 50px;
  align-items: start;
}

/* Left Content */
.products-info {
  position: relative;
}

.products-title {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
}

.products-subtitle {
  display: block;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #000;
}

.products-description {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

.products-info-image img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

/* Right Grid */
.products-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Category Card */
.category-card {
  position: relative;
  height: 190px;
  overflow: hidden;
  cursor: pointer;
}

.category-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Overlay */
.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.category-overlay span {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Hover Effect */
.category-card:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
/* Tablet */
@media (max-width: 992px) {
  .products-wrapper {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .products-info {
    text-align: left;
  }

  .products-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
    .products-wrapper {
    gap: 10px; 
  }
  .products-by-category {
    padding: 25px 20px;
  }

  .products-title {
    font-size: 34px;
  }

  .products-description {
    font-size: 15px;
  }

  .products-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-card {
    height: 160px;
  }

  .products-info-image img {
    max-width: 220px;
  }
}
/* ==============================
   About the Founder – Title
================================ */
.founder-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px; 
}

.founder-tag {
  display: inline-block;
  background: #0c3c78;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.founder-heading h2 {
  font-size: 40px;
  font-weight: 700;
  position: relative;
}


.founder-heading p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-top: 18px;
}

/* ==============================
   Responsive
================================ */
@media (max-width: 600px) {
  .founder-heading h2 {
    font-size: 28px;
  }
}

.md-section {
  padding: 80px 20px;
  /* background: linear-gradient(135deg, #f8f9fb, #eef1f6); */
}

.md-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.md-image {
  height: 100%;
  display: flex;
}

/* Image */
.md-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* Content */
.md-content {
  /* background: #ffffff; */
  padding: 45px;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.md-label {
  display: inline-block;
  background: #0c3c78;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.md-content h2 {
  font-size: 32px;
  color: #0c3c78;
  margin-bottom: 10px;
}

.md-content h3 {
  font-size: 24px;
  color: #222;
  margin-bottom: 5px;
}

.md-designation {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.md-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

/* Signature */
.md-signature {
  margin-top: 25px;
  font-weight: 600;
  color: #0c3c78;
  font-size: 16px;
}

/* ==============================
   Responsive Design
================================ */
@media (max-width: 992px) {
  .md-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .md-content {
    padding: 35px 25px;
  }

  .md-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .md-section {
    padding: 60px 15px;
  }

  .md-content h2 {
    font-size: 24px;
  }

  .md-content h3 {
    font-size: 20px;
  }

  .md-text {
    font-size: 15px;
  }
}

/* Right Side content */
/* Desktop: content-based height, more presence */
@media (min-width: 1024px) {

  .md-container {
    grid-template-columns: 0.9fr 1.8fr;
    align-items: stretch;

     /* prevents forced stretching */
  }

  .md-content {
    padding: 65px 70px; /* increases visual size without fixed height */
  }

}

/* Desktop: reduce left image height */
@media (min-width: 1024px) {

  .md-image {
    align-items: center;   /* keeps image vertically centered */
  }

  .md-image img {
    height: auto;          /* removes full stretch */
    max-height: 450px; 
        /* controls image height */
    object-fit: cover;
    object-position: center 20%;
  }

}



/* ================= CERTIFICATIONS SECTION ================= */

.certifications-section {
  padding: 40px 20px 70px; /* reduced gap from previous section */
  /* background: #fafafa; */
}

.certifications-container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.certifications-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.certifications-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.certifications-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.cert-card {
  /* background: #fff; */
  padding: 34px 26px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-card i {
  font-size: 40px;
  margin-bottom: 18px;
  color: #77285b;
}

.cert-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Hover */
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* CTA */
.certifications-cta {
  text-align: center;
  margin-top: 45px;
}

.cert-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #77285b;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cert-btn:hover {
  background: #556b2f;
  transform: translateY(-2px);
}

/* ================= TABLET ================= */

@media (max-width: 992px) {

  .certifications-section {
    padding: 35px 20px 65px;
  }

  .certifications-header h2 {
    font-size: 30px;
  }

  .certifications-header p {
    font-size: 17px;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cert-card {
    padding: 28px 22px;
  }

  .cert-card i {
    font-size: 36px;
  }

  .certifications-cta {
    margin-top: 36px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

  .certifications-section {
    padding: 30px 15px 55px;
  }

  .certifications-header {
    margin-bottom: 36px;
  }

  .certifications-header h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .certifications-header p {
    font-size: 15px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cert-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .cert-card i {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .cert-card h4 {
    font-size: 15px;
  }

  .cert-card p {
    font-size: 13px;
  }

  .certifications-cta {
    margin-top: 28px;
  }

  .cert-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}


/* ================= MOBILE & TABLET RESPONSIVENESS STARTS================= */



/*  ================= hero section Mobile responsiveness  starts =================*/
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }
}

/* hero branding Responsive */

@media (max-width: 768px) {
  .hero-branding h1 {
    font-size: 42px;
  }

  .hero-branding .tagline {
    font-size: 18px;
  }

  .hero-branding .credibility {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-branding {
    left: 6%;
    bottom: 20%;
  }

  .hero-branding h1 {
    font-size: 34px;
  }

  .hero-branding .credibility {
    font-size: 20px;
  }
}
/* ================= hero section Mobile responsiveness  ends =================*/


/* ================= agri responsive starts ================= */
@media (max-width: 992px) {
  .agri-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* LEFT CONTENT FIRST */
  .agri-content {
    order: 1;
  }

  /* VIDEO SECOND */
  .agri-image {
    order: 1;
    margin-top: 0; /* optional: remove extra gap on mobile */
  }

  .agri-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .agri-section {
    padding: 60px 15px;
  }

  .agri-title {
    font-size: 26px;
  }

  .agri-stats li {
    font-size: 18px;
  }

  .agri-description {
    font-size: 18px;
  }
}
/* ================= agri responsive ends ================= */
/* ================= Responsiveness about-vardana starts ================= */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-images {
    order: 1;
  }

  .image-secondary {
    right: 20px;
  }
}

@media (max-width: 600px) {

  .about-images {
    position: relative;
  }
   .about-container {
    gap: 20px; /* reduced from 50px */
  }

  .about-content p {
    margin-bottom: 12px; /* slightly tighter text spacing */
  }

  .about-images {
    margin-top: 0; /* remove extra spacing above image */
  }
 

  .image-secondary {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 65%;
  }

  .image-secondary img {
    height: 140px;
    border-radius: 10px;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }
}

/* ================= Responsiveness about-vardana ends ================= */






/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  padding: 80px 20px;
  text-align: center;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f2937;
}

.section-subtitle {
  font-size: 19px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  /* background: #fff; */
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.profile img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f59e0b;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 20px;
}

.client-name {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.client-role {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.stars {
  color: #f59e0b;
  font-size: 18px;
}
/* ============ testimonial tab title responsiveness ============*/
@media (min-width: 769px) and (max-width: 1024px) {
  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 20px;
  }
}
/* ============ testimonial mobile title responsiveness ============*/
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }
}

/* ============================ FOOTER ============================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 90px 50px;
  text-align: center;

  min-height: 300px; /* ✅ forces background area on desktop */
}


/* Background */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/39511/purple-grapes-vineyard-napa-valley-napa-vineyard-39511.jpeg') center / cover no-repeat;
  filter: brightness(45%);
  z-index: 0;
    display: block;
}

.footer > * {
  position: relative;
  z-index: 1;
}

/* ============================ HEADING ============================ */
.footer-heading .sub-title {
  font-size: 26px; /* BIG */
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #fff;
}

.connection-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 50px;
}

.connection-container .line-image {
  width: 300px;
  filter: invert(1) brightness(2);
}

.connection-container .main-title {
  font-size: 64px; /* VERY BIG */
  font-weight: 400;
  letter-spacing: 3px;
  padding: 0 10px;
  color: #fff;
}

/* ============================ CONTENT ============================ */
.footer-content {
  margin-top: 70px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  text-align: left;
}

.footer-column {
  max-width: 360px;
}

/* Column Heading */
.footer-column h4 {
  font-size: 24px; /* BIG */
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

/* Text & Links */
.footer-column p,
.footer-column a {
  font-size: 18px; /* CLEARLY VISIBLE */
  line-height: 1.9;
  color: #fff;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-column ul li {
  list-style: none;
}

/* Icons */
.footer-column a i {
  font-size: 18px;
}



/* ================================
   Keep underline hover ONLY for Quick Links
================================ */
.footer-column ul li a {
  position: relative;
  text-decoration: none;
}

.footer-column ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

/* ============================ FOOTER BOTTOM ============================ */
.footer-bottom {
  margin-top: 40px;
  padding: 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
  text-align: center;
  overflow-wrap: break-word;
}

/* ========================= DEVELOPER CREDIT STARTS ======================== */


/* Footer Paragraph Spacing */

.footer-bottom p {
  margin: 8px 0;
}

/* ========================= DEVELOPER CREDIT ======================== */

/* Credit Link Style */

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
}

/* Icon Style */

.footer-bottom .dev-icon {
  font-size: 26px;
  transition: transform 0.3s ease;
}

/* Hover Effects */

.footer-bottom a:hover {
  color: #dac7bf;
}

.footer-bottom a:hover .dev-icon {
  transform: scale(1.15);
}

/* Underline Animation (Desktop Only) */

.footer-bottom a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dac7bf;
  transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
  width: 100%;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

  .footer-bottom {
    font-size: 13px;
    padding: 18px 12px;
  }

  .footer-bottom a {
    font-size: 14px;
  }

  .footer-bottom .dev-icon {
    font-size: 22px;
  }

  /* Disable underline on mobile */

  .footer-bottom a::after {
    display: none;
  }
}

/* ========================= DEVELOPER CREDITS ENDS ========================= */

/* ============================ RESPONSIVE ============================ */
@media (max-width: 768px) {
  .footer {
    padding: 60px 25px;
  }

  .connection-container .main-title {
    font-size: 42px;
  }

  .connection-container .line-image {
    width: 140px;
  }

  .footer-column h4 {
    font-size: 20px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
  }

  .footer::before {
    background-image: url('https://images.pexels.com/photos/4451867/pexels-photo-4451867.jpeg');
  }

  .footer {
    padding: 30px 20px;
  }

  .footer-columns {
    gap: 30px;
    text-align: center;
    left: 0 !important;
  }

  

  .footer-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

    .connection-container {
        margin: 10px 0 20px;
    }

    .connection-container .main-title {
        font-size: 32px;
    }

    .connection-container .line-image.left {
        width: 100px;
        margin-right: -14px;
    }

    .connection-container .line-image.right {
        width: 100px;
        margin-left: -17px;
    }

  .footer-bottom {
    font-size: 10px;
    padding: 15px 10px;
    flex-direction: column;
  }


}
/* BACK TO TOP STYLING*/
#backToTop {
  position: fixed;
  bottom: 40px;   
  right: 30px;
  z-index: 999;
  background-color: #3b1c07; 
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 25px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #3b1c07;
  transform: translateY(-3px);
}
