html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #ffffff;
  color: #111;
  overflow-x: hidden;
}

/* STANDARD SECTION PADDING */
section {
  padding: 120px 8%;
  scroll-margin-top: 80px; /* Adjust based on navbar height */
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 8%;
  position: fixed;
  width: 100%;
  background: white;
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
  align-items: center;
}

.logo img {
  max-width: 250px;
  height: auto;
}

.navbar nav a {
  font-size: 18px;
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
}

.menu-toggle.active i::before {
  content: "\f00d"; /* FontAwesome Times/Close icon */
}

/* HERO */
.hero {
  min-height: 800px;
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  max-width: 1600px;
  margin: auto;
  flex-direction: column;
  
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  color: #111;
  line-height: 1.2;
  margin-bottom: 50px;
}

.hero h1 span {
  font-style: italic;
  color: #aaa;
  font-weight: 400;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin: 50px 0;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 650px;
  font-size: 20px;
  line-height: 1.8;
  color: #666;
}

.btn {
  background: #c62828;
  color: #fff;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  white-space: nowrap;
}

.btn:hover {
  background: #a91d1d;
}

.arrow {
  position: relative;
  width: 80px;
  height: 10px;
  background: linear-gradient(90deg, #ff4d4d, #ff0000);
  animation: moveRight 10s ease-in-out infinite;
}

.arrow::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 30px solid #ff0000;
}

@keyframes moveRight {
  0% { transform: translateX(-220px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

/* WHAT WE DO */
.what-we-do {
  display: flex;
  min-height: 600px;
  flex-wrap: wrap;
  padding: 0 !important;
}

.left {
  width: 50%;
  background: #0a0a0a;
  color: #fff;
  padding: 120px 8%;
  display: flex;
  flex-direction: column;
}

.label {
  margin-left: 50px;
  color: #c40000;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 40px;
  position: relative;
}

.label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #c40000;
  position: absolute;
  left: -50px;
  top: 50%;
}

.left h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 30px;
}

.divider {
  width: 80%;
  height: 1px;
  background: #2a2a2a;
  margin: 30px 0;
}

.desc {
  font-size: 20px;
  color: #b0b0b0;
  line-height: 1.8;
  max-width: 550px;
}

.right {
  width: 50%;
  background: url("../images/what-we-do.jpeg") center/cover no-repeat;
  filter: grayscale(100%);
  min-height: 400px;
}

/* CAPABILITIES */
.capabilities {
  background-color: #f5f5f5;
}

.cap-container {
  display: flex;
  margin: auto;
  flex-direction: column;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 40px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #c40000;
}

.icon {
  color: #c40000;
  font-size: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #111;
  font-family: "Playfair Display", serif;
}

.card p {
  font-size: 20px;
  color: #666;
  line-height: 1.7;
}

/* FOUNDER */
.founder {
  background-color: white;
  border-top: 3px solid #c40000;
}

.founder .container {
  display: flex;
  margin: auto;
}

.founder-left {
  width: 40%;
  padding-right: 45px;
}

.image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  background: url("../images/founder.jpeg") center/cover no-repeat;
  margin-bottom: 30px;
  border-bottom: 8px solid #c40000;
}

.founder-left h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  margin-bottom: 20px;
}

.tags span {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  color: #111;
}

.experience {
  margin-top: 30px;
  border: 1px solid #ddd;
  padding: 20px;
  display: inline-block;
}

.experience strong {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-right: 10px;
}

.experience span {
  font-size: 20px;
  letter-spacing: 2px;
}

.founder-right {
  width: 60%;
  padding-left: 45px;
  border-left: 1px solid #ddd;
}

