/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 15%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    z-index: 1000;  /* This ensures the navbar is always on top */
}

.navbar .logo img {
    width: 100px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s ease, border-radius 0.3s ease;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #b8860b;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-links a:hover {
    background-color: #b8860b;
    color: #fff;
    text-shadow: 0 0 10px #b8860b, 0 0 20px #b8860b, 0 0 30px #b8860b, 0 0 40px #b8860b;
    border-radius: 20px;
}

.navbar .nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar:hover {
    border-bottom: 2px solid #b8860b;
}

.navbar .nav-links a {
    transition: all 0.3s ease-in-out;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;  /* Ensure the hero section is positioned relative */
    height: 100vh;
    background: url('images/testback.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 5%;
}

/* Add this to create the color overlay */
.hero::before {
    content: '';  /* Pseudo-element content */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the color and opacity */
    z-index: 1;  /* Position the overlay above the background image but below the content */
}

/* Ensure the content stays on top of the overlay */
.hero h1, .hero p, .btn-primary {
    position: relative;
    z-index: 2; /* Make sure text and buttons are above the overlay */
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background: #e67e22;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #f1c40f, #e67e22, #f39c12, #f1c40f);
    background-size: 200%;
    animation: hover-shine 1.5s infinite linear;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.6);
    color: #fff;
}

