/* Main Styles for TouchPhysics */

:root {
  --primary-color: #4a6bff;
  --secondary-color: #ff5e94;
  --tertiary-color: #6c63ff;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-start: #4a6bff;
  --gradient-end: #6c63ff;
  --card-bg: #ffffff;
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  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;
  background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
}

/* Custom Frame for Images */
.custom-frame {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: 5px 5px 0 var(--tertiary-color);
  transition: transform 0.3s ease;
}

.custom-frame:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--tertiary-color);
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  width: auto;
}

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

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

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover:after, nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 21px;
  width: 30px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero .btn:hover {
  background: var(--light-color);
  color: var(--tertiary-color);
}

/* Features Section */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  border-radius: 50%;
  margin-bottom: 20px;
}

.feature-card .icon svg {
  height: 30px;
  width: 30px;
  color: white;
}

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

/* Recent Posts Section */
.recent-posts {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.recent-posts h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.post-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.post-content p {
  color: var(--gray-color);
  margin-bottom: 15px;
}



.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Checklist Section */
.checklist-section {
  padding: 80px 0;
  background-color: white;
}

.checklist-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.checklist {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.checklist-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.checklist-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 15px;
}

.checklist-item input[type="checkbox"]:checked {
  background-color: var(--primary-color);
}

.checklist-item input[type="checkbox"]:checked::after {
  content: '✓';
  display: block;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checklist-item label {
  font-size: 1.05rem;
  cursor: pointer;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Blog Content */
.blog-content {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.blog-post {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .blog-post {
    flex-direction: row;
  }
  
  .blog-image {
    flex: 0 0 40%;
  }
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  padding: 25px;
  flex: 1;
}

.blog-post-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray-color);
  margin-bottom: 15px;
}

.post-meta span {
  margin-right: 20px;
}

.post-meta span:last-child {
  margin-right: 0;
}

/* About Page */
.about-content {
  padding: 80px 0;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-intro p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.team-section, .values-section {
  margin-top: 80px;
}

.team-section h2, .values-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.team-member {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 20px;
  font-size: 1.3rem;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--gray-color);
}

.team-member p:first-of-type {
  font-weight: 500;
  color: var(--primary-color);
}

.team-member .social-links {
  padding: 0 20px 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.value-icon {
  margin: 0 auto 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  border-radius: 50%;
}

.value-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Contact Page */
.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info, .contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-info h2, .contact-form h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  border-radius: 50%;
  margin-right: 15px;
}

.info-icon svg {
  width: 25px;
  height: 25px;
  color: white;
}

.info-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-text p, .info-text a {
  color: var(--gray-color);
}

.info-text a:hover {
  color: var(--primary-color);
}

.social-links-large {
  margin-top: 40px;
}

.social-links-large h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dark-color);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  transform: translateY(-3px);
}

.social-icon:hover svg {
  color: white;
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
}

.map-section {
  padding: 0 0 80px;
}

.map-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thank You Modal */
.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: white;
  font-size: 1.5rem;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0 5px;
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-body p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.check-icon {
  color: var(--success-color);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-col h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

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

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col address a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col address a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.social-links a:hover svg {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
}

.cookie-content {
  padding: 20px;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.accept {
  background-color: var(--success-color);
  color: white;
}

.customize {
  background-color: var(--light-gray);
  color: var(--dark-color);
}

.reject {
  background-color: var(--light-gray);
  color: var(--gray-color);
}

.cookie-policy-link {
  margin-left: auto;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 15px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px var(--shadow-color);
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 0 0 15px;
  }
  
  nav ul li a {
    display: block;
    padding: 10px 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .features h2, .recent-posts h2 {
    font-size: 2rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .contact-info, .contact-form {
    padding: 30px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-policy-link {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .feature-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .page-banner h1 {
    font-size: 2.2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}
