/* ==================== RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease backwards;
}

/* ==================== NAVBAR ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(240, 243, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  height: 80px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 100px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-link {
  margin-left: 30px;
  color: #050505;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4facfe;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #4facfe;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: #111;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 80px 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 28px;
  color: #111;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  padding: 15px 0;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #0b3cff;
}

/* ==================== HOME PAGE ==================== */
.home {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url("../images/home-bg.jpg");
  background-size: cover;
  background-position: center 25%;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  padding-left: 120px;
  color: #fff;
}

.home-content {
  max-width: 600px;
}

.home-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.home-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  background: #0b3cff;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(11, 60, 255, 0.3);
}

.btn:hover {
  background: #092ec2;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 60, 255, 0.4);
}

.btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

/* ==================== HOME BOTTOM SECTION ==================== */
.home-bottom {
  padding: 100px 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.home-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.home-bottom-content h2 {
  font-size: 42px;
  color: #0a2a7a;
  margin-bottom: 60px;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #0b3cff, #4facfe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.feature h3 {
  font-size: 22px;
  color: #111;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* ==================== ABOUT PAGE ==================== */
.about {
  display: flex;
  min-height: 100vh;
  margin-top: 90px;
}

.about-left {
  width: 50%;
  background: #0a2a7a;
  color: #fff;
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-left h1 {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 700;
}

.about-left p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-right {
  width: 50%;
  background-image: url("../images/about-building.jpg");
  background-size: cover;
  background-position: center;
  transition: background-image 0.8s ease;
  cursor: pointer;
}

.about-right:hover {
  background-image: url("../images/about-building-hover.png");
}

/* ==================== SERVICES PAGE ==================== */
.services {
  min-height: 100vh;
  margin-top: 90px;
  padding: 80px 40px;
  background: #2b2c34;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1400px;
  width: 100%;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-image {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.img-default {
  opacity: 1;
  z-index: 1;
}

.img-hover {
  opacity: 0;
  z-index: 2;
  transform: scale(1.1);
}

.service-card:hover .img-default {
  opacity: 0;
}

.service-card:hover .img-hover {
  opacity: 1;
  transform: scale(1);
}

.service-text {
  padding: 35px;
  text-align: center;
}

.service-text h3 {
  font-size: 24px;
  color: #111;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* ==================== CONTACT PAGE ==================== */
.contact {
  min-height: 100vh;
  margin-top: 90px;
  padding: 80px;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  background: #2b2c34;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form - Left Side */
.contact-form-full {
  flex: 1;
  max-width: 600px;
  background: #e0e2e7;
  padding: 50px 40px;
  border-radius: 12px;
}

/* Contact Info Panel - Right Side */
.contact-info-panel {
  flex: 1;
  max-width: 500px;
  background: linear-gradient(135deg, #0a2a7a 0%, #1e3a5f 100%);
  padding: 50px 40px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-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: 36px;
  margin: 0 auto 25px;
  color: #4facfe;
}

.contact-info-content h3 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-info-content > p {
  text-align: center;
  font-size: 16px;
  color: #d0d8e0;
  margin-bottom: 40px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-item i {
  font-size: 24px;
  color: #4facfe;
  min-width: 30px;
  margin-top: 5px;
}

.info-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.info-item p {
  font-size: 15px;
  color: #d0d8e0;
  line-height: 1.6;
}

.contact-form-full h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #111;
  font-weight: 700;
  text-align: center;
}

/* Quick Contact Buttons */
.quick-contact-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.whatsapp-btn,
.email-btn {
  flex: 1;
  max-width: 400px;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  display: none;
}

.email-btn {
  background: #0b3cff;
  color: #fff;
  box-shadow: 0 4px 15px rgba(11, 60, 255, 0.3);
}

.email-btn:hover {
  background: #092ec2;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 60, 255, 0.4);
}

.or-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.or-divider::before,
.or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ccc;
}

.or-divider::before {
  left: 0;
}

.or-divider::after {
  right: 0;
}

.or-divider span {
  background: #e0e2e7;
  padding: 0 15px;
  color: #888;
  font-weight: 600;
  font-size: 14px;
}

.contact-form-full input,
.contact-form-full textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 20px;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  transition: box-shadow 0.3s ease;
}

.contact-form-full input:focus,
.contact-form-full textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 60, 255, 0.2);
}

.contact-form-full textarea {
  resize: none;
}

.btn-submit {
  background: #0b3cff;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(11, 60, 255, 0.3);
}

.btn-submit:hover {
  background: #092ec2;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 60, 255, 0.4);
}

.form-success {
  margin-top: 20px;
  padding: 15px;
  background: #4CAF50;
  color: white;
  border-radius: 6px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.form-success i {
  margin-right: 10px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(135deg, #1e3a5f 0%, #2b4a6f 100%);
  color: #fff;
  padding: 60px 80px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

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

.footer-left h3 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.footer-left p {
  color: #d0d8e0;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-contact-info {
  margin-top: 25px;
}

.footer-contact-info p {
  color: #d0d8e0;
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-contact-info p i {
  color: #4facfe;
  margin-right: 12px;
  width: 20px;
  font-size: 16px;
}

.footer-center h4,
.footer-right h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #ffffff;
  font-weight: 700;
}

.footer-center a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  font-size: 15px;
}

.footer-center a:hover {
  color: #4facfe;
  padding-left: 5px;
}

.footer-right a {
  color: #ffffff !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-right a:hover {
  color: #4facfe !important;
  padding-left: 5px;
}

.footer-right .social-icons a {
  display: inline-flex !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

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

.footer-right a:not(.social-icons a) {
  display: block;
  color: #ffffff !important;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-right a:not(.social-icons a):hover {
  color: #4facfe !important;
  padding-left: 5px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background: #4facfe;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d0d8e0;
  font-size: 14px;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0b3cff;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(11, 60, 255, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #092ec2;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(11, 60, 255, 0.4);
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #fff;
  color: #25D366;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
  color: #25D366;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .header {
    padding: 0 30px;
    height: 80px;
  }

  .logo img {
    height: 90px;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    color: #111 !important;
  }

  .home {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 0;
    background-position: 75% 40%;  /* 40% from top to show heads */
    background-size: auto 100%;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .home-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .home-content h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .home-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .home-bottom {
    padding: 60px 30px;
  }

  .home-bottom-content h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about {
    flex-direction: column;
  }

  .about-left,
  .about-right {
    width: 100%;
    min-height: 50vh;
  }

  .about-left {
    padding: 80px 40px;
  }

  .about-left h1 {
    font-size: 32px;
  }

  .about-left p {
    font-size: 16px;
  }

  .services {
    padding: 60px 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-image {
    height: 250px;
  }

  .service-text {
    padding: 25px;
  }

  .service-text h3 {
    font-size: 20px;
  }

  .contact {
    flex-direction: column;
    padding: 60px 30px;
    gap: 30px;
  }

  .contact-form-full,
  .contact-info-panel {
    max-width: 100%;
    width: 100%;
    padding: 40px 30px;
  }

  .contact-form-full h2 {
    font-size: 28px;
  }

  .contact-info-content h3 {
    font-size: 26px;
  }

  .footer {
    padding: 40px 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 15px;
    width: 56px;
    height: 56px;
    font-size: 30px;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
}