:root {
  --primary-color: #1a5f7a;
  --secondary-color: #2c88a0;
  --accent-color: #ffa41b;
  --text-color: #2d3748;
  --light-bg: #f7fafc;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--secondary-color);
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 35px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(44, 136, 160, 0.9)),
              url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80') center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 16px 35px;
  background: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background: #ff8c00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 164, 27, 0.3);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--light-bg);
}

.features h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Services Preview */
.services-preview {
  padding: 100px 0;
}

.services-preview h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  padding: 25px 25px 15px;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.service-card p {
  padding: 0 25px 25px;
  color: var(--text-color);
  opacity: 0.9;
}

/* About Page */
.about-section {
  padding: 120px 0 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Services Page */
.services-section {
  padding: 120px 0 80px;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 60px;
}

.service-category {
  margin-bottom: 80px;
}

.service-category h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

/* Contact Page */
.contact-section {
  padding: 120px 0 80px;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 60px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.footer-section p,
.footer-section a {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 15px;
}

.footer-section a {
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.social-links a {
  display: inline-block;
  margin-right: 20px;
  font-size: 1.6rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: block;
  }

  .nav-links a {
    display: block;
    margin: 15px 0;
    text-align: center;
  }

  .mobile-menu {
    display: block;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

.center {
  text-align: center;
  margin-top: 40px;
}