* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: black;
  background-color: #ffffff;
  width: 100%;
  height: auto;
}


/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: white;
  color: black;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  flex-shrink: 0;
  font-family: playfair Display;
  color: #0E204E;

}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: black;
  font-family: Manrope;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.button {
  padding: 0.6rem 1.2rem;
  background-color: #0E204E;
  color: #ffffff;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  font-family: Manrope;
  font-size: 16px;
  white-space: nowrap;
}

.button:hover {
  background-color: #4c6fc7;
  color: #000;

}

/* #ab{
width: 85px;
height: 27px;
top: 81px;

font-family: Manrope;
font-weight: 400px;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
}

#ab:hover {
    text-decoration: underline;
} */

/* Toggle Button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #0E204E;
  background: none;
  border: none;
}

/* Show nav as vertical dropdown when active */
.nav.active {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background-color: white;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* By default, hide icon and show text */
.button .button-icon {
  display: none;
}

.button .button-text {
  display: inline;
}

/* Responsive styles */
@media (max-width: 768px) {
  /* Show icon, hide text */
  .button .button-icon {
    display: inline;
    font-size: 1.2rem; /* adjust size */
  }
  .button .button-text {
    display: none;
  }

  /* Make header flex with items on right */
  .header {
    justify-content: space-between;
  }

  /* Right side container for toggle + button */
  .right-side {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  /* Show menu toggle */
  .menu-toggle {
    display: block;
  }

  /* Adjust button styles for mobile */
  .button {
    background-color: transparent; /* or white */
    color: #0E204E;
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
  }
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    top: 70px;
    width: 100%;
    background-color: #0E204E;
    color: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    transform: none; /* remove translateX on mobile */
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .button {
    display: block; /* show it */
    background-color: white;
    color: #0E204E;
    padding: 0.6rem 1.2rem;
    font-size: 16px;
    font-weight: 600;
  }

  .nav.active .button {
    background-color: white;
    color: #0E204E;
  }
}



/* Hero */
.hero{
    margin-top: 15%;
}

.hero-content {
  position: relative;
  width: 655px;
  height: 400px;
  background-color: #0E204E;
  margin: 100px 100px 0px 50px;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin: 10px;
  color: #ffffff;
  padding-left: 20px;
}

.hero-content p {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  margin: 15px;
  padding-left: 20px;
  color: #ffffff;
}

.hero-image{
    width: 65%;
    height: 717px;
    margin-top: -13% ;
    margin-left: 32%;
    position: absolute;
}

/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
  .hero {
    position: relative;
    margin-top: 10%;
    height: 400px; /* ya jitna aapko chahiye height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;

    /* Background image set karna */
    background-image: url('image1.png'); /* aapke image path ke hisaab se */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-image {
    display: none; /* Hide the img tag */
  }

  .hero-content {
    position: relative;
    width: 100%;
    height: auto;
    background-color: rgba(14, 32, 78, 0); /* thoda transparent dark overlay for readability */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    color: white;
  }

  .hero-content h1 {
    font-size: 28px;
    padding: 0;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 16px;
    padding: 0;
  }
}

/* Sections */
.section-about{
    margin-top: 20%;
    margin-left: -1%;
    padding: 3rem 5rem;
  max-width: 1100px;
 
}

.section-about h2 {
    font-family: playfair display;
    text-align:left;
    font-size: 60px;
    padding-left: 20px;
    line-height: 1.2;
    color: #0E204E;
    width: 317px;
    height: 240px;
    top: 1325px;
    left: 188px;
}

/* About */
.about .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.content img {
  width: 50%;
  max-width: 500px;
  margin-left: 50%;
  margin-top: -30%;
}

.content p{
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 15px;
  margin-top: -43.4%;
  justify-content: center;
  margin-left: 100%;
  padding: 50px;
  color: white;
  width: 300px;
  height: 400px;
  top: 1269px;
  left: 1360px;
  background-color: #0E204E;
}

@media (max-width: 768px) {
  .section-about {
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    max-width: 100%;
  }

  .section-about h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 1rem;
    width: auto;
    height: auto;
    padding: 0;
  }

  .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;  /* ADD THIS */
    min-height: 400px; /* ENSURE HEIGHT FOR BG */
    z-index: 0;        /* Ensure it doesn't conflict */
  }

  .content img {
    display: none; /* hide image tag on mobile */
  }

  .content p {
    width: 100%;
    max-width: 90%;
    margin: 0;
    padding: 2rem;
    font-size: 16px;
    background-color: rgba(14, 32, 78, 0.7);
    color: #fff;
    position: relative;
    z-index: 2; /* Make sure it's above bg */
  }

  .content::before {
    content: "";
    background-image: url('image2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
  }
}


/* Why choose us*/
.section-why {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px;
  flex-wrap: wrap;
  background-color: #0E204E;
  margin-bottom: 10%;
  margin-top: 10%;
}

#aa {
  font-family: playfair display;
  font-size: 55px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.3;
  max-width: 250px;
}

