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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.agent-name {
  font-size: 1.2rem;
}

/* Navigation */
/* .navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {#1e3a8a#2575fc
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 70px;
    width: auto;
}

.agent-name {
    font-weight: bold;
    color: #2575fc;
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #2575fc;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
} */

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #513ae1;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background: #2575fc;
  color: white;
}

.btn-outline {
  background: transparent;
  color: #2575fc;
  border-color: #2575fc;
}

.btn-outline:hover {
  background: #2575fc;
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 100;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 50px; */
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  text-align: center;
  display: flex;
  column-gap: 15px;
}

.agent-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 15px;
}

.text-white {
  color: #fff !important;
}

.section-header p {
  font-size: 1.1rem;
  color: #333;
}

.agent-photo {
  height: 300px;
  width: auto;
}

/* About Preview */
.about-preview {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #475569;
}

/* Services */
.services {
  padding: 80px 0;
  background: #f8fafc;
  background-image: url("../images/bg-service.jpg");
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-color: #1e40afe0;
  top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: #2575fc;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #2575fc;
  margin-bottom: 15px;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #2575fc;
}

.testimonial-content p {
  font-style: italic;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author h4 {
  color: #2575fc;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.9rem;
}

/* Gallery Preview */
.gallery-preview {
  padding: 80px 0;
  background: #f8fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-more {
  text-align: center;
}

/* Footer */
.footer {
  background: #0041af;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #93c5fd;
}

.footer-section p,
.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #93c5fd;
}

.footer-section i {
  margin-right: 10px;
  color: #93c5fd;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2c55c7;
  color: #cbd5e1;
}

/* About Page Styles */
.page-header {
  /* background: linear-gradient(135deg, #2575fc 0%, #3b82f6 100%); */
  background-image: url("../images/common-bg.jpg");
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  background-position: center;
  background-size: cover;
  position: relative;
}

.page-header:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #2d4b7df0;
  top: 0;
  left: 0;
}

.page-header h1 {
  font-size: 3rem;
  position: relative;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-detailed {
  padding: 80px 0;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.professional-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  color: #000000;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

.mission-statement {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #2575fc;
  margin-top: 30px;
}

.mission-statement h3 {
  color: #2575fc;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-statement p {
  font-style: italic;
  margin-bottom: 0;
}

.expertise-areas {
  padding: 80px 0;
  background: #f8fafc;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.expertise-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
  font-size: 3rem;
  color: #2575fc;
  margin-bottom: 20px;
}

.expertise-card h3 {
  color: #2575fc;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.expertise-card p {
  color: #64748b;
  line-height: 1.6;
}

/* 
.career-journey {
    padding: 80px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #2575fc;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    background: #2575fc;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 30px;
}

.timeline-content h3 {
    color: #2575fc;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
} */

.achievements {
  padding: 80px 0;
  background: #f8fafc;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.achievement-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-icon {
  font-size: 2.5rem;
  color: #2575fc;
  margin-bottom: 20px;
}

.achievement-card h3 {
  color: #000000;
  margin-bottom: 15px;
}

.achievement-card p {
  color: #64748b;
  line-height: 1.6;
}

.values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border-top: 4px solid #2575fc;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.5rem;
  color: #2575fc;
  margin-bottom: 20px;
}

.value-card h3 {
  color: #000000;
  margin-bottom: 15px;
}

.value-card p {
  color: #64748b;
  line-height: 1.6;
}

.cta-section {
  padding: 80px 0;
  background: #3a61cb;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  color: #fff;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: #2575fc;
  border-color: white;
}

.cta-buttons .btn-primary:hover {
  background: #f1f5f9;
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: #2575fc;
}

.about-image {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    height: 100%;
    flex-direction: column;
    row-gap: 15px;
}
#read-more-btn-about {
  padding: 6px 20px;
}

#image-gallery-grid .gallery-item:nth-child(n + 7) {
  display: none;
}

.contact-method a {
  text-decoration: none;
  color: #333;
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .testimonial-card {
    padding: 25px 20px;
  }
}

/* Gallery Page Styles */
.gallery-filters {
  padding: 40px 0;
  background: #f8fafc;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: white;
  color: #64748b;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2575fc;
  color: white;
  border-color: #2575fc;
  transform: translateY(-2px);
}

.gallery-main {
  padding: 60px 0;
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-full-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.gallery-full-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-full-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 10px;
  line-height: 1.4;
}

