/* ===== Base Styles ===== */
:root {
  --primary: #112f64;
  --secondary: #f07407;
  --primary-rgb: 17, 47, 100;
  --secondary-rgb: 240, 116, 7;
  --text: #070707;
  --light-text: #666;
  --background: #ffffff;
  --light-bg: #f7f9fb;
  --border: #e1e4e8;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --btn-hover-scale: 1.02;
  --btn-active-scale: 0.98;
}

/* ===== Typography ===== */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--primary);
  font-weight: 700;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: #e06a06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 116, 7, 0.3);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(rgba(17, 47, 100, 0.8), rgba(17, 47, 100, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Services Section ===== */
.services-section {
  padding: 5rem 0;
}

.service-category {
  margin-bottom: 4rem;
}

.service-category h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.service-category h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

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

.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary);
  font-size: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: var(--secondary);
  color: white;
}

.service-card h3 {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.5rem;
  padding-bottom: 0.8rem;
  color: var(--primary);
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Optional: Add a "Learn More" button */
.service-card .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* ===== Team Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.team-info p {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--light-bg);
  padding: 5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-role {
  color: var(--light-text);
  font-size: 0.9rem;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(240, 116, 7, 0.2);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  margin-right: 1rem;
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width/* Pages CSS */
.page-hero {
    background: linear-gradient(rgba(7, 7, 7, 0.8), rgba(7, 7, 7, 0.8)), 
                url('../images/hero-services.jpg') center/cover;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-section {
    padding: 5rem 0;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.core-services {
    background-color: #f9f9f9;
}

.secondary-services .service-card {
    background-color: white;
    border: 1px solid #eee;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
}