/* --- Base and Typography --- */
:root {
  --primary-color: #333333; /* Dark text from your logo */
  --accent-color: #79a61e; /* Green from the dots */
  --secondary-accent: #f7b32b; /* Yellow-orange from the dots */
  --text-color: #333;
  --light-gray: #f8f8f8;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background-color: var(--light-gray);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--primary-color); /* Default heading color */
}

h1 { font-size: 3.5rem; text-align: center; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--accent-color);
  font-size: 1rem;
  background-color: var(--accent-color);
  color: #fff;
}

.btn:hover {
  background-color: var(--secondary-accent);
  border-color: var(--secondary-accent);
  color: #fff;
}

.btn.large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  padding: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* Prevents wrapping */
}

/* Logo & Text specific styles */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap; /* Ensures logo and text stay on one line */
}

.header-logo {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

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

.logo-text-footer {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Reduced gap to save space */
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  white-space: nowrap; /* Ensures nav links don't wrap */
}

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

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

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#nav-toggle {
  display: none;
}

/* Updated button style within the navigation */
.btn.small {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* This sets the paragraph text to white */
  text-align: center;
  padding-top: 80px;
}

.hero h1 { /* Specific style for h1 in hero section */
    color: #fff;
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    text-align: left;
}

.stats-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.stats-card div {
    text-align: center;
}

.stats-card span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary-accent);
}

.checklist {
    list-style: none;
    margin-top: 1.5rem;
}

.checklist li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Services Section --- */
.services-section h2 {
    color: var(--primary-color);
}

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

.service-card {
    text-align: center;
    padding: 2.5rem;
    border-top: 5px solid var(--secondary-accent);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
}

.icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.icon-container img {
    width: 50px;
    height: 50px;
    filter: invert(1);
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* --- Why Us Section --- */
.band {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.band h2 {
    color: #fff;
}

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

.perk-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--secondary-accent);
}

.perk h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* --- Contact Section --- */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-section-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .contact-info-card {
        order: 2;
    }

    .contact-form-card {
        order: 1;
    }
}

.contact-info-card h2,
.contact-info-card p {
    text-align: left;
}

.contact-info-card .contact-details {
    margin: 2rem 0;
}

.contact-info-card .contact-details p {
    margin-bottom: 0.5rem;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 500px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea {
    resize: vertical;
}

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

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 40px; /* Adjust as needed */
    width: auto;
    filter: brightness(0) invert(1);
}

.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.foot .logo-link {
    gap: 1rem;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

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

.whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: invert(1);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .burger {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-100vh);
    transition: transform 0.4s ease-in-out;
    gap: 0;
  }

  #nav-toggle:checked ~ nav {
    transform: translateY(0);
  }

  nav a {
    margin: 0.75rem 0;
  }
  
  .btn.small {
    margin: 1rem 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .logo-link {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
  .logo-text {
    font-size: 1.25rem;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero p { font-size: 1.25rem; }
  .stats-card {
      flex-direction: column;
      gap: 1rem;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    order: unset;
  }
}

/* --- Industries Section Carousel --- */
.industries-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.carousel-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.nav-button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 120px;
    color: var(--text-color);
}

.nav-button:hover,
.nav-button.active {
    background-color: var(--light-gray);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.nav-button img {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-button.active img {
    opacity: 1;
}

.carousel-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    min-height: 150px;
    width: 100%;
    max-width: 800px;
}

.industry-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.industry-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}