* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: Arial, sans-serif;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "header"
        "nav"
        "main"
        "footer";
    min-height: 100vh;
   }

header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px; /* Add padding for spacing */
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(173, 9, 9, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to right, #f8f8f8, #08c9c9); /* Example gradient */
    height: 105px; 
    z-index: 1000; /* Ensures the header is on top of all other elements */
    /*z-index: 1000; /* Ensures the header stays above other content */
    }

    .background-image {
        /* URL of your background image */
        background-image: url(Background.jpg); 
        /* Ensure the image covers the entire background */
        background-size: cover; 
        /* Center the background image */
        background-position: center;
        /* No repeat */
        background-repeat: no-repeat; 
        /* Set the height to cover the entire viewport */
        height: 190vh;
        /* Optional: Add some overlay */
        position: relative;
    }

.logo-title {
    display: flex;
    align-items: center;
    font-style:normal;
    font-size:25px;
    font-weight: bold;
    color: rgb(28, 28, 224);
    text-shadow: 2px 2px 5px rgba(21, 214, 140, 0.418);
}

.animated-text{
    font-size:19px;
    color: gold;
    font-style: italic;
    font-weight:lighter;
    text-shadow:none;
}



header img {
    margin-right: 10px;
    width: auto;
    height: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 2);
    border-radius: 10px;
    
   
}

.icon-container {
    display: flex;
    gap: 20px; /* Increase gap between icons */
    justify-content: flex-end;
    align-items: center;
    margin-left: 20;
    
}

.icon-container .icon {
    color: gold; /* Set the color for icons */
}

nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: gold;
    opacity:0.8;
    padding: 0.5rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(173, 9, 9, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 105px; /* Position the navbar just below the header */
    width: 100%;
    z-index: 999; /* Ensures the navbar is below the header but above other elements */
    height: 40px; /* Set the height of your navbar */

}

nav ul li a:hover {
    color: #08c9c9;
    text-decoration: underline;
}

.main {
    padding-top: 160px; /* Match the height of the header */
}

