/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: rgb(241, 241, 241);
  color: #1c1c1c;
  scroll-behavior: smooth;
}

/* Scroll + Directional Fade-in Animations */
[data-animate] {
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}
[data-animate="left"] {
  transform: translateX(-50px);
}
[data-animate="right"] {
  transform: translateX(50px);
}
[data-animate].visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hamburger Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  height: 3px;
  width: 100%;
  background-color: #0a3d62;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navbar Toggle */
@media (max-width: 930px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 1000;
  }

  .navbar.open {
    display: flex;
  }

  .navbar a {
    margin: 0.5rem 0;
    font-size: 1rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
  }

  .navbar a:last-child {
    border-bottom: none;
  }

  /* Animate Hamburger to X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}


/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background-color: white;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #0a3d62;
}
.navbar a {
  position: relative;
  margin-left: 2rem;
  text-decoration: none;
  color: #0a3d62;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transition: transform 0.7s ease;
}
.navbar a:hover {
  color: #007bff;
}
.navbar a:hover::after,
.navbar a.active::after {
  transform: translateX(-50%) scaleX(1);
}
.navbar a.active {
  color: #3c6382;
}

/* Hero Section */
.hero {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6rem;
  gap: 3rem;
  background: rgb(241, 241, 241);
}
.hero-left {
  flex: 1;
}
.hero-left h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #0a3d62;
  min-height: 3.5rem;
}
.hero-left p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn.primary {
  background: #0a3d62;
  color: #fff;
}
.btn.primary:hover {
  background: #14518c;
}
.btn.secondary {
  background: transparent;
  border: 2px solid #0a3d62;
  color: #0a3d62;
}
.btn.secondary:hover {
  background: #f0f4f8;
}

/* Floating Image */
.floating-image {
  max-width: 100%;
  height: auto;
  animation: floatUpDown 4s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Services Section */
.services-section {
  padding: 5rem 6rem;
  background: rgb(241, 241, 241);
}
.section-heading {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color:#0a3d62;
}
.section-heading p {
  font-size: 1rem;
  color: #666;
}
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e9e9e9;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0a3d62;
}
.service-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}
.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-color: #ddd;
}
.service-icon {
  font-size: 2.2rem;
  color: #0a3d62;
  margin-bottom: 1rem;
}
.service-card:hover .service-icon {
  color: #14518c;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  flex: 1 1 280px;
  max-width: 300px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Mobile responsiveness fix */
@media (max-width: 768px) {
  .services-container {
    justify-content: center;
    padding: 1rem 1rem;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 384px) {
  .services-container {
    justify-content: center;
    padding: 10px;
    width: 200px;
    font-size: 12px;
  }
}



/* About Section */
.about-section {
  padding: 5rem 6rem;
  background-color: rgb(241, 241, 241);
}
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 2rem;
  color: #0a3d62;
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  animation: floatUpDown 5s ease-in-out infinite;
}

/* Stats Section */
.stats-section {
  background-color: rgb(241, 241, 241);
  padding: 4rem 6rem;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}
.stat-box {
  flex: 1 1 200px;
  padding: 2rem;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box h3 {
  font-size: 2.5rem;
  color: #0a3d62;
  margin-bottom: 0.5rem;
}
.stat-box p {
  font-size: 1rem;
  color: #555;
}
.stat-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-color: #ddd;
}


/* Responsive Enhancements */
@media (max-width: 1024px) {
  .hero {
    padding: 3rem 2rem;
    flex-direction: column;
  }
  .about-content {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero-left h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-image {
    margin-top: 2rem;
  }
}


/* Technologies */
.technologies-section {
  background: rgb(241, 241, 241);
  padding: 4rem 2rem;
  text-align: center;
}

.section-heading h2 {
  font-size: 2rem;
  color: #1c1c1e;
  font-weight: 700;
}

.section-heading p {
  color: #555;
  margin-bottom: 2.5rem;
}

.tech-category {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.tech-category h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-heading-icon {
  color: #007bff;
  font-size: 1.2rem;
}

.tech-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.tech-card {
  background-color: #f9fbfd;
  flex: 1 1 150px;
  max-width: 180px;
  text-align: center;
  padding: 1.2rem 1rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.tech-card i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.tech-card:hover i {
  color: #14518c !important;
}


.tech-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #1c1c1e;
  font-weight: 500;
}



/* AOS Animation */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 2rem;
  }
  .hero-left h1 {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-image {
    margin-top: 2rem;
  }
}

/* Graphic Design Services */
#graphic-services {
  padding: 80px 20px;
  background: rgb(241, 241, 241);;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #0a3d62;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.design-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.design-service {
  max-width: 280px;
}

.design-service i {
  font-size: 2.5rem;
  color: #007bff;
  background-color: #eaf1ff;
  padding: 18px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.design-service h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.design-service p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}


/* Section Styling */
.team-section {
  padding: 60px 20px;
  background-color: rgb(241, 241, 241);;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 10px;
}
.section-subtitle {
  color: #64748b;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 320px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.img-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #2563eb;
  transition: all 0.3s ease;
}

.team-card:hover .img-wrapper {
  transform: scale(1.1);
  border: 0px solid transparent;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ribbon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 50px;
  background-color: #2563eb;
  border-bottom-left-radius: 100% 60%;
  border-bottom-right-radius: 100% 60%;
  z-index: -1;
}

.team-card h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 5px;
}

