:root {
    --primary-color: #1E1E2F; /* Deep Indigo Gray */
    --secondary-color: #00D8A7; /* Minty Aqua */
    --light-bg: #F5F7FA; /* Light Blue-Gray */
    --dark-text: #1A1A1A;
    --light-text: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-radius: 10px;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navbar --- */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 600;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px;
    transition: all var(--transition-speed);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(30,30,47,0.8), rgba(30,30,47,0.8)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 150px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn:hover {
    background-color: #00c294;
    transform: translateY(-3px);
}

/* --- General Section Styles --- */
section {
    padding: 80px 20px;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: var(--light-bg);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- About Section --- */
.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
}

/* --- Tools Section --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0 auto;
}

.tool-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tool-card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.tool-btn:hover {
    background-color: #141420;
}

/* --- Contact Section --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 216, 167, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
    padding: 12px 40px;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform var(--transition-speed);
        z-index: 999;
        padding-top: 2rem;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links.nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease-in var(--transition-speed);
    }

    .burger {
        display: block;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    section {
        padding: 60px 15px;
    }

    section h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }
}footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.social-icons a {
  color: var(--light-text);
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-icons a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

@media (max-width: 500px) {
  .footer-content {
    font-size: 0.9rem;
  }

  .social-icons a {
    font-size: 1rem;
  }
}