.btn-primary:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #f1c40f, #e67e22, #f39c12, #f1c40f);
    filter: blur(10px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

@keyframes hover-shine {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}

/* Services Section */
.services {
    padding: 80px 5%;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: #333;
}

/* Slider */
.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-content {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.service {
    flex: 0 0 250px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #333;
}

.service p {
    padding: 10px;
    color: #555;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 20;
}

.slider-controls .arrow {
    width: 40px;
    height: 40px;
    background-color: #ff6600;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.2s, background-color 0.3s ease;
}

.slider-controls .arrow:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: #cc5200;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
}

/* Media Queries */@media (max-width: 992px) {
    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #333;
        width: 100%;
        display: none;
    }

    .navbar .nav-links.show {
        display: flex;
    }

    .navbar .nav-links a {
        padding: 15px;
    }

    .hero {
        height: 80vh;
    }

    .service {
        flex: 0 0 calc(50% - 20px);
    }

    .slider-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
        display: none; /* Hide the nav-links by default on mobile */
        position: static;
    }

    .navbar .nav-links.show {
        display: flex; /* Show the nav-links when the menu-toggle is clicked */
    }

    .navbar .nav-links a {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .menu-toggle {
        display: block; /* Show the hamburger menu */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
        
    }

    .service {
        flex: 0 0 calc(100% - 20px);
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 2%;
    }

    .hero {
        padding: 2% 5%;
    }

    .btn-primary {
        font-size: 0.85rem;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    .service {
        flex: 0 0 100%;
    }

    .slider-controls .arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

.vector-image-3 {
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-image: url(images/frame6.png);
    background-size: cover;
    background-position: center;
}

.gold-text {
    background: linear-gradient(90deg, #FFD700, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shine 2s infinite linear;
    font-weight: bold;
}

/* Animation for the shining effect */
@keyframes gold-shine {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 100%;
    }
}

/* Service Tiles */
.service {
    display: block;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Pop-up Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-modal.show {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero h1 {
    text-align: center;
}


.hero p {
    text-align: center; /* Keep the rest of the text centered */
    font-size: 18px; /* Adjust font size for the paragraph */
    margin-top: 20px; /* Adjust spacing for the paragraph */
}

.hero .motto {
    text-align: center;
    margin-top: -35px; /* Negative value to move the motto upwards */
    font-size: 20px; /* Adjust the font size for the motto */
    font-weight: bold; /* Optional: make the motto text bold */
    color: #cfbbbb; /* Adjust the color if needed */
}


/* Mobile View and Responsiveness */

/* For devices with a max-width of 992px */
@media (max-width: 992px) {
    /* Navbar - Adjusting layout */
    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #333;
        width: 100%;
        display: none;
    }

    .navbar .nav-links.show {
        display: flex;
    }

    .navbar .nav-links a {
        padding: 15px;
    }

    /* Hero Section - Height adjustment */
    .hero {
        height: 80vh;
    }

    /* Service Section - Adjusting tile width */
    .service {
        flex: 0 0 calc(50% - 20px);
    }

    /* Slider Content - Wrap tiles */
    .slider-content {
        flex-wrap: wrap;
        gap: 10px;
    }

 

/* For devices with a max-width of 768px */
@media (max-width: 768px) {
    /* Navbar - Adjusting layout */
    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
        display: none;
        position: static;
    }

    .navbar .nav-links.show {
        display: flex;
    }

    .navbar .nav-links a {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .menu-toggle {
        display: block;
    }

    /* Hero Section - Adjusting text size */
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Service Section - Adjusting tile width */
    .service {
        flex: 0 0 calc(100% - 20px);
    }

    /* Services Heading - Font size adjustment */
    .services h2 {
        font-size: 1.8rem;
    }

    /* Button Primary - Font size adjustment */
    .btn-primary {
        font-size: 0.9rem;
    }
}

/* For devices with a max-width of 576px */
@media (max-width: 576px) {
    /* Navbar - Padding adjustment */
    .navbar {
        padding: 0.5rem 2%;
    }

    /* Hero Section - Padding adjustment */
    .hero {
        padding: 2% 5%;
    }

    /* Button Primary - Font size adjustment */
    .btn-primary {
        font-size: 0.85rem;
    }

    /* Services Heading - Font size adjustment */
    .services h2 {
        font-size: 1.5rem;
    }

    /* Service Tiles - Adjust width */
    .service {
        flex: 0 0 100%;
    }

    /* Slider Controls - Adjust arrow size */
    .slider-controls .arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Popup Modal */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 10px;
    max-height: 80vh; /* Limit the height of the popup */
    overflow: hidden; /* Hide overflow */
}

/* Popup content - making it scrollable */
.popup-content {
    max-height: calc(80vh - 40px); /* Adjust the height to allow scrolling */
    overflow-y: auto; /* Add vertical scrolling if content overflows */
    padding-right: 10px; /* Adjust for scrollbar */
}

/* Popup Backdrop */
.popup-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Vertical side menu styles */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    background-color: #ddd;
    color: #333;
}

/* Close button style */
.side-menu .close-btn {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

/* Open side menu button for mobile */
.open-menu {
    display: none; /* Hidden by default */
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Mobile responsiveness: show the side menu on mobile screens */
@media (max-width: 768px) {
    /* Hide the desktop menu on mobile */
    .nav-links {
        display: none;
    }

    /* Show the side menu only on mobile */
    .side-menu {
        width: 0; /* Hidden by default */
    }

    /* Show the open button to open the menu */
    .open-menu {
        display: block;
    }

    /* Show the side menu when opened */
    .side-menu.open {
        width: 250px;
    }

    /* Style the menu links in mobile view */
    .side-menu a {
        font-size: 18px;
    }
}

/* Mobile responsiveness: show the side menu on mobile screens */
@media (max-width: 768px) {
    /* Hide the desktop menu on mobile */
    .nav-links {
        display: none;
    }

    /* Show the side menu only on mobile */
    .side-menu {
        width: 0; /* Hidden by default */
    }

    /* Show the open button to open the menu */
    .open-menu {
        display: block;
    }

    /* Show the side menu when opened */
    .side-menu.open {
        width: 250px;
    }

    /* Style the menu links in mobile view */
    .side-menu a {
        font-size: 18px;
    }
}

.side-menu {
    height: 100%;
    width: 0 !important; /* Forcefully hide by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu.open {
    width: 250px !important; /* Ensure it's opened correctly */
}




/* Navigation links - visible on desktop */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* Open menu icon for mobile */
.open-menu {
    display: none; /* Hidden by default on desktop */
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Side menu styles */
.side-menu {
    height: 100%;
    width: 0; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    background-color: #ddd;
}

/* Close button for the side menu */
.close-btn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Media query for mobile */
@media (max-width: 768px) {
    /* Hide regular navbar links on mobile */
    .nav-links {
        display: none;
    }

    /* Show the open menu icon on mobile */
    .open-menu {
        display: block;
    }

    /* Side menu styles for mobile */
    .side-menu.open {
        width: 250px; /* Show side menu when open */
    }
}
}

/* Mobile view */
@media (max-width: 992px) {
    .navbar .nav-links {
        display: none; /* Hide by default */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #333;
        width: 100%;
    }
    .navbar .nav-links.show {
        display: flex; /* Show when the toggle button is clicked */
    }
}

/* Desktop view */
@media (min-width: 993px) {
    .navbar .nav-links {
        display: flex; /* Show normally on desktop */
        position: static; /* Ensure it's positioned normally */
        background-color: transparent;
    }
}

/* Pop-up styling */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
    text-align: center;
}

.popup h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.popup p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
}

.popup-close:hover {
    color: #444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Backdrop for pop-up */
.popup-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}



/* Navigation Links (for desktop) */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Mobile Side Menu */
.side-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #333;
    z-index: 1000;
    padding-top: 50px;
}

.side-menu a {
    display: block;
    padding: 20px;
    color: white;
    text-decoration: none;
}

.side-menu a:hover {
    background-color: #444;
}

.side-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Show the menu button (☰) on mobile */
.open-menu {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 767px) {
    .nav-links {
        display: none; /* Hide the desktop menu links */
    }

    .open-menu {
        display: block; /* Show the menu button (☰) on mobile */
    }

    .side-menu {
        display: block; /* Show the side menu when activated */
    }
}

/* Desktop View (default) */
@media (min-width: 768px) {
    .nav-links {
        display: flex; /* Show the nav links on larger screens */
    }

    .side-menu {
        display: none; /* Hide the side menu on desktop */
    }
}
