/*=== Responsive Hamburger Menu (<1024px)===*/
@media (max-width: 1024px) {
  .menu-toggle{
    display: block;
  }

  .nav-links{
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #2c3e50;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active{
    right: 0;
  }

  .navbar {
    justify-content: space-between;
  }
}
/*===================================*/

/*=== Desktop Override (>1025px)===*/
@media(min-width: 1025px) {
    .nav-links {
        display: flex !important;
        position: static;
        height: auto;
        background: none;
        padding: 0;
    }

    .menu-toggle {
        display: none;
    }
}
/*===============================*/
@media (max-width: 768px) {
  .nav-links{
    display: none;
    flex-direction: column;
    background-color:#2c3e50 ;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger{
    display: flex;
  }

  .hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
  }
}

@media (max-width: 600px) {
  .cta-buttons,
  .service-grid,
  .why-choose {
    padding: 1rem;
  }

  .nav-links {
    padding: 0.5rem 0;
  }
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 80px;
}
/*=== Desktop Navbar ===*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #34495e;
  color: white;
}


.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Hamburger icon*/
.hamburger{
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span{
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 2px
}

/* Hamburger (hidden by default on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
}

/*======================*/

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* show the hamburger */
  }

  .nav-links {
    display: none; /* hide nav links */
    flex-direction: column;
    width: 200px;
    background: #2c3e50;
    position: absolute;
    top: 60px;
    right: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-links.active {
   display: flex;
  }

  .hamburger{
    display: flex;
  }
}

/*===============================*/
body{
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}
/*=== Desktop Navbar === */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c3e50;
    padding: 1rem 2rem;
    color: white;
}

.logo{
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links{
   display: flex;
   flex-direction: row;
   gap: 1.5rem;
   list-style: none;
   padding: 0;
   margin: 0;
}

.nav-links li a{
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover{
    color: #3498db;
}
/*====================*/


.logo img{
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(5.5) contrast(5.5);
}
.nav-links{
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}
.nav-links li a{
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover{
    color: #3498db;
}

.nav-links li a.active{
  color: var(--accent-color);
  font-weight: bold;
}

/*Hamburger icon hidden by default*/
.menu-toggle{
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

@media (max-width: 1024px){
  .menu-toggle{
    display: block;
  }

  .nav-links { 
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #2c3e50;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active{
    right: 0;
  }

  .navbar{
    justify-content: space-between;
  }
}

@media (min-width: 1025px) {
  .navlinks{
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    padding: 0;
  }
  
  .menu-toggle{
    display: none;
  }
}


/*===============================*/

header{
    background: #34495e;
    color: white;
    text-align: center;
    padding: 2rem;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

header p{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-buttons button{
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #3498db;
    color: white;
}

.features, .services, .testimonials{
    padding: 2rem;
    text-align: center;
}

.features li{
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-card{
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3 ease, box-shadow 0.3s ease;
}


.testimonials{
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.testimonials h2{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.testimonials blockquote{
    font-style: italic;
    margin: 1rem 0;
    padding:0.5rem;
    border-left: 4px solid #3498db;
    background: #f9f9f9;
    border-radius: 5px;
}


footer{
    background: #ecf0f1;
    text-align: center;
    padding: 1rem;
    margin-top: 0.9rem;
}

.why-choose {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}   

.social-icons a img:hover {
    transform: scale(1.1);
}

.btn button {
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

html{
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

p{
  font-weight: 400;
  line-height: 1.6;
}

section {
  border-radius: 1px solid #eee;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}