/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #E6F0FA;
    color: #333;
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Playfair+Display:wght@400;700&family=Roboto:wght@400;700&display=swap');

/* Links and images */
a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* Top bar */
.top-bar {
    background-color: #00a1c1;
    color: white;
    padding: 8px 20px;
    text-align: right;
    font-size: 18px;
    position: sticky;
    height: 40px;
    top: 0;
    z-index: 1001;
    transition: background-color 0.3s ease;
}
.top-bar.scrolled {
    background-color: #EF4444;
}

/* Header / Navbar */
header {
    background-color: #0D3B66;
    color: white;
    position: sticky;
    top: 40px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar .logo h1 {
    font-family: 'Pacifico', cursive;
    font-size: 35px;
    color: #E6F0FA;
}

.navbar ul {
    list-style: none;
    margin-right: 100px;
    display: flex;
    gap: 40px;
}

.navbar ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    background-color: #00a1c1;
    padding: 15px; /* match inline */
    border-radius: 10px; /* match inline */
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #0D3B66, #3A7CA5);
    color: white;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* CTA Button */
.hero .cta-btn,
button.cta-btn {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    background-color: #EF4444;
    color: white;
    font-size: 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero .cta-btn:hover,
button.cta-btn:hover {
    background-color: #B91C1C;
}

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

.services h3 {
    font-family: 'Playfair Display', serif;
    color: #0D3B66;
    font-size: 38px;
    margin-bottom: 50px;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h4 {
    color: #0D3B66;
    margin-bottom: 15px;
    font-size: 18px;
}

.service-card p {
    font-size: 18px;
    color: #555;
    line-height: 25px;
}

/* Footer */
footer {
    background-color: #0D3B66;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer a {
    color: #45d7ff;
    margin: 0 10px;
    transition: color 0.3s;
}

footer a:hover {
    color: #E6F0FA;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px; /* match inline */
    }
    .hero p {
        font-size: 20px; /* match inline */
    }
}

.content {
    width: 90vw; /* full viewport width */
    background-color: #ffffff; /* or any background you want */
    padding: 60px 100px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 40px auto; /* spacing from other sections */
    box-sizing: border-box;
}

.content h1 {
    font-family: 'Playfair Display', serif;
    color: #0D3B66;
    font-size: 48px;
    margin-bottom: 20px;
}

.content h2 {
    font-family: 'Playfair Display', serif;
    color: #0D3B66;
    font-size: 36px;
    margin-bottom: 20px;
}

.content h3 {
    font-family: 'Playfair Display', serif;
    color: #0D3B66;
    font-size: 28px;
    margin-bottom: 20px;
}

.content p {
    font-size: 20px;
    color: #000000;
    max-width: 100%px;
    margin: 0 auto 30px auto;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    text-align: justify;
}

.content button.cta-btn {
    padding: 15px 40px;
    font-size: 20px;
}

/*changes for mobile */
@media (max-width: 600px) {
  .content {
    padding: 50px 50px;
    margin: 0px auto 50px;
    font-size: 20px;
  }
}
