/* General body styling */
body {
    background-color: #327276;  /* Background color */
    color: #f8f7ea;  /* Text color */
    margin:auto;
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
}


.tab-container {
            width: 95%;
            margin: 20px auto;
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            overflow: auto; /* Allows scrolling */
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        
        #unmapped {
    max-height: 40vh; /* Limits size */
    overflow-y: auto; /* Allows scrolling */
}


        .tabs {
            display: flex;
            border-bottom: 2px solid #327276;
        }
        .tab {
            flex: 1;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            font-size: 18px;
            background: #f8f7ea;
            color: #327276;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            transition: 0.3s;
        }
        .tab:hover {
            background: #e1e1d1;
        }
        .tab.active {
            background: #327276;
            color: #f8f7ea;
            font-weight: bold;
        }
        .tab-content {
            display: none;
            padding: 20px;
        }
        .tab-content.active {
            display: block;
        }

/* Center the login form */
.container {
        position: relative;
    background-color: #3b8b8f;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    margin: auto;  /* Centers it horizontally */
    
}


.container2 {
        position: relative;
    background-color: #3b8b8f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    left:0;
    width: calc(100% - 360px); /* Occupy the rest of the space */
    overflow: hidden;

    
}


       .video-container {
            width: 80%;
            height: 80%;
            overflow: hidden;
            position: relative;
            margin: 0 auto;  /* Center the container */
        }

        /* Video styles */
        video {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures the video covers the container */
        }
        
        /* Desktop video (default) */
        .desktop-video {
            display: block;
            width: 100%;
            height: auto;
        }

        /* Mobile video (hidden by default) */
        .mobile-video {
            display: none;
            width: 100%;
            height: auto;
        }

/* Heading */

h1 {    
    text-align: center;
    color: #f8f7ea;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f8f7ea;
}

/* Label Styling */
label {
    font-size: 16px;
    color: #f8f7ea;
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

/* Input fields */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Styling for buttons */
button {
    background-color: #f8f7ea;  /* Reverse color */
    color: #327276;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e1e1d1;
}

.sidebar-btn {
    background-color: #327276; /* Button background color */
    color: #f8f7ea; /* Text color */
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}

.sidebar-btn:hover {
    background-color: #285e5b;
}

/* Close button for sidebar on mobile devices */
.close-btn {
    background-color: #f44336; /* Red close button */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hidden on larger screens */
    margin-bottom: 20px;
}

/* Forgot password link */
a {
    color: #f8f7ea;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-top: 10px;
}

a:hover {
    text-decoration: underline;
}

/* Error messages */
.error {
    color: #f44336;  /* Red error text */
    margin-bottom: 10px;
}

/* Success message */
.success {
    color: #4CAF50;  /* Green success text */
}

/* Additional padding for form elements */
input, button, a {
    margin-top: 10px;
}

.create-plan button {
    background-color: #f8f7ea;
    color: #327276;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.create-plan button:hover {
    background-color: #e1e1d1;
}

/* Manage plans section */
.manage-plans ul {
    list-style-type: none;
    padding: 0;
}

.manage-plans li {
    background-color: #f8f7ea;
    color: #327276;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.manage-plans li span {
    font-size: 16px;
    font-weight: bold;
}

.manage-plans li a {
    text-decoration: none;
    color: #327276;
    font-weight: bold;
    margin-left: 10px;
}

.manage-plans li a:hover {
    text-decoration: underline;
}

.success {
    color: #4CAF50;  /* Green success text */
}

.error {
    color: #f44336;  /* Red error text */
}

.menu-options {
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    background-color: #f8f7ea;
    color: #327276;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #e6e6e6;
}

.back-button {
    background-color: #f8f7ea;
    color: #327276;
    padding: 10px 20px;
}

.back-button:hover {
    background-color: #e6e6e6;
}


/* Main header container */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #327276;
    color: #f8f7ea;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Logo section */
.logo img {
    max-height: 150px;
    margin-bottom: 20px;
}

/* Main navigation menu styling */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav ul li {
    display: inline;
}

.main-nav ul li a {
    text-decoration: none;
    color: #f8f7ea;
    font-size: 18px;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: #e6e6e6;
    color: #327276;
    border-radius: 4px;
}

/* Action buttons */
.action-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Get Started button */
.get-started {
    background-color: #f8f7ea;
    color: #327276;
}

.get-started:hover {
    background-color: #e6e6e6;
}

/* Login button */
.login {
    background-color: transparent;
    color: #f8f7ea;
    border: 2px solid #f8f7ea;
}

.login:hover {
    background-color: #f8f7ea;
    color: #327276;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    background-color: #f8f7ea;  /* Light background color */
    color: #327276;  /* Primary text color */
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;  /* Center the container */
}

.highlight-text {
    font-size: 28px;
    font-weight: bold;
    background-color: #327276;  /* Reversed background color */
    color: #f8f7ea;  /* Reversed text color */
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.main-title {
    font-size: 48px;  /* Bigger font for emphasis */
    font-weight: bold;
    margin-bottom: 30px;  /* Space between title and descriptions */
    letter-spacing: 1px;
}

.main-title .data,
.main-title .tech {
    font-size: 60px;  /* Bigger font for Data and Tech */
    font-weight: bold;
    color: #327276;  /* Primary text color for Data and Tech */
}

.descriptions {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;  /* Make descriptions stack on smaller screens */
}

.description {
    font-size: 18px;
    margin: 10px 0;
    width: 45%;  /* Each description takes 45% of the width */
    min-width: 300px;
    box-sizing: border-box;
    line-height: 1.5;
    color: #327276;  /* Ensures consistent text color */
}

.data-description {
    text-align: right;
}

.tech-description {
    text-align: left;
}


.sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #f8f7ea;
    color: #327276;
    overflow-y: auto;
    padding: 20px;
    transition: all 0.3s;
}

.map-container {
    margin-right: 300px; /* Pushes the map left when sidebar is visible */
}

.form-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping to next line if needed */
    gap: 10px; /* Space between fields */
    justify-content: flex-start; /* Align items at the start */
}

