:root {
    --primary: #3A86FF; /* nav background */
    --primary-dark: #2e6dd0; /* hover/dark */
    --secondary: #FFFFFF; /* white */
    --background: #2C2F48; /* body background */
    --card-bg: #CBD6F0; /* dark grey for cards */
    --accent: #FC8884; /* soft red/pink */
    --text: #121212; /* base text color */
    --highlight: #2AF598; /* mint green */
    --link-hover: #74c0fc; /* lighter blue hover */
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    
  }

  header {
    background-color: var(--primary);
    color: var(--text);
    padding: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
  }

  .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }

  header h1 {
    font-size: 1.8em;
    margin: 0;
    font-family: 'Playfair Display', serif;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  nav a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }

  nav a:hover {
    color: var(--highlight);
    text-decoration: underline;
  }

  @media (max-width: 600px) {
    header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }

  section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    
  }

  h2 {
    font-size: 2em;
    margin-bottom: 20px;
    border-left: 6px solid var(--highlight);
    padding-left: 10px;
   color: var(--primary)
   
  }

  .about p {
    line-height: 1.6;
    font-size: 1.1em;
    color: var(--secondary);
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .project-card {
    background-color: var(--card-bg);
    border: 1px solid #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  .project-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
  }

  .contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact input,
  .contact textarea {
    padding: 12px;
    border: 1px solid #333;
    background-color: #CBD6F0;
    color: var(--text);
    border-radius: 8px;
    font-size: 1em;
  }

  .contact button {
    background-color: #D9363E;
    color: #000;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .contact button:hover {
    background-color: #20e4a6;
  }

  footer {
    background-color: var(--primary);
    color: var(--secondary); /* Better contrast */
    text-align: center;
    
    width: 100%;
    display: block;
    padding: 10px;
  }
  

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .service-box {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1a1a1a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }

  .service-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
  }

  .service-box p {
    color: var(--text);
    font-size: 1em;
  }
 
  .hero-img {
    width: 50%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .about-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
  }
  .home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 60px 20px;
    max-width: 1000px;
     
  }
  
  .hero-img {
    width: 45%;
    
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
  }
  
  .home-text {
    flex: 1 1 50%;
  }
  
  .home-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary);
  }
  
  .home-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--secondary);
  }  
  
