/* Modern CSS with animations and responsive design */

:root {
  --primary-color: #27313f;
  --secondary-color: #FF9A33;
  --text-color: #27313f;
  --light-bg: #f0f9f4;
  --dark-bg: #27313f;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #27313f;
}

/* Layout */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left:20px;
  padding-right:20px;
}

.section {
  padding: 1rem 0rem;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 5000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.navbar .container h1,
.navbar .container .logo {
  display: flex;
  align-items: center;
  margin: 0; /* Remove extra margin */
  padding: 0; /* Remove extra padding */
}

.logo img {
  height: 90px; /* Adjust size as needed */
  /* margin-right: 10px; Adjust space between h1 and logo */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #27313f;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-color);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 30px;
  height: 3px;
  background: var(--text-color);
  transition: var(--transition);
}
/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================= */
/* MOBILE NAVBAR FIX */
/* ========================= */

@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
    z-index: 10001;
  }

  .nav-links {

    position: fixed;
    top: 80px;
    left: -100%;

    width: 100%;
    height: calc(100vh - 80px);

    background: white;

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    gap: 2rem;

    padding-top: 40px;

    transition: 0.4s ease;

    z-index: 10000;

    display: flex;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: #27313f;
    text-decoration: none;
  }

  .logo img {
    height: 65px;
  }

  .navbar {
    z-index: 10000;
  }

  .hero-overlay,
  .video-background {
    z-index: 1;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .logo img {
    height: 55px;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* - Section */
.hero {
  margin-top: 0; /* Adjust for fixed navbar */
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--light-bg);
  overflow: hidden;
  padding-top: 80px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-cta {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.contact-section {
    display: flex;
    background: #f5f5f5;
}

/* LEFT MAP */
.map-container {
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0,0.1)
}

/* RIGHT FORM */
.contact-form{
  width:100%;
  padding:60px;
  display:grid;
  gap:1.5rem;
}
.tagline {
    letter-spacing: 2px;
    color: #27313f;
    font-size: 12px;
}

.contact-form h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0px 0;
}

.desc {
    color: #27313f;
    margin-bottom: 0px;
}

/* FORM */
form .row {
    display: flex;
}

form input {
    width: 50%;
    padding: 15px;
    border: 1px solid #ddd;
    outline: none;
}

form input:first-child {
    border-right: none;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    margin-top: 10px;
    outline: none;
}

/* BUTTON */
button {
    margin-top: 20px;
    padding: 15px 30px;
    background: #27313f;
    border: none;
    color: var(--light-bg);
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: var(--secondary-color);
}

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

.contact-info {
  background: var(--light-bg);
  color: #27313f;
  padding: 2rem;
  border-radius: 10px;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details div {
  display: flex;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 30px;
  min-height: 24px;
}

.contact-details i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.contact-details a,
.contact-details span {
  color: #27313f;
  text-decoration: none;
  margin: 0;
  display: inline-block;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}
.contact-btn {
    margin-top: 20px;
    padding: 12px 25px;
    background: #27313f;
    border: none;
    color: var(--light-bg);
    font-weight: bold;
    cursor: pointer;
}
.contact-btn:hover {
    background: var(--secondary-color);
}

/*-----Footer----*/
.main-footer {
    background: #27313f;
    color: #fff;
    padding: 20px 0 0px;
    font-family: 'Poppins', sans-serif;
}

/* TOP SECTION */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand img {
    width: 100px;
    margin-bottom: 10px;
}

.footer-heading {
  text-align: center;
  padding-top: 20px;   /* space from top */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-heading h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
}

.footer-heading p {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-col p {
    margin-bottom: 10px;
    color: #fff;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* ICON STYLE */
.footer-col i {
    color: var(--secondary-color);
    margin-top: 4px;
}

/* SOCIAL */
.social-icons a {
    margin-right: 15px;
    font-size: 18px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}
.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--secondary-color);
}
/* BOTTOM */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #aaa;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-heading h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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



/* ===================================================
   RESPONSIVE DESIGN - MOBILE / TABLET / LAPTOP
=================================================== */

@media screen and (max-width:1024px){

  /* Hero */
  .hero h1{
    font-size:3rem;
  }

  /* Contact Section */
  .contact-section{
    flex-direction:column;
  }

  .contact-form{
    padding:40px;
  }

  .contact-wrapper{
    grid-template-columns:1fr;
    gap:2rem;
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:repeat(2,1fr);
    gap:40px;
  }
}

@media screen and (max-width:768px){

  /* Navbar */
  .logo img{
    height:65px;
  }

  .nav-toggle{
    display:flex;
  }

  .nav-links{
    position:fixed;
    top:80px;
    left:-100%;
    width:100%;
    height:calc(100vh - 80px);
    background:#fff;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    gap:2rem;
    padding-top:40px;
    transition:.4s;
  }

  .nav-links.active{
    left:0;
  }

  /* Hero */
  .hero{
    margin-top:85px;
    min-height:500px;
  }

  .hero h1{
    font-size:2.2rem;
    padding:0 15px;
  }

  /* Contact Form */
  .contact-form{
    padding:30px 20px;
  }

  form .row{
    flex-direction:column;
    gap:10px;
  }

  form input{
    width:100%;
  }

  .contact-form h2{
    font-size:28px;
  }

  /* Map */
  .map-container{
    min-height:350px;
  }

  #map{
    min-height:350px;
  }

  .label-box{
    width:90%;
    left:5%;
    top:10px;
    padding:10px;
  }

  /* Get Started */
  .section-title{
    font-size:2rem;
  }

  .contact-info{
    padding:1.5rem;
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-col p{
    justify-content:center;
  }

  .social-icons{
    display:flex;
    justify-content:center;
  }

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

@media screen and (max-width:480px){

  /* Logo */
  .logo img{
    height:55px;
  }

  /* Hero */
  .hero{
    min-height:420px;
  }

  .hero h1{
    font-size:1.8rem;
    line-height:1.3;
  }

  /* Contact */
  .contact-form{
    padding:20px 15px;
  }

  .contact-form h2{
    font-size:24px;
  }

  textarea{
    min-height:120px;
  }

  button,
  .contact-btn{
    width:100%;
  }

  /* Footer */
  .footer-heading h2{
    font-size:22px;
  }

  .footer-brand img{
    width:80px;
  }

  .footer-bottom{
    font-size:12px;
  }
}