.form-group {
    display: flex;
    flex-direction: column; /* Ensure label is above the select field */
    width: calc(33.33% - 20px); /* Adjust width to fit three fields per row */
    min-width: 200px; /* Minimum width for each field to avoid squeezing */
}

.form-group label {
    margin-bottom: 8px; /* Space between label and select */
    font-weight: bold; /* Style the label */
}

.form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}


/* Style for the modal overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    align-items: center;
    justify-content: center;
}

/* Style for the enlarged image */
.modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    border: 5px solid white;
    border-radius: 8px;
}

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Page style */
        .grid-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin: 0 auto;
        }

        .site-card {
            display: flex;
            flex-direction: column;
            border: 1px solid #ccc;
            border-radius: 10px;
            margin: 20px;
            padding: 20px;
            width: 80%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            page-break-after: always; /* Ensure each card starts on a new page in PDF */
        }

      

        .site-image img {
           width: 100%; /* Full width image */
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .site-details {
                        padding: 20px;
    line-height: 1.6;

        }

        .site-details h3 {
            margin-top: 0;

        }

        .site-details p {
            margin: 5px 0;
        }

        .pdf-button {
            margin: 20px;
            padding: 10px 20px;
            font-size: 16px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .pdf-button:hover {
            background-color: #45a049;
        }
        
        #pdf-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}


.bottom-bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #327276;
        color: #f8f7ea;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .bottom-bar button {
        background-color: #f8f7ea;
        color: #327276;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
    }

    .bottom-bar button:hover {
        background-color: #e1e1d1;
    }

/* Section Styling */
        .services-section {
            padding: 50px 20px;
            background-color: #327276;
        margin: 0 auto;  /* Center the container */
text-align: center;

        }

        .services-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 30px;
            color: #f8f7ea;
            justify-content: center; /* Ensures text is centered */
            align-items: center;
   
        }

        /* Grid Container */
       .services-container {
            display: flex;
            overflow-x: auto; /* Enables horizontal scrolling */
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 15px;
            padding-bottom: 10px;
            white-space: nowrap;
    scrollbar-width: thin; /* Adjust scrollbar width */
        }
        
        
           /* Grid Container */
       .services-container2 {
            display: flex;
            overflow-x: auto; /* Enables horizontal scrolling */
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 15px;
            padding-bottom: 10px;
            white-space: nowrap;
    scrollbar-width: thin; /* Adjust scrollbar width */
        }
        
        
        .services-container::-webkit-scrollbar {
    scrollbar-width: thin; /* Adjust scrollbar width */
        }
        
        .services-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* Gives a subtle scrollbar */
    border-radius: 5px;
}

