/*
Theme Name: MyTheme
Theme URI: https://example.com/mytheme
Author: Your Name
Author URI: https://example.com
Description: A brief description of the theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #0078ff;
    --text-color: #333;
    --bg-color: #f9f9f9;
}

:root {
  --banner-bg: #grey;
  --benefit-bg: #fff;
  --benefit-hover-shadow: rgba(0,0,0,0.15);
}


/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
}


img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}


/* top header */

.top-header {
  background-color: #000;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 5px 0;
}

.top-header .container {
   width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px; 
  padding-left: 10px;            /* space between icons */
}

.contact-header {
  display: flex;
  gap: 20px;
  padding-right: 10px;
}

.contact-header div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
}

/* Optional: responsive adjustment */
@media (max-width: 600px) {

  .container {
    flex-direction: column;
    gap: 8px;
  }

  .contact-header {
    justify-content: center;
  }
}

.social-icons a {
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Brand colors */
.social-icons a[aria-label="Facebook"] { color: #1877F2; }
.social-icons a[aria-label="Twitter"] { color: #ffffff; } /* X uses black by default */
.social-icons a[aria-label="Instagram"] { color: #C13584; }
.social-icons a[aria-label="LinkedIn"] { color: #0077B5; }


/* Hover effect: slightly bigger and lighten */
.social-icons a:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}



/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo img {
  height: 50px;
}

/* Desktop nav */
.nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu ul li a {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.contact-btn {
  color: #ff6b6b;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

/* Hamburger button */
.hamburger-btn {
  display: none; /* hide on desktop */
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Mobile Navigation */
@media (max-width: 768px) {

  /* Show hamburger */
  .hamburger-btn {
    display: block;
  }

  /* Hide nav menu by default */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    width: 250px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Show nav menu when active */
  .nav-menu.active {
    display: block;
  }
}


/* Hide hamburger by default (desktop) */
.hamburger-btn,
.hamburger-menu {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger-btn {
    display: block; /* show hamburger button */
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

  .hamburger-menu {
    display: none; /* hide menu initially */
    position: absolute;
    top: 60px; /* adjust based on header height */
    right: 20px;
    background: #fff;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 10px;
  }

  .hamburger-menu.active {
    display: block; /* show menu when active */
  }

  .hamburger-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .hamburger-menu ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .hamburger-menu ul li:last-child {
    border-bottom: none;
  }
}


/* Contact Button Style */
.contact-btn {
  background-color: #ff6b6b;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Hover */
.contact-btn:hover {
  background-color: #ff4949;
}

/* Align button to the right */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-btn-li {
  margin-left: auto; /* pushes button to right */
}



.login img {
  height: 40px;
  border-radius: 50%;
}

.hamburger-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Banner */
.banner {
  background: url('/wordpress/wp-content/themes/mytheme/images/banner.webp') center / cover no-repeat;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;        /* vertically center */
  justify-content: flex-start; /* align to the left */
  color: #fff;
  position: relative;
  padding-left: 60px;         /* space from the left edge */
  padding-right: 20px;        /* optional, prevent overflow */
  text-align: left;
  background-color: grey;
}



/* Banner heading */
.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Banner paragraph */
.banner-content .bannertext {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Buttons */
.btn-container {
  display: flex;
  gap: 15px;
}

.solid-btn {
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.transparent-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .banner {
    justify-content: center; /* center on smaller screens */
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .banner-content {
    max-width: 90%;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content .bannertext {
    font-size: 1rem;
  }

  .btn-container {
    flex-direction: column;
    align-items: center;
  }
}


.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.bannertext {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-container button {
  padding: 12px 30px;
  margin: 5px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid ;
  transition: all 0.3s ease;
}

.solid-btn {
  background-color: #ff6b6b;
  color: #fff;
  border: 2px solid #ff6b6b;
}

.solid-btn:hover {
  background-color: #fff;
  color: #ff6b6b;
}

.transparent-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.transparent-btn:hover {
  background-color: #fff;
  color: #ff6b6b;
}

@media (max-width: 768px) {
  .banner {
    height: auto;               /* allow content to define height */
    justify-content: center;    /* center on mobile */
    padding: 40px 20px;         /* reduce left padding */
    text-align: center;
  }

  .banner-content {
    max-width: 90%;             /* responsive width */
  }

  .banner-content h1 {
    font-size: 1.8rem;          /* smaller heading */
  }

  .banner-content .bannertext {
    font-size: 1rem;            /* smaller paragraph */
  }

  .btn-container {
    flex-direction: column;     /* stack buttons */
    gap: 15px;
  }
}


/* Bottom Image */
.bottom-image {
  text-align: center;
  margin: -40px 0;
  align-items: center;
  padding-left: 700px;
  padding-bottom: 60px;
}

@media (max-width: 768px) {
.bottom-image {
  text-align: center;
  margin-top: -3px;
  padding-left: 150px;
  padding-bottom: 50px;
}
}


/* Marquee Section */
.marquee {
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  animation: scroll 20s linear infinite;
  gap: 50px;
}

.marquee-track img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Content + Image Section */
.content-image-section{
  background-color: #f0f0f0;
}
.content-image-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 50px;
  gap: 40px;
}

.content-image-section .content-box {
  flex: 1;
}

.content-image-section .content-box h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.content-image-section .image-box {
  flex: 1;
}

.content-image-section .image-box img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width:700px;
  height: 500px;
}

.content-image-section .image-box img {
  width: 100%;
  max-width: 700px;   /* keeps desktop size */
  height: auto;       /* maintain aspect ratio */
}


/* Companions Cards */
.companions {
  padding: 60px 50px;
  text-align: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 15px;
  text-align: left;
}

.card-info h3 {
  margin-bottom: 5px;
}

.card-info p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.card-info button {
  padding: 10px 15px;
  background: #ff6b6b;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

/* How It Works */
.how-it-works {
  padding: 60px 50px;
  text-align: center;
   background-color: #ede5e6;
    padding-top: 50px;
     padding-bottom: 100px;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.step2 {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
   transform: rotate(40deg); /* <-- rotate angle here */
}
.step2 span {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}

.step3 {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
   transform: rotate(-40deg); /* <-- rotate angle here */
}
.step3 span {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}

.step1{
  flex: 1 1 200px;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-top: 400px;
  transform: rotate(20deg); /* <-- rotate angle here */
}

.step1 span {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}


.step4{
  flex: 1 1 200px;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-top: 400px;
  transform: rotate(-20deg); /* <-- rotate angle here */
}

.step4 span {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}

.step span {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b6b;
}

.center-image img {
  width: 300px;
  border-radius: 10px;
  margin-top: -300px;
}


@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .step1, .step2, .step3, .step4 {
    transform: rotate(0deg);    /* remove rotation for mobile */
    margin-top: 0;
    width: 80%;                 /* responsive width */
  }
}

@media (max-width: 768px) {
.center-image img {
    width: 300px;
    border-radius: 10px;
    margin-top: 10px; 
}
}

/* Flip Boxes */
.flip-box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 30px 50px 80px;
}

/* Section Header */
.section-header {
  text-align: center; /* centers all text inside */
  margin-bottom: 0px; /* space below the heading */
  padding-top: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.section-header p {
  font-size: 1.1rem;
  color: #555;
  margin: 0; /* remove default margin */
}

.flip-box {
  background-color: transparent;
  width: 250px;
  height: 300px;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.flip-box-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-box-back {
  background-color: #ff6b6b;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Paragraph + Button */
.paragraph-button {
   background: url('/wordpress/wp-content/themes/mytheme/images/paragraph.jpg') center/cover no-repeat !important;
  position: relative;
  text-align: center;
  padding: 60px 200px 60px 200px;
  color: #fff;
  overflow: hidden; /* ensures overlay stays inside */
}

/* Black overlay */
.paragraph-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* black opacity 0.5 */
  z-index: 1;
}

/* Make sure content appears ABOVE overlay */
.paragraph-button > * {
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
.paragraph-button {
    text-align: center;
    padding: 60px 10px 60px 10px;
    background: url(../images/paragraph.jpg) center / cover no-repeat;
    color: #fff;
}
}

/* Testimonials */
.flat-testimonial
{
  padding-top: 70px;
  padding-bottom: 20px;
  background-color: #fff;
}

/* Testimonials */
.testimonials-section {
  padding: 60px 50px;
  background-color: #f0f0f0;
  text-align: center;
}

.testimonials-section .container
{
  display: block;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
  margin-bottom: 10px;
}

/* Container side layout section*/
.side-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 50px;
}

/* Image section */
.image-box img {
  width: 100%;
  max-width: 700px;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
}

/* Content section */
.content-box {
  max-width: 700px;
  text-align: left;
}

.content-box h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.content-box p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn {
  padding: 12px 20px;
  background: #ff6b6b;
  color: #fff;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .side-layout {
    flex-direction: column;   /* stacks on mobile */
    text-align: center;
    padding: 40px 20px;
  }

  .content-box {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .side-layout {
    flex-direction: column;    /* stack image and text */
    text-align: center;
    padding: 40px 20px;
    gap: 20px;
  }

  .image-box img {
    width: 100%;
    max-width: 500px;          /* responsive image */
    height: auto;
  }

  .content-box {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }
}


/* Contact Section */

.contact-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 60px 50px;
  gap: 40px;
}


.contact-container {
  flex: 1 1 600px;          /* allow flexible growth */
  max-width: 1200px;         /* increased width */
  padding: 35px;            /* slightly larger padding look nice */
  border: 1px solid #ccc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}


.contact-image, .contact-form {
  flex: 1 1 400px;
}

.contact-form h2 {
  margin-bottom: 20px;
  text-align: center;
}

.contact-form form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form form button {
  padding: 12px 25px;
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.image-box img {
    width: 100%;
    max-width: 700px;
    height: 500px;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive */
@media(max-width: 1024px){
  .content-image-section .container,
  .contact-section {
    flex-direction: column;
    text-align: center;
  }

  .steps-container {
    flex-direction: column;
  }

  .nav-menu ul {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }
}


/* Section contact form Header */
.side-layout .contact-formheader h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 15px;
}


/* ===== Footer Styles ===== */
.footer {
  background-color: #111;
  color: #eee;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Footer Widgets */
.footer-widget h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}



.footer-widget p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
  text-align: left;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
  display: block;          /* ensures the image acts as a block element */
  margin-left: 0;          /* aligns it to the left */
  margin-right: auto;      /* prevents it from centering */
  text-align: left;        /* keeps alignment consistent in the container */
}


/* Links */
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #f2c94c;
}

/* Contact Info */
.contact-info li {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  text-align: center;
  padding-top: 15px;
}

.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 40px 15px;
  }

  .footer-widget h4 {
    font-size: 16px;
  }
}

  .contact-info {
                   
        flex-direction: column;      /* force vertical list */
        gap: 8px;                    /* spacing between items */
        padding: 0;
        margin: 10px 0 0 0;
    }

@media (max-width: 600px) {

    /* If .footer-widget is inside a flex container */
    .footer-widget {
        width: 100%;                 /* take full width */
        display: flex;
        flex-direction: column;      /* stack vertically */
        align-items: left;         /* center the content */
        text-align: left;          /* center text */
    }

    .contact-info {
        display: flex;               
        flex-direction: column;      /* force vertical list */
        gap: 8px;                    /* spacing between items */
        padding: 0;
        margin: 10px 0 0 0;
    }

    .contact-info li {
        text-align: left;          /* center each list item */
    }
}


/* Smaller devices */
@media (max-width: 768px) {
    .footer-widget img {
        width: 120px;   /* Slightly smaller on tablets */
    }
}

@media (max-width: 480px) {
    .footer-widget img {
        width: 90px;    /* Smaller on phones */
    }
}


/* PROPERTY SECTION */
.property-section {
  padding: 60px 0;
  background: #f0f0f0;
  overflow-x: hidden;
}

.property-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* HEADING */
.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

/* TABS */
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid #0078ff;
  background: #fff;
  color: #0078ff;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.tab:hover,
.tab.active {
  background: #0078ff;
  color: #fff;
}

/* GRID */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media(max-width: 1200px) {
  .property-grid { grid-template-columns: repeat(3, 1fr); }
}

@media(max-width: 900px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 600px) {
  .property-grid { grid-template-columns: 1fr; }
}

/* PROPERTY CARD */
.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: .3s;
}

.property-card:hover {
  transform: translateY(-5px);
}

/* SLIDER */
.mvg-slider img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.swiper-pagination-bullet {
  background: #0078ff;
}

/* PROPERTY INFO */
.property-info {
  padding: 15px;
  text-align: left;
}

.property-info h3 {
  margin-bottom: 8px;
  color: #222;
}

.location {
  color: #888;
}

/* TAB VISIBILITY */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn .4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.text-center {
  text-align: center;
  margin-top: 30px;
}

.btn-view {
  padding: 12px 25px;
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}


/* ================= Benefits Section ================= */
.benefits-section {
  padding: 70px 20px;
  background-color: #fff;
}

.benefits-section .container {
  display: grid;
  max-width: 1250px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 auto;
  align-items: start;
  box-sizing: border-box;
}

/* ================= Left Side ================= */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Icon */
.benefit-item .icon {
  border: 2px solid #c7a66e;
  background-color: #c7a66e;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-right: 15px;
}

/* Text content */
.benefit-text h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2b2b2b;
  line-height: 1.3;
}

.benefit-text p {
  margin: 6px 0 0;
  color: #555;
  line-height: 1.6;
}

/* ================= Right Side ================= */
.benefits-right {
  display: flex;
  flex-direction: column;
}

.section-subtitle {
  color: #c7a66e!important;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.underline {
  width: 60px;
  height: 4px;
  background-color: #c7a66e;
  margin-bottom: 20px;
}

.intro-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.benefits-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .benefits-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .benefits-list, .benefits-right {
    justify-content: center;
  }

  .benefits-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .benefit-item .icon {
    margin-bottom: 10px;
  }
}


/* ================================
   COUNTER BASE STYLES
================================ */
.counter-container {
    display: flex;
    background-color: #3e2723;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    gap: 50px;
    margin-bottom: 50px;
    padding: 50px 20px;
    justify-content: center;
}

.counter-box {
    text-align: center;
    color: white;
    border: 1px solid #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
}

.counter-number {
    font-size: 48px;
    font-weight: bold;
}

.counter-label {
    font-size: 18px;
    margin-top: 5px;
}

/* ================================
   TABLET (<= 900px)
   2 counters per row
================================ */
@media (max-width: 900px) {
    .counter-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .counter-box {
        width: calc(50% - 30px);
    }
}

/* ================================
   MOBILE (<= 600px)
   1 counter per row (vertical)
================================ */
@media (max-width: 600px) {
    .counter-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 15px;
    }

    .counter-box {
        width: 100%;
        max-width: 300px;   /* keeps boxes clean */
    }

    .counter-number {
        font-size: 36px;
    }

    .counter-label {
        font-size: 16px;
    }
}


/* Paragraph + colorbackground */
.paragraph-colorbackground{
  position: relative;
  text-align: center;
  padding: 60px 200px 60px 200px;
  background-color: #f0f0f0;
  color: #000;
  overflow: hidden; /* ensures overlay stays inside */
   margin-bottom: 70px;
   margin-top: 70px;
}


/* Make sure content appears ABOVE overlay */
.paragraph-colorbackground > * {
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
.paragraph-colorbackground {
    text-align: center;
    padding: 60px 10px 60px 10px;
    background: url(../images/paragraph.jpg) center / cover no-repeat;
    color: #fff;
}
}

/* ================================
   BASE: Mega Menu Parent
================================ */
.mega-parent,
.howmega-parent {
    position: relative;
}

/* ================================
   HIDE ALL MEGA MENUS BY DEFAULT
================================ */
.mega-menu-plate,
.howmega-menu-plate {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .25s ease;
    z-index: 5000;
}

/* ================================
   SHOW ON HOVER
================================ */
.mega-parent:hover .mega-menu-plate{
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    background: #fff;
    padding: 40px 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);

    width: 100vw;      /* Full screen */
    max-width: 1600px; /* Keep it centered */
    
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;

    max-height: 350px;
    overflow-y: auto;
}

.howmega-parent:hover .howmega-menu-plate {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    background: #fff;
    padding: 40px 260px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);

    width: 110vw;      /* Full screen */
    max-width: 1600px; /* Keep it centered */
    
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;

    max-height: 350px;
    overflow-y: auto;
}

/* ================================
   COLUMN HEADINGS
================================ */
.mega-col h4,
.howmega-col h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

/* ================================
   LINKS
================================ */
.mega-col a,
.howmega-col a {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
}
.mega-col a:hover,
.howmega-col a:hover {
    color: #000;
}

/* ================================
   IMAGES
================================ */
.mega-col img,
.howmega-col img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 6px;
    margin: 10px auto 0;
    object-fit: cover;
}

/* ================================
   RESPONSIVE BREAKPOINTS
================================ */

/* Tablets */
@media (max-width: 1024px) {
    .mega-parent:hover .mega-menu-plate,
    .howmega-parent:hover .howmega-menu-plate {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 60px;
        gap: 40px;
    }
}

/* Large Phones */
@media (max-width: 768px) {
    .mega-parent:hover .mega-menu-plate,
    .howmega-parent:hover .howmega-menu-plate {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 30px;
        gap: 30px;
    }

    .mega-col img,
    .howmega-col img {
        max-width: 250px;
    }
}

/* Mobile menu container hidden by default */
.hamburger-menu {
    display: none;
}

/* Show mobile menu when hamburger clicked */
.hamburger-menu.active {
    display: block;
}

/* Remove absolute positioning on mobile mega menu */
@media (max-width: 1024px) {
    .mega-menu-plate,
    .howmega-menu-plate {
        display: none !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        background: #fff;
        box-shadow: none !important;
        grid-template-columns: 1fr !important;
        padding: 10px 15px !important;
        gap: 10px !important;
    }

    /* Show submenu when li has .open */
    .mobile-menu li.open > .mega-menu-plate,
    .mobile-menu li.open > .howmega-menu-plate {
        display: block !important;
    }

    /* Arrow toggle style */
    .submenu-toggle {
        float: right;
        cursor: pointer;
        padding-left: 10px;
    }
}


@media (max-width: 1024px) {
    .mobile-menu li.open > ul.sub-menu,
    .mobile-menu li.open > .mega-menu-plate,
    .mobile-menu li.open > .howmega-menu-plate {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 2000px !important; /* large enough to show all submenu */
    }
}

.mobile-menu li.open,
.mobile-menu li.open > ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* About Us Banner */
.about-us-banner-section {
    position: relative; /* Needed for overlay */
    background: url('/wordpress/wp-content/themes/mytheme/images/aboutbanner.webp') center/cover no-repeat !important;
    padding: 180px 0; /* Top & bottom padding */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Ensure overlay doesn’t overflow */
}

/* Black overlay */
.about-us-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black */
    z-index: 1;
}

/* Ensure text appears above overlay */
.about-us-banner-section h1,
.about-us-banner-section p {
    position: relative;
    z-index: 2;
}

.about-us-banner-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-us-banner-section p {
    font-size: 20px;
}


/* Contact Us Page Section */
.contact-us-page-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-us-page-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-us-page-section ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.contact-us-page-section ul li {
    margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-us-page-section .container {
        flex-direction: column;
    }
}


/* Contact Page Boxes */
/* Contact Page Boxes Section */
.contactpagebox-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contactpagebox-section .container {
    max-width: 1450px; /* fixed width container */
    margin: 0 auto;    /* center container */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Individual Boxes */
.contactpagebox-section .contact-box {
    flex: 1 1 220px; /* responsive width */
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contactpagebox-section .contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contactpagebox-section .contact-icon {
    font-size: 36px;
    color: #0073e6;
    margin-bottom: 15px;
}

.contactpagebox-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contactpagebox-section p {
    font-size: 16px;
    color: #555;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contactpagebox-section .container {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
.contactpagebox-section .container {
    max-width: 350px; /* fixed width container */
    margin: 0 auto;    /* center container */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
}


/* Product Grid */

.home-title{
  text-align: center;
  font-size: 2em;
  margin-top: -30px;
  padding-top: 50px;
}


ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

/* Product Card */
ul.products li.product {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s ease;
}

ul.products li.product:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Product Image */
ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Product Title */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    margin: 15px 0 10px;
    font-weight: 600;
    color: #333;
}

/* Price */
ul.products li.product .price {
    font-size: 16px;
    font-weight: bold;
    color: #009688;
    margin-bottom: 12px;
}

/* Add to Cart Button */
ul.products li.product .button {
    background: #0073aa;
    color: #fff;
    padding: 10px 14px;
    display: inline-block;
    border-radius: 5px;
    font-size: 15px;
    transition: 0.2s;
}

ul.products li.product .button:hover {
    background: #005f86;
}

/* ----------------------------- */
/* RESPONSIVE BREAKPOINTS        */
/* ----------------------------- */

/* Tablets */
@media (max-width: 991px) {
    ul.products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    ul.products li.product {
        padding: 12px;
    }
}

/* Mobile (large) */
@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 18px;
    }
}

/* Mobile (small) */
@media (max-width: 480px) {
    ul.products {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
    }

    ul.products li.product .button {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* checkout page */

.wc-block-components-sidebar-layout{
  padding-left: 20px;
  padding-right: 20px;
}

.wc-block-components-sidebar-layout.wc-block-cart {
    padding-left: 20px;
  padding-right: 20px;
}

/* Container for the page */
.single-post-wrapper {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

/* Post title */
.single-post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

/* Post meta (author, date, comments) */
.single-post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 25px;
}

/* Featured image */
.single-post-featured img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
    display: block;
}

/* Post content */
.single-post-content {
    font-size: 1rem;
    color: #444;
    margin-bottom: 40px;
}

/* Links inside content */
.single-post-content a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #005c87;
}

/* Post navigation */
.single-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.single-post-navigation .prev-post,
.single-post-navigation .next-post {
    font-weight: 600;
    color: #0073aa;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.single-post-navigation .prev-post:hover,
.single-post-navigation .next-post:hover {
    color: #005c87;
}

/* Comments section */
.comments-area {
    margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .single-post-title {
        font-size: 1.8rem;
    }

    .single-post-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 0 15px;
    }

    .single-post-navigation {
        flex-direction: column;
    }

    .single-post-navigation .prev-post,
    .single-post-navigation .next-post {
        text-align: left;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .single-post-title {
        font-size: 1.5rem;
    }

    .single-post-content {
        font-size: 0.9rem;
    }
}



/* ============================== */
/* Shop Page Product Grid Styling */
/* ============================== */

ul.products.columns-4 {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Individual product card */
ul.products.columns-4 li.product {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-height: 400px; /* uniform height */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
ul.products.columns-4 li.product:hover {
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}

/* Product Image */
ul.products.columns-4 li.product img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

ul.products.columns-4 li.product:hover img {
    transform: scale(1.05);
}

/* Product Title */
ul.products.columns-4 li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    min-height: 54px; /* consistent height */
}

/* Price */
ul.products.columns-4 li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 18px;
}

/* Add to Cart Button */
ul.products.columns-4 li.product .button {
    background-color: #0073aa;
    color: white !important;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

ul.products.columns-4 li.product .button:hover {
    background-color: #005f86;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 1024px) {
    ul.products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

/* Responsive: 1 column on mobiles */
@media (max-width: 600px) {
    ul.products.columns-4 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    ul.products.columns-4 li.product {
        min-height: auto;
        padding: 15px 10px;
    }
}


/* shop page breadcrumb */
.woocommerce-breadcrumb {
    font-size: .92em;
    color: #767676;
    height: 500px;
    background: url('/wordpress/wp-content/themes/mytheme/images/LAP1.JPG') center/cover no-repeat !important;
}


/* shop page layout mobile */
@media (max-width: 600px) {
.woocommerce div.product {
    margin-bottom: 0;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}
}

/* Base: 4 columns (Desktop) */
.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .related ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .related ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Remove WooCommerce default floats */
.related ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* hide related product one product box */
.products ul::before, .woocommerce ul.products::before {
  display: none;
}


/* Related product heading */
.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 50px;
}

/* Mobile: 1 column */
@media (max-width: 600px) {
.related ul.products {
    display: grid !important;
     grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 50px;
}
}

.woocommerce div.product {
    margin-bottom: 0;
    position: relative;
    padding-left: 10px;
}


/* Mobile: 1 column shop page */
@media (max-width: 600px) {

    /* Ensure UL uses grid layout */
    ul.products.columns-4 {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    /* Remove WooCommerce default floats and widths */
    ul.products.columns-4 li.product {
        float: none !important;
        width: 100% !important;
        margin: 0 0 15px !important;
    }
}

 /* Ensure UL uses grid layout */
    ul.products.columns-4 {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    /* Remove WooCommerce default floats and widths */
    ul.products.columns-4 li.product {
        float: none !important;
        width: 100% !important;
        margin: 0 0 15px !important;
    }
}




/* ---------------------------------
   BLOG Page
-----------------------------------*/
/* Container for all blog posts */
.blogcontainer {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Grid layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
    gap: 20px;
    margin: 0 auto;
    padding-top: 50px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Each blog box */
.blog-box-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    height: 100%; /* equal height */
    box-sizing: border-box;
}

/* Hover effect */
.blog-box-content:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Images */
.blog-box-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
    height: auto;
}

/* Blog title */
.blog-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333;
}

/* Blog excerpt */
.blog-box-excerpt {
    flex-grow: 1; /* push read more button to bottom */
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Read More button */
.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start; /* left align */
}

.read-more:hover {
    background: #005c87;
    transform: translateY(-2px);
}

/* Pagination styling (optional) */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #0073aa;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #0073aa;
    color: #fff;
}
