 /* Global Styles */
 :root {
    --primary:  rgb(59, 34, 174);
    --secondary: rgb(19, 19, 136);
    --dark: #0d0d0d;
    --light: #f5f5f5;
    --gray: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}


/*header css*/


header {
  background-color: white;
  height: 50px ;
  padding: 6px 0;
  border-bottom: 2px inset rgb(19, 19, 136);
  box-shadow: 0px 5px 5px rgb(59, 34, 174);
  gap: 100px;
  position: relative;
  z-index: 10; /* Ensures header stays above other content */
}

.header-container{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 2000px;
  margin: auto;
  padding: 0 50px;
  gap: 700px;

}

.ford-logo {
  display: flex;
  align-items: center;
}

.ford-icon {
  height: 40px;
}

.nav-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.nav-items a {
  text-decoration: none;
  color: black;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-items a:hover {
  color: black;
  text-decoration: underline;
  transform: scale(1.05) translateY(-2px);
  text-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
 
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url(/images/2019_ford_ecosport_titanium_15.jpg);
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
  
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hotlines {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.hotlines i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.hotlines h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.hotlines p, .info-text a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--primary);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Map Section */
.map {
    height: 400px;
    margin-bottom: 5rem;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
/* Footer styling */
.ford-footer {
  background-color: #f5f5f5;
  color: #333;
  padding: 40px 0 20px;
  font-family: Arial, sans-serif;
  border-top: 1px solid #e0e0e0;
 

}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 150px;
  padding: 0 15px;
}

.footer-heading {
  color: #002D55;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #004F9F;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  flex-direction: column; /* Changed to column layout */
  gap: 20px; /* Added gap between sections */
}

/* Social Links Section */
.social-links {
  display: flex;
  justify-content: center; /* Center social links */
  gap: 24px;
  border-bottom: 1px solid #ddd; /* Divider line */
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #002D55;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.social-links img {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  color: #004F9F;
  text-decoration: underline;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 0.8rem;
}

.legal-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.copyright {
  width: 100%;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
     /* Header adjustments */
  header {
    height: auto;
    padding: 10px 0;
  }

  .header-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  /* Navigation */
  .nav-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
  }

  .nav-items a {
    font-size: 0.9rem;
    padding: 5px 10px;
  }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}
