   
   
   

















/* =============================== SLIDER SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    background-size: cover;
    background-position: center;
    transition: background 1s ease-in-out;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.container {
    position: relative;
    z-index: 1;
}

/* Left Side Hero Content */
.hero-content {
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
}

/* Right Side - Contact Form with Background Image */
.form-container {
    position: relative;
    max-width: 400px;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    background: url('form-bg.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    border-radius: 10px;
}

.form-content {
    position: relative;
    z-index: 1;
}

/* Animated Button */
.animated-btn {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    /* background: linear-gradient(45deg, #ff0000, #ff7300, #ffeb00, #2fff00, #00f7ff, #0033ff, #aa00ff); */
    background: linear-gradient(90deg, #991d15, #ff7300, #6e3e2b , #ff0000) ;
    background-size: 400% 400%;
    animation: gradientAnimation 3s infinite linear;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.animated-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6);
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Fix */
@media (max-width: 991px) {
    .hero {
        height: auto;
        padding: 50px 0;
    }
    .hero-content {
        text-align: center;
    }
    .form-container {
        max-width: 100%;
    }
}
   
   /* ============================== FORM SECTION  */
   /* Background Image */
   .bg-container {
    position: relative;
    background: url('/assets/images/home/background.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d2;
}

.content-boxes {
  background: azure;

    padding: 2rem;
    border-radius: 10px;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* .content-boxes, .form-container {
  background: rgb(195,34,34);
  background: linear-gradient(0deg, rgba(195,34,34,0.9220063025210083) 0%, rgba(253,153,45,1) 100%);
    padding: 2rem;
    border-radius: 10px;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
} */

.form-container {
  background: rgb(195,34,34);
  background: linear-gradient(0deg, #c32222eb 0%, #fd992d 100%);
    padding: 2rem;
    border-radius: 10px;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.content-boxes {
    border-left: 8px solid #ff9800;
    text-align: left;
}

.form-container {
    text-align: center;
    margin-top: 20px;
}

.content-boxes h2 {
    font-size: 28px;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.content-boxes h2::after {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    background: #ff5722;
    left: 0;
    bottom: 0;
    animation: slide-line 2s infinite ease-in-out;
}

@keyframes slide-line {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

.content-boxes p, .custom-list li {
    font-size: 18px;
}

.custom-list {
    padding-left: 20px;
}

.custom-list li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.form-control {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.btn-custom {
    background: linear-gradient(90deg, #ff5722, #ff9800);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.btn-custom:hover {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(255, 87, 34, 0.5);
}

.btn-custom:active {
    transform: scale(0.95);
}

/* Mobile View Fix */
@media (max-width: 768px) {
    .content-boxes, .form-container {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .col-md-7, .col-md-5 {
        width: 100%;
    }
}



/* ========================= IMAGE CONTAINER  */
.center-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0;
    background: #f8f9fa;
  }
  
  .content-box {
    flex: 1;
    padding: 20px;
    position: relative;
  }
  
  /* Headline Style with Bottom Border */
  .content-box h2 {
    font-size: 28px;
    font-weight: bold;
    color: #7e1811;
    position: relative;
    padding-bottom: 10px;
    transition: all 0.3s ease-in-out;
  }
  
  /* Bottom Border */
  .content-box h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 7px;
    background: #f8b400;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
  }
  
  /* Hover Effect - Expanding Border */
  .content-box:hover h2::after {
    width: 100px;
    background: linear-gradient(135deg, #7e1811, #f8b400);
  }
  
  /* Paragraph Styling */
  .content-box p {
    font-size: 20px;
    text-align: justify;
    color: #555;
    line-height: 1.6;
  }
  
  /* Image Container */
  .image-box {
    flex: 1;
    text-align: center;
  }
  
  .image-box img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;
  }
  
  /* Hover Animation */
  .image-box img:hover {
    transform: scale(1.1) translateY(-10px);
    opacity: 0.9;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .center-image-section {
      flex-direction: column;
    }
  
    .image-box img {
      max-width: 60%;
    }
  }
  @media (max-width: 768px) {
    .center-image-section {
     
      padding: 0px 0;
      background: #f8f9fa;
    }
      /* Paragraph Styling */
  .content-box p {
    font-size: 18px;
    text-align: center;
    color: #555;
    line-height: 1.6;
  }
  .image-box img {
    max-width: 50%;
  }
  }
  
  
  
  
  /* ========================== VIDEO SECTION  */
  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  
  /* VIDEO BACKGROUND */
  .hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
  }
  
  /* BACKGROUND OVERLAY */
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.541);
    /* Dark overlay */
    z-index: -1;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .hero-content h1 {
    font-size: 42px;
    font-weight: bold;
  }
  
  .hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  /* BUTTON STYLE */
  .hero-btn {
    padding: 12px 30px;
    font-size: 18px;
    color: white;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
  }
  
  /* BUTTON HOVER ANIMATION */
  .hero-btn:hover {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.7);
  }
  
  /* ANIMATED BORDER EFFECT */
  .hero-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9800, #ff5722, #ff9800);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }
  
  .hero-btn:hover::before {
    opacity: 1;
  }
  
  /* ANIMATIONS */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 32px;
    }
  
    .hero-content p {
      font-size: 16px;
    }
  
    .hero-btn {
      font-size: 16px;
      padding: 10px 20px;
    }
  }
  
  
  
  
  
  
/* ======================== ABOUT SECTION */
.layout-container {
  position: relative;
  /* background: linear-gradient(90deg, #c7bfcced 37%, #241dfdeb 66%); */
  /* background: #3a43b4;
  background: linear-gradient(90deg, #3a43b4f9 37%, #1d87fdf5 66%); */
}

.layout-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
  z-index: 1;
}

.layout-row {
  position: relative;
  z-index: 2;
}

/* Left side image full cover */
.image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.image-wrapper img:hover {
  transform: scale(1.1);
}

/* Content Styling */
.text-content h2 {
  font-size: 2rem;
  font-weight: bold;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  /* color: #fff; */
}

@media (max-width: 768px) {
  .image-wrapper img {
      max-width: 70%;
  }

  .layout-row>div {
      width: 100%;
      text-align: center;
  }
}
  
  
  
/* =============================== HOVER CARD  */

        /* Section Styling */
        .section-container {
          background: #c7541ceb;
          padding: 60px 0;
          text-align: center;
      }
      
      /* Heading */
      .section-heading {
          font-size: 32px;
          font-weight: bold;
          color: white;
          margin-bottom: 10px;
      }
      
      /* Image Cards */
      .image-card {
          position: relative;
          overflow: hidden;
          border-radius: 10px;
          transition: transform 0.3s ease-in-out;
      }
      
      /* Image */
      .image-card img {
          width: 100%;
          border-radius: 10px;
          transition: transform 0.3s ease-in-out;
      }
      
      /* Hover Zoom Effect */
      .image-card:hover img {
          transform: scale(1.1);
      }
      
      /* Border Sliding Effect */
      .border-animation {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border: 3px solid transparent;
          background-image: linear-gradient(white, white), 
                            linear-gradient(135deg, #f8b400, #ff5733);
          background-origin: border-box;
          background-clip: content-box, border-box;
          border-radius: 10px;
          opacity: 0;
          transition: all 0.5s ease-in-out;
      }
      
      /* Hover Effect - Slide In Border */
      .image-card:hover .border-animation {
          opacity: 1;
          border-width: 3px;
      }
      
      /* Overlay */
      .card-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: #0000007e;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          text-align: center;
          opacity: 0;
          transition: opacity 0.4s ease-in-out;
          border-radius: 10px;
      }
      
      .image-card:hover .card-overlay {
          opacity: 1;
      }
      
      /* Overlay Text */
      .card-title {
          font-size: 20px;
          font-weight: bold;
          color: white;
          margin-bottom: 5px;
      }
      
      .card-text {
          font-size: 16px;
          color: #f8f8f8;
      }
      
      /* Button */
      .main-btn {
          background: #f8b400;
          color: black;
          font-weight: bold;
          padding: 12px 30px;
          border: none;
          border-radius: 5px;
          font-size: 18px;
          text-transform: uppercase;
          transition: all 0.3s ease-in-out;
      }
      
      .main-btn:hover {
          background: #ffcc00;
          transform: scale(1.05);
      }
      
      /* Responsive Fix: 2x2 Grid at 768px */
      @media (max-width: 768px) {
          .row-cols-md-2 > .col {
              flex: 0 0 50%;
              max-width: 50%;
          }
      
      }
      
      
      
      
      
      
       /* Heading & Description */
       .section-heading {
          font-size: 32px;
          font-weight: bold;
          color: #ffffff;
          text-align: center;
          margin-bottom: 10px;
          position: relative;
          display: inline-block;
          padding-bottom: 5px;
        }
        
        /* Heading Bottom Border */
        .section-heading::after {
          content: "";
          position: absolute;
          left: 50%;
          bottom: 0;
          width: 100px;
          height: 5px;
          background: linear-gradient(135deg, #f8b400, #ff5733);
          transform: translateX(-50%);
          animation: slideLine 2s infinite alternate ease-in-out;
          
        }
        @keyframes slideLine {
          0% {
            width: 0;
          }
       
          100% {
            width: 100%;
          }
        }
      
      
      /* Hover Effect - Expand Border */
      .section-heading:hover::after {
          width: 100px;
        }
        
        /* Section Text */
        .section-text {
          padding: 0px 40px;
          font-size: 20px;
          color: white;
          text-align: justify;
          margin-bottom: 30px;
        }
        
        /* Image Cards */
        .image-card {
          position: relative;
          overflow: hidden;
          border-radius: 0px;
          transition: transform 0.3s ease-in-out;
        }
        
        /* Border Animation - All Four Sides */
        .image-card::before,
        .image-card::after,
        .image-card .border-top,
        .image-card .border-bottom {
          content: "";
          position: absolute;
          /* background: linear-gradient(135deg, #f4f800, #921432, #9ae0f1, #7e1811); */
          background-color: gold;
          transition: all 0.4s ease-in-out;
          z-index: 3;
          /* 🔥 Now border stays ABOVE the overlay */
        }
        
        /* Top Border */
        .image-card .border-top {
          left: 0;
          top: 0;
          width: 0%;
          height: 3px;
        }
        
        /* Bottom Border */
        .image-card .border-bottom {
          right: 0;
          bottom: 0;
          width: 0%;
          height: 3px;
        }
        
        /* Left Border */
        .image-card::before {
          left: 0;
          top: 0;
          width: 3px;
          height: 0%;
        }
        
        /* Right Border */
        .image-card::after {
          right: 0;
          bottom: 0;
          width: 3px;
          height: 0%;
        }
        
        /* Hover Effect - Expand Borders from Center */
        .image-card:hover .border-top,
        .image-card:hover .border-bottom {
          width: 100%;
        }
        
        .image-card:hover::before,
        .image-card:hover::after {
          height: 100%;
        }
        
        /* Image Styling */
        .image-card img {
          width: 100%;
          border-radius: 10px;
          transition: transform 0.3s ease-in-out;
          position: relative;
          z-index: 1;
          /* Image stays below overlay & border */
        }
        
        /* Overlay Content - Initially Hidden */
        .card-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.7);
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          text-align: center;
          opacity: 0;
          transition: opacity 0.4s ease-in-out;
          border-radius: 10px;
          z-index: 2;
          /* 🔥 Overlay stays BELOW the border */
        }
        @media (max-width: 768px) {
      
           /* Section Text */
        .section-text {
          
          font-size: 18px;
      
        }
      }
      
      @media (max-width: 375px) {
          .row-cols-md-2 > .col, 
          .row-cols-lg-4 > .col {
              flex: 0 0 100%;
              max-width: 100%;
          }
      }
      @media (max-width: 768px) {
          .image-card .card-overlay {
              opacity: 1 !important;
          }
      
          .image-card .border-animation {
              opacity: 1 !important;
          }
      
          .image-card .border-top,
          .image-card .border-bottom {
              width: 100% !important;
          }
      
          .image-card::before,
          .image-card::after {
              height: 100% !important;
          }
      }

  
  


  
  
  
  /* =============================== BANNER SECTION  */
  .banner {
    background-color: #f8f9fa;
    padding: 40px 0;
  }
  
  .banner h1 {
    font-size: 2rem;
    font-weight: bold;
  }
  
  .banner p {
    font-size: 1rem;
    color: #555;
  }
  
  .banner img {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .btn-custom {
    background: linear-gradient(135deg, #7e1811, #f8b400);
    color: #fff;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    width: 100%;
    /* Default full width */
    max-width: 200px;
    /* Max width control */
  }
  
  .btn-custom:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 91, 187, 0.4);
  }
  
  /* Responsive Styling */
  @media (min-width: 992px) {
    .banner {
      padding: 30px 0;
      /* Reduce padding for desktop */
    }
  
    .banner h1 {
      font-size: 2.1rem;
    }
  
    .banner p {
      font-size: 1.1rem;
    }
  
    .banner img {
      max-width: 70%;
    }
  
    .btn-custom {
      font-size: 0.9rem;
      padding: 8px 18px;
      width: auto;
      /* Auto width for desktop */
    }
  }
  
  @media (max-width: 768px) {
    .banner {
      padding: 25px 15px;
    }
  
    .banner h1 {
      font-size: 1.5rem;
    }
  
    .btn-custom {
      font-size: 0.9rem;
      padding: 10px 20px;
      width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .banner {
      padding: 20px 10px;
    }
  
    .banner h1 {
      font-size: 1.3rem;
      text-align: center;
    }
  
    .banner p {
      text-align: center;
      font-size: 0.9rem;
    }
  
    .btn-custom {
      display: block;
      width: 100%;
      text-align: center;
      padding: 12px;
      margin: 0 auto;
      /* Center alignment */
    }
  
    .banner .col-md-7 {
      text-align: center;
      /* Text and button center align */
    }
  
    .banner img {
      padding: 10px;
    }
  }



  /* ==========================  DETAILS CARD */
  .gallery-item {
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.text-center{
  margin-top: 10px;
  font-weight: 700;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-item .img-fluid {
  max-width: 80%;
  height: auto;
}









/* =========== THIRUKURAL SLIDER  */
.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: url('https://t4.ftcdn.net/jpg/04/89/82/91/360_F_489829193_vVxd8W0fTeYVnKD2Lq6uz39K75SM0ubh.jpg') no-repeat center center/cover;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #00000099; 
  /* Dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  border-image: linear-gradient(to bottom, #7e1811 0%,  #f8b400 100%) 1;
  border-radius: 5px; /* this doesn't work */
  border-width: 4px;
  border-style: solid;
}



.content {
  color: white;
  text-align: center;
  padding: 20px;
}

.thirukkural {
  font-size: 28px;
  font-weight: bold;
}

.author {
  font-size: 18px;
  margin-top: 10px;
  font-style: italic;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(255, 255, 255, 0.8);
}


/* =================================== THIRUKURAL */
        /* Full-Width Image */
        .full-width-image img {
          width: 100%;
          height: auto;
          display: block;
          animation: zoomInOut 5s infinite ease-in-out;
          border: 5px solid #7e1811;
          border-radius: 20px;
      }

      /* Background color for the body */
      

      /* Zoom-in and Zoom-out Animation */
      @keyframes zoomInOut {
          0% {
              transform: scale(1);
          }
          50% {
              transform: scale(1.1);
          }
          100% {
              transform: scale(1);
          }
      }


      