/* Base Styles */
:root {
  --primary: #007bff;
  --primary-light: #00c6ff;
  --secondary: #6c757d;
  --dark: #343a40;
  --light: #f8f9fa;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f3f8fb;
  color: #222;
  overflow-x: hidden;
  position: relative;
}

/* Particles Background */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(-45deg, #f3f8fb, #e3f2fd, #f3f8fb, #e3f2fd);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

/* Glowing Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.7;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at center, var(--primary-light), transparent 70%);
  top: -100px;
  left: -100px;
  animation: float 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, var(--info), transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at center, var(--warning), transparent 70%);
  top: 50%;
  left: 30%;
  animation: float 8s ease-in-out infinite 2s;
}

/* Header Styles */
.branch-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 80px 20px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.branch-header h1 {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 1s ease;
}

.tagline {
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 400;
  opacity: 0.9;
  animation: fadeIn 1.5s ease;
}

.header-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.deco-diamond {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float 6s ease-in-out infinite;
}

.deco-diamond-1 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 10%;
  animation-delay: 0.5s;
}

.deco-diamond-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  position: relative;
  margin: 0 auto;
}

.scroller {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

/* Branch Details Section */
.branch-details {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  max-width: 1200px;
  margin: -60px auto 0;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.branch-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  position: relative;
}

.branch-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.branch-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.branch-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.branch-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 30%);
}

.branch-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.highlight-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* Gradient text effect for icons */
.highlight-card i::before {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* Fallback for browsers that don't support background-clip:text */
@supports not (-webkit-background-clip: text) {
  .highlight-card i {
    color: var(--primary); /* Fallback solid color */
  }
}

.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* Branch Info Section */
.branch-info {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-section {
  margin-bottom: 30px;
}

.info-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h2 i {
  font-size: 1.2rem;
}

.timing-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(0, 198, 255, 0.05);
  border-left: 4px solid var(--primary-light);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.timing-card:hover {
  transform: translateX(5px);
}

.timing-card.closed {
  background: rgba(220, 53, 69, 0.05);
  border-left-color: var(--danger);
}

.day {
  font-weight: 500;
  color: var(--dark);
}

.time {
  font-weight: 600;
  color: var(--primary);
}

.timing-card.closed .time {
  color: var(--danger);
}

.contact-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-details h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.phone-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.whatsapp-btn, .call-btn, .back-link {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.call-btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.call-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.back-link {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.back-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Map Section */
.branch-map-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-header h2 i {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--secondary);
  line-height: 1.6;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.interactive-map {
  display: block;
  border: none;
}

.map-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.map-btn {
  padding: 12px 25px;
  background: white;
  color: var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.map-btn i {
  font-size: 1.1rem;
}

.location-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.tip-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.tip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.tip-card p {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Footer */
.branch-footer {
  background: var(--dark);
  color: white;
  padding: 60px 20px 30px;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-light);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  width: 20px;
  text-align: center;
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 5px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .branch-header h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .branch-details {
    padding: 40px 20px;
    margin-top: -40px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .map-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .map-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .branch-header {
    padding: 60px 20px 100px;
  }
  
  .branch-header h1 {
    font-size: 2rem;
  }
  
  .highlight-card {
    padding: 15px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .whatsapp-btn, .call-btn, .back-link {
    justify-content: center;
  }
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.contact-title-icon {
  color: #e74c3c;
  margin-right: 10px;
}

/* Email Card Styles */
.email-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border-left: 4px solid #e74c3c;
}

.email-card:hover {
  transform: translateY(-5px);
}

.email-card .contact-icon {
  background: #e74c3c;
  color: white;
}

.email-link {
  display: inline-block;
  font-size: 1.2rem;
  color: #e74c3c;
  font-weight: 600;
  margin: 10px 0;
  text-decoration: none;
  transition: color 0.3s;
}

.email-link:hover {
  color: #c0392b;
  text-decoration: underline;
}

.response-time {
  color: #7f8c8d;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 5px;
}

/* Branch Actions Styles */
.branch-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.back-link, .contact-link {
  flex: 1;
  min-width: 200px;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-link {
  background: #2c3e50;
  color: white;
}

.back-link:hover {
  background: #1a252f;
  transform: translateX(-3px);
}

.contact-link {
  background: #3498db;
  color: white;
}

.contact-link:hover {
  background: #2980b9;
  transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .contact-section h2 {
    font-size: 1.5rem;
  }
  
  .email-link {
    font-size: 1rem;
  }
  
  .branch-actions {
    flex-direction: column;
  }
}