body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #fff;
    scroll-behavior: smooth;
}

/* Global Animation Styles */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Section */
 
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color:#f6f1f1;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 20px;
  }
  
  .logo i {
    margin-right: 8px;
    color:#00ffff;
  }
  
  .nav {
    display: flex;
    gap: 20px;
  }
  
  .nav a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: 0.3s;
  }
  
  .nav a:hover {
    color:#00ffff;
  }
  
  .contact {
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  
  .contact i {
    margin-right: 5px;
    color:#00ffff;
  }
  
  /* Hamburger Menu */
  .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: #333;
      padding: 15px 0;
    }
  
    .nav a {
      padding: 10px;
      text-align: center;
      display: block;
      width: 100%;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav.active {
      display: flex;
    }
  }

.main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    animation: fadeInUp 1.5s ease-out forwards;
}

.main-content .text {
    max-width: 50%;
}

.main-content .text h1 {
    font-size: 60px;
    font-weight: 700;
    margin: 10px 0;
}

.main-content .text p {
    font-size: 20px;
    font-weight: bold;
    color: #00ffff;
}

.main-content .text .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #00ffff;
    box-shadow: 0 4px 8px rgba(171, 243, 249, 0.708);
    color: #1e1e1e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 100;
    transition: background-color 0.3s, transform 0.3s;
}

.text a {
    font-size: 20px;
}

.main-content .text .btn:hover {
    background-color: #fff;
    color:#1e1e1e;
    transform: scale(1.1);
}

.main-content .image {
    max-width: 50%;
    animation: fadeIn 2s ease-out forwards;
}

.main-content .image img {
    width: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.main-content .image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .main-content .text,
    .main-content .image {
        max-width: 100%;
    }

    .main-content .image {
        margin-top: 20px;
    }
}

/* What I Do Section */

.services-section {
    text-align: center;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
   color: #fff; 
}

.services-section h1 {
    font-size: 40px;
    color: #fff;
}

.services-section h1 span {
    color: #00ffff;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.service-card {
    background-color: #1e1b1b;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    /* border: 3px solid #00ffff; */
    box-shadow: 0 6px 9px rgba(63, 70, 70, 0.505);
    flex: wrap;
    }

.service-card i {
    font-size: 3em;
    color: #00ffff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 20px;
}

.service-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00ffff;
    color: #1e1e1e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.service-card a:hover {
    background-color: #fff;
    color:#201e1e;
    border: 3px solid #00ffff;
    box-shadow: 0 4px 8px rgba(171, 243, 249, 0.708);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
}
/* About SEction */
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* About Section */
.about-section {
    text-align: center;
    padding: 50px 0;
}

/* About Title */
.about-title {
    font-size: 30px;
    margin-bottom: 10px;
}

.about-title h1 span {
    color: #00ffff;
}

/* About Text */
.about-section p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
}

/* About Content */
.about-content {
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px;
    margin-bottom: 8%;
    gap: 20px;
}

/* About Image */
.about-content img {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 9px rgba(52, 51, 51, 0.818);
    transition: transform 0.3s ease-in-out;
}

.about-content img:hover {
    transform: scale(1.05);
}

/* About Text */
.about-text {
    flex: 1;
    padding: 30px;
}

.about-text h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-text p {
    font-size:16px;
    color: #faf2f2de;
    margin-bottom: 10px;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 18px;
    color: #faf2f2de;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-list li i {
    color: #00ffff;
    margin-right: 10px;
}

