/* Base Styles */
:root {
  --primary: #0A6EBD;
  --secondary: #45C4B0;
  --accent: #FF8C42;
  --dark: #2D3047;
  --light: #F9F9F9;
  --white: #FFFFFF;
  --text: #333333;
  --success: #4CAF50;
  --warning: #FFC107;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --content-width: 1200px;
}

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

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

/* Mobile-first approach */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

section {
  padding: 2.5rem 0;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  width: 160px;
  height: auto;
}

.logo img {
  width: 100%;
}

.mobile-menu-toggle {
  display: block;
  font-size: 1.5rem;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
}

ul li, ol li {
  list-style-type: none;
}

.form-group .form-control {
  width: 100% !important;
}

.iti {
  width: 100%;
}

.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 520px;
  background-color: var(--white);
  transform: translateX(100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav-active {
  transform: translateX(0);
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
}

.nav-links a {
  display: block;
  padding: 1rem 0;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  padding-top: 5rem;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: 2rem 0;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.hero-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 1.5rem;
}

.hero-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--dark);
  color: white;
}

/* Feature Section */
.features {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent);
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-image {
  height: 200px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content {
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Why Choose Us Section */
.why-choose {
  background-color: var(--light);
  padding: 3rem 0;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--primary);
  min-width: 2.5rem;
  text-align: center;
}

.benefit-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-section {
  padding: 3rem 0;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Call to Action */
.cta-section {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.cta-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials */
.info-section {
  padding: 3rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-info p {
  margin-bottom: 1rem;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: var(--light);
  padding: 1rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent.active {
  display: block;
}

.cookie-text {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.cookie-settings-modal.active {
  visibility: visible;
  opacity: 1;
}

.cookie-settings-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 0.9rem;
  color: #666;
}

.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Custom Progress Bar for Scroll */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.progress-bar {
  height: 4px;
  background-color: var(--accent);
  width: 0%;
}

/* Thumb Zone Optimization */
.thumb-zone-nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark);
  border-radius: 50px;
  padding: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 990;
  display: flex;
  justify-content: space-around;
  width: 90%;
  max-width: 400px;
}

.thumb-zone-nav a {
  color: var(--light);
  padding: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.thumb-zone-nav a:hover,
.thumb-zone-nav a.active {
  background-color: var(--primary);
}

/* Timeline for History Page */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  background-color: inherit;
  padding-left: 40px;
  margin-bottom: 3rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 9px;
  background-color: var(--accent);
  border: 4px solid var(--primary);
  top: 0;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.timeline-date {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Tech Trends Page */
.trend-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trend-image {
  height: 200px;
  overflow: hidden;
}

.trend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trend-card:hover .trend-image img {
  transform: scale(1.05);
}

.trend-content {
  padding: 1.5rem;
}

.trend-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* Contact Page Map */
.map-container {
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--primary);
  margin-right: 1rem;
  min-width: 24px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.policy-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--dark);
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-date {
  font-style: italic;
  color: #666;
  margin-bottom: 2rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease;
}

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

.slide-up {
  animation: slideUp 0.8s ease;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Media Queries */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .feature-cards,
  .benefits,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-links {
    position: static;
    transform: none;
    height: auto;
    width: auto;
    background: none;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
  }
  
  .nav-links a {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border-bottom: none;
  }
  
  .nav-close {
    display: none;
  }
  
  .hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    margin-top: 0;
  }
  
  .timeline::after {
    left: 50%;
  }
  
  .timeline-item {
    padding-left: 0;
    width: 50%;
  }
  
  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
  }
  
  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
  }
  
  .timeline-item::after {
    left: auto;
    right: -10px;
  }
  
  .timeline-item:nth-child(odd)::after {
    left: auto;
    right: -10px;
  }
  
  .timeline-item:nth-child(even)::after {
    left: -10px;
    right: auto;
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  .feature-cards,
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .map-container {
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--content-width);
  }
  
  h1 {
    font-size: 3rem;
  }
}

/* For high-resolution screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}