.container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: -10%;
  flex-wrap: wrap;
}

.para p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  padding: 20px;
  color: black;
  width: 350px;
  height: 400px;
  background-color: #f9f9f9;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  margin-left: -100px;
}

.image3 img {
  width: 450px;
  height: 400px;
  object-fit: cover;
  margin-left: -30px;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .section-why {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background-color: transparent; /* Blue background removed on small screens */
  }

  #aa {
    color: #0E204E;
    font-size: 36px;
    text-align: center;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .container {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    gap: 20px;
  }

  .para p {
    width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 1.5rem;
  }

  .image3 img {
    width: 90%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* gallery view */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  margin-top: 10%;
}

.gallery h1{
  width: 247px;
  height: 80px;
  top: 4615px;
  left: 837px;
  font-family: playfair display;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%; 
  color: #0E204E;
  align-items: center;  
}

.gallery p{
  width: 726px;
  height: 72px;
  top: 4725px;
  left: 597px;
  font-family: Manrope;
  font-weight: 400;
  font-size: 20px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: center;
  color: #263238;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
  padding: 60px;
  justify-items: center;
  align-items: center;
  background-color: #ffffff; /* Optional */
}

.grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* border-radius: 10px; */
  max-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.grid img:hover {
  transform: scale(1.05);
}

/* Responsive adjustment for smaller screens */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
}

/* offer block */

.offer{
   display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.offer h1{
   /* width: 247px; */
  /* height: 80px; */
  /* top: 4615px; */
  /* left: 837px; */
  font-family: playfair display;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%; 
  color: #0E204E;
  align-items: center;
  margin-bottom: 5%;
}

.offer1 {
  width: 100%;
  margin-left: 10%;
}

.offer1 img{
  width: 300px;
  height:300px;
}

.rectangle1{
  width:200px ;
  height: 200px;
  background-color: #0E204E;
  border: solid black;
  margin-top: -250px;
  margin-left: 350px;
}


.block1{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 47%;
  margin-right: 10%;
  margin-top: -160px;
  margin-bottom: 20%;
}

.block2{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 50%;
  margin-left: 11%;
  /* margin-top: px; */
  margin-bottom: 10%;
  
}

.offer2{
  width: 100%;
  margin-left: 70%;
  margin-top: -27%;
}

.offer2 img{
  width: 300px;
  height:300px;
}

.rectangle2{
  width:200px ;
  height: 200px;
  background-color: #0E204E;
  border: solid black;
  margin-top: -250px;
  margin-left: 970px;
}

@media (max-width: 768px) {
  .offer h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 2rem;
  }

  .offer1,
  .offer2 {
    display: flex;
    justify-content: center;
    margin: 0 auto 2rem auto;
  }

  .offer1 img {
    width: 80%;
    height: auto;
  }

  .rectangle1,
  .rectangle2 {
    display: none; /* hide decorative rectangles */
  }

  .block1,
  .block2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 2rem auto;
    padding: 10px;
  }

  .block1 img,
  .block2 img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    
  }
}


/* features */

/* Parent section */
.feature-section {
  width: 100%;
  padding: 50px 20px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* Container that holds both blocks */
.feature-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap; /* For responsiveness */
}

/* Feature left-hand side */
.feature {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 2;
}

.feature img {
  width: 400px;
  height: 500px;
  display: block;
  margin-left: 40px;
  /* border-radius: 8px; */
}

/* Rectangle behind image */
.feature-bg-rect {
  position: absolute;
  top: 70px;
  left: 40px;
  width: 450px;
  height: 65%;
  background-color: #0E204E;
  z-index: -1;
  /* border-radius: 8px; */
}

