/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Top Bar */
.top-bar {
    background-color: #13c557;
    color: #fff;
    padding: 5px 0;
    text-align: center;
}

.contact-info span {
    display: inline-block;
    margin: 0 10px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #124f72;
}
header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header nav ul li {
    margin: 0 10px;
    position: relative;
}

header nav ul li a {
    color: #BFD7EA;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

header nav ul li a:hover,
header nav ul li a:focus {
    background: #248e9a;
    color: white;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
    border-radius: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 10px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fffefe;
    font-weight: bold;
    padding: 8px 16px;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
}

.nav-links .dropdown-content a {
    display: block;
    padding: 8px 16px;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}
/* Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3a86b2;
    min-width: 160px;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

.dropdown-content a {
    color: rgb(23, 6, 6);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: orange;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Main Content */
main {
    padding: 0px;
}

/* Intro Section */
.intro {
    background: url('intro-bg.jpg') no-repeat center center/cover;
    color: black;
    text-align: center;
    padding: 60px 20px;
    background-color: rgb(186, 227, 252);
}

.intro-text {
    max-width: 600px;
    margin: 0 auto;
}

.intro h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.intro p {
    font-size: 18px;
}

/* Services Section */
#services {
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(159, 218, 255);
}

#services h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-cards .card {
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(33.333% - 40px);
    box-shadow: 0px 10px 20px;
    border-radius: 10px;
}

.service-cards .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-cards .card p {
    font-size: 16px;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 40px 20px;
    background-color: #124f72;
    color: #fff;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact button {
    background-color: #ff4081;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #124f72;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-content p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service-cards .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .service-cards .card {
        flex: 1 1 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links li {
        margin: 5px 0;
    }
}
/* Popup boxes*/  

  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  