/* General Reset and Font */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
}

/* Section Styling (For Animations) */
.section {
  margin-top: 10px;
  background-color: lightblue;
  padding: 40px;
  opacity: 0.1;
  transform: translateY(50px) scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*=================== Whatsapp Start====================*/

.btn-whatsapp-pulse {
	background: #25d366;
	color: white;
	position: fixed;
	bottom: 20px;
	right: 20px;
    z-index: 10;
	font-size: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 0;
	height: 0;
	padding: 25px;
	text-decoration: none;
	border-radius: 50%;
	animation-name: pulsewhatsapp;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}

@keyframes pulsewhatsapp {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
	}
	80% {
		box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
	}
  100% {
		box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
	}

}

.btn-whatsapp-pulse-border {
	bottom: 120px;
	right: 20px;
	animation-play-state: paused;
}

/*=================== Whatsapp End====================*/

/*=================== Call Start====================*/

.btn-call-pulse {
	background: #2553d3;
	color: white;
	position: fixed;
	bottom: 20px;
	left: 20px;
    z-index: 10;
	font-size: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 0;
	height: 0;
	padding: 25px;
	text-decoration: none;
	border-radius: 50%;
	animation-name: pulsecall;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}

@keyframes pulsecall {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 101, 211, 0.5);
	}
	80% {
		box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
	}
  100% {
		box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
	}

}

.btn-whatsapp-pulse-border {
	bottom: 120px;
	right: 20px;
	animation-play-state: paused;
}

/*=================== Call End====================*/

/* Top Bar Styling */
.headtopbar {
  display: flex;
  justify-content: space-between;
  background-color: #111;
  color: white;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: top 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.5s ease-out;
}

/* Mobile: Hide Top Bar */
@media (max-width: 768px) {
  .headtopbar {
    display: none; /* Hides top bar on mobile */
  }

  /* Show hamburger icon on mobile */
  .hamburger {
    display: flex; /* Make hamburger visible in mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: 80%; /* Align to the left */
  }

  .hamburger .bar {
    width: 100%;
    height: 5px;
    background-color: white;
    border-radius: 5px;
  }

  /* When the menu is toggled, display the items */
  .headmenu.open ul {
    display: flex;
  }
}

/* Left section of the top bar */
.headtopbar-left {
  display: flex;
  align-items: center;
}

.headtopbar-item {
  margin-right: 20px;
  font-size: 16px;
  color: #ccc;
}

/* Right section of the top bar (social media icons) */
.headtopbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: auto;
  padding-right: 5%;
}

/* Social media icon styling */
.headsocial-icon {
  color: white;
  font-size: 20px;
  transition: color 0.3s ease;
}

.headsocial-icon:hover {
  color: #ff6f61;
  transform: scale(1.3);
}