.gallery-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  opacity: 0.8;
}

.gallery-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-cta {
  padding: 80px 0;
  background: #3a61cb;
}

/* --- NEW PAGINATION STYLES --- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding: 10px;
}

.pagination-button {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px 18px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.pagination-button.page-number.active {
  background-color: #0056b3;
  color: white;
  border-color: #0056b3;
}

.pagination-button:hover:not(:disabled):not(.active) {
  background-color: #e9e9e9;
}

.pagination-button:disabled {
  cursor: not-allowed;
  color: #aaa;
  background-color: #f9f9f9;
}

@media (max-width: 480px) {
  .gallery-full-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Contact Page Styles */
.contact-main {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: #000000;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-icon {
  background: #2575fc;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #000000;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p {
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-details span {
  color: #64748b;
  font-size: 0.9rem;
}

.social-links h3 {
  color: #000;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: #2575fc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #1e40af;
  transform: translateY(-3px);
}

.form-container {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  color: #000;
  font-size: 2rem;
  margin-bottom: 10px;
}

.form-container > p {
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2575fc;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.quick-actions {
  padding: 80px 0;
  background: #f8fafc;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.quick-action-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.action-icon {
  background: linear-gradient(135deg, #2575fc 0%, #3b82f6 100%);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.quick-action-card h3 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.quick-action-card p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.testimonials-contact {
  padding: 80px 0;
}

.testimonials-contact .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.rating {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.rating i {
  color: #fbbf24;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .contact-info h2,
  .form-container h2 {
    font-size: 1.2rem;
  }

  .checkbox-label {
    font-size: 0.8rem;
  }
}

/* Base Banner Container Styles */
.banner-container {
  width: 100%;
  /* max-width: 1200px; */
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
  /* border-radius: 1rem; */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

/* --- Banner 3: Floating Squares Animation --- */
.floating-squares-banner {
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  /* Deep purple to bright blue */
  position: relative;
  overflow: hidden;
}

.floating-squares-banner .squares {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
}

.floating-squares-banner .squares li {
  position: absolute;
  display: block;
  list-style: none;
  /* background: rgba(255, 255, 255, 0.15); */
  /* Semi-transparent white squares */
  animation: animateSquares 25s linear infinite;
  bottom: -150px;
  /* Start from below the banner */
  border-radius: 0.5rem;
  /* Slightly rounded squares */
  /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); */
}

/* Define individual square properties for variety */
.floating-squares-banner .squares li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.floating-squares-banner .squares li:nth-child(2) {
  left: 10%;
  width: 30px;
  height: 30px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.floating-squares-banner .squares li:nth-child(3) {
  left: 70%;
  width: 50px;
  height: 50px;
  animation-delay: 4s;
}

.floating-squares-banner .squares li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.floating-squares-banner .squares li:nth-child(5) {
  left: 65%;
  width: 30px;
  height: 30px;
  animation-delay: 0s;
}

.floating-squares-banner .squares li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.floating-squares-banner .squares li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.floating-squares-banner .squares li:nth-child(8) {
  left: 50%;
  width: 45px;
  height: 45px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.floating-squares-banner .squares li:nth-child(9) {
  left: 20%;
  width: 70px;
  height: 70px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.floating-squares-banner .squares li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

.floating-squares-banner .squares li img {
  /* Forces the image to take 100% of its parent's width */
  width: 100%;
  /* Forces the image to take 100% of its parent's height */
  height: 100%;
  /* Ensures the image is treated as a block element for better sizing/layout */
  display: block;
  /* This property is optional but good practice: it tells the browser how to
       fit the image content if its aspect ratio doesn't match the li's size. */
  object-fit: contain;
}

@keyframes animateSquares {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0.5rem;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    /* Move up and rotate */
    opacity: 0;
    border-radius: 50%;
    /* End as circles */
  }
}

/*New Nav bar*/

.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #1f2d3a;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  /* border-radius: 6px; */
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  padding: 0.65rem 0.5rem;
  display: inline-block;
  text-decoration: none;
  color: #1f2d3a;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus {
  background: #f5f9ff;
  outline: none;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0%;
  height: 3px;
  background: #1f2d3a;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 60%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #fff;
  padding: 0.5rem 0;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 20px 40px -10px rgba(31, 45, 58, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 10;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: #1f2d3a;
  font-size: 0.9rem;
  position: relative;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(29, 78, 216, 0.05);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.hamburger .bar {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
  background: #1f2d3a;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.bar1 {
  top: 12px;
}

.bar2 {
  top: 18px;
}

.bar3 {
  top: 24px;
}

.hamburger.active .bar1 {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar2 {
  opacity: 0;
}

.hamburger.active .bar3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  padding: 1rem 1rem 1.5rem;
  box-shadow: 0 30px 60px -10px rgba(31, 45, 58, 0.12);
  border-radius: 0 0 14px 14px;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9;
}

.mobile-menu a {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  color: #1f2d3a;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu a:hover {
  background: #f5f9ff;
}

/* Responsive */
@media (max-width: 950px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .dropdown-menu a {
    padding-left: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/*Service UI*/

.bg-service {
  background: #f1f5fa;
}

.wrapper {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 16px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.wrapper2 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 16px;
  display: grid;
  gap: 24px;
  /* justify-content: stretch; */
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  padding: 36px 24px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card:focus {
  outline: 2px solid #6f8ae0;
}

.card .content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.card i {
  font-size: 30px;
  margin: 0 auto 12px;
  display: block;
  color: #2575fc;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1f2d57;
  letter-spacing: 0.5px;
}

.card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #5f6d8f;
}

/* background shapes */
.bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  mix-blend-mode: normal;
  overflow: hidden;
  z-index: 1;
}

/* translucent rotating cube via pseudo-3D */
.cube {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 50%;
  left: 15%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(45deg) rotateY(25deg);
  animation: cube-rotate 16s linear infinite;
  opacity: 0.12;
}

.cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(47 60 154 / 24%);
  border: 1px solid rgba(47, 60, 154, 0.1);
  backface-visibility: hidden;
  border-radius: 8px;
}

.cube .front {
  transform: translateZ(60px);
}

.cube .back {
  transform: rotateY(180deg) translateZ(60px);
}

.cube .right {
  transform: rotateY(90deg) translateZ(60px);
}

.cube .left {
  transform: rotateY(-90deg) translateZ(60px);
}

.cube .top {
  transform: rotateX(90deg) translateZ(60px);
}

.cube .bottom {
  transform: rotateX(-90deg) translateZ(60px);
}

@keyframes cube-rotate {
  to {
    transform: translate(-50%, -50%) rotateX(45deg) rotateY(385deg);
  }
}

/* hover / focus effects */
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -10px rgba(47, 60, 154, 0.19);
}

.card:hover .icon,
.card:focus-within .icon {
  fill: #2542d9;
}

.card:hover h3 {
  color: #2575fc;
}

.card:hover .cube {
  opacity: 0.18;
  animation-duration: 12s;
}

/* subtle gradient overlay to give depth */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  mix-blend-mode: overlay;
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .cube {
    animation: none;
  }

  .card {
    transition: none;
  }
}

/* Animated Stepper Timeline */
.career-journey {
  padding: 80px 0;
}

.timeline-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(to right, #6380e7 0%, #2575fc 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #4379fb;
  border: 4px solid #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover::after {
  background-color: #8b5cf6;
  border-color: #f0f4f8;
}

.timeline-year,
.timeline-content {
  width: 50%;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.timeline-year {
  justify-content: flex-end;
  text-align: right;
}

.timeline-year-left {
  justify-content: flex-start;
  text-align: left;
}

.timeline-content {
  justify-content: flex-start;
  text-align: left;
}

.year-bubble {
  background: linear-gradient(to right, #6380e7 0%, #2575fc 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.year-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.content-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.content-card h4 {
  color: #000000;
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.content-card p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}

.timeline-item:nth-child(odd) .timeline-year {
  order: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-year {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  order: 1;
}

/* gallery */
/* Basic body and container styling */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px 0px;
}

/* --- Category Tabs UI and Animation --- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  border-bottom: 2px solid #e6f2ff;
  padding-bottom: 10px;
}

.tab-button {
  background-color: transparent;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #0056b3;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  outline: none;
}

/* Animated underline for the active tab */
.tab-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 3px;
  background-color: #007bff;
  transition: width 0.3s ease, left 0.3s ease;
}

.tab-button.active::after {
  width: 100%;
  left: 0;
}

.tab-button:not(.active):hover {
  color: #007bff;
}

/* --- Responsive Image Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  animation: fadeIn 0.5s ease-in-out;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* --- Advanced UI & Animation on Hover --- */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
  /* Bring to front on hover */
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- Overlay Styling --- */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Semi-transparent background */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Align content to the bottom */
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  /* Hidden by default */
  transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
  /* Show on hover */
}

.overlay-title {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.overlay-description {
  font-size: 0.9rem;
  margin: 0 0 15px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.overlay-location {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.location-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  fill: #fff;
}

/* Fade-in animation for images */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 110;
  overflow: auto;
}

.modal-backdrop.logactive {
  display: flex;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  position: relative;
  min-height: 380px;
  animation: popIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal .panel {
  flex: 1;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.panel-left {
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  position: relative;
}

.btn-outline2 {
  color: #fff;
  border-color: #fff;
}

.panel-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.panel-right {
  background: #fff;
}

.panel h2 {
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.close-btn {
     position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    /* padding: 0.75rem 1.25rem; */
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.btn-login {
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  border-bottom: none !important;
  padding: 10px 30px;
  position: relative;
}

.btn-login:hover,
.btn-login:focus {
  background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
  color: #fff;
}

.btn-login::after {
  display: none;
}
.send-btn {
  border-color: #1e40af !important;
  color: #1e40af !important;
}
.send-btn:hover {
  color: white !important;
}
.address {
  display: flex;
  align-items: baseline;
}

.footer-bottom{
display: flex;
justify-content: space-between;
}
.footer-bottom a img{
height: 20px;
}
.footer-bottom a{
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
}
.name-number{
  display: flex;
  flex-direction: column;
}
.mobile-loginbtn{
  display: none;
}

@media (max-width: 1180px) {
  .quick-action-card {
    padding: 20px;
  }
  .cta-content h2 {
    font-size: 2.3rem;
  }
  .value-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  .value-card {
    padding: 15px;
  }
}
@media (max-width: 800px) {
  .modal {
    flex-direction: column;
  }

  .panel {
    padding: 1.25rem 1rem;
  }

  .panel + .panel {
    border-top: 1px solid #e6e6e6;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .navbar {
    background: #f6f1e8;
  }
  .contact-main {
    padding: 40px 0;
  }
  .agent-name {
    font-size: 0.8rem;
  }

  .gallery-container {
    padding: 10px;
  }

  .tab-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .overlay-title {
    font-size: 1.2rem;
  }

  .overlay-description,
  .overlay-location {
    font-size: 0.8rem;
  }

  .career-journey {
    padding: 30px 0;
  }

  .section-header {
    margin-bottom: 20px;
  }
  .section-header h2 {
    margin-bottom: 8px;
  }
  .testimonial-card {
    padding: 20px;
  }

  /* Responsive Gallery */
  .gallery-full-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  /* Contact Responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-contact .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive Design */

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  /* .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    } */

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: start;
    gap: 15px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.8rem;
    color: #333;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content-wrapper {
    /* grid-template-columns: 1fr; */

    gap: 30px;
  }
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    display: grid;
    margin-bottom: 22px;
  }
  .contact-method {
    margin-bottom: 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
    margin-left: 0px;
    margin-bottom: 20px;
  }

  .timeline-year {
    flex: 0 0 80px;
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .timeline-content {
    margin: 0 0 0 20px;
  }

  .cta-content h2,
  .about-text h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .content-card {
    padding: 10px;
  }

  .content-card h4 {
    font-size: 1rem;
  }

  .content-card p {
    font-size: 1rem;
  }

  .year-bubble {
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Responsive styles for mobile screens */
  .timeline-container::before {
    left: 20px;
    transform: translateX(0);
  }

  .timeline-item::after {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0px;
  }

  .timeline-year,
  .timeline-content {
    width: 100%;
    padding: 0;
  }

  .timeline-year {
    text-align: left;
    margin-bottom: 10px;
  }

  .timeline-content {
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    order: initial;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    order: initial;
  }

  .timeline-container::before,
  .timeline-item::after {
    position: relative;
    display: none;
  }

  .achievements {
    padding: 30px 0;
  }

  p {
    font-size: 15px !important;
  }
  .about-preview,
  .services,
  .testimonials,
  .expertise-areas,
  .career-journey,
  .values,
  .testimonials-contact,
  .gallery-preview,
  .cta-section,
  .about-detailed {
    padding: 50px 0;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  .contact-info h2 {
    margin-bottom: 8px;
  }
}

@media (max-width: 1024px) {
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero {
    min-height: 90vh;
  }
  .action-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
  }
  .quick-action-card {
    padding: 15px;
  }
  .quick-action-card h3 {
    margin-bottom: 10px;
  }
  .quick-action-card p {
    margin-bottom: 15px;
  }
  .quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .msg-box {
    grid-column: span 2;
  }
  .terms-box {
    grid-column: span 2;
  }
  .btn-box {
    grid-column: span 2;
  }
  .contact-info {
    margin-bottom: 40px;
  }
  .contact-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
  .contact-method {
    margin-bottom: 0;
  }
  .contact-methods {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-info {
    grid-column: span 2;
  }
  .agent-photo {
    width: auto;
    height: 390px;
  }
  .about-content {
    max-width: 950px;
  }
  .hero-text h1 {
    font-size: 35px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .btn {
    padding: 10px 20px;
  }
  .wrapper2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-card h3 {
    margin-bottom: 6px;
  }
  .value-icon {
    margin-bottom: 10px;
  }
  .value-card {
    padding: 20px;
  }
}

@media (max-width: 767px) and (min-width: 320px) {
  .contact-info {
    margin-bottom: 0;
  }
  .action-icon {
    margin: 0 auto 10px;
  }
  .footer-content {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-section h3 {
    margin-bottom: 10px;
  }
  .footer-section p,
  .footer-section ul li {
    margin-bottom: 5px;
  }
  .contact-info {
    grid-column: span 2;
  }

  .value-card {
    padding: 15px;
  }
  .value-card h3 {
    margin-bottom: 6px;
  }
  .about-text p,
  .about-text h2 {
    margin-bottom: 10px;
  }
  .about-detailed {
    padding: 40px 0;
  }
  .about-content-wrapper {
    display: flex;
    flex-direction: column;
  }
  .professional-photo {
    height: 300px;
  }
  .btn {
    padding: 8px 8px;
    font-size: 14px;
  }
  .agent-photo {
    height: 130px;
    max-width: 130px;
  }
  .wrapper2 {
    grid-template-columns: repeat(2, 1fr);
    margin: 30px auto;
  }
  .hero {
    min-height: 72vh;
  }

  .wrapper {
    margin: 40px auto;
  }
  .testimonials-grid {
    margin: 30px auto;
  }

  .hero-subtitle,
  .hero-text h1 {
    margin-bottom: 10px;
  }
  .hero-buttons {
    margin-top: 20px;
    justify-content: start;
  }
  .hero {
    padding: 120px 0 54px;
  }
  .timeline-container {
    margin: 30px auto;
    padding: 0;
  }
  .hero-content {
    grid-template-columns: 2fr 1fr;
  }
  .mob-mb-5 {
    margin-bottom: 15px;
  }
  .mobile-loginbtn{
    display: block;
    font-size: 12px;
    padding: 5px 12px;
  }
}

@media (max-width: 575px) and (min-width: 320px) {
  .address {
    display: flex;
    align-items: baseline;
  }

  .gallery-cta {
    padding: 50px 0;
  }
  .card {
    padding: 16px;
    min-height: auto;
  }
  .send-btn {
    padding: 10px 5px !important;
  }
  h3 {
    font-size: 1rem !important;
  }
  .footer-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .contact-info {
    grid-column: span 1;
    margin-bottom: 0;
  }
  .hero {
    min-height: 84vh;
  }
  .hero-buttons {
    justify-content: center;
    margin-top: 20px;
  }
  .hero-subtitle,
  .hero-text h1 {
    text-align: center;
    margin-bottom: 10px;
  }
  .hero-image {
    order: -1;
    margin-bottom: 25px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
  }
  .content-card h4 {
    margin-bottom: 0;
  }
  .btn {
    padding: 5px 10px;
  }
  .wrapper2 {
    gap: 20px;
  }
  .mission-statement {
    padding: 15px;
  }
  .mission-statement h3 {
    margin-bottom: 0;
  }
  .cta-content h2,
  .about-text h2 {
    font-size: 20px !important;
    margin-bottom: 10px;
  }
  .testimonials-grid {
    gap: 20px !important;
  }
  .hero-subtitle,
  .hero-text h1 {
    text-align: center;
    margin-bottom: 10px;
  }
  .hero-text h1 {
    font-size: 24px;
  }
  .hero-buttons {
    justify-content: center;
    margin-top: 20px;
  }
 
  .hero-image {
    order: -1;
    margin-bottom: 25px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
  }
  .hero {
    min-height: 84vh;
    padding: 120px 0 54px;
  }
  .action-icon,
  .quick-action-card p {
    margin-bottom: 10px;
  }
  .quick-action-card h3 {
    margin-bottom: 0;
  }
  .quick-action-card {
    padding: 15px;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .contact-form {
    display: flex;
  }
  .contact-methods {
    grid-template-columns: repeat(1, 1fr);
  }
  .gallery-tabs {
    gap: 0;
    margin-bottom: 20px;
    justify-content: center;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .wrapper2 {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-content {
    gap: 10px;
    margin-bottom: 10px;
  }
  .footer-section h3 {
    margin-bottom: 4px;
    font-size: 18px;
  }
  .footer-section ul li {
    margin-bottom: 6px;
    font-size: 15px;
  }
  .tab-button.active::after {
    height: 4px;
  }
  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-button {
    padding: 6px 10px;
  }
  .service-card,
  .testimonial-card {
    padding: 15px;
  }
  .page-header h1 {
    font-size: 26px;
    margin-bottom: 2px;
  }
  .page-header {
    padding: 100px 0 35px;
  }
  .about-detailed {
    padding: 28px 0;
  }
  .about-content-wrapper {
    gap: 20px;
  }
  .about-text p {
    line-height: 1.6;
    margin-bottom: 10px;
  }
  .mission-statement h3 {
    font-size: 18px;
  }
  .year-bubble {
    padding: 4px 10px;
  }
  .timeline-content {
    margin: 0 0 0 10px;
  }
  .timeline-year {
    flex: 0 0 58px;
  }
  .timeline-item {
    padding: 0px;
  }
  .value-card {
    padding: 15px;
  }
  .values-grid {
    gap: 20px;
  }
  .value-card h3 {
    font-size: 16px;
    margin-bottom: 0;
  }
  .value-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .contact-info > p {
    margin-bottom: 20px;
  }
  .footer {
    padding: 30px 0 20px;
  }
  .footer-bottom {
    padding-top: 10px;
        flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) and (min-width: 320px) {
  .form-container {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .wrapper {
    margin: 30px auto;
  }
  h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
  }
  .checkbox-label {
    gap: 6px;
  }
  .form-container h2 {
    margin-bottom: 0;
  }
  .form-container > p {
    margin-bottom: 15px;
  }
  .form-container {
    padding: 16px 16px;
  }
  .social-icon {
    width: 36px;
    height: 36px;
  }
  .contact-form {
    gap: 10px;
  }
  .social-icons {
    margin-bottom: 15px;
  }
  .action-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .testimonial-author h4 {
    margin-bottom: 0;
  }
  .rating {
    margin-top: 6px;
  }
  .rating i {
    font-size: 12px;
  }
  .brand-name {
    font-size: 1.1rem !important;
  }
  .about-preview,
  .services,
  .testimonials,
  .expertise-areas,
  .career-journey,
  .values,
  .testimonials-contact,
  .gallery-preview,
  .cta-section,
  .about-detailed,
  .quick-actions {
    padding: 30px 0;
  }
  .pagination-button {
    padding: 8px 12px;
  }
  .gallery-cta {
    padding: 25px 0;
  }
  .values-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .logo img {
    height: 60px;
  }
  .nav-container {
    height: auto;
  }
}

@media (max-width: 375px) and (min-width: 320px) {
  .gallery-tabs {
    justify-content: flex-start;
  }

  h2 {
    font-size: 1.2rem !important;
  }
  .contact-method {
    padding: 14px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  .contact-info h2 {
    margin-bottom: 0px;
    font-size: 22px !important;
  }
  .pagination-button {
    padding: 8px 8px;
  }
  .logo img {
    height: 54px !important;
  }
  .nav-container {
    padding: 0 10px;
  }
  .logo {
    gap: 0;
  }
  .contact-info {
    grid-column: span 1;
    margin-bottom: 0px;
  }
  .contact-info {
    margin-bottom: 0px;
  }
  .page-header {
    padding: 75px 0 30px;
  }
  .page-header h1 {
    margin-bottom: 0;
    font-size: 22px;
  }
  .section-header h2 {
    font-size: 22px !important;
    margin-bottom: 0px !important;
  }
  p {
    font-size: 14px !important;
  }
  .brand-name {
    font-size: 1rem !important;
  }
}
