/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* Header and navigation */
header {
  background-color: #004080;
  color: #fff;
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.logo {
  height: 50px;
}

/* Hero section */
.hero {
  background: linear-gradient(to right, #004080, #007acc);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #004080;
  padding: 12px 24px;
  margin-top: 20px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

/* Page content sections */
section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

h1, h2 {
  color: #004080;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #00264d;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* Form styling */
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 10px;
  background-color: #004080;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

/* Cookie Consent Popup */
#cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    max-width: 400px;
    border-top: 5px solid var(--primary-color);
}

#cookie-consent h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

#cookie-consent p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

#cookie-consent a {
    color: var(--secondary-color);
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-accept, #cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#cookie-accept {
    background: var(--primary-color);
    color: white;
}

#cookie-accept:hover {
    background: #1a252f;
}

#cookie-decline {
    background: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

#cookie-decline:hover {
    background: #d5dbdb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #cookie-consent {
        max-width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
    }
}

/* ===== Our Services Section ===== */
.services {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: #004080;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

/* Responsive Services */
@media (max-width: 768px) {
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .service-image {
        height: 150px;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 60px 15px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-image {
        height: 130px;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }
}