header img {
    margin: 5px;
    width: 100px;
    height: auto;
    
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;

    }
    .page-title {
        text-align: center; /* Center the title horizontally */
        margin: 2px 200px; /* Add spacing above and below the title */
        padding: 10px; /* Add padding inside the container */
        background: rgba(8, 201, 201, 0.1); /* Subtle light cyan background */
        border-radius: 10px; /* Smooth rounded corners */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1); /* Adds layered depth */
    }
    
    .page-title h1 {
        font-size: 18px; /* Reduce font size for a more subtle appearance */
        color: #faffff; /* Brand color */
        font-weight: bold; /* Slightly bold for prominence */
        margin: 0; /* Remove default margin */
        font-family: 'Poppins', sans-serif; /* Modern font styling */
    }
    
    .page-title {
        animation: fade-in 1.5s ease-in-out;
    }
    
    @keyframes fade-in {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
.container {
    grid-area: main;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    padding: 20px;
}

.main-content {
    background:#e0e0e0;
    padding: 20px;
    padding-top: 300;
   
}

.sidebar {
    background: #06ddc069;
    padding: 20px;
    color: #1a1a1a;
}

article {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(to left, #f8f8f8, #08c9c9); 
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

section {
    margin-bottom: 20px;
    padding: 15px;
    background: #e0e0e0;
    color: #20a3c4;
}

section h3{
    text-align: center;
    justify-content: center;
    
}
.sub-wrapper{
    display: grid;
    height: 35vh;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows:02fr 08fr;
    grid-template-areas:
    "heading heading heading heading"
    "content1 content2 content3 content4" ;
    grid-gap: 0.2rem;
    color: #004d40;
    text-align: center;

}

footer {
    grid-area: footer;
    background: #20a3c4;
    color: white;
    text-align: center;
    padding: 1rem;
    z-index: 1; /* Ensures the navbar is below the header but above other elements */
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}


/* Slideshow container */
.slideshow-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin: auto;
    padding-top: 190;
    max-width: 100%;
    height: auto;

}

/* Hide the images by default */
.mySlides {
    display: none;
   
  
   
}

/* Image with fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 50%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;

}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


.main-content {
    padding: 20px;
    padding-top: 190;
    background: #f8f8f8;
    color: #333;
}

h2, h3 {
    color: #08c9c9;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}


/* Our Track Records page specific styles */
.trackrecord.main-content {
    padding-top: 170;
    padding: 20px;
    background: #f8f8f8;
    color: #333;
}

h2 {
    color: #08c9c9;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Contact Us page specific styles */
.contact-us .main-content {
    padding: 20px;
    padding-top: 170px; 
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

label {
    font-weight: bold;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    background: #08c9c9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #007f7f;
}

/* About Us page specific styles */
.aboutus.main-content {
    padding: 20px;
    background: #f8f8f8;
    color: #333;
}

h2, h3 {
    color: #08c9c9;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
    z-index: -1;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* Sign In Button Styling */
nav ul li a.sign-in-link {
    background-color: #08c9c9; /* Light cyan background */
    color: white;
    padding: 8px 15px;
    border-radius: 5px; /* Rounded edges */
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    transition: background-color 0.3s, transform 0.3s;
}

/* Hover Effect for Sign In Button */
nav ul li a.sign-in-link:hover {
    background-color: #007f7f; /* Dark cyan on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    nav ul li a {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
}
/* Center the Sign In Form below the navbar */
.signin-container {
    position: absolute; /* Ensures it's positioned relative to the page */
    top: 150px; /* Pushes the form below the navbar (adjust this value if your navbar height changes) */
    left: 50%; /* Places the container horizontally in the center */
    transform: translateX(-50%); /* Centers the container horizontally */
    display: flex; /* Enables flexbox layout */
    flex-direction: column; /* Aligns elements vertically */
    align-items: center; /* Centers items horizontally */
    justify-content: center; /* Centers items vertically (not necessary with `top`) */
    width: 100%; /* Allows form to adapt to screen size */
    height: calc(100vh - 150px); /* Adjusts height to take remaining viewport height below the navbar */
    padding: 20px; /* Adds some padding */
    box-sizing: border-box; /* Ensures consistent padding and width */
}

/* Form Styling */
.sign-in-form {
    background: rgba(255, 255, 255, 0.95); /* Transparent white background for better readability */
    padding: 30px 40px; /* Adds spacing inside the form */
    border-radius: 10px; /* Smooth rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Adds depth with shadow */
    max-width: 400px; /* Restricts the form to a maximum width */
    width: 100%; /* Ensures it adapts to smaller screens */
    text-align: center; /* Centers the content inside the form */
}

/* Form Title */
.sign-in-form h2 {
    margin-bottom: 20px; /* Space below the title */
    color: #08c9c9; /* Cyan color for brand consistency */
    font-size: 26px; /* Slightly larger for emphasis */
}

/* Input Fields */
.sign-in-form input {
    width: 100%; /* Full width for consistency */
    padding: 12px; /* Adds inner spacing */
    margin-bottom: 15px; /* Space between fields */
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded edges for smooth design */
    font-size: 16px; /* Matches overall design */
}

/* Submit Button */
.sign-in-form button {
    background: #08c9c9; /* Cyan background */
    color: white; /* White text */
    border: none; /* Removes default border */
    padding: 12px 20px; /* Larger button for accessibility */
    font-size: 16px; /* Increases text size */
    border-radius: 5px; /* Rounded edges */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s, transform 0.2s; /* Adds animation */
}

/* Button Hover Effect */
.sign-in-form button:hover {
    background: #007f7f; /* Darker cyan on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Signup Section Below Form */
.signup {
    margin-top: 20px; /* Space above the signup section */
    font-size: 14px; /* Smaller text for subtlety */
    color: #333; /* Dark gray for readability */
    text-align: center; /* Centers the signup text */
}

.signup a {
    color: #08c9c9; /* Cyan links for consistency */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Bold text for emphasis */
}

.signup a:hover {
    text-decoration: underline; /* Underline on hover for interactivity */
}

/* Reduce the height of the page */
body.other-pages {
    height: 170vh; /* Still covers the viewport */
    display: flex; /* Flexbox for alignment */
    flex-direction: column; /* Stacks elements vertically */
}

/* Contact Us Title Section */
.contactuspage {
    padding: 30px 20px; /* Spacing around the title */
    text-align: center; /* Centers the title */
    background: rgba(8, 201, 201, 0.1); /* Light cyan tint */
    border-radius: 10px; /* Smooth corners */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    margin: 20px auto; /* Centers the container */
    max-width: 800px; /* Restricts width for focus */
    justify-content: center;
}

.contactuspage h1 {
    font-size: 28px; /* Prominent title size */
    color: #08c9c9; /* Brand cyan color */
    font-weight: 600; /* Bold for emphasis */
   }

/* Contact Information Section */
.contact-information {
    top: 200;
    padding: 25px 20px; /* Adds spacing inside the container */
    background: #ffffff; /* Clean white background for clarity */
    border-radius: 10px; /* Smooth rounded edges */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    max-width: 800px; /* Keeps layout compact */
    margin: 20px auto; /* Centers the section */
    line-height: 1.8; /* Improves readability */
    justify-content: center;
}

.contact-information p {
    margin: 8px 0; /* Adds spacing between paragraphs */
    justify-content: center;
}

.contact-information strong {
    color: #08c9c9; /* Highlights important text in brand color */
    font-weight: 700;
}

.contact-information a {
    color: #007bff; /* Standard blue for links */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Ensures links stand out */
}

.contact-information a:hover {
    text-decoration: underline; /* Adds underline on hover for clarity */
}


.contactus-container {
    position: absolute;
    top: 450px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text horizontally */
    justify-content: center; /* Centers the text vertically */
    text-align: center; /* Ensures text inside the container is centered */
    width: 80%;
    max-width: 800px; /* Optional: to limit container width */
    height: auto; /* Adjust height dynamically */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: refined shadow */
    background-color: #007f7f;
    opacity: 0.8; /* Ensure consistent opacity syntax */
    z-index: 998;
    line-height: 1.6;
}



.contactus-container article h2{
    justify-content: center;
    font-weight: bold; /* Ensures links stand out */
    color: #f2f2f2;
}
/* Global chat container styling */
.chat-container {
    margin-top: 20px;
  }
  
  /* Sidebar styling */
  .sidebar {
    border-right: 1px solid #ddd;
    height: 100vh;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 15px;
  }
  
  /* Main chat area styling */
  .chat-main {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  #messages-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #fff;
  }
  
  /* Message box styling */
  .message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    word-wrap: break-word;
  }
  
  .message.admin {
    background-color: #e9f7fe;
    text-align: right;
  }
  
  .message.member {
    background-color: #f1f1f1;
    text-align: left;
  }
  
  /* Reply form styling */
  #reply-form {
    margin-top: 10px;
  }
  
  /* Notification (bell icon) styling */
  .notification { 
    position: relative;
  }
  
  #notificationIcon {
    font-size: 1.5em;
    cursor: pointer;
  }
  
  .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 0.8em;
  }
  
  /* Side popup styling */
  .side-popup {
    position: fixed;
    right: -350px;
    top: 30%;
    width: 350px;
    height: 400px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }
  
  .side-popup.open {
    right: 0;
  }
  
  .side-header {
    background: #007bff;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
  }
  
  .side-header h5 {
    margin: 0;
  }
  
  .side-header .close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    outline: none;
  }
  
  #side-content {
    padding: 10px;
    height: calc(100% - 45px);
    overflow-y: auto;
  }
  
  .product-management img {
    width: 50px;
    height: auto;
    border-radius: 5px;
}

.header-right { float:right; display:flex; align-items:center; gap:12px; }
.user-greet { font-weight:bold; color:#067e7e; margin-right:8px; }

/* Prevent page content from hiding behind the fixed header */
body.other-pages .background-image {
  padding-top: 110px; /* adjust if your header+nav is taller */
}

/* Optional: fine-tune layout spacing */
.page-title {
  margin-bottom: 1rem;
  text-align: center;
}

.signin-container {
  margin: 2rem auto;
  max-width: 400px;
  padding: 1.5rem;
  background-color: #ffffffcc;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Ensure section doesn’t overlap with form */
section {
  padding: 3rem 1rem;
  background: #f9f9f9;
  clear: both;
}

/* Tighten and isolate form area */
.signin-container {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffffcc; /* translucent white */
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Ensure OUR SERVICES stays on its own block */
.sub-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.sub-wrapper > div {
  flex: 0 1 220px;
  text-align: center;
}

.sub-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.sub-wrapper .text1,
.sub-wrapper .text2,
.sub-wrapper .text3,
.sub-wrapper .text4 {
  margin-top: 0.5rem;
  font-weight: 500;
}