/* Logo and Menu Styling */
.headmenubar {
  display: flex;
  justify-content: center; /* Center menu items horizontally */
  align-items: right;
  background-color: #222;
  color: white;
  padding: 20px 40px;
  position: fixed;
  top: 50px; /* Moved menubar below headnav */
  width: 100%;
  z-index: 20; /* Ensure menubar stays above headnav */
  transition: top 0.3s ease;
  animation: fadeInFromBottom 0.6s ease-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo - Align to Left */
.headlogo {
  position: absolute;
  left: 20px; /* Adjust position as needed */
}

.headlogo a {
  color: white;
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.headlogo a:hover {
  transform: scale(1.1);
}

/* Menu items */
.headmenu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center; /* Center the menu items */
}

.headmenu ul li {
  margin: 0 20px;
}

.headmenu ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.headmenu ul li a:hover {
  color: #ff6f61;
  transform: translateY(-3px);
}

/* Hide the logo when the hamburger menu is clicked */
.headlogo.hide {
  display: none;
}

/* Mobile Version Styles */
@media (max-width: 768px) {
  .headmenubar {
    flex-direction: column;
    padding: 20px;
    top: 0; /* Menu bar moves to the top */
  }

.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80vh !important; 
}

  .headmenu ul {
    display: none; /* Hide regular menu items by default */
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  /* When menu is visible */
  .headmenu.open ul {
    display: flex; /* Show menu items when hamburger is clicked */
  }

  .headmenu ul li {
    margin: 10px 0;
  }
}

/* Small Screen Adjustments */
@media (max-width: 480px) {
  .headmenu ul li a {
    font-size: 16px;
  }
}

/* Keyframe Animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeInFromBottom {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }

}



/* <!-- START HERO --> */
        .hero-section {
            position: relative;
            overflow: hidden;
            width: 100%;
            height: 90vh;
        }

        .hero-slider {
            display: flex;
            transition: transform 1s ease-in-out;
            width: 500%;
            height: 100%;
        }

        .hero-slide {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
        }

        .hero-slide:nth-child(1) {
            background-image: url('./image/slider/slider1.jpg'); /* Replace with your image path */
        }
        .hero-slide:nth-child(2) {
            background-image: url('./image/slider/slider2.jpg'); /* Replace with your image path */
        }
        .hero-slide:nth-child(3) {
            background-image: url('./image/slider/slider3.jpg'); /* Replace with your image path */
        }
        .hero-slide:nth-child(4) {
            background-image: url('./image/slider/slider4.webp'); /* Replace with your image path */
        }
        .hero-slide:nth-child(5) {
            background-image: url('./image/slider/slider5.webp'); /* Replace with your image path */
        }

        .text-container {
            color: white;
            text-align: center;
            position: absolute;
            width: 80%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;  /* Initially hide the text */
            animation: fadeInText 1s ease-in-out forwards;
        }

        .text-container h1,
        .text-container p {
            opacity: 0;  /* Start with opacity 0 */
            transform: translateY(20px); /* Start from a lower position */
        }

        .text-container h1 {
            font-size: 3rem;
            margin: 0;
            animation: slideInTextP 3s ease-in-out forwards;
            animation-delay: 0.10s;  /* Delay the paragraph's animation */
        }

        .text-container p {
            font-size: 1.5rem;
            margin-top: 10px;
            animation: slideInTextP 3s ease-in-out forwards;
            animation-delay: 0.10s;  /* Delay the paragraph's animation */
        }

        @keyframes fadeInText {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

        @keyframes slideInTextH1 {
            0% {
                transform: translateY(20px);
                opacity: 0;
            }
            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes slideInTextP {
            0% {
                transform: translateY(20px);
                opacity: 0;
            }
            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2rem;
            color: white;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            cursor: pointer;
            z-index: 10;
        }

        .arrow-left {
            left: 20px;
        }

        .arrow-right {
            right: 20px;
        }

        /* Mobile and Tablet responsive */
        @media (max-width: 768px) {
            .hero-slider {
                width: 400%;
            }

            .hero-slide h1 {
                font-size: 2rem;
            }

            .hero-slide p {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-slider {
                width: 400%;
            }

            .hero-slide h1 {
                font-size: 1.5rem;
            }

            .hero-slide p {
                font-size: 0.9rem;
            }
        }
/* <!-- END HERO --> */

/* <!-- START SERVICE --> */

        .ser-service-section {
            padding: 40px;
            background-color: #f4f4f4;
        }

        .ser-service-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .ser-service-item {
            position: relative;
            width: 23%;
            margin-bottom: 20px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ser-service-item img {
            width: 100%;
            height: auto;
            transition: opacity 0.3s ease, filter 0.3s ease;
            filter: blur(1px); /* Apply slight blur by default */
        }

        .ser-service-item:hover img {
            opacity: 1; /* On hover, make the image clearer */
            filter: blur(0); /* Remove blur */
        }

        /* Initially show service name */
        .ser-service-inner-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            font-size: 1.2rem;
            z-index: 10;
            opacity: 1; /* Service name visible by default */
            transition: opacity 0.3s ease;
        }

        /* Initially hide description */
        .ser-service-description {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            font-size: 1rem;
            background-color: rgba(0, 0, 0, 0.7);
            border-radius: 8px;
            padding: 15px;
            z-index: 20;
            opacity: 0; /* Hidden by default */
            width: 90%;
            display: none; /* Keep description hidden */
        }

        /* Show description and hide service name when hovering over the ? button */
        .ser-info-button:hover ~ .ser-service-inner-text {
            opacity: 0; /* Hide the service name */
        }

        .ser-info-button:hover ~ .ser-service-description {
            opacity: 1; /* Show the description */
            display: block; /* Make description visible */
            transition: opacity 0.3s ease;
        }

        .ser-info-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            font-size: 1.5rem;
            padding: 5px 10px;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease;
            z-index: 2;
        }

        .ser-info-button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .ser-contact-buttons {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: none; /* Hide by default */
            gap: 10px;
            z-index: 30; /* Ensure buttons are above the image */
        }

        .ser-service-item:hover .ser-contact-buttons {
            display: flex; /* Show on image hover */
        }

        .ser-contact-button {
            background-color: #25d366; /* WhatsApp green */
            color: white;
            padding: 10px 15px;
            font-size: 1rem;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .ser-contact-button:hover {
            background-color: #128c7e; /* WhatsApp darker green on hover */
        }

        .ser-contact-button.call {
            background-color: #4caf50; /* Call button green */
        }

        .ser-contact-button.call:hover {
            background-color: #388e3c; /* Call button darker green on hover */
        }

        /* Mobile and Tablet responsive */
        @media (max-width: 768px) {
            .ser-service-item {
                width: 48%;
            }
        }

        @media (max-width: 480px) {
            .ser-service-item {
                width: 100%;
            }
        }

/* <!-- END SERVICE --> */

/* <!-- START ABOUT --> */
        .abt-us-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 20px;
            padding: 50px;
            background-color: #e3f2fd;
            align-items: center; /* Align items vertically */
        }

        /* Left side - Text Section */
        .abt-left {
            padding: 20px;
        }

        .abt-left h2 {
            font-size: 2.5rem;
            color: #1a73e8;
            margin-bottom: 10px;
        }

        .abt-left p {
            font-size: 1.2rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        /* Vision and Mission Styles */
        .abt-vision, .abt-mission {
            margin-bottom: 30px;
        }

        .abt-vision h3, .abt-mission h3 {
            font-size: 1.8rem;
            color: #333;
            margin-bottom: 10px;
        }

        .abt-vision p, .abt-mission p {
            font-size: 1.1rem;
            color: #555;
        }

        /* Right side - Collage Images Section */
        .abt-right {
            position: relative;
            height: 400px; /* Set height for collage design */
            background-image: url('./image/service1.jpg'); /* Background image */
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional box shadow */
        }

        /* Overlay Images with 45 Degree Angle */
        .abt-overlay-image {
            position: absolute;
            width: 40%; /* Adjust width for overlay images */
            height: 40%;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* Image 1 */
        .abt-overlay-image:nth-child(1) {
            background-image: url('./image/vision.avif'); /* Replace with your image */
            transform: rotate(45deg); /* 45-degree angle */
            top: 20px;
            left: 20px;
        }

        /* Image 2 */
        .abt-overlay-image:nth-child(2) {
            background-image: url('./image/gallery/photography/6.jpg'); /* Replace with your image */
            transform: rotate(-45deg); /* 45-degree angle in the opposite direction */
            top: 60px;
            right: 20px;
        }

        /* Image 3 */
        .abt-overlay-image:nth-child(3) {
            background-image: url('./image/mission.jpg'); /* Replace with your image */
            transform: rotate(45deg); /* 45-degree angle */
            bottom: 20px;
            left: 40px;
        }

        /* Image 4 */
        .abt-overlay-image:nth-child(4) {
            background-image: url('./image/vision2.avif'); /* Replace with your image */
            transform: rotate(-45deg); /* 45-degree angle in the opposite direction */
            bottom: 20px;
            right: 40px;
        }

        /* Responsive Design for Tablet and Mobile */
        @media (max-width: 768px) {
            .abt-us-section {
                grid-template-columns: 1fr; /* Stack the layout for tablets */
                padding: 20px;
            }

            .abt-left h2 {
                font-size: 2rem;
            }

            .abt-left p {
                font-size: 1rem;
            }

            .abt-right {
                height: 300px; /* Reduce height on tablet */
            }

            .abt-overlay-image {
                width: 50%;
                height: 50%;
                margin: 10px auto;
            }
        }

        @media (max-width: 480px) {
            .abt-left h2 {
                font-size: 1.5rem;
            }

            .abt-left p {
                font-size: 0.9rem;
            }

            .abt-right {
                height: 250px; /* Reduce height on mobile */
            }

            .abt-overlay-image {
                width: 60%;
                height: 60%;
                top: 10px;
                left: 20%;
            }
        }
/* <!-- END ABOUT --> */

/* <!-- CONTACT START --> */
.cont-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.cont-left,
.cont-right {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cont-left {
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 24px;
    margin-bottom: 0; /* Remove margin below the heading */
    text-align: center;
    border-bottom: 2px solid #0073e6;  /* Adding a line below the heading */
    padding-bottom: 5px;  /* This ensures no extra padding */
}

.cont-description {
    font-size: 14px;
    color: #666;
    margin: 0; /* Remove margin below the paragraph */
    padding: 25px; /* Remove padding */
    text-align: center;
}

.cont-contact-icons,
.cont-social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 20px;
}

.cont-contact-icon,
.cont-social-icon {
    display: inline-block;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}

.cont-contact-icon:hover,
.cont-social-icon:hover {
    color: #0073e6;
}

form {
    display: flex;
    flex-direction: column;
}

.cont-label {
    margin: 10px 0 5px;
    font-size: 16px;
}

.cont-input,
.cont-textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.cont-textarea {
    resize: vertical;
    min-height: 100px;
}

.cont-submit-btn {
    padding: 12px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.cont-submit-btn:hover {
    background-color: #005bb5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cont-container {
        flex-direction: column;
        align-items: center;
    }

    .cont-left,
    .cont-right {
        width: 100%;
        margin-bottom: 20px;
    }

    .cont-contact-icons,
    .cont-social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }

    .cont-contact-icons a,
    .cont-social-links a {
        font-size: 14px;
    }

    .cont-label {
        font-size: 14px;
    }

    .cont-input,
    .cont-textarea {
        font-size: 14px;
    }

    .cont-submit-btn {
        font-size: 14px;
    }
}
/* <!-- CONTACT END --> */

/* <!-- GALLERY START --> */
.gallery {
    text-align: center;
    padding: 50px 15px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.filter button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
}

.filter button:hover {
    background-color: #007BFF;
    color: white;
}

/* Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1rem;
}

/* Media Queries for Mobile and Tablet */

@media (max-width: 768px) {
    .gallery {
        padding: 40px 15px;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    .filter button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller images for tablets */
    }

    .overlay h3 {
        font-size: 1.2rem;
    }

    .overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        padding: 30px 15px;
    }
    
    h2 {
        font-size: 1.2rem;
    }

    .filter button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Even smaller images for phones */
    }

    .overlay h3 {
        font-size: 1rem;
    }

    .overlay p {
        font-size: 0.8rem;
    }
}

.filter-btn {
        padding: 10px 20px;
        border: 1px solid #ddd;
        background-color: #fff;
        color: #333;
        cursor: pointer;
        margin-right: 10px;
        transition: background-color 0.3s ease;
    }

    .filter-btn.active {
        background-color: #333;
        color: #fff;
    }

/* <!-- GALLERY END --> */

/* <!-- FOOTER START --> */
 @media (max-width: 768px) {
    footer {
      padding: 40px 20px;
    }
    footer div {
      flex: 1 0 100%;
      text-align: center;
    }
    footer div img {
      width: 80px; /* Adjust image size for mobile */
    }
    footer div h4 {
      font-size: 16px;
    }
    footer div p, footer div a {
      font-size: 12px;
    }
    .additional-section img {
      width: 45%; /* Adjust image width for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    footer {
      padding: 40px 15px;
    }
    footer div img {
      width: 60px; /* Smaller images on mobile */
    }
    footer div h4 {
      font-size: 14px;
    }
    footer div p, footer div a {
      font-size: 11px;
    }
    .additional-section img {
      width: 100%; /* Stack images on very small screens */
    }
  }
/* <!-- FOOTER END --> */