/* Root Variables */
:root {
  --primary: #003366; /* Deep blue for steel industry */
  --primary-dark: #002244;
  --primary-light: #004488;
  --secondary: #43464b; /* Steel grey */
  --secondary-light: #5a5e63;
  --accent: #ff9900; /* Orange accent for calls to action */
  --accent-dark: #e08600;
  --background: #f8f9fa; /* Light background */
  --background-dark: #e9ecef;
  --text: #333333; /* Dark text */
  --text-light: #6c757d;
  --white: #ffffff;
}

/* General Styles */
body {
  color: var(--text);
  background-color: var(--background);
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* Header Styles */
.header {
  background-color: var(--white);
  padding: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header.scrolled {
  padding: 8px 0;
}

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

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

.logo-text {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  margin-left: 10px;
}

.navmenu {
  display: flex;
}

.navmenu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navmenu a {
  display: block;
  position: relative;
  color: var(--text);
  padding: 8px 12px;
  transition: 0.3s;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--accent);
  text-decoration: none;
}

.navmenu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 12px;
  background-color: var(--accent);
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.navmenu a:hover:after,
.navmenu .active:after {
  visibility: visible;
  width: calc(100% - 24px);
}

.phone-number {
  background-color: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.phone-number:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  color: var(--white);
}

.phone-number i {
  margin-right: 6px;
}

.mobile-nav-toggle {
  display: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  line-height: 0;
  transition: 0.5s;
}

/* Hero Section (Restored to Original) */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 160px 0 80px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../img/steel-hero-bg.jpg') top center no-repeat;
  background-size: cover;
}

.hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  color: var(--white);
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero h4 {
  color: var(--accent);
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 18px;
}

.btn-get-started {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.3s;
  background-color: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  text-decoration: none;
}

.btn-get-started:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
  color: var(--white);
}

.hero-phone {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 8px 15px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  z-index: 3;
}

.hero-phone a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.hero-phone a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-float i {
  font-size: 24px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Section General Styles */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  color: var(--primary);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--accent);
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 15px auto 0;
}

/* About Section */
.about-section {
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 0 15px;
}

.about-image {
  flex: 1;
  min-width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  padding-left: 12px;
}

.about-text h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.about-text .fst-italic {
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 51, 102, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
}

.about-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.about-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.about-list i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-right: 12px;
  background: rgba(0, 51, 102, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-list li span {
  font-size: 1rem;
  color: var(--text);
}

.founder-highlight {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  margin-top: 20px;
}

.founder-highlight p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.stat-box {
  flex: 1;
  min-width: 180px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-text {
  font-size: 1rem;
  color: var(--text);
}

/* Cards Section (Vision & Mission) */
.cards {
  padding: 50px 0;
}

.cards .card-item {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cards .card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.cards .card-item:hover::before {
  width: 100%;
  opacity: 0.1;
}

.cards .card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cards .card-item span {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: rgba(0, 51, 102, 0.15);
  margin-bottom: 12px;
  line-height: 1;
}

.cards .card-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.cards .card-item h4 a {
  color: inherit;
  text-decoration: none;
}

.cards .card-item p {
  color: var(--text-light);
  font-size: 15px;
  margin: 0;
}

.card-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.cards .card-item:nth-child(2)::before {
  background: #2ecc71;
}

.cards .card-item:nth-child(2) .card-icon {
  color: #2ecc71;
}

.cards .card-item:nth-child(2) span {
  color: rgba(46, 204, 113, 0.15);
}

.cards .card-item:nth-child(3)::before {
  background: #9b59b6;
}

.cards .card-item:nth-child(3) .card-icon {
  color: #9b59b6;
}

.cards .card-item:nth-child(3) span {
  color: rgba(155, 89, 182, 0.15);
}

/* Services Section */
.services {
  padding: 60px 0;
  background-color: var(--background);
}

.services .service-item {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.services .service-item:hover::before {
  width: 100%;
  opacity: 0.1;
}

.services .icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--white);
  font-size: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.services .service-item:hover .icon {
  background: var(--accent);
  transform: rotate(10deg);
}

.services .title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.services .title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.services .title a:hover {
  color: var(--accent);
}

.services .description {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.services .service-item:nth-child(2)::before {
  background: var(--accent);
}

.services .service-item:nth-child(2) .icon {
  background: var(--accent);
}

.services .service-item:nth-child(3)::before {
  background: var(--secondary);
}

.services .service-item:nth-child(3) .icon {
  background: var(--secondary);
}

.services .service-item:nth-child(4)::before {
  background: var(--primary-dark);
}

.services .service-item:nth-child(4) .icon {
  background: var(--primary-dark);
}

.services .service-item:nth-child(5)::before {
  background: var(--accent-dark);
}

.services .service-item:nth-child(5) .icon {
  background: var(--accent-dark);
}

/* Portfolio Section */
.portfolio {
  padding: 50px 0;
}

.isotope-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-images {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.portfolio-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-info {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--white);
}

.portfolio-info p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Image Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Contact Section */
.contact {
  padding: 60px 0;
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.map-wrapper {
  width: 75%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.map-wrapper:hover {
  transform: translateY(-5px);
}

iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.contact .info-item {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  border-radius: 10px;
  height: 100%;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact .info-item p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.contact .info-item .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.contact .info-item .social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.php-email-form .row {
  gap: 15px;
}

.php-email-form input,
.php-email-form textarea {
  border-radius: 4px;
  border: 1px solid var(--text-light);
  padding: 10px;
  font-size: 14px;
}

.php-email-form button {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.php-email-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer (Restored to Original) */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer .footer-top {
  margin-bottom: 30px;
}

.footer .footer-links h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer .footer-links h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

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

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

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
}

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

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Top */
#scroll-top {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

#scroll-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h2 {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 120px 0 60px 0;
    min-height: 80vh;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero h4 {
    font-size: 20px;
  }

  .navmenu ul {
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .navmenu ul.show {
    opacity: 1;
    visibility: visible;
  }

  .navmenu a {
    color: var(--text);
    padding: 10px 15px;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: var(--accent);
  }

  .navmenu a:after {
    display: none;
  }

  .mobile-nav-toggle {
    display: block !important;
  }

  .header-contact {
    display: none;
  }

  .services .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }

  .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero h4 {
    font-size: 20px;
  }

  .btn-get-started {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Zoomed image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain; /* Keeps aspect ratio */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ccc;
}

