@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #B22222; /* Logo Deep Red */
  --primary-light: #d32f2f;
  --secondary: #ff5000; /* CTA Orange from live site */
  --secondary-hover: #e64a19;
  --accent-gold: #FFD700; /* Logo Gold */
  --background: #F1F1C3; /* Warm parchment from live site */
  --surface: #ffffff;
  --text-dark: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --footer-bg: #F49451; /* Salmon-Orange from live site */

  /* Chatbot Colors */
  --chat-primary: #B22222;
  --chat-text: #ffffff;
  --chat-user-bg: #f8fafc;
  --chat-user-text: #1e293b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.nav-logo img {
  height: 110px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}


@media (max-width: 768px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.hero-video-wrapper {
  position: relative;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(178, 34, 34, 0.1) 0%, rgba(255, 80, 0, 0.1) 100%);
  border-radius: 12px;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Grid Styles */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Card Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-in-left {
  from { 
    opacity: 0;
    transform: translateX(-30px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from { 
    opacity: 0;
    transform: translateX(30px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-in-out;
}

.animate-slide-in-left {
  animation: slide-in-left 0.8s ease-in-out;
}

.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-in-out;
}

/* Chatbot Styles */
.chatbot-hidden {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 5000;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--chat-primary);
  color: var(--chat-text);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
  transition: all 0.3s ease;
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(178, 34, 34, 0.4);
}

.chatbot-button.hidden {
  display: none;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  z-index: 5001;
  display: none;
}

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background-color: var(--chat-primary);
  color: var(--chat-text);
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.chatbot-close:hover {
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  animation: fade-in 0.3s ease;
}

.chat-message.bot {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  word-wrap: break-word;
  line-height: 1.5;
}

.chat-message.bot .chat-bubble {
  background-color: #f1f5f9;
  color: var(--text-dark);
}

.chat-message.user .chat-bubble {
  background-color: var(--chat-primary);
  color: white;
}

.chatbot-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.chatbot-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(178, 34, 34, 0.1);
}

.chatbot-send {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.chatbot-send:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 6rem 0 2rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

.social-icon-btn.linkedin:hover {
  background-color: #0077B5;
}

.social-icon-btn.facebook:hover {
  background-color: #1877F2;
}

.social-icon-btn.youtube:hover {
  background-color: #FF0000;
}

.social-icon-btn.instagram:hover {
  background-color: #E4405F;
}

.contact-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-gold {
  color: white;
  transition: color 0.3s ease;
}

.hover-gold:hover {
  color: var(--accent-gold);
}

/* Photo Stack */
.photo-stack {
  position: relative;
  height: 600px;
  width: 100%;
}

.photo-stack-item {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.photo-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-stack-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .chatbot-window {
    width: 100%;
    height: 60vh;
    right: 0;
    left: 0;
    margin: 0;
    bottom: 0;
    border-radius: 12px 12px 0 0;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  
  .photo-stack {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
