/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-blue: #0056b3;
    --dark-blue: #003d80;
    --accent-blue: #00d4ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333;
}

body {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.container {
    width: 85%;
    margin: auto;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-blue);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-blue);
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.4s;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--primary-blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.nav-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-explore {
    padding: 15px 40px;
    font-size: 18px;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-explore:hover {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.user-greeting {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #0056b3;
    background: #f1f1f1;
}

.account-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button style for Register and Account */
.nav-btn {
    background: #0056b3;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.service-card i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--primary-blue);
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}