/* ==========================
   Global Styles
========================== */
:root {
  --primary-color: #06231d;
  --secondary-color: #0c342c;
  --accent-color: #076653;
  --light-color: #FFFFFF;
  --dark-color: #34495E;
  --gray-color: #ECF0F1;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 10px;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  color: var(--dark-color);
  background-color: var(--gray-color);
  line-height: 1.7;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* ==========================
 Header & Navbar
========================== */
/* General Header Styles */
header {
  background: linear-gradient(90deg, #0c342c, #076653); /* Gradient background */
  color: #e3ef26; /* Text color */
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Container for Alignment */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation Links */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--secondary-color);
}

.nav-logo img.logo-img {
  height: 60px; /* Adjust logo size */
  width: auto;  /* Maintain aspect ratio */
  transition: transform 0.3s ease;
}

.nav-logo img.logo-img:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--light-color);
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #cfb53b ; /* Highlight color */
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #cfb53b ;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Call-to-Action Button */
.cta-btn {
  background: #cfb53b;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #e3ef26;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #076653, #0c342c, #06231d; /* Solid background for mobile menu */
      gap: 1.5rem;
      padding: 2rem 0;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  .menu-toggle {
      display: block;
  }

  .cta-btn {
      margin-top: 1rem;
      width: 80%;
      text-align: center;
  }
}

/* ==========================
 Hero Section
========================== */
#hero {
  background: linear-gradient(to right, #0c342c, #076653);
  color: #cfb53b;
  padding: 8rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Content */
.hero-content {
  flex: 1;
  animation: fadeInLeft 1s ease-in-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cfb53b;
  line-height: 1.5;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.btn-primary {
  background: #0c342c;
  color: #cfb53b;
}

.btn-primary:hover {
  background: #076653;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #076653;
  color: #cfb53b;
}

.btn-secondary:hover {
  background: #06231d;
  color: #cfb53b;
  transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-in-out;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

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

  .hero-content p {
      font-size: 1rem;
  }

  .hero-buttons {
      justify-content: center;
  }
}

/* Animations */
@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* ==========================
 Services Section
========================== */
#services {
  background: #f8fafc;
  padding: 4rem 2rem;
  text-align: center;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #cfb53b;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #cfb53b;
  margin-bottom: 3rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Service Icon */
.service-icon {
  font-size: 2.5rem;
  color: #cfb53b;
  margin-bottom: 1rem;
}

/* Service Title */
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #cfb53b;
}

/* Service Description */
.service-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }

  .service-card h3 {
      font-size: 1.2rem;
  }

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

/* ==========================
 About Section
========================== */
#about {
  background: #ffffff;
  padding: 4rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* About Image */
.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

/* About Content */
.about-content {
  flex: 1 1 50%;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #cfb53b;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-content strong {
  color: #cfb53b;
}

/* Button */
.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background: #0c342c;
  color: #cfb53b;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background:#076653;
  color: #cfb53b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
      flex-direction: column;
      text-align: center;
  }

  .about-content h2 {
      font-size: 2rem;
  }

  .about-content p {
      font-size: 1rem;
  }
}

/* ==========================
 Portfolio Section
========================== */
.portfolio-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #cfb53b;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  max-width: 700px;
  margin: 0 auto;
}

/* Portfolio Cards Grid */
.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Portfolio Card */
.portfolio-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Portfolio Icon */
.portfolio-icon {
  font-size: 40px;
  color: #cfb53b;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-icon {
  color: #cfb53b;
}

/* Portfolio Details */
.portfolio-title {
  font-size: 20px;
  color: #cfb53b;
  margin-bottom: 10px;
  font-weight: 600;
}

.portfolio-description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio-title {
    font-size: 18px;
  }

  .portfolio-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}

/* ==========================
 Contact Section
========================== */
#contact {
  background: #f9fafb;
  padding: 4rem 2rem;
  text-align: center;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #cfb53b;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 2rem;
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 1rem;
  color: #cfb53b;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d1d5db00;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #cfb53b;
}

.form-group textarea {
  resize: none;
  height: 150px;
}

#send-button {
  background: #0c342c;
  color: #cfb53b;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

#send-button:hover {
  background: #076653;
  color: #cfb53b;
}

/* Form Message */
#form-message {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

/* ==========================
 Footer
========================== */
footer {
  background: linear-gradient(to right ,#06231d, #076653);
  color: #cfb53b;
  padding: 40px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10%;
  text-align: left;
}

.footer-container h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #cfb53b;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-about p {
  font-size: 14px;
  color: #cccccc;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
  color: #ffffff;
}

.footer-social .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social .social-icons a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #cfb53b;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
  background-color: #0f0f0f;
  font-size: 12px;
  border-top: 1px solid #333333;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
      padding: 0 5%;
  }
  .footer-container div {
      text-align: center;
  }
  .footer-social .social-icons {
      justify-content: center;
  }
}