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

:root {
    --primary-color: #c4a45b;       /* Gold-Beige from the "P" and banner */
    --secondary-color: #000000;     /* Strong black from the plug and text */
    --accent-color: #f2f0eb;        /* Very light beige for soft backgrounds */
    --text-color: #333333;          /* Dark gray for clean readable text */
    --white: #ffffff;               /* Pure white */
    --dark: #1a1a1a;                /* Deep black (can be used for headers or footers) */
  }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo  img{
    width: auto;
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background:var(--text-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Work Section */
.work {
    padding: 100px 0;
    background: var(--white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.work-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    margin: 0;
}

.about-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .section-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .section-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
  }
  
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 350px;
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .icon {
    font-size: 40px;
    color: #007BFF;
    margin-bottom: 15px;
  }

  .icon-image {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  
  .card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
  }
  
  .card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
  }
  

/* Skills Section */
.skills {
    padding: 100px 0;
    background: var(--accent-color);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.skill-progress {
    margin-top: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
}

.progress-item span {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    margin: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--primary-color);
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.g-recaptcha {
   margin-bottom: 20px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.map h3{ 
    color: white;
}

.map img{
    width: 300px;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.backlink {
    display: flex;
    align-items: center;
    width: 100%;
}

.backlink p {
    margin: auto;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
    }
    .logo {
        justify-content: flex-start;
        display: flex;
        flex: 1 1 auto;
    }
    .logo img {
        height: 80px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100vw;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 1000;
        margin-top: 0;
        text-align: center;
        padding: 20px 0;
        align-items: center;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .skills-content {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* Hamburger menu styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1100;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    top: 150px; /* adjust based on your navbar height */
    right: 0;
    width: 90%;
    margin: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    text-align: center;
    padding: 20px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .hero h1 {
    font-size: 1.5rem;
}
}