/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f9fafb;
  overflow-x: hidden;
}

/* Layout Containers */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 20px;
  text-align: center;
}

.header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Logo */
.logo img {
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Default: hide mobile logo */
.logo-mobile {
  display: none;
}

/* Show mobile logo on screens 768px and below */
@media screen and (max-width: 768px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: inline;
  }
}


/* Navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.navbar .nav-link {
  color: black;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover {
  color: #ffd700;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: url('pexels-photo-3184465.jpeg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero-overlay {
  width: 90%;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #f1f1f1;
  color: black;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #d4af37;
  color: white;
}

/* Sections */
.section {
  margin: 30px 0;
  padding: 25px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.15);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 8px;
  text-align: left;
}
.service-card:hover{
	 background-color:#d4af37; 
	 color: white;
	transform: scale(1.05);
	transition: transform 0.3s ease, background-color 0.3s ease;
	/* background-color:#c7a008; */
	/* background-color:#f0c674; */
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.submit-btn {
  background-color: #1a73e8;
  color: #ffffff;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #155ab6;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #f1f1f1;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 30px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .navbar {
    flex-direction: column;
    gap: 8px;
  }

  .navbar .nav-link {
    margin: 4px 0;
  }

  .submit-btn {
    font-size: 1rem;
  }

  .logo img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-overlay {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .submit-btn {
    font-size: 1rem;
  }
}

#about .about-content {
  display: block; /* Default to block for mobile */
  text-align: center; /* Center the image and text */
}

@media (min-width: 480px) {
	#about .about-content {
		display: flex;
		/* align-items: center; */
		gap: 40px; /* Space between image and text */
	    text-align: left; /* Center the image and text */
	}
}

#about .profile-img {
    width: 200px; /* Adjust image size as needed */
    height: 200px; /* Keep the height the same as width for a square background */
    border-radius: 50%; /* Optional: for a round image */
    background-color: #f1f1f1; /* Set the background color */
    padding: 0px; /* Optional: space between image and background */
    object-fit: cover; /* Ensures the image fills the circular area without distortion */
    border: 5px solid #333; /* Border color */
	margin: 20px auto; /* Vertically space it and center horizontally */
	display: block;

}

#about .profile-img:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease, background-color 0.3s ease;
	}

@media (min-width: 480px) {
	#about .profile-img {
		margin: 0px auto; /* Vertically space it and center horizontally */
	}
}

/* Burger icon styles */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  color:red;
}

.burger div {
  width: 25px;
  height: 3px;
  background: black;
  
  transition: all 0.3s ease;
}

/* Burger animation */
.burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active div:nth-child(2) {
  opacity: 0;
}
.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Full-screen nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: grey;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

.mobile-nav a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

/* Show on activation */
.mobile-nav.active {
  display: flex;
}

/* Responsive rules */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .burger {
    display: flex;
  }
}



