/* ===== Global Variables ===== */
:root {
  --primary: #2563eb;      /* Deep blue */
  --secondary: #1e40af;    /* Darker blue */
  --dark: #0f172a;         /* Navy background */
  --light: #f8fafc;        /* Off-white text */
  --accent: #f97316;       /* Vibrant orange */
  --accent-hover: #ea580c; /* Darker orange */
  --gray: #64748b;         /* Medium gray */
  --dark-gray: #1e293b;    /* Dark gray */
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

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

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent);
  color: var(--dark);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  target: "_blank";
}

.secondary-btn:hover {
  background: var(--accent);
  color: var(--dark);
}

/* ===== Navbar ===== */
nav {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* When scrolled (sticky state) */
nav.scrolled {
  background: rgba(15, 23, 42, 0.9); /* 50% transparent dark blue */
  backdrop-filter: blur(8px); /* Creates frosted glass effect */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Logo Size Adjustment */
@media (max-width: 768px) {
  .logo {
    font-size: 1.3rem;
  }
  
  nav {
    padding: 15px 0;
  }
  
  .hamburger {
    width: 25px;
    height: 18px;
  }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  #nav-menu {
    position: fixed;
    top: 70px; /* Adjust based on your nav height */
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
  }
  
  #nav-menu.active {
    left: 0;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--dark-gray));
  padding-top: 80px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.hero h1 span {
  color: var(--accent);
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.8);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--gray);
}

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

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ensures two equal columns*/
  gap: 50px;
  align-items: center;
}

.about-content {
  max-width: 100%;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.value-icon {
  color: var(--accent); /* Your orange accent color */
  margin-right: 10px;
  transition: transform 0.3s ease; /* Add animation */
}

/* Hover effect */
.value-list li:hover .value-icon {
  transform: translateX(3px); /* Moves right on hover */
}

.value-proposition {
  margin: 30px 0;
}

.value-list {
  list-style: none;
  margin-top: 15px;
}

.value-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.check-icon {
  position: absolute;
  left: 0;
  color: var(--accent);
}

.about-img {
  text-align: center;
  justify-self: end;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: auto;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--gray);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  color: var(--light);
  font-size: 1.5rem;
  transition: color 0.3s;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--light);
}

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

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px 0;
  background: rgba(15, 23, 42, 0.8);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px; 
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
    margin-bottom: 40px;
    justify-self: center;
    max-width:300px;
  }

  .value-list li {
    padding: 8px 0 8px 25px;
  }
}

/* Logo Size Adjustment */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 20px 60px; /* Added top padding for nav */
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-top: 20px;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* Services Centering Fix */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .card {
    padding: 25px;
  }
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--light);
  transition: all 0.3s ease;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    transition: left 0.3s ease;
  }
  
  nav.active ul,
  ul.active  {
    left: 0;
  }
  
  nav ul li {
    margin: 15px 0;
  }

}

/* WhatsApp Button */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: #25D366;
  display: flex;
  align-items: center;
  gap: 8px;
  width:250px;
}

.whatsapp-btn:hover {
  background: #128C7E;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}


.hero-buttons {
    flex-direction: column;
    align-items: center;
 }


/* ===== Projects Section - Cleaned & Optimized ===== */
.projects {
  background: rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px auto 0;
  max-width: 1200px;
  padding: 0 20px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(249, 115, 22, 0.3);
}

.project-card img {
  max-width: 350px;;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.02);
}

.project-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.project-card h3 {
  font-size: 1.5rem;
  margin: 15px 0;
  color: var(--light);
  position: relative;
  width: 100%;
}

.project-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.project-card:hover h3::after {
  width: 80px;
}

.project-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  width: 100%;
}

.project-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(249, 116, 22, 0);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  margin: 5px auto 20px auto;
  width: auto;
  max-width: 180px;
}

.project-card .btn:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card {
    max-width: 100%;
  }

  .project-card img {
    height: 250px;
    object-fit: cover;
    object-position: top;
  }
}