@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe0b2 100%);
  min-height: 100vh;
  color: #333;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 12px 20px;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

nav ul li a:hover::before,
nav ul li a.active::before {
  opacity: 1;
}

nav ul li a:hover,
nav ul li a.active {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 127, 14, 0.4);
}

html {
  scroll-behavior: smooth;
}

main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 30px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
  font-size: 3em;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.2em;
  color: #d35400;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  border-radius: 2px;
}

h3 {
  font-size: 1.6em;
  color: #e67e22;
  margin-bottom: 15px;
  font-weight: 500;
}

.quote {
  font-style: italic;
  border-left: 5px solid #667eea;
  margin: 30px 0;
  padding: 25px;
  color: #555;
  background: linear-gradient(135deg, rgba(255, 127, 14, 0.1) 0%, rgba(255, 154, 60, 0.1) 100%);
  border-radius: 0 15px 15px 0;
  font-size: 1.1em;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

ul li i {
  color: #ff7f0e; 
  margin-right: 10px; 
  font-size: 1.2em; 
}

.media-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-image:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 127, 14, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

th {
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  color: white;
  font-weight: 600;
}

tr:hover {
  background: rgba(255, 127, 14, 0.05);
}

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

.gallery-item {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 127, 14, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.caption {
  font-size: 0.95em;
  color: #666;
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  color: white;
  margin-top: 60px;
}

footer p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.9;
}

#map {
  height: 500px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 30px 0;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  nav ul li {
    margin: 5px 0;
  }
  
  main {
    margin: 20px auto;
    padding: 0 20px;
  }
  
  section {
    padding: 20px 15px;
    margin-bottom: 40px;
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.8em;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8em;
  }
  
  th, td {
    padding: 10px;
    font-size: 0.9em;
  }
  
  .quote {
    padding: 20px 15px;
  }
}

/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e67e22 0%, #ff7f0e 100%);
}

a {
  color: #e67e22;                          /* Base orange */
  text-decoration: none;
  background: linear-gradient(90deg, 
              #ff7f0e 0%, #ff7f0e 100%);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 90%;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

/* Hover → full pill */
a:hover {
  color: white;
  background-size: 100% 100%;
  border-radius: 20px;
  padding: 4px 12px;
  margin: -4px -12px;
  background: linear-gradient(135deg, #ff7f0e 0%, #ff9a3c 100%);
  box-shadow: 0 4px 12px rgba(255,127,14,.4);
}

/* Keep nav links untouched */
nav a { all: unset; }          /* resets the rule for the sticky nav */
nav a:hover { all: unset; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin: 30px 0;
  justify-items: center;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 140px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #e67e22;
}

.contact-card i {
  font-size: 2.8em;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.contact-card span {
  font-weight: 500;
  font-size: 1.1em;
}

.contact-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(255,127,14,.3);
  background: linear-gradient(135deg, #ff7f0e, #ff9a3c);
  color: white;
}

.contact-card:hover i {
  transform: scale(1.2) rotate(8deg);
}

.productivity-grid {
  display: grid;
  gap: 20px;
  margin: 25px 0;
}
.prod-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 16px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.prod-item i {
  font-size: 1.6em;
  color: #ff7f0e;
}