body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("https://static.vecteezy.com/system/resources/previews/041/913/410/non_2x/ai-generated-rows-of-servers-in-data-center-with-blue-lights-free-photo.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-color: #333;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust opacity here */
    z-index: -1; /* Keeps it behind other content */
}


.rounded-iframe video {
    border-radius: 10px; /* Maintains rounded effect */
}
/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.navbar .logo {
    height: 50px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar li {
    
    padding: 0 10px;
}

.navbar li:last-child {
    border-right: none;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    display: block;
    text-align: center;
}

.navbar a:hover {
    background-color: #767676;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 600px; /* Enlarged height for desktop */
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px; /* Increased font size for better visibility */
    font-weight: bold;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 10px;
    border-radius: 10px;
}

/* Content */
.educomp-content {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px; /* Adjusted for mobile */
    font-weight: 500;
    text-align: center;
    max-width: 800px; /* Adjusted for better readability */
    margin: 20px auto;
    padding: 20px;
    color: #333;
    background: whitesmoke;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.highlight {
    color: greenyellow;
    font-weight: bold;
}

/* Features Section */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.feature-box {
    width: 100%;
    max-width: 250px;
    padding: 20px;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.feature-box p {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* What are we offering section */
.containerfourvideos {
    width: 70%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 videos per row on desktop */
    gap: 10px;
}

.player {
    background: transparent;
    padding: 0;
    border-radius: 10px; /* Increased for smoother rounding */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    height: auto; /* Adjust height dynamically */
    width: 100%; /* Make it full width inside the grid */
    align-items: center;
}

.player iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px; /* Rounded corners */
    border: none;
    display: block;
}

.player h3 {
    margin-top: 10px;
    font-size: 16px;
    color: black; /* Changed to black for better visibility on white background */
}

/* Image Gallery */

/* Footer */
.footer {
    background-color: #01295c;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    color: white;
    margin-top: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links svg {
    width: 24px;
    height: 24px;
    fill: white;
    cursor: pointer;
    transition: fill 0.3s;
    align-items: center;
}

.footer-links svg:hover {
    fill: green;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* Adjusted for desktop */
    color: white;
    text-align: center;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    margin: 5px 0;
}

.footer-menu ul li a {
    color: white;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar ul {
        gap: 5px;
    }

    .carousel-container {
        height: 400px; /* Adjusted height for mobile */
    }

    .slide-text {
        font-size: 24px; /* Adjusted font size for mobile */
    }

    .educomp-content {
        font-size: 20px;
    }

    .features-section {
        gap: 10px;
    }

    .feature-box {
        width: 100%;
        max-width: 200px;
    }

    .containerfourvideos {
        grid-template-columns: repeat(1, 1fr); /* 1 video per row on mobile */
    }

    .player {
        height: 200px; /* Adjusted height for mobile */
    }

    .footer-menu {
        flex-direction: column; /* Stack lists vertically on mobile */
        gap: 20px; /* Reduced gap for mobile */
    }
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Content Section */
.content-section {
    margin-bottom: 40px;
}

.content-section h1 {
    font-size: 32px;
    color: #5c9df3;
    margin-bottom: 20px;
    text-align: center;
}

/* Content Card */
.content-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.content-card h2 {
    font-size: 24px;
    color: #01295c;
    margin-bottom: 10px;
}

.content-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Highlight Card */
.highlight-card {
    background: #01295c;
    color: white;
    padding: 30px;
    text-align: center;
}

.highlight-card p {
    font-size: 18px;
    margin: 10px 0;
    color: white;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-card {
    background: #01295c;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-card p {
    font-size: 20px;
    margin: 0;
    color: white;
}

.cta-card strong {
    color: greenyellow;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .content-section h1 {
        font-size: 28px;
    }

    .content-card h2 {
        font-size: 20px;
    }

    .content-card p {
        font-size: 14px;
    }

    .highlight-card p {
        font-size: 16px;
    }

    .cta-card p {
        font-size: 18px;
    }
}
.text-white {
    color: white !important;
}

/* Contact Form Popup Styles */
/* Modern Popup Styles */
.modern-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-popup.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    width: 90%;
    max-width: 700px;
    background: linear-gradient(135deg, #01295c 0%, #1a4b8c 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close svg {
    width: 18px;
    height: 18px;
    fill: white; /* Ensures X is white */
    filter: brightness(100%); /* Makes X more visible */
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-content {
    display: flex;
    min-height: 400px;
}

.popup-left {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.popup-header h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.popup-image {
    margin-top: 15px;
}

.popup-image img {
    max-width: 180px;
}

.popup-right {
    flex: 1;
    padding: 25px;
    background: white;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    position: relative;
    flex: 1;
    margin-bottom: 18px;
}

/* Changed label positioning to appear above inputs */
.form-group label {
    position: relative;
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transform: none;
    top: 0;
    left: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    background: transparent;
    transition: all 0.3s;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
    background-position: right 15px top 50%;
    background-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #2893d6;
    box-shadow: 0 0 0 2px rgba(40, 147, 214, 0.2);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #2893d6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.submit-btn svg {
    margin-left: 10px;
    transition: transform 0.3s;
}

.submit-btn:hover {
    background: #1a7bb9;
    box-shadow: 0 5px 15px rgba(40, 147, 214, 0.4);
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .popup-container {
        max-width: 90%;
        max-height: 90vh;
    }
    
    .popup-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .popup-left {
        padding: 20px 15px;
    }
    
    .popup-right {
        padding: 20px 15px;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
    
    .popup-header p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .popup-image img {
        max-width: 150px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        max-width: 95%;
    }
    
    .popup-left,
    .popup-right {
        padding: 15px 10px;
    }
    
    .popup-header h2 {
        font-size: 1.3rem;
    }
    
    .popup-image img {
        max-width: 120px;
    }
}