/* CSS Reset and Variables */
:root {
  --primary-color: #002B5B; /* Deep Blue representing trust */
  --secondary-color: #00A8E8; /* Bright Blue for growth and tech */
  --bg-color: #F8F9FA; /* Light Gray for cleanliness */
  --text-color: #333333;
  --white: #FFFFFF;
  --accent-color: #FF6B6B; /* A subtle accent for CTAs if needed, or stick to blues */
  --cta-color: #2ECC71; /* Green for success/activity, good for WhatsApp */
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('https://cdn.pixabay.com/photo/2016/11/19/22/52/coding-1841550_1280.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #e0e0e0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-color: var(--secondary-color);
}

.icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 168, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary-color);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
  padding: 80px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: var(--white);
}

.portfolio-overlay {
  padding: 2rem;
}

.portfolio-item h3 {
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.portfolio-tags span {
  display: inline-block;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-right: 5px;
  color: #555;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: #555;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 43, 91, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 1rem;
}

.cta-whatsapp {
  background-color: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  border-radius: 30px;
  margin-top: 1rem;
  font-weight: 600;
}

.cta-whatsapp:hover {
  background-color: #128C7E;
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-body);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: #004085;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 20px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none; /* Add mobile menu logic later with JS */
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    padding: 1.5rem;
  }
}
