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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #4a4a4a;
  --dark-color: #0d0d0d;
  --light-color: #f8f8f8;
  --text-color: #2d2d2d;
  --border-color: #e0e0e0;
  --highlight-color: #0088cc;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Timer Styles */
.floating-timer-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--highlight-color);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-timer-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.6);
}

.floating-timer-btn:active {
  transform: scale(0.95);
}

.timer-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

.timer-modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}

.timer-close {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  float: right;
  line-height: 1;
  transition: color 0.2s ease;
}

.timer-close:hover {
  color: var(--highlight-color);
}

.timer-modal-content h2 {
  clear: both;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.timer-display {
  font-size: 3rem;
  text-align: center;
  color: var(--highlight-color);
  font-weight: 700;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-input-group {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.timer-input-group input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.timer-input-group input:focus {
  outline: none;
  border-color: var(--highlight-color);
}

.timer-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.timer-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: var(--highlight-color);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.timer-btn:hover {
  background: #006ba3;
  transform: translateY(-2px);
}

.timer-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive timer */
@media (max-width: 600px) {
  .floating-timer-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }

  .timer-modal-content {
    margin: 30% auto;
    width: 95%;
  }

  .timer-display {
    font-size: 2.5rem;
  }
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  width: 35px;
  height: 35px;
  color: var(--primary-color);
}

.logo span {
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-image {
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.8s ease 0.8s backwards;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInDown 0.8s ease;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: slideInUp 0.8s ease 0.4s backwards;
}

.cta-button {
  background: var(--highlight-color);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(107, 91, 149, 0.2);
  animation: slideInUp 0.8s ease 0.6s backwards;
  font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
  background: #0066a1;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 136, 204, 0.3);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Portfolio Section */
.portfolio {
  padding: 80px 20px;
  background: white;
}

.portfolio-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.slideshow-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--light-color);
  border-radius: 15px;
}

.slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 400px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #999;
  font-size: 1.2rem;
  text-align: center;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 136, 204, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slide-nav:hover {
  background: rgba(0, 136, 204, 1);
  transform: translateY(-50%) scale(1.1);
}

.slide-prev {
  left: 20px;
}

.slide-next {
  right: 20px;
}

.slide-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--highlight-color);
  transform: scale(1.3);
}

.indicator:hover {
  border-color: var(--highlight-color);
}

/* Services Section */
.services {
  padding: 80px 20px;
  background: var(--light-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 136, 204, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  text-align: left;
  padding: 1rem 0;
  border-top: 2px solid var(--border-color);
}

.service-list li {
  padding: 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '✓ ';
  color: var(--highlight-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: white;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.9;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 2.5rem;
  color: var(--highlight-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--highlight-color);
  min-width: 30px;
}

.contact-item h4 {
  margin-bottom: 0.3rem;
  color: var(--dark-color);
}

.contact-item p {
  color: #666;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.contact-form button {
  margin-top: 0.5rem;
}

/* Map Styles */
#map {
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

#map .leaflet-popup-content {
  border-radius: 8px;
}

#map .leaflet-popup-content-wrapper {
  border-radius: 8px;
}

#map .leaflet-marker-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem 20px;
  text-align: center;
}

.footer .section-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--highlight-color);
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

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

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

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide {
    height: 300px;
  }

  .slide-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slide-prev {
    left: 10px;
  }

  .slide-next {
    right: 10px;
  }

  .footer .section-container {
    flex-direction: column;
    gap: 1rem;
  }
}