.amze {
  max-width: 500px;
  width: 100%;
  height: 75%;
  text-align: left;
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
}

.amze h1 {
  font-family: playfair display;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0E204E;
}

/* List styling */
.feature-list p {
  padding: 4px 8px;
  margin: 2px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Alternate background colors (zebra style) */
.feature-list p:nth-child(odd) {
  background-color: #f0f8ff;
}

.feature-list p:nth-child(even) {
  background-color: #ffffff;
}

/* Tick mark on the right side */
.feature-list p::after {
  content: url(Vector.png);
  color: #0E204E;
  font-weight: bold;
  margin-left: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .feature-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .amze {
    text-align: center;
  }
}

.agent-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  gap: 40px;
  flex-wrap: wrap;
}

.agent {
  flex: 1;
  max-width: 500px;
}

.agent h1 {
  font-family: playfair display;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #0E204E;
}

.agent p {
  font-family: Manrope;
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.agent button {
  background-color: #0E204E;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  /* border-radius: 6px; */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.agent button:hover {
  background-color: #4c6fc7;
}

.agent-visual {
  flex: 1;
  position: relative;
  max-width: 500px;
}

.agent-image img {
  width: 75%;
  height: auto;
  /* border-radius: 12px; */
  position: relative;
  z-index: 2;
}

.agent-rectangle {
  position: absolute;
  top: 120px;
  left: -65px;
  width: 50%;
  height: 50%;
  background-color: #0E204E;
  /* border-radius: 12px; */
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .agent-section {
    flex-direction: column;
    padding: 40px 5%;
    text-align: center;
  }

  .agent,
  .agent-visual {
    max-width: 100%;
  }

  .agent-rectangle {
    top: 10px;
    left: 10px;
  }
}

/* Contact Section */
.contact-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.contact-section h1 {
  font-family: playfair display;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0E204E;
}

.contact-section p{
  font-family: playfair display;
  font-size: 1rem;
  margin-bottom: 40px;
  color: #0E204E;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid balck;
  border-radius: 8px;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  /* border-color: ; */
  outline: none;
}

.contact-form button {
  background-color: #0E204E;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  /* border-radius: 8px; */
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;    
  align-self: center; 
}

.contact-form button:hover {
  background-color: #4c6fc7;
}

/* Footer */
/* Footer Styling */
.footer {
  font-family: Manrope;
  /* background-color: #0E204E; */
  background-image: url('images/Rectangle1.svg');
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-left,
.footer-right {
  flex: 1 1 45%;
  min-width: 280px;
}

.footer-left h1 {
  font-family: playfair display;
  font-size: 2rem;
  margin-bottom: 10px;
  margin-left: 80px;
  
}

.footer-left p {
  font-size: 1rem;
  line-height: 1.6;
  margin-left: 80px;
}


.footer-right .footer-heading {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 30px;
}

.footer-right p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  text-align: center;
}

.subscribe-form input[type="email"] {
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  flex: 1;
  min-width: 180px;
}

.subscribe-form .input-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.subscribe-form input[type="email"] {
  width: 100%;
  padding: 12px 120px 12px 16px; /* Leave space for button */
  font-size: 1rem;
  border-radius: 6px;
  border: none;
}

.subscribe-form button {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  padding: 10px 16px;
  /* background-color: #2ecc71; */
  color: #0E204E;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.subscribe-form button:hover {
  text-decoration: underline;
}

/* responive footer */
@media (max-width: 768px) {
  .footer {
    background-image: none; /* Remove the SVG background on small screens */
    background-color: #0E204E; /* Use solid color for clarity */
    padding: 30px 15px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    flex: 1 1 100%;
    min-width: 100%;
    margin-left: 0;
  }

  .footer-left h1,
  .footer-left p {
    margin-left: 0;
  }

  .subscribe-form {
    width: 100%;
    justify-content: center;
  }

  .subscribe-form .input-wrapper {
    width: 90%;
    max-width: 100%;
  }

  .subscribe-form input[type="email"] {
    padding-right: 110px;
    box-sizing: border-box;
  }

  .subscribe-form button {
    right: 10px;
    font-size: 0.85rem;
  }
}



/* Responsive */
@media (max-width: 600px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 12px;
  }
}

