/* ========== About Section Styles ========== */
/* Grid layout for about section, adapts columns based on width */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
  gap: 40px;                        /* Space between columns */
  align-items: center;              /* Vertically center items */
}

/* Space below each paragraph in about text */
.about-text p {
  margin-bottom: 1.5rem;
}

/* Rounded corners and box-shadow for about section images */
.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}


/* ========== Services Section Styles ========== */
/* Responsive grid for service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
  gap: 30px;                         /* Space between service cards */
}

/* Service card appearance: padding, background, rounded corners, etc. */
.service-card {
  background: var(--white-color);    /* Card background color */
  padding: 35px 30px;                /* Inner padding */
  border-radius: 10px;               /* Rounded corners */
  text-align: center;                /* Center text and icons */
  box-shadow: var(--box-shadow);     /* Drop shadow */
  border: 1px solid var(--border-color); /* Subtle border */
  transition: .3s;                   /* Smooth hover effect */
}

/* Raise card and add shadow on hover */
.service-card:hover {
  transform: translateY(-10px);      /* Lift card on hover */
  box-shadow: 0 10px 25px rgba(0,0,0,.15); /* Stronger shadow */
}

/* Style for service icon: large size, primary color */
.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Service description styling */
.service-description {
  font-size: .95rem;
  color: var(--text-color);
}


/* ========== Features Section Styles ========== */
/* Responsive grid for features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
  gap: 30px;                        /* Space between feature cards */
  text-align: center;               /* Center feature content */
}

/* Feature card padding */
.feature-item {
  padding: 20px;
}

/* Large feature icon, accent color, and spacing */
.feature-icon {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Feature title style */
.feature-title {
  margin-bottom: .5rem;
  font-weight: 500;
}

/* Feature description paragraph styling */
.feature-item p {
  font-size: .95rem;
}


/* ========== Contact Section Styles ========== */
/* Contact content uses 2/3 for form, 1/3 for info, with gap and top margin */
.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;    /* Two columns, left is larger */
  gap: 50px;                         /* Gap between form and info */
  margin-top: 3rem;
}

/* Grid for form groups, responsive columns, gap between fields */
.contact-form .form-group {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive form fields */
  gap: 15px;
}

/* Common input and textarea styling */
.contact-form input,
.contact-form textarea {
  width: 100%;                       /* Fill container width */
  padding: 12px 15px;                /* Inner padding */
  border: 1px solid #4a5568;         /* Dark border */
  border-radius: 5px;                /* Rounded corners */
  background: #2d3748;               /* Dark background */
  color: var(--white-color);         /* White text */
  font-size: 1rem;
  font-family: inherit;
}

/* Textarea expands full row in grid */
.contact-form textarea {
  grid-column: 1 / -1;
}

/* Space above the submit button */
.contact-form button {
  margin-top: 1rem;
}

/* Contact info: spacing, flex layout for icon+text, color */
.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.9);
}

/* Icon styling inside contact info */
.contact-info i {
  margin-right: 15px;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

/* Contact info links: accent color and break long words */
.contact-info a {
  color: var(--accent-color);
  word-break: break-all;
}

/* Underline and color change on link hover */
.contact-info a:hover {
  text-decoration: underline;
  color: #ffae42;
}

/* Social links: space above, style links, increase size, hover effect */
.social-links {
  margin-top: 2rem;
}
.social-links a {
  color: var(--white-color);
  font-size: 1.5rem;
  margin-right: 15px;
  transition: .3s;
}
.social-links a:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}


/* ========== Reveal on Scroll Animation ========== */
/* Elements are hidden (down 50px) and transparent by default */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: .8s;
}

/* When .visible class is added, animate to visible position */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delay classes for staggered reveal effect */
.reveal.delay-1 { transition-delay: .15s; }
.reveal.delay-2 { transition-delay: .3s; }

/* If there is any .section-title style with background or color, remove or comment it out. */
/* .section-title {
  background: #3476d1;
  color: #fff;
} */

/* Keep only minimal, clean heading styles for .section-title. */
.section-title {
  color: #000 !important;
}