.services-container::-webkit-scrollbar-track {
    background: transparent; /* Hides track background */
}


        /* Service Card */
        .service-card {
            flex: 0 0 auto;
            width: 250px;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            scroll-snap-align: center;
            transition: transform 0.3s ease-in-out;
            position: relative;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-icon {
            font-size: 40px;
            margin-bottom: 15px;
            color: #f8f7ea;
        }

        .service-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 10px 0;
            background: linear-gradient(to right, #b8860b, #daa520);
            color: white;
            font-size: 0.8rem;
            font-weight: bold;
            text-transform: uppercase;
        

        }
        
        
         .service-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .scroll-btn {
            top: 50%;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            font-size: 1.5rem;
                        width:10%;

        }

        .scroll-btn-left {
            left: 10px;
        }

        .scroll-btn-right {
            right: 10px;
        }
        
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 10px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .form-group textarea {
            height: 100px;
        }

        .form-actions {
            text-align: right;
        }

        .form-actions button {
            padding: 10px 20px;
            background-color: #f8f7ea;;
            color: #327276;;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .form-actions button:hover {
            background-color: #e1e1d1
        }

        .success-message, .error-message {
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
        }

        .success-message {
            color: green;
        }

        .error-message {
            color: red;
        }
        
        
        .contact-container {
    display: flex;
    justify-content: center;
    gap: 50px; /* Spacing between items */
    text-align: center;
    padding: 20px 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}

.contact-icon {
    width: 40px; /* Adjust icon size */
    height: auto;
    margin-bottom: 10px;
}

footer {
      background-color: #327276;
      color: #f8f7ea;
      text-align: center;
      padding: 10px;
      margin-top: 20px;
    }


/* Responsive Design */
@media (max-width: 768px) {
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .main-title {
        font-size: 36px;
    }

    .main-title .data,
    .main-title .tech {
        font-size: 48px;
    }

    .description {
        width: 100%;
        text-align: center;
    }

    .descriptions {
        flex-direction: column;
    }
    
    .container {
        
        width: 100%;
        padding: 15px;  /* Adjust padding */
        box-sizing: border-box; /* Prevents overflow due to padding */
        
    }
    
      .container2 {
        
        width: 100%;
        padding: 15px;  /* Adjust padding */
                height: auto;
                overflow-y: auto;
                        box-sizing: border-box; /* Prevents overflow due to padding */


        
    }
        
        
    .sidebar {
        width: 92%;
        height: 100%;
        top: 0;
        right: 0;
        position: fixed;
        background-color: rgba(0, 0, 0, 0.9);
        color: #f8f7ea;
        z-index: 9998;
        padding: 20px;
        display: none;
        overflow-y: auto;

    }

    .sidebar.active {
        display: block;
    }

    .map-container {
        margin-right: 0;
    }
    
    .form-group {
        width: calc(40% - 20px); /* Two fields per row on medium screens */
            min-width: 150px; /* Minimum width for each field to avoid squeezing */

    }
    
    .form-group select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    width:150px;
}
    
    .close-btn {
        display: block; /* Show close button on mobile */
    }
    
    .desktop-video {
                display: none;
            }

            .mobile-video {
                display: block;
            }
            
            .services-title {
                font-size: 2rem;
            }
            
            .service-card {
                width: 200px;
            }
            
            
            .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }



}

@media (max-width: 480px) {
    .main-nav ul li a {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
    }
    
    .highlight-text {
        font-size: 24px;
    }

    .main-title {
        font-size: 32px;
    }

    .main-title .data,
    .main-title .tech {
        font-size: 40px;
    }

    .description {
        font-size: 16px;
        line-height: 1.4;
    }
    
  
}