@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #C62828;
  --primary-hover: #D32F2F;
  --primary-dark: #8E0000;
  --secondary: #1A1A1A;
  --secondary-light: #333333;
  --accent: #FFD54F; /* Subtle gold/yellow for accents if needed */
  --bg-light: #F9F9F9;
  --bg-dark: #121212;
  --text-main: #333333;
  --text-light: #777777;
  --text-on-dark: #FFFFFF;
  --header-height: 80px;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

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

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

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

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
}

/* --- Navbar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  height: 70px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo img {
  height: 100%;
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: white;
  font-weight: 500;
  position: relative;
}

header.scrolled .nav-links li a {
  color: var(--secondary);
}

.nav-links li a:hover,
header.scrolled .nav-links li a:hover {
  color: var(--primary);
}

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

.nav-links li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

header.scrolled .menu-toggle {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  color: white;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.4)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #ddd;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-btns {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1.4s ease forwards;
}

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

/* --- Features/Services Cards --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: left;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-15px);
  border-bottom: 4px solid var(--primary);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  display: block;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About Preview --- */
.about-preview {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-preview-img {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-preview-content {
  flex: 1.2;
  min-width: 300px;
}

.about-preview-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.feature-list {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-item i {
  color: var(--primary);
}

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

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  height: 350px;
  overflow: hidden;
}

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

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 25px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.team-info p.role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.team-info p.edu {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: 30px;
  margin: 50px auto;
  padding: 80px 40px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 35px;
  font-size: 1.1rem;
}

/* --- Contact Page --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.contact-info h3 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

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

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

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

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

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

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

.footer-about .logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about .logo img {
  height: 100%;
}

.footer-links h4 {
  margin-bottom: 25px;
}

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

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.social-links a {
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary);
}

/* --- Zoho Page Specifics --- */
.zoho-highlight {
  background: #f0f4f8;
  border-left: 10px solid #005a9c; /* Zoho blue accent */
  padding: 30px;
  border-radius: 0 20px 20px 0;
  margin: 40px 0;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    color: var(--secondary) !important;
    padding: 12px 0;
    display: block;
    font-size: 1.1rem;
  }

  .nav-links li a::after {
    display: none;
  }
  
  .menu-toggle {
    display: block;
    color: var(--primary);
  }
  
  header.scrolled .menu-toggle {
    color: var(--primary);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
}