/* 🔹 RESPONSIVE DESIGN */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content img {
        max-width: 70%;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .about-content {
        padding: 20px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-text {
        padding: 0;
    }

    .about-content img {
        max-width: 90%;
        height: auto;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 16px;
    }

    .info-list li {
        font-size: 16px;
    }
}

/* skills section */
.sec4 {
    width: 90%;
    margin: 0 auto;
    margin-top: 5%;
    text-align: center;
}

.skills-title {
    font-size: 35px;
    color: #fff;
    margin: 20px 0;
    position: relative;
}

.skills-title h1 span {
    color: #00ffff;
}

.skills-title::after {
    content: 'SKILLS';
    font-size: 5em;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.skills {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

/* Skill Box */
.skill {
    width: 45%;
    margin: 10px 0;
}

/* Adjust skill width for smaller screens */
@media (max-width: 1024px) {
    .skill {
        width: 48%; /* Slightly smaller on tablets */
    }
}

@media (max-width: 768px) {
    .skills {
        flex-direction: column;
        align-items: center;
    }
    
    .skill {
        width: 100%; /* Full width on mobile */
    }
}

.skill-name {
    font-size: 1em;
    color: #fff;
    text-align: left;
}

/* Skill Progress Bar */
.skill-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    margin: 5px 0;
}

/* Animation */
.skill-bar div {
    height: 10px;
    border-radius: 25px;
    width: 0;
    transition: width 2s ease-in-out;
}

/* Skill Levels */
.html { background-color: #00ffff; width: 95%; }
.css { background-color: #00ffff; width: 85%; }
.php { background-color: #00ffff; width: 90%; }
.javascript { background-color: #00ffff; width: 45%; }
.laravel { background-color: #00ffff; width: 80%; }
.wordpress { background-color: #00ffff; width: 85%; }

/* Portfolio Section */
/* Portfolio Title */
.portfolio-title {
    padding-top: 5%;
    font-size: 30px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-title h1 span {
    color: #00ffff;
}

/* Portfolio Wrapper */
.porfolio-head {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Portfolio Grid */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 9px rgba(63, 70, 70, 0.505);
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

/* Portfolio Images */
.portfolio-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Overlay Section */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.overlay h3 {
    font-size: 16px;
    color: #f6f1f1;
}

/* Plus Button */
.plus-button {
    background: #1e1e1e;
    color: #00ffff;
    border: none;
    width: 40px;
    height: 30px;
    display: flex;
    margin-right: 30px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s;
}

.plus-button:hover {
    background: #00ffff;
    color: #1e1e1e;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .porfolio-head {
        flex-direction: column;
        min-height: auto;
    }

    .portfolio {
        grid-template-columns: 1fr; /* Full width for mobile */
        padding: 10px;
    }

    .portfolio-item {
        width: 100%;
    }

    .overlay {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .plus-button {
        width: 100%;
        margin-top: 10px;
    }
}

  /* Pricing */
/* Pricing Title */
.pricing-title {
    padding-top: 3%;
    font-size: 30px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

/* Highlighted Span */
.pricing-title h1 span {
    color: #00ffff;
}

/* Pricing Head */
.pricing-head {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

/* Pricing Table */
.pricing-table {
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Pricing Plan Box */
.plan {
    background: #1e1e1e;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    width: 100%;  /* Ensures responsiveness */
    max-width: 400px; /* Set a max width for better layout */
    box-shadow: 0 6px 9px rgba(63, 70, 70, 0.505);
    margin: auto; /* Centering */
}
/* Plan Titles */
.plan h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f6f1f1;
}

/* Plan Price */
.plan .price {
    font-size: 30px;
    font-weight: bold;
    color: #00ffff;
}

.plan .price span {
    font-size: 18px;
    font-weight: normal;
}

/* Plan Features List */
.plan ul {
    list-style: none;
    padding: 15px 0;
}

.plan ul li {
    margin: 10px 0;
    color: #f6f1f1;
}

/* Standard Plan (Highlighted Plan) */
.standard {
    background: #00ffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    width: 100%;
    max-width: 420px; /* Slightly larger than others */
}

.standard h2 {
    color: #1e1b1b;
    font-weight: bolder;
}

.standard .price {
    color: #1e1b1b;
}

.standard ul li {
    color: #1e1b1b;
}

/* Buttons */
.plan button,
.standard button {
    background: #00ffff;
    color: #1e1b1b;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.plan button:hover,
.standard button:hover {
    background: #f6f1f1;
    color: #1e1b1b;
    transform: scale(1.1);
}

/* Standard Plan Button */
.standard button {
    background: #1e1b1b;
    color: #f6f1f1;
}

.standard button:hover {
    background: #f6f1f1;
    color: #1e1b1b;
    transform: scale(1.1);
}

/* 🔹 RESPONSIVE DESIGN */

/* Tablets & Smaller Screens */
@media (max-width: 1024px) {
    .pricing-table {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 24px;
        text-align: center;
    }

    .pricing-head {
        flex-direction: column;
        min-height: auto;
    }

    .pricing-table {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    @media (max-width: 1024px) {
        .plan, .standard {
            max-width: 350px; /* Adjusting for tablets */
        }
    }
    
    @media (max-width: 768px) {
        .plan, .standard {
            max-width: 100%; /* Full width on mobile */
        }
    }
}


 /* Contact form  SEction*/
/* Contact Section */
.sec3 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    flex-wrap: wrap;
    gap: 30px;
}

/* Contact Info & Form Layout */
.contact-info, .contact-form {
    flex: 1;
    padding: 20px;
}

/* Contact Info Box */
.contact-info {
    max-width: 400px;
}

/* Contact Title */
.contact-title {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-title h1 span {
    color: #00ffff;
}

/* Contact Info Items */
.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info .info-item i {
    font-size: 28px;
    color: #00ffff;
    margin-right: 10px;
}

.contact-info .info-item span {
    font-size: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

/* Input Fields & Textarea */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 3px solid #77fafa;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00ffff;
    outline: none;
}

/* Submit Button */
.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #00ffff;
    border: none;
    color: #1e1e1e;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.contact-form button:hover {
    background-color: #fff;
    color: #1e1e1e;
    box-shadow: 0 6px 9px rgba(171, 243, 249, 0.708);
    transform: scale(1.05);
}

/* 🔹 RESPONSIVE DESIGN */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .sec3 {
        flex-direction: column;
        text-align: center;
    }

    .contact-info, .contact-form {
        width: 100%;
        max-width: 100%;
    }

    .contact-info .info-item {
        justify-content: center;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .sec3 {
        padding: 15px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info .info-item i {
        margin-bottom: 5px;
    }

    .contact-form input, .contact-form textarea {
        padding: 10px;
        font-size: 14px;
    }

    .contact-form button {
        padding: 12px;
        font-size: 14px;
    }
}

/* Footer Section */

.footer {
    text-align: center;
    padding: 20px;

    opacity: 0;
    animation: fadeIn 2s forwards; /* Animation applied */
}

.footer .social-icons {
    margin-bottom: 20px;
}

.footer .social-icons a {
    color:#00ffff;
    margin: 0 10px;
    font-size: 20px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color:#201e1e;
    box-shadow: 0 6px 9px rgba(79, 82, 83, 0.708);
    text-align: center;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.footer .links {
    margin-bottom: 20px;
}

.footer .links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer .copyright {
    font-size: 14px;
}

.footer .copyright a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer .copyright a:hover {
    text-decoration: underline;
    color: #00ffff;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}