/* Fonts and Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background-color: #f5f5f5;
    min-width: 1200px;
  overflow-x: auto;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
 .container2{
    border: 2px double black;
    font-size: 1.5rem;
    margin: 1.5rem 1.5em 1.5em 1.5em;
    padding: 1.5em;
    overflow:hidden;
    background:#f5dff5;
    color:black;
   }

section {
  padding: 80px 0;
}

/* Navigation */
/* Navigation */
.navbar {
  background: #0A192F;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%; /* Ensure full width */
}
.nav-container {
  width: 90%; /* Match the width of other containers */
  max-width: 1200px; /* Maintain maximum width */
  margin: 0 auto; /* Center the container */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: #64FFDA;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.quote-btn {
  background: #FF6B6B;
  padding: 8px 16px;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  background: #0A192F;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-btn {
  background: #64FFDA;
  color: #0A192F;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* About Section */
.about-content {
  text-align: center;
}

.team-image {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
}

/* Services Section */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

/* Portfolio Section */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.portfolio-header h2 {
  margin: 0;
}

.view-more {
  font-weight: 500;
  color: #FF6B6B;
  text-decoration: none;
}

.view-more:hover {
  color: #64FFDA;
  text-decoration: underline;
}


/* Testimonials Section */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

/* Blog Section */
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-btn {
  background: #FF6B6B;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 15px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  background: #0A192F;
  color: white;
}

/* Scroll to Top Button Styles */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background-color: #FF6B6B;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;n
  cursor: pointer;
  display: none; /* Hidden by default */
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}

#scrollToTopBtn:hover {
  background-color: #64FFDA;
  color: #0A192F;
}

/*logo css*/
.logo img {
  height: 50px;
  width: auto;
}



/* Fix desktop layout for mobile */
body {
  min-width: 1200px; /* Prevent layout compression on small screens */
  overflow-x: auto;  /* Allow horizontal scroll if screen is smaller than layout */
}

/* Optional: prevent scaling on mobile view */
@viewport {
  width: 1200px;
  zoom: 1;
}

/* Prevent flex items from wrapping */
.nav-links, .service-cards, .testimonial-cards, .blog-cards {
  flex-wrap: nowrap !important;
}

/* Ensure grid doesn't auto-fit */
.portfolio-gallery {
  grid-template-columns: repeat(4, 1fr); /* Fixed number of columns */
}
