/* ========= ROOT VARIABLES ========= */
:root {
    --color-dark: #121212;
    --color-light: #f9f9f9;
    --color-accent: #e67e22;
    --color-text: #2c3e50;
  
    --font-main: 'Poppins', sans-serif;
  
    --container-width: clamp(300px, 85vw, 1200px);
  }
  
  /* ========= GLOBAL RESET ========= */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* ========= NAVBAR ========= */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-accent);
  }
  
  .logo span {
    color: var(--color-text);
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
  }
  
  /* ========= HERO ========= */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 100vh;
    color: white;
    text-align: center;
    position: relative;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
  }
  
  .hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
  }
  
  .btn {
    background-color: var(--color-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .btn:hover {
    background-color: #cf671c;
  }
  
  /* ========= SECTION INTRO ========= */
  .section-intro {
    padding: 5rem 2rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .section-intro h2 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
  }
  
  .section-intro p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* ========= FOOTER ========= */
  .footer {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
  }
  
  /* ========= ANIMATIONS ========= */
  .fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
  }
  
  .fade-in-delayed {
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
  }
  
  .fade-in-delay2 {
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
  }
  
  .fade-in-delay3 {
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(15px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ========= MEDIA QUERIES ========= */
  @media (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      gap: 1rem;
    }
  
    .hero {
      height: 80vh;
      background-position: center;
    }
  
    .section-intro {
      padding: 3rem 1.5rem;
    }
  }
  
  /* ========= ABOUT PAGE STYLES ========= */
  .about-container {
    max-width: var(--container-width);
    margin: 4rem auto;
    padding: 2rem;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .about-image {
    text-align: center;
  }
  
  .about-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.05);
  }
  
  .about-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
  }
  
  .about-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--color-text);
  }
  
  /* ========= ABOUT PAGE: RESPONSIVE ========= */
  @media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .about-content {
      padding-top: 1.5rem;
    }
  }
  
  /* ========= BLOG / PROJECT SHOWCASE ========= */
  .blog-container {
    max-width: var(--container-width);
    margin: 4rem auto;
    padding: 2rem;
  }
  
  .blog-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-accent);
  }
  
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
  }
  
  .blog-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
  }
  
  /* ========= LIVE IFRAME STYLES ========= */
  .iframe-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #ddd;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }
  
  .iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover iframe {
    transform: scale(1.01);
  }
  
  /* ========= CONTACT PAGE STYLES ========= */
.contact-container {
    max-width: var(--container-width);
    margin: 4rem auto;
    padding: 2rem;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: var(--font-main);
  }
  
  textarea {
    min-height: 150px;
  }
  
  input:focus,
  textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
  }
  
  /* ========= ERROR PAGE STYLES ========= */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    min-height: 100vh;
    color: var(--color-text);
  }
  
  .error-container h1 {
    font-size: 5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
  }
  
  .error-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .error-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
  }
  