/* Global Styles */
:root {
    --primary-color: #0077b6;
    /* Cloud Blue */
    --secondary-color: #00b4d8;
    /* Sky Blue */
    --accent-color: #90e0ef;
    /* Light Blue */
    --text-color: #333;
    --bg-color: #cfd8dc;
    /* Darker friendly grey-blue background */
    --card-bg: #ffffff;
    --whatsapp-green: #25D366;
    --nav-hover: #e0f7fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0 5%;
    /* Adjusted padding for alignment */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

nav li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
}

nav a:hover,
nav li:hover>a {
    color: var(--primary-color);
    background-color: var(--nav-hover);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* Position right below the parent li */
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
    flex-direction: column;
}

nav li:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
    height: auto;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--nav-hover);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 80px 5%;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Certifications Section */
.certifications {
    background-color: #e3effd;
    /* Slightly different shade */
    padding: 80px 5%;
    text-align: center;
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.cert-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
}

.cert-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    nav ul {
        display: none;
        /* Simple hiding for now, can implement toggle later */
    }
}