/*
Theme Name: Anto agustine
Theme URI: http://localhost/antoaugustine
Author:Developer JJ
Description: Custom theme based on HTML
Version: 1.0
*/

 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

    body, html {
      /* height: 100%; */
      /* overflow-x: hidden; */
      margin: 0;
      padding: 0;
    }

    /* Hero Section */
    .hero {
      position: relative;
      height: 100vh;
      width: 100%;
      overflow: hidden;
      background: url("fallback.jpg") no-repeat center center/cover;
    }

    .hero video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      transform: translate(-50%, -50%);
      z-index: -2;
    }

    /* Video Overlay */
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.2); /* Fade effect */
      z-index: -1;
    }

    /* Hide videos by default */
    .video-desktop, .video-mobile {
      display: none;
    }

    @media(min-width: 768px) {
      .video-desktop { display: block; }
    }

    @media(max-width: 767px) {
      .video-mobile { display: block; }
    }

    /* Header */
    .header {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0px 40px;
      background: rgba(0, 0, 0, 0.8);
      color: white;
      z-index: 10;
    border-bottom: 2px solid #cbb279;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
         width: 90px;
    height: 90px;
    padding: 20px;
    margin-right: 10px;
    }

    .name {
    font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 2rem;
  font-style: normal;
  color: #cbb279;
    }
    .yellowtail-regular {
  font-family: "Yellowtail", cursive;
  font-weight: 400;
  font-style: normal;
}

    /* Hamburger */
    .hamburger {
      cursor: pointer;
      width: 30px;
      height: 25px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      z-index: 20;
    }

    .hamburger div {
      height: 4px;
      background: #cbb279;
      border-radius: 2px;
    }

    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 0;
      right: -300px;
      width: 300px;
      height: 100%;
      background: #cbb279;
      transition: right 0.4s ease, opacity 0.4s ease;
      padding: 60px 20px;
      opacity: 0;
      z-index: 100;
    }

    .sidebar.active {
      right: 0;
      opacity: 1;
    }

    .sidebar ul {
      list-style: none;
      margin-top: 40px;
    }

    .sidebar ul li {
      margin: 20px 0;
    }

    .sidebar ul li a {
      text-decoration: none;
      color: black;
      font-size: 1.2rem;
      font-weight: bold;
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 2rem;
      font-weight: bold;
      color: black;
      cursor: pointer;
    }

    .about {
  padding: 80px 10%;
  background: #fff;
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
  flex: 1 1 40%;
  max-width: 500px;
}

/* Add this for the background rectangle */
.about-image::before {
  content: "";
  position: absolute;
  top: 20px;      /* Move down */
  left: 20px;     /* Move right */
  width: 100%;
  height: 100%;
  background: #cbb279;
  border-radius: 8px;
  z-index: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.about-image img {
  position: relative;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 1;
}



.about-content {
  flex: 1 1 55%;
}

.about-content h4 {
  font-size: 1rem;
  color: goldenrod;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #222;
/* font-family: "Playfair Display", serif; */
font-weight: 400;
}
.about-content h2 span {
  color: goldenrod;
}


.about-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.8rem;
  color: goldenrod;
  margin-top: 20px;
}

.role {
  font-weight: bold;
  color: #222;
  margin-top: 5px;
}

.partnerships {
  /* background: #f8f9fb; light background */
  background: #cbb279;
  padding: 60px 10%;
}

.gallery-section{
  background: #f8f9fb;
  padding: 40px 10%;
  text-align: center;
}


.gallery-heading{
  font-size: 2.5rem;    
  margin-bottom: 30px;
  color: #222;
  /* font-family: "Playfair Display", serif; */
  font-weight: 400;
}

.partnerships-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.partnerships-left {
  flex: 1 1 35%;
}

.partnerships-left h2 {
  
  margin-bottom: 10px;
     font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: #222;
    /* font-family: "Playfair Display", serif; */
}

.partnerships-left p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.main-logo img {
  width: 250px;   /* rectangle logo size */
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.partnerships-right {
  flex: 1 1 60%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;   /* Add this line to center items horizontally */
  align-items: center;     /* Add this line to center items vertically */
}

.logo-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 170px;
}

.logo-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 6px 24px rgba(203,178,121,0.18);
}

.logo-card a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.logo-card img {
  max-width: 200px;
  max-height: 88px;
  object-fit: contain;
  transition: filter 0.2s;
}