.founder-right h3 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.founder-desc {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.mini-label {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: #666;
}

.item {
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
}

.item span {
  color: #c40000;
  margin-right: 15px;
}

blockquote {
  margin-top: 20px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 24px;
  position: relative;
  margin-left: 50px;
}

blockquote::before {
  content: "“";
  color: #c40000;
  font-size: 80px;
  position: absolute;
  left: -60px;
  top: -30px;
}

/* DUAL SECTION */
.tow-section {
  background-color: white;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.tow-section .container {
  display: flex;
}

.two-left, .two-right {
  flex: 1;
  padding: 60px 40px;
}

.two-left {
  background: #000;
  color: #fff;
}

.two-right {
  background: #e9e9e9;
  color: #111;
}

.two-left h3, .two-right h3 {
  font-size: 32px;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
}

.two-left p, .two-right p {
  font-size: 20px;
  line-height: 1.7;
  color: #666;
}

.two-left p { color: #aaa; }

/* WISDOM DIFFERENCE */
.wisdom {
  display: flex;
  min-height: 500px;
  flex-wrap: wrap;
  padding: 0 !important;
}

.wisdom-left {
  width: 50%;
  background: #ffffff;
  color: #000000;
  padding: 100px 8%;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e5e5e5;
}

.wisdom-left h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}

.wisdom-left h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.wisdom-desc {
  font-size: 20px;
  color: #333;
  line-height: 1.8;
}

.wisdom-right {
  width: 50%;
  background: url("../images/difference.jpeg") center/cover no-repeat;
  filter: grayscale(100%);
  min-height: 400px;
}

/* CONTACT */
.contact-section {
}

.contact-section .container {
  display: flex;
  gap: 60px;
}

.contact-left {
  flex: 1;
}

.contact-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400;
  margin-bottom: 25px;
  color: #111;
}

.contact-left p {
  font-size: 20px;
  line-height: 1.8;
  color: #555;
  max-width: 420px;
}

.contact-right {
  flex: 1.2;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ccc;
  background: transparent;
  font-size: 14px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: none;
}

button {
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #b71c1c;
}
.social-links-contact a:hover {
    background: #c40000;
    color: #fff !important;
    border-color: #c40000;
}


/* FOOTER */
.footer {
  background: radial-gradient(circle at right, #1a0000, #000);
  padding: 100px 8% 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 300px;
}

.tagline {
  font-size: 16px;
  color: #aaa;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-links h4, .footer-subscribe h4 {
  font-size: 16px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 16px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.subscribe-box {
  display: flex;
  margin-bottom: 30px;
}

.subscribe-box input {
  padding: 12px;
  border: none;
  outline: none;
  width: 100%;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.subscribe-box button {
  background: #e53935;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  margin-top: 0;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #c40000;
  color: #fff;
  border-color: #c40000;
}

/* BACK TO TOP BUTTON */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: none;
  outline: none;
  background-color: #c40000;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Makes it perfectly round */
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#backToTop:hover {
  background-color: #000;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid #111;
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #666;
}

/* MEDIA QUERIES */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  section {
    padding: 100px 5%;
  }

  .navbar {
    padding: 15px 5%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .left, .wisdom-left {
    padding: 80px 5%;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  section {
    padding: 80px 5%;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .navbar nav.active {
    display: flex;
  }

  .navbar nav a {
    margin: 15px 0;
    font-size: 20px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .left, .right, .wisdom-left, .wisdom-right {
    width: 100%;
  }

  .left, .wisdom-left {
    padding: 80px 5%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .founder .container, .tow-section .container, .contact-section .container {
    flex-direction: column;
  }

  .founder-left, .founder-right {
    width: 100%;
    padding: 0;
  }

  .founder-right {
    border-left: none;
    margin-top: 40px;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
  }

  .hero {
    min-height: 600px;
    padding: 150px 5% 80px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  section {
    padding: 60px 5%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .image {
    max-width: 100%;
  }

  blockquote {
    font-size: 18px;
    margin-left: 30px;
  }

  blockquote::before {
    font-size: 60px;
    left: -40px;
  }

  .left, .wisdom-left {
    padding: 60px 5%;
  }
}
