:root {
  --primary: #0066cc;
  --accent: #f39c12;
  --dark: #222;
  --light: #f5f7fa;
}

* { box-sizing: border-box; margin:0; padding:0; font-family: Arial, sans-serif; }
body { background: var(--light); color: var(--dark); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
header { background: var(--dark); color:#fff; padding: 10px 20px; display:flex; justify-content:space-between; align-items:center; }
/* header nav a { margin: 0 10px; color:#fff; } */
header nav a {
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

header .brand { font-weight: bold; font-size: 20px; }
.hero { background: url('images/home-bg.jpg') center/cover no-repeat; color:#fff; text-align:center; padding:100px 20px; }
.hero h1 { font-size: 48px; margin-bottom: 10px; }
.hero p { font-size: 20px; margin-bottom: 20px; }
.hero .btn { background: var(--accent); padding: 10px 20px; border-radius: 5px; color:#fff; margin: 5px; display:inline-block; }
/* .container { max-width: 1100px; margin: auto; padding: 20px; } */
h2 { margin-bottom: 20px; font-size: 28px; }

.container {
  background-color: #f9f9f9; /* light background */
  padding: 50px 20px;
}




.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 100%;
  max-width: 490px;
  transition: transform 0.3s ease;
}

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



.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  color: #0073e6;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}



/* .card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden; 
  width: 300px; 
}

.card img {
  width: 100%;
  height: auto; 
  display: block;
} */

/* .card img:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
} */

/* .card img {
  display: block !important;
  opacity: 1 !important;
} */

/* 
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.card { background:#fff; padding:20px; border-radius:8px; box-shadow:0 4px 10px rgba(0,0,0,0.1); }
.card img { max-width:100%; border-radius:6px; margin-bottom: 10px; } */
footer { background: var(--dark); color:#fff; text-align:center; padding:20px; margin-top:40px; }
form input, form textarea { width:100%; padding:10px; margin:8px 0; border:1px solid #ccc; border-radius:4px; }
form button { background: var(--primary); color:#fff; padding:10px 15px; border:none; border-radius:4px; cursor:pointer; }
form button:hover { background: var(--accent); }
/* General Reset */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5px 10px;
  background-color: #ffffff;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  height: 75px;
  width: 230px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #0073e6;
}

/* Hero Section */
/* .hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  background-color: #f9f9f9;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  background: #0073e6;
  transition: background 0.3s ease;
}

.hero-buttons .btn:hover {
  background: #005bb5;
}

.hero-image img {
  width: 450px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} */
/* Hero Section */
.hero {
  position: relative;
  height: 85vh; /* not full screen, so About is visible quickly */
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/home-bg.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay improves readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  background: #0073e6;
  transition: background 0.3s ease;
}

.hero-buttons .btn:hover {
  background: #005bb5;
}



/* About Section */
.about {
  padding: 60px 80px;
  background: #ffffff;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.about p {
  font-size: 1.05rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}


/* Services Section */
.services {
  padding: 60px 80px;
  background: #f2f6ff;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
}

.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 25px;
  width: 500px;
  transition: transform 0.3s ease;
}

.about-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 25px;
  width: 250px;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  margin-bottom: 15px;
  color: #1a237e;
}

.about-footer {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #444;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card h3 {
  margin-bottom: 15px;
  color: #0073e6;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Highlights Section */
.highlights {
  padding: 60px 80px;
  text-align: center;
  background: #ffffff;
}

.highlights h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
}

.highlight-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.highlight-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card h3 {
  margin-bottom: 15px;
  color: #0073e6;
}

.highlight-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-image img {
    width: 100%;
    margin-top: 20px;
  }

  nav a {
    margin-left: 15px;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }
}

/* Projects Section */
.projects {
  padding: 60px 80px;
  background-color: #f2f6ff;
  text-align: center;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.projects p {
  font-size: 1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Contact Section */
.contact {
  padding: 60px 80px;
  background-color: #f2f6ff;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.contact .intro {
  font-size: 1rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Contact Grid */
/* .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
  margin-top: 30px;
} */

/* Contact Info */
/* .contact-info {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
  text-align: center;
} */

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 480px;
  text-align: center;
  margin: 0 auto; /* centers inside flex */
}

.contact-info h3 {
  color: #0073e6;
  margin-bottom: 15px;
}

.contact-info p {
  color: #444;
  font-size: 0.95rem;
  margin: 5px 0;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
  text-align: left;
}

.contact-form h3 {
  color: #0073e6;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.contact-form button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005bb5;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
