/* Root Variables */
:root {
  --primary-color: #eb4d14;
  --secondary-color: #031070;
  --light-color: #f4f4f4;
  --dark-color: #292929;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}
h1 { font-size: 3rem; }
p { margin-bottom: 15px; color: rgba(14, 13, 13, 0.8); }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background: #ee2405;
  transform: translateY(-3px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 80px;
  padding: 20px 0;
  background: #fff;
  z-index: 1000;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(211, 205, 205, 0.9);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 60px;
  width: 200px;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 30px;
  position: relative;
}
.nav-links a {
  color: #080808;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}
.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}
.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 0 0 5px 5px;
  z-index: 1001;
}
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #333;
  transition: background 0.3s;
}
.dropdown-content a:hover {
  background: #f4f4f4;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 20px;
}
.hamburger span {
  display: block;
  width: 100%; height: 3px;
  background: #080808;
  transition: all 0.3s ease;
}

/* Hero Section */
.page-hero.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 60vh;
  min-height: 550px;
  text-align: left;
  overflow: hidden;
  background: url('../images/contact_homepage') no-repeat center center/cover;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}
.hero-content h1 {
  color: #e94128;
}
.hero-content h1 span {
  color: var(--secondary-color);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #090101;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--secondary-color);
  color: #fff;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info,
.contact-form {
  padding: 30px;
}
.contact-info h2,
.contact-form h2 {
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}
.contact-info h2::after,
.contact-form h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--primary-color);
}
.contact-info p {
  color: rgba(255, 255, 255, 0.8);
}
.info-item {
  display: flex;
  margin-bottom: 25px;
}
.info-icon {
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary-color);
  font-size: 18px;
}
.info-text h4 {
  color: #fff;
  margin-bottom: 5px;
}
.info-text p {
  color: rgba(255, 255, 255, 0.7);
}

/* Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
.form-group {
  position: relative;
  margin-bottom: 25px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  background-color: var(--light-color);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  font-size: 16px;
  color: #0a0909;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(235,77,20,0.3);
}
.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: rgba(246,10,10,0.7);
  pointer-events: none;
  transition: all 0.3s ease;
}
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: var(--secondary-color);
  padding: 0 5px;
  color: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-primary {
  width: 200px;
  padding: 15px;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 30px;
}

/* Map Section */
.map-section {
  padding: 0 0 100px;
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* Footer */
.footer {
  background: #282829;
  color: #fff;
  padding: 80px 20px 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--primary-color);
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}
.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}
.footer-col ul li:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-col ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}
.social-links {
  display: flex;
  margin-top: 20px;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgb(255, 251, 251);
  font-size: 0.9rem;
}

.footer-bottom p{
  color: var(--light-color);
}

/* Animations */
.animate-from-left { opacity: 0; transform: translateX(-50px); animation: fadeInLeft 0.8s ease forwards; }
.animate-from-right { opacity: 0; transform: translateX(50px); animation: fadeInRight 0.8s ease forwards; }
.animate-from-bottom { opacity: 0; transform: translateY(50px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive Design */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    padding: 20px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 2.2rem; }
  .contact-info, .contact-form {
    padding: 20px;
  }
  .form-group label {
    font-size: 0.9rem;
  }
}
