/* Global Styles */
:root {
    --primary: #3498db;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Header */
/* ===== HEADER STYLES ===== */
header {
  background: var(--dark);
  color: white;
  padding: 12px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  height: 60px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1001;
}

.logo span {
  color: var(--primary);
}

/* ===== DESKTOP NAVIGATION ===== */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
  display: block;
}

nav ul li a:hover {
  background: rgba(52, 152, 219, 0.2);
  color: var(--primary);
}

nav ul li:last-child a {
  background: var(--primary);
  margin-left: 15px;
}

nav ul li:last-child a:hover {
  background: #2980b9;
}

/* ===== MOBILE MENU (NO JS) ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  z-index: 1001;
}

#mobile-menu {
  display: none;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  /* Hide desktop nav */
  nav {
    display: none;
  }
  
  /* Show mobile toggle */
  .menu-toggle {
    display: block;
  }
  
  /* Mobile menu styling */
  #mobile-menu:checked ~ nav {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    animation: slideDown 0.4s ease-out;
  }
  
  #mobile-menu:checked ~ nav ul {
    flex-direction: column;
  }
  
  #mobile-menu:checked ~ nav ul li {
    margin: 10px 0;
  }
  
  /* Animation for mobile menu */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(26, 42, 58, 0.9), rgba(44, 62, 80, 0.9)),
        url('hero.jpg'); /* Save the image in /images folder */
    background-size: cover;
    background-position: center;
    /* height: 50vh; */
    min-height: 300px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
     padding-top: 60px;
  height: calc(45vh - 30px);  
}

.hero .container {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* About Section */
.about {
    text-align: left; 
}

.about .container {
    max-width: 800px; 
}

.about ul {
    padding-left: 20px; 
    margin: 15px 0; 
}

.about li {
    margin-bottom: 8px; 
}

.about h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light);
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.contact input,
.contact textarea,
.contact select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s;
}

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

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

/* Formspree-specific */
input[name="_gotcha"] {
    display: none !important;
}

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

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
.hid-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
