/* Color Palette Variables - Edit these to change your theme easily */
:root {
  --primary: #1e3a8a;      /* Deep Blue */
  --accent: #f59e0b;       /* Gold / Safety Amber */
  --danger: #dc2626;       /* Urgent Red for Call Button */
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}

.nunito-font {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 70px; /* Space for sticky call */
}

/* Sticky Call btn */
.emergency-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 10px 16px;
  z-index: 1000;
  display: flex;
  justify-content:center;

}


.btn-call {
  background-color: #52b788;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 5px 0px;
  width: 15vh;
  border: none;
  outline: none;
  font-weight: 500;

  /* Animation properties */
  animation: phoneShake 3s infinite ease-in-out;
}

.btn-call:focus{
  border: none;
  outline: none;
}

/* 2. Define the keyframes */
@keyframes phoneShake {
  /* 0% to 70%: Button stays completely still (~2.1s pause) */
  0%, 70%, 100% {
    transform: rotate(0deg) scale(1);
  }
  
  /* 70% to 90%: Quick phone wiggle effect (~0.6s duration) */
  72% { transform: rotate(-6deg) scale(1.02); }
  75% { transform: rotate(6deg) scale(1.02); }
  78% { transform: rotate(-5deg); }
  81% { transform: rotate(5deg); }
  84% { transform: rotate(-3deg); }
  87% { transform: rotate(3deg); }
  90% { transform: rotate(0deg) scale(1); }
}

.call-icon {
  width: 16px;
  height: 16px;
  padding-right: 1px;
  
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #081c1536;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: #081c15;
  display: flex;
  flex-flow: row;
  align-items: center;
}

.lock-logo{
  width: 40px;
  height: 40px;
}

.status-badge {
  background-color: #dcfce7;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Hero Section */
.hero {
  padding: 32px 20px 10px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.hero h1 {
  font-size: 1.75rem;
  color: #081c15;
}

.hero h2 {
  font-size: 1.6rem;
  color: #081c15;
  margin-bottom: 12px;
}

.hero p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 75%;
}

.btn-primary {
  background-color: #52b788;
  color: #ffffff;
  border: none;
}

.btn-primary:hover{
  transform: scale(95%);
}

 

/* Services */

.service-icon{
  width: 20px;
  height: 20px;
  transform: translate(-10px, 1px, 0)

}

.services {
  padding: 32px 20px;
}

.services h1 {
  font-size: 1.4rem;
  margin-bottom: 50px;
  text-align: center;
  color: #081c15
}

.service-card {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid #52b7886f;
 
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #081c15;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.devon-map{
  width: 180x;
  height: 180px;
  margin-bottom: 50px;
}

.map-box{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-flow: column;
  margin-bottom: 50px;
}

.map-title{
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.4rem;
  color: #081c15;
}

.map-content{
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.map-text{
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid #52b7886f;
  height: 210px;
  padding: 5px;
  margin-left: 25px;
  margin-bottom: 50px;
  
}

.map-txt{
  color: #081c15;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.map-txt-title-b{
  color: #081c15;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: start;
  padding-left: 1px;  

}

.map-txt-b{
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: start;
  padding-left: 1px;
  margin-bottom: 5px;

}


.map-icon{
  width: 32px;
  height: 32px;
}

/* -- ABOUT US -- SECTION */


.more-details{
  display: flex;
  flex-flow: column;
  align-items: center;
}


.about-us{
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.6rem;

}



.more-details h1{
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.4rem;
}

.more-details h4{
  margin-bottom: 8px;
}

.details-text{
  font-size: 0.9rem;
  color: var(--text-muted);
  
}

.details-icon{
  width: 17px;
  height: 17px;
  transform: translate(-5px, 2px);
}

.brands-text{
  padding-top: 15px;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 700;
}

.service-card-bottom {
  background: #ffffff;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius);
  width: 90%;
  height: 180px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid #52b7886f;
  margin-bottom: 16px;
}

.bottom-card-l{
  padding-top: 50px;
}

.about-title{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  border: none;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 80px;
}

/* DESKTOP RESOLUTION */
@media (min-width: 900px) {

  .btn{
    max-width: 20%;
    height: 65px;
    display: flex;
    font-size: 22px;
    align-items: center;
    justify-content: center;
  }

  .services{
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  .services h1{
    padding-bottom: 20px;
  }

  .service-card{
    width: 55%;
    height: 110px;
  }

  .more-details{
    display: flex;
    flex-flow: row;
    justify-content: center;
    padding-top: 30px;
    margin-bottom: 150px;
    
  }


  .service-card-bottom{
    width: 25%;
    margin-bottom: 20px;
    margin: 10px;
  }

  .call-icon{
    transform: translateX(-5px);
  }

  .btn-call{
    width: 15 vh;
  }

  .logo{
    font-size: 1.7rem;
  }
  .devon-map{
    margin-right: 350px;
    width: 350px;
    height: 300px;
  }

  .map-title{
    margin-bottom: 100px;
  }

  .map-text{
    transform: translateX(-100px);
    width: 300px;
    height: 300px
  }

  .map-txt{
    font-size: 1rem;
    margin-top: 5px;
    
  }

  .map-txt-title-b{
    font-size: 1rem;
    margin-top: 25px;
    padding-left: 5px;
  }


  .map-txt-b{
    font-size: 0.9rem;
    margin-top: 5px;
    padding-left: 5px;
  }

  .map-icon{
  width: 56px;
  height: 56px;
  padding-right: 15px;
  }

  .about-title{
    margin-top: 100px;
  }

  .lock-logo{
  width: 48px;
  height: 48px;
  }


}