:root {
  --primary-color: #2c3e50;
  --secondary-color: #f7f9fc;
  --accent-color: #3498db;
  --accent-hover: #2980b9;
  --text-dark: #2c3e50;
  --text-medium: #455a64;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --success: #2ecc71;
  --gray-light: #ecf0f1;
  --gray: #d5dbdb;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --card-radius: 16px;
  --vh: 1vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

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

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

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-medium);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--white);
}

/* Header / Nav */
.header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-color);
}

.logo img {
  height: 40px;
  margin-right: 15px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: 35px;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: -5px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  background-color: var(--secondary-color);
  min-height: calc(100vh - 70px);
  min-height: calc(var(--vh, 1vh) * 100 - 70px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--accent-color);
  opacity: 0.05;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.2;
}

.hero-text span {
  color: var(--accent-color);
}

.hero-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-medium);
  font-weight: 600;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
  color: var(--text-medium);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
  flex: 1;
  z-index: 2;
}

.profile-img-container {
  width: 350px;
  height: 350px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 10px solid var(--white);
  transform: rotate(3deg);
  transition: var(--transition);
}

.profile-img-container:hover {
  transform: rotate(0);
}

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

.hero-social {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  color: var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-social a:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-5px);
}

/* Profile Cards Grid Layout */
.profile-section {
  background-color: var(--white);
  padding: 80px 0;
  position: relative;
}

.profile-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(52, 152, 219, 0.03) 0%,
      transparent 150px
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(52, 152, 219, 0.03) 0%,
      transparent 150px
    );
}

.tab-container {
  position: relative;
  z-index: 2;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 30px;
  background: var(--off-white);
  color: var(--text-medium);
  cursor: pointer;
  font-weight: 600;
  border-radius: 50px;
  margin: 0 10px 10px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab i {
  font-size: 0.9rem;
}

.tab.active,
.tab:hover {
  background: var(--accent-color);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

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

.profile-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.card-body {
  flex-grow: 1;
}

.info-group {
  margin-bottom: 25px;
}

.info-group:last-child {
  margin-bottom: 0;
}

.info-label {
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.info-label i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.info-value {
  color: var(--text-dark);
  background: var(--gray-light);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  word-break: break-word;
}

.info-value a {
  color: var(--accent-color);
}

.info-value a:hover {
  text-decoration: underline;
}

.company-logo-wrapper {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 12px;
}

.company-logo {
  max-width: 180px;
  max-height: 100px;
  object-fit: contain;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--accent-color);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.tag i {
  margin-right: 8px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 15px;
  background: var(--gray-light);
  border-radius: 10px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.social-link:hover i,
.social-link:hover span {
  color: var(--white);
}

.social-link i {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover i {
  background: rgba(255, 255, 255, 0.2);
}

.social-link span {
  font-weight: 600;
  color: var(--text-medium);
  font-size: 0.9rem;
  transition: var(--transition);
}

/* Contact Section */
.contact {
  background-color: var(--secondary-color);
  position: relative;
}

.contact-wrapper {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 2;
}

.contact-form {
  padding: 50px;
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-form p {
  margin-bottom: 30px;
  color: var(--text-medium);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--off-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.form-label {
  position: absolute;
  left: 20px;
  top: 15px;
  background: var(--off-white);
  padding: 0 10px;
  font-size: 1rem;
  color: var(--text-medium);
  transition: var(--transition);
  pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -12px;
  left: 15px;
  font-size: 0.8rem;
  color: var(--accent-color);
  background: var(--white);
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.success-message {
  display: none;
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
  border-left: 4px solid var(--success);
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
}

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  padding: 50px;
  position: relative;
}

.contact-info::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://static.vecteezy.com/system/resources/previews/005/263/636/non_2x/contact-us-concept-icons-such-as-mobile-phone-e-mail-address-chat-global-communication-on-dark-blue-background-for-presentation-web-banner-article-business-and-network-connection-and-company-free-vector.jpg")
    center/cover;
  opacity: 0.1;
  z-index: 0;
}

.contact-info-content {
  position: relative;
  z-index: 1;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--white);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text {
  flex-grow: 1;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.contact-text p,
.contact-text a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--accent-color);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

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

.contact-btn i {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  padding: 30px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer p {
  margin: 0;
  color: inherit;
}

.footer a {
  color: var(--accent-color);
}

.footer a:hover {
  text-decoration: underline;
}

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

  .profile-img-container {
    width: 300px;
    height: 300px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .tab {
    margin: 0 5px 10px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p,
  .hero-text h3 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-social {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    text-align: center;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .menu-btn {
    display: block;
    cursor: pointer;
    z-index: 1;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .contact-form,
  .contact-info {
    padding: 40px 25px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .tabs {
    gap: 10px;
  }

  .profile-cards {
    gap: 20px;
  }

  .card-header {
    flex-wrap: wrap;
  }

  .profile-card {
    padding: 25px 20px;
  }

  .info-value {
    word-break: break-word;
    padding: 10px 12px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h3 {
    font-size: 1.3rem;
  }

  .tab {
    padding: 8px 15px;
    font-size: 0.85rem;
    flex: 1;
    min-width: calc(33.33% - 10px);
    text-align: center;
  }

  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .contact-detail {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon {
    margin-bottom: 10px;
  }

  .contact-form h3,
  .contact-info h3 {
    font-size: 1.6rem;
  }

  .form-control {
    padding: 12px 15px;
  }

  .contact-form p {
    font-size: 0.95rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .profile-img-container {
    width: 250px;
    height: 250px;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 110px 0 50px;
  }

  .hero-social a {
    width: 40px;
    height: 40px;
  }

  .profile-img-container {
    width: 220px;
    height: 220px;
    border-width: 5px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-buttons {
    width: 100%;
  }

  .container {
    width: 95%;
    padding: 0 10px;
  }

  .card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .info-label {
    font-size: 0.9rem;
  }

  .info-value {
    font-size: 0.9rem;
  }

  .contact-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .contact-actions {
    gap: 10px;
  }

  .contact-text h4 {
    font-size: 1rem;
  }
}

/* Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
}
