/* Modern Style for Opttus Pharma Website */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2b5795;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: #2b5795;
  color: white;
}

.btn-primary:hover {
  background-color: #1e3f6b;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #f89c32;
  color: white;
}

.btn-secondary:hover {
  background-color: #e88a1a;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #2b5795;
  border-color: #2b5795;
}

.btn-outline:hover {
  background-color: #2b5795;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
}

.prev-btn, .next-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.prev-btn:hover, .next-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background: white;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: #f89c32;
  margin: 20px auto;
  border-radius: 2px;
}

/* Welcome Section */
.welcome-section {
  background: #f8f9fa;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

.key-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Divisions Section */
.divisions-section {
  background: white;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.division-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.division-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.division-image {
  height: 250px;
  overflow: hidden;
}

.division-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.division-card:hover .division-image img {
  transform: scale(1.1);
}

.division-content {
  padding: 30px;
}

.division-products {
  margin: 20px 0;
}

.division-products ul {
  list-style: none;
  padding: 0;
}

.division-products li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.division-products li:last-child {
  border-bottom: none;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #2b5795 0%, #1e3f6b 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f89c32;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: #f8f9fa;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .prev-btn, .next-btn {
    padding: 10px 15px;
    font-size: 1.5rem;
  }
  
  .key-features {
    grid-template-columns: 1fr;
  }
  
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .division-content {
    padding: 20px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.prev-btn:focus,
.next-btn:focus,
.dot:focus {
  outline: 3px solid #f89c32;
  outline-offset: 2px;
}

/* Footer Styles */
.modern-footer {
  background: #1a1a1a;
  color: #fff;
  position: relative;
}

.footer-main {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #2b5795 0%, #1e3f6b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: #f89c32;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  max-width: 150px;
  height: auto;
}

.footer-description {
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-contact {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #ccc;
}

.contact-item i {
  color: #f89c32;
  margin-right: 10px;
  margin-top: 3px;
  min-width: 16px;
}

.contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #f89c32;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: #f89c32;
  padding-left: 10px;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #f89c32;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #f89c32;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  background: #111;
  padding: 20px 0;
  border-top: 1px solid #333;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright p {
  color: #999;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #f89c32;
}

.back-to-top {
  display: none;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f89c32;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background: #e88a1a;
  transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Contact Page Styles */
.contact-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 87, 149, 0.7);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding-top: 120px;
}

.contact-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.contact-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-header h2 {
  margin-bottom: 1rem;
}

.contact-info-header p {
  color: #666;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #2b5795;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.5rem;
  color: #2b5795;
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-details a {
  color: #2b5795;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #f89c32;
}

.contact-social {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.contact-social h4 {
  margin-bottom: 20px;
  color: #2b5795;
}

.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-header h2 {
  margin-bottom: 1rem;
}

.contact-form-header p {
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2b5795;
  box-shadow: 0 0 0 3px rgba(43, 87, 149, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  min-height: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: auto;
}

.checkbox-label a {
  color: #2b5795;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.form-actions {
  margin-top: 20px;
}

.map-section {
  padding: 60px 0;
  background: white;
}

.map-container h2 {
  text-align: center;
  margin-bottom: 40px;
}

.map-placeholder {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed #ddd;
}

.map-content i {
  font-size: 3rem;
  color: #2b5795;
  margin-bottom: 20px;
}

.map-content h3 {
  margin-bottom: 15px;
  color: #2b5795;
}

.map-content p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .map-placeholder {
    padding: 40px 20px;
  }
}

/* Print styles */
@media print {
  .hero-section,
  .slider-controls,
  .slider-dots,
  .cta-section,
  .modern-footer,
  .contact-hero,
  .map-section {
    display: none;
  }
  
  .section {
    padding: 20px 0;
  }
} 