:root {
  --primary-color: #2b6cb0;
  --secondary-color: #4299e1;
  --background-color: #f7fafc;
  --text-color: #2d3748;
  --light-gray: #e2e8f0;
  --dark-gray: #4a5568;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

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

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

/* Header Styles */
header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px 0;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 70px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--light-gray);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f6f9fc 0%, #e9f2fe 100%);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--dark-gray);
}

.btn {
  display: inline-block;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  color: white;
}

/* Apps Section */
.apps {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--dark-gray);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.app-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.app-card-header {
  padding: 30px;
  text-align: center;
}

.app-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.app-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.app-card-body {
  padding: 0 30px 30px;
  flex: 1 1 auto;
}

.app-card-body p {
  margin-bottom: 20px;
}

.features-list {
  margin: 20px 0;
  padding-left: 20px;
}

.features-list li {
  margin-bottom: 10px;
}

.app-card-footer {
  padding: 20px 30px;
  background: #f9fafb;
  text-align: center;
  margin-top: auto;
}

/* Screenshots Section */
.screenshots {
  padding: 40px 0;
  background-color: #f1f5f9;
}

.screenshot-container {
  position: relative;
  margin: 40px auto;
  max-width: 800px;
  overflow: hidden;
}

.screenshot-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.screenshot-slide {
  min-width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.screenshot-slide img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 500px;
  cursor: pointer;
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.slider-nav button {
  background: var(--light-gray);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark-gray);
  transition: background-color 0.3s ease;
}

.slider-nav button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Screenshots zoom functionality */
.screenshot-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.overlay-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.overlay-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.overlay-slide img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.screenshot-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1010;
}

.overlay-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 1010;
  transition: background-color 0.3s ease;
}

.overlay-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.overlay-nav-btn.prev-btn {
  left: 20px;
}

.overlay-nav-btn.next-btn {
  right: 20px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #e9f2fe 100%);
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Form Messages */
.success-message,
.error-message {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
footer {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo img {
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    position: relative;
  }
  
  .logo {
    align-self: flex-start;
  }
  
  nav {
    width: 100%;
    margin-top: 20px;
  }
  
  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    box-shadow: var(--shadow);
    z-index: 99;
    text-align: center;
  }
  
  nav ul.active {
    display: flex !important; /* Use !important to override any other styles */
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 100;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 20px;
  }
}

/* Privacy Policy Card Styles */
.policy-card {
  background: #fff;
  max-width: 700px;
  margin: 40px auto 60px auto;
  padding: 40px 32px 32px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
  font-size: 1.08rem;
  line-height: 1.7;
}

.policy-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2.2rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.policy-card h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--primary-color);
  font-weight: 600;
}

.policy-card h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.policy-card p {
  margin-bottom: 1.1rem;
}

.policy-card ul {
  margin: 0.7rem 0 1.2rem 1.5rem;
  padding-left: 1.2rem;
}

.policy-card ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.policy-card a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.2s;
}

.policy-card a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .policy-card {
    padding: 22px 8px 18px 8px;
    max-width: 98vw;
  }
  .policy-title {
    font-size: 1.5rem;
  }
  .policy-card h2 {
    font-size: 1.1rem;
  }
  .policy-card h3 {
    font-size: 1rem;
  }
}

/* Resize vector icons in ICC screenshots */
#icc-screenshots .screenshot-slide img {
  max-width: 200px;
  max-height: 200px;
}
