/* Style.css for Terravionext.com - Accounting Services */

/* Base styles and variables */
:root {
  --bg-primary: #111827;
  --accent: #FFD166;
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --button-gradient: linear-gradient(135deg, #FF0080, #7928CA);
  --form-gradient: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--button-gradient);
  border: none;
  border-radius: 50px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

section {
  padding: 6rem 0;
}

/* Center section headings */
section h2.text-center,
.text-center {
  text-align: center;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(5px);
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

/* Hero Section - Updated for centered content */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  width: 100%;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  width: 100%;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* About Section - Updated layout */
.about {
  background-color: rgba(0, 0, 0, 0.2);
}

.about h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.about-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Main Services Section */
.services {
  background-color: rgba(0, 0, 0, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.service-icon {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  background: var(--form-gradient);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 1000px;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Contact Form Section */
.contact {
  background-color: rgba(0, 0, 0, 0.2);
}

.form-container {
  background: var(--form-gradient);
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

/* Improved select styling */
select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 2.5rem;
}

select.form-control:hover {
  border-color: var(--accent);
}

select.form-control option {
  background-color: #203A43;
  color: var(--text-primary);
  padding: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--form-gradient);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  z-index: 1000;
  display: none;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cookie-popup.show {
  display: block;
  animation: slideIn 0.5s forwards;
}

.cookie-popup p {
  margin-bottom: 1.5rem;
}

@keyframes slideIn {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent);
}

.contact-info {
  margin-bottom: 1rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Legal Pages */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.legal-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 15px;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Thank you page centered content */
.text-center {
  text-align: center;
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .benefits-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .cta {
    padding: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  /* Added margin for mobile hero section */
  .hero-content {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .benefits-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .cta {
    padding: 2rem;
  }
  
  .cta-icons {
    flex-direction: column;
    align-items: center;
  }
  
  /* Increased margin for mobile hero section */
  .hero-content {
    margin-top: 3.5rem;
  }
} 