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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

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

/* Color Variables */
:root {
  --primary-yellow: #ffd700;
  --secondary-yellow: #ffa500;
  --accent-yellow: #ffff00;
  --dark-gray: #333333;
  --light-gray: #666666;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #1a1a1a;
  --purple: #6a0dad;
}

/* Utility Classes */
.yellow {
  color: var(--primary-yellow);
}
.accent-yellow {
  color: var(--accent-yellow);
}
.underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary-yellow);
  margin: 10px 0;
}

/* Top Header */
.top-header {
  background-color: var(--black);
  color: var(--white);
  padding: 20px 0;
  min-height: 150px;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 100px;
  width: auto;
  max-width: 300px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  animation: twinkle 2s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

@keyframes twinkle {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.02);
  }
}

.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 8px 12px;
  height: 60px;
}

.contact-item i {
  font-size: 16px;
  color: var(--primary-yellow);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 12px;
  font-weight: bold;
}

.contact-value {
  font-size: 11px;
}

/* Navigation Bar */
.navbar {
  background-color: var(--primary-yellow);
  padding: 0;
}

.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s;
  font-size: 12px;
  letter-spacing: 1px;
}

.nav-link:hover {
  background-color: var(--black);
  color: var(--white);
}

.nav-link.active {
  background-color: var(--black);
  color: var(--white);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  color: var(--dark-gray);
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: var(--primary-yellow);
  color: var(--black);
}

.mobile-menu-toggle {
  display: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* About Hero Section */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/construction-site-cranes.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
  font-size: 1.1rem;
  opacity: 0.9;
}

.breadcrumbs span {
  color: var(--white);
}

/* Main Content Section */
.about-main {
  background-color: var(--white);
  padding: 80px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-content {
  padding-right: 20px;
}

.content-icon {
  font-size: 48px;
  color: var(--primary-yellow);
  margin-bottom: 20px;
}

.text-content h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-content p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.8;
  text-align: justify;
}

.image-content {
  position: relative;
}

.image-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.image-content img:hover {
  transform: scale(1.02);
}

/* Call to Action Section */
.about-cta {
  background-color: var(--purple);
  padding: 60px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.cta-text h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.cta-button .btn-primary {
  background-color: var(--primary-yellow);
  color: var(--black);
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 1px;
}

.cta-button .btn-primary:hover {
  background-color: var(--secondary-yellow);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-details p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  flex-wrap: wrap;
  gap: 20px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  color: var(--dark-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-yellow);
  color: var(--black);
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--dark-gray);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: var(--primary-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .top-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-yellow);
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: var(--primary-yellow) !important;
    flex-direction: column !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-menu .nav-link {
    padding: 15px 20px;
    color: var(--white);
    text-align: center;
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: block;
    text-decoration: none;
  }

  .nav-menu .nav-link:hover {
    background-color: var(--black);
    color: var(--white);
  }

  .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }


  .navbar {
    position: relative;
  }
  
  .navbar .container {
    justify-content: space-between;
    position: relative;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .text-content {
    padding-right: 0;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .cta-text h3 {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .cta-text h3 {
    font-size: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .contact-text {
    align-items: center;
  }

  .logo-image {
    height: 80px;
  }
}

/* Smooth scrolling and transitions */
html {
  scroll-behavior: smooth;
}

* {
  transition: all 0.3s ease;
}

/* Smooth page load */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation for content elements */
.content-wrapper {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out 0.3s forwards;
}

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

/* Hover effects */
.image-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-content:hover::before {
  opacity: 1;
}

/* Text content animation */
.text-content h2 {
  animation: slideInLeft 0.8s ease-out 0.5s both;
}

.text-content p {
  animation: slideInLeft 0.8s ease-out 0.7s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CTA section animation */
.about-cta {
  animation: slideInUp 0.8s ease-out 0.9s both;
}