.logo-card:hover img {
  filter: brightness(1.1) drop-shadow(0 2px 8px #cbb27944);
}

.logo-name {
  /* font-family: "Playfair Display", serif; */
      font-size: 0.9rem;
    color: #000;
  font-weight: 400;
  text-align: center;
  margin-top: 5px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 #fff, 0 2px 4px #cbb27922;
}
 .carousel-section {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
  }

    .swiper {
      width: 100%;
      padding-top: 50px;
      padding-bottom: 50px;
    }

    .swiper-slide {
      background-position: center;
      background-size: cover;
      width: 300px;
      height: 300px;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
    }
@media (min-width: 992px) {
  .about-image {
    position: sticky;
    top: 120px; /* Adjust as needed for your header */
    align-self: flex-start;
  }
}

/* @media (max-width: 767px) {
  .about-container {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .about-image, .about-content {
    max-width: 100%;
    flex: 1 1 100%;
  }
} */

.lightslider .item {
  padding: 8px;
  box-sizing: border-box;
}
.lightslider .item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  display: block;
}

.site-footer {
  background: #222;
  color: #cbb279;
  text-align: center;
  padding: 24px 10px 16px 10px;
  font-family: "Ubuntu", sans-serif;
  font-size: 1rem;
  margin-top: 0;
}
.site-footer .footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.site-footer .footer-links a {
  color: #cbb279;
  text-decoration: none;
  font-size: 0.98rem;
  transition: text-decoration 0.2s;
}
.site-footer .footer-links a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .site-footer .footer-content {
    font-size: 0.95rem;
    gap: 4px;
  }
}

.location-section {
  background: #f4f4f4;
  padding: 48px 10% 32px 10%;
  margin: 0;
}

.location-title {
  color: #000;
  /* font-family: "Playfair Display", serif; */
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 400;
  align-items: center;
}

.location-details {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.location-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.location-icon svg {
  width: 32px;
  height: 32px;
  fill: #cbb279;
}

.location-address {
  font-size: 1.1rem;
  color: #444;
  font-family: "Ubuntu", sans-serif;
  line-height: 1.5;
  font-weight: 500;
}

.location-map {
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0001;
}

@media (max-width: 700px) {
  .location-section {
    padding: 32px 4% 24px 4%;
  }
  .location-details {
    flex-direction: column;
    gap: 8px;
  }
  .location-title {
    font-size: 2rem;
    justify-content: flex-start;
  }
}

/* Top Picked Blogs Section */
.blogs-section {
  background: #fff;
  padding: 48px 10% 32px 10%;
  text-align: center;
}

.blogs-title {
  font-size: 2.2rem;
  color: #222;
  /* font-family: "Playfair Display", serif; */
  margin-bottom: 32px;
  font-weight: 400;
}

.blogs-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  background: #fafbfc;
  border-radius: 18px;
  box-shadow: 0 2px 12px #0001;
  overflow: hidden;
  /* width: 340px; */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #eee;
  position: relative;
}

.blog-card:hover {
  box-shadow: 0 6px 24px #cbb27933;
  transform: translateY(-4px) scale(1.02);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.blog-content {
  padding: 20px 18px 16px 18px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-content h3 {
  font-size: 1.1rem;
  color: #222;
  font-family: "Ubuntu", sans-serif;
  margin-bottom: 4px;
  font-weight: 400;
}

.blog-content p {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 8px;
  font-family: "Ubuntu", sans-serif;
}

.blog-link {
  display: inline-block;
  background: #fffbe9;
  color: #cbb279;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 6px;
  transition: background 0.2s, color 0.2s;
}

.blog-link span {
  font-size: 1.1em;
  margin-left: 4px;
}

.blog-link:hover {
  background: #cbb279;
  color: #fff;
}

.blogs-readmore {
  margin-top: 32px;
  font-weight: 400;
}

.readmore-btn {
  background: #cbb279;
  color: #fff;
  font-size: 1.08rem;
  padding: 12px 36px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 2px 8px #cbb27922;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.logo a{
      display: flex;
    cursor: pointer;
    align-items: center;
}

a {
  all: unset;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  /* Optionally, add transition for hover effects */
  transition: color 0.2s;
}

/* If you want to restore pointer events and inline-block for links: */
a {
  display: inline-block;
  cursor: pointer;
}

.readmore-btn:hover {
  background: #222;
  color: #cbb279;
}

@media (max-width: 1100px) {
  .blogs-cards {
    gap: 18px;
  }
  .blog-card {
    width: 95vw;
    max-width: 300px;
  }
}
@media (max-width: 900px) {
  .blogs-cards {
    flex-direction: column;
    align-items: center;
  }
  .blogs-section {
  padding:30px;
}
.logo img {
    width: 80px;
    height: 80px;
    padding: 10px;
}
.name {
    font-size: 1.2rem
}
.partnerships-left h2 {
   
    font-size: 2rem;
}
.location-address {
    font-size: 0.8rem;
    font-weight: 400;
}

.header {
    padding: 0px 20px;
}
.about-image::before {
   
    left: 0px;
}
}

@media (max-width: 600px) {
  .about,
  .partnerships,
  .gallery-section,
  .location-section,
  .blogs-section {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .blog-card {
    width: 100%;
    max-width: 100%;
  }
}

body {
  outline: 2px solid red;
}