.team-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.view-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.view-btn:hover {
  background-color: #1e40af;
}

.team-member img {
  transition: transform 0.4s ease;
}
.team-member:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  padding: 20px;

  /* Default margin for large screens */
  margin-top: -1135px;
}

/* Modal Content */
.modal-content {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  height: 70vh;
  overflow-y: auto;
  padding: 25px 20px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

/* Responsive Fix: Adjust margin-top on smaller screens */

@media (max-width: 1200px) {
  .modal {
    margin-top: -1100px;
  }
}

@media (max-width: 992px) {
  .modal {
    margin-top: -1100px;
  }
}

@media (max-width: 924px) {
  .modal {
    margin-top: -1300px;
  }
}


@media (max-width: 850px) {
  .modal {
    margin-top: -1300px;
  }
}

@media (max-width: 768px) {
  .modal {
    margin-top: -1800px;
  }
}

@media (max-width: 576px) {
  .modal {
    margin-top: -1850px;
  }
}

@media (max-width: 400px) {
  .modal {
    margin-top: -1850px;
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-header img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
}

.modal-header h2 {
  margin: 8px 0 0;
  font-size: 20px;
}

.modal-header p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Modal Body */
.modal-body {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.modal-subtitle {
  color: #007bff;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}

.modal ul {
  list-style-type: none;
  padding-left: 15px;
}

.modal ul li {
  margin-bottom: 5px;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.modal-content::-webkit-scrollbar {
  width: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #007bff;
}
.modal-content::-webkit-scrollbar-track {
  background: #f0f0f0;
}


/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Contact Section */
#contact {
  padding: 80px 20px;
  background: rgb(241, 241, 241);
  text-align: center;
  width: 100%;
  margin-top: 80px;
  clear: both;
}

#contact .section-title {
  font-size: 2.5rem;
  color: #0a3d62;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#contact .section-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Contact Wrapper: Info + Form Side by Side */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
  text-align: left;
}

/* LEFT - Info */
.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.4;
}

.contact-info-item i {
  font-size: 1.3rem;
  color: #007bff;
  background-color: #eaf1ff;
  padding: 10px;
  border-radius: 50%;
  min-width: 40px;
  text-align: center;
}

.contact-info-item .info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-item .info-title {
  font-weight: 600;
  font-size: 1rem;
  color: #0a3d62;
}

.contact-info-item .info-text {
  color: #4b5563;
  font-size: 0.95rem;
}

/* RIGHT - Form */
.contact-form {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px 20px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  width: 100%;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 14px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
  }
}


/* Privacy Policy Section */
/* Privacy Policy Section */
#privacy-policy {
  background-color: rgb(241, 241, 241);
  padding: 80px 20px;
  text-align: center;
}

#privacy-policy .section-title {
  font-size: 2.5rem;
  color: #0a3d62;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#privacy-policy .section-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 15px;
}

/* Individual Policy Box */
.privacy-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 25px 30px;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.privacy-item:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.13);
}

.privacy-item h3 {
  font-size: 1.4rem;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.privacy-item p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.privacy-item a {
  color: #007bff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-content {
    padding: 0 10px;
  }

  .privacy-item {
    padding: 20px;
  }
}



/* Footer */
#footer {
  background: rgb(17, 16, 39);
  color: white;
  padding: 60px 20px 40px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  width: 104%;
  margin-left: -20px;
  margin-bottom: -100px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  text-align: left;
}

/* Left */
.footer-left {
  flex: 1 1 250px;
}

.footer-left h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ddd;
}

.footer-social a {
  color: white;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-social a:hover {
  color: #007bff;
}

/* Middle */
.footer-middle {
  flex: 2 1 400px;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-list h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list ul li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-list ul li:hover {
  color: #007bff;
}

/* Right */
.footer-right {
  flex: 1 1 200px;
}

.footer-right h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right ul li {
  margin-bottom: 8px;
}

.footer-right ul li a {
  color: #ccc;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-right ul li a:hover {
  color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    padding: 0 10px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 30px;
  }
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-text {
  animation: fadeInUp 1s ease forwards;
}
