/* Custom CSS for ARC Infotech Website */
:root {
  /* Earthy color palette inspired by Santiniketan */
  --terracotta: #c15026; /* Deeper, richer terracotta inspired by Santiniketan's soil */
  --dark-terracotta: #9c3e1e;
  --beige: #f0e6d3; /* Warmer beige tone */
  --light-beige: #f7f2e9;
  --deep-green: #285c4d; /* Rich forest green inspired by Santiniketan's landscape */
  --light-green: #6e8b74;
  --rust: #b35f45; /* Additional earthy tone */
  --ochre: #cb904d; /* Traditional Santiniketan color */
  --charcoal: #36454f;
  --off-white: #f9f9f9;
}

/* Typography */
body {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--charcoal);
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--terracotta);
}

.text-center .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Top Header Bar */
.top-header {
  background-color: var(--deep-green);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-contact-info {
  display: flex;
  align-items: center;
}

.top-contact-info span {
  display: inline-flex;
  align-items: center;
}

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

.social-icon {
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* Main Navbar */
#main-navbar {
  background-color: white;
  padding: 1.2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
}

.navbar-brand {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 1px;
}

.brand-primary {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
}

.brand-secondary {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--terracotta);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal) !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--terracotta);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover:after,
.navbar-nav .nav-link:not(.dropdown-toggle).active:after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--terracotta) !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  margin-top: 10px;
  border-top: 3px solid var(--terracotta);
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: var(--charcoal);
}

.dropdown-item:hover {
  background-color: var(--light-beige);
  color: var(--terracotta);
  padding-left: 1.8rem;
}

.dropdown-item:active {
  background-color: var(--deep-green);
  color: white;
}

.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after {
  transform: rotate(180deg);
}

/* Buttons */
.btn-primary {
  background-color: var(--deep-green);
  border-color: var(--deep-green);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--light-green);
  border-color: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: var(--deep-green);
  border-color: var(--deep-green);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--deep-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Siddha-style Hero Banner */
.siddha-hero {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-banner .hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: white;
}

.banner-title {
  font-size: 4.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.naibedya-title {
  color: #f8f8f0; /* Off-white color */
  position: relative;
  display: inline-block;
}

.banner-image {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  position: relative;
  z-index: 10;
}

.banner-image img {
  border: 5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  /* Sketch effect */
  filter: contrast(110%) brightness(110%) grayscale(20%) sepia(10%);
}

/* Sketch outline effect */
.banner-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed rgba(193, 80, 38, 0.3);
  border-radius: 8px;
  z-index: 2;
  pointer-events: none;
  margin: 6px;
}

.banner-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c15026' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.banner-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.banner-image:hover img {
  border-color: rgba(255, 255, 255, 0.4);
  filter: contrast(120%) brightness(115%) grayscale(15%) sepia(15%);
}

.banner-tagline {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.banner-location {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.banner-location i {
  color: var(--terracotta);
  margin-right: 0.5rem;
}

.banner-buttons {
  margin-top: 1.5rem;
}

.banner-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0.5rem;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* Banner slider */
.banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

/* Animation for hero content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero buttons animation */
.hero-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}

.hero-btn:nth-child(1) {
  animation-delay: 0.8s;
}

.hero-btn:nth-child(2) {
  animation-delay: 1s;
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.card-text {
  color: #666;
  margin-bottom: 1.5rem;
}

.card-footer {
  background-color: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

/* Project Details */
.project-feature {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--light-beige);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--terracotta);
}

/* Feature Highlights */
.feature-highlights {
  background-color: white;
  border-left: 5px solid var(--terracotta);
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c15026' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: bold;
}

/* Testimonials */
.testimonial-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-content:before {
  content: '"';
  font-size: 3rem;
  color: var(--terracotta);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: #666;
  font-size: 0.9rem;
}

.testimonial-rating {
  color: #ffc107;
  margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--deep-green);
  box-shadow: 0 0 0 0.2rem rgba(44, 85, 69, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

/* Footer */
.footer {
  background-color: var(--charcoal);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-social a {
  color: white;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--terracotta);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: white;
}

.section-dark {
  background-color: var(--light-beige);
}

/* Cultural Motifs */
.cultural-border {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.cultural-border:before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,0 C10,10 20,0 30,0 C40,10 50,0 60,0 C70,10 80,0 90,0 C100,10 110,0 120,0' stroke='%23c15026' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: auto 100%;
}

/* Santiniketan-inspired Decorative Elements */
.santiniketan-art {
  position: relative;
}

.santiniketan-art::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: var(--terracotta);
}

/* Batik-inspired patterns */
.batik-pattern {
  background-color: var(--light-beige);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c15026' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Gallery filter */
.gallery-filter {
  background-color: var(--light-beige);
  border-radius: 50px;
  display: inline-flex;
  padding: 0.3rem;
}

.gallery-filter .nav-link {
  color: var(--charcoal);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gallery-filter .nav-link.active,
.gallery-filter .nav-link:hover {
  background-color: var(--terracotta);
  color: white;
}

/* Price tag */
.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 0.25rem;
}

/* Amenity cards */
.amenity-card {
  background-color: white;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
  font-size: 2rem;
  color: var(--terracotta);
}

.icon-box {
  width: 40px;
  height: 40px;
  background-color: var(--light-beige);
  color: var(--deep-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Project Timeline styles */
.project-timeline {
  background-color: var(--light-beige);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  position: relative;
  border: 2px solid #ddd;
}

.timeline-icon:after {
  content: '';
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #ddd;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.timeline-icon.timeline-completed {
  background-color: var(--light-green);
  color: white;
  border-color: var(--deep-green);
}

.timeline-icon.timeline-completed:after {
  background-color: var(--deep-green);
}

/* Portfolio and Contact Hero Sections */
.portfolio-hero, .contact-hero {
  height: 70vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  position: relative;
  color: var(--light-beige);
}

.separator-line {
  width: 80px;
  height: 4px;
  background: var(--terracotta);
}

.contact-quick-links {
  margin-top: 2rem;
}

.contact-quick-link {
  text-align: center;
  margin: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .banner-title {
    font-size: 3.5rem;
  }
  
  .banner-tagline {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-banner {
    height: 80vh;
  }
  
  .top-contact-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .top-contact-info span {
    margin-bottom: 0.25rem;
  }
  
  .top-contact-info span.ms-4 {
    margin-left: 0 !important;
  }
  
  .gallery-filter .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .banner-title {
    font-size: 2.8rem;
  }
  
  .banner-tagline {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .hero-banner {
    height: 70vh;
  }
  
  .banner-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .banner-btn {
    margin: 0.5rem 0;
    width: 80%;
  }
  
  .top-header {
    display: none; /* Hide on mobile for simplicity */
  }
  
  .social-links {
    justify-content: center !important;
    margin-top: 0.5rem;
  }
  
  .brand-primary, .brand-secondary {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .banner-title {
    font-size: 2.2rem;
  }
  
  .banner-tagline {
    font-size: 1.1rem;
  }
  
  .banner-location {
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-banner {
    height: 60vh;
    min-height: 450px;
  }
  
  .banner-btn {
    width: 100%;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .brand-primary, .brand-secondary {
    font-size: 1.3rem;
  }
}

/* Project Filtering */
.project-filter-buttons {
  margin-bottom: 25px;
}

.filter-btn {
  border-radius: 30px;
  font-size: 14px;
  padding: 8px 20px;
  margin: 0 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-btn.active {
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.filter-btn:hover {
  transform: translateY(-2px);
}
