/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



#about {
  background: var(--One-color); /* Soft Skyblue Background */
  padding: 80px 20px;
  margin-top: -100px;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 40%;
  z-index: 200;
  text-align: center;
}

.about-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 15px;
  border: 5px solid var(--two-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1 1 55%;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--three-color);
  position: relative;
  margin-bottom: 20px;
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: var(--four-color); /* Yellow underline */
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--three-color);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}


:root {
  --primary-bg: #023047;
  --accent: #ffb703;
  --accent-hover: #fb8500;
  --text-light: #ffffff;
  --card-bg: #03415e;
}

#services {
  background: var(--primary-bg);
  padding: 80px 20px;
  color: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--accent);
}

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

.service-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item span {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 15px;
}

.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.service_btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--primary-bg);
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.service_btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}




.service-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--four-color);
  color: var(--black);
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.service-btn:hover {
  background: var(--five-color);
  transform: translateY(-3px);
}


.projects-section {
  padding: 60px 20px;
  background-color: var(--light-bg, #f7f7f7);
  text-align: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
  text-align: left;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color, #219ebc);
}

.project-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.project-link {
  display: inline-block;
  padding: 10px 16px;
  background: var(--primary-color, #219ebc);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.project-link:hover {
  background: var(--accent-color, #ffb703);
  transform: translateY(-2px);
}


.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background: var(--light-bg, #f7f7f7);
}

.contact-info {
  flex: 1 1 300px;
  padding-left: 10%;
}

.contact-info h2 {
  color: var(--primary-color, #219ebc);
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-info p {
  color: #555;
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.contact-details li {
  margin-bottom: 8px;
  color: #333;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.contact-form {
  flex: 1 1 300px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color, #219ebc);
}

.contact-form button {
  display: inline-block;
  background: var(--primary-color, #219ebc);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--accent-color, #ffb703);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
}

/* Popup Styling */
.popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    animation: slideIn 0.5s ease-in-out;
    border-left: 6px solid var(--primary-color, #219ebc);
}

.popup-content {
    padding: 20px;
    position: relative;
}

.popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 15px;
}

.popup-button {
    background-color: var(--primary-color, #219ebc);
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-button:hover {
    background-color: var(--accent-color, #ffb703);
    transform: translateY(-2px);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
    font-size: 20px;
    color: #aaa;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #000;
}

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

/* Mobile Friendly */
@media (max-width: 480px) {
    .popup-container {
        width: 90%;
        right: 5%;
        bottom: 15px;
    }
}
