/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header Styling */
.header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 50px;
    background: linear-gradient(45deg, #ffffff, #ffffff);
    
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}


/* Navigation Styling */
.navigation ul {
    list-style:none;
    display: flex;
    gap: 16px;
}

.navigation ul li {
    position:sticky;
}

.navigation ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.navigation ul li a:hover {
    color: #0077ff;
}

/* Underline Animation */
.navigation ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #0077ff91;
    transition: width 0.3s ease-in-out;
}

.navigation ul li a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: row-reverse;
        padding: 10px 20px;
    }

    .navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
}

/* Index home page*/
.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #fc0000;
    text-align: left;
    overflow: hidden;
}

.intro-content {
    max-width: 600px;
    animation: fadeInLeft 1.5s ease-in-out;
}

.intro-content h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(49deg, #f2e446, #040404);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content p {
    font-size: 1.3rem;
    margin: 10px 0 20px;
    color: #000000;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 18px;
    color: #000000;
    background: #000000;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
}

.btn:hover {
    transform: scale(1.1);
    background: #000000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* INTRO IMAGE */
.intro-image img {
    width:420px;
    border-radius: 26px;
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-in-out;
    margin-top: 24px;
}

.intro-image img:hover {
    transform: scale(1.05);
}

/* SKILLS SECTION */
.skills {
    text-align: center;
    padding: 80px 5%;
    background: #fcfcfc;
    color: #000000;
}

.skills h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 30px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-box {
    width: 120px;
    padding: 20px;
     background: linear-gradient(135deg, #000000, #ffffff);
    color: #000000;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin:(2px 2px);
}

.skill-box:hover {
    transform: scale(1.1);
    box-shadow: 0px 5px 15px rgb(0, 0, 0);
}

.skill-box img {
    width: 60px;
    transition: transform 0.3s ease-in-out;
}

.skill-box:hover img {
    transform: rotatez(360deg);
}

.skill-box h3 {
    font-size: 16px;
    margin-top: 10px;
}

/* PORTFOLIO SECTION */
.portfolio {
    text-align: center;
    padding: 80px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #fff;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000000;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.portfolio-item {
    width: 300px;
    padding: 20px;
    background: rgba(244, 170, 170, 0.1);
    border-radius: 32px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 20px rgba(255, 204, 0, 0.7);
}

.portfolio-item img {
    width: 100%;
    border-radius: 32px;
    transition: transform 0.4s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.005);
}

.portfolio-item h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #000000;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: #000000;
    margin-top: 10px;
}

/* TESTIMONIALS SECTION */
.testimonials {
    text-align: center;
    padding: 80px 5%;
    background: #ffffff;
    color: #fff;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000000;
}

.testimonial-box {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(213, 166, 166, 0.1);
    border-radius: 64px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.testimonial-box:hover {
    transform: scale(1.05);
}

.testimonial-box p {
    font-size: 1.2rem;
    font-style: italic;
    color: #000000;
}

.testimonial-box h3 {
    margin-top: 10px;
    font-size: 1rem;
    color: #000000;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .intro {
        flex-direction: column;
        text-align: center;
    }

    .intro-image img {
        width: 250px;
    }

    .skills-container, .portfolio-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ANIMATIONS */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Footer Styling */
footer {
    background: #ffffff;
    color: #000000;
    padding: 40px 0;
    text-align: center;
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

/* Footer Sections */
.footer-nav, .footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2px;
    justify-items:centre;
}

/* Footer Titles */
.footer-container h3 {
    font-size: 26px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #000000;
}

/* Quick Links */
.footer-nav ul {
    list-style: none;
    justify-items: centre;
    padding: 0;
    font-size: 16px;
}

.footer-nav ul li {
    margin: 8px 0;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.footer-nav ul li a:hover {
    color: #148cdc;
}

/* Contact Info */
.footer-contact p {
    font-size: 20px;
    margin: 5px 0;
}

/* Social Media Icons */
.footer-social a {
    display: inline-block;
    margin: 5px;
    transition: transform 0.1s ease-in-out;
    justify-items:center;
}

.footer-social a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Social Icon Hover Effect */
.footer-social a:hover {
    transform: scale(1.5);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 10px;
    font-size: 20px;
    background: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}


/*skills section*/

/* MAIN CONTENT */
.main-content {
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #000000;
    text-align: center;
    overflow: hidden;
    padding-bottom: 80px;
}

/* HERO SECTION */
.hero {
    padding: 100px 5%;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(90deg, #000000, #ff5733);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    margin: 10px 0 20px;
    color: #000000;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 18px;
    color: #fff;
    background: #ffcc00;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 10px rgb(255, 204, 0);
    transition: all 0.4s ease;
}

.btn:hover {
    transform: scale(1.1);
    background: #ff2f00;
    box-shadow: 0 0 20px rgb(255, 47, 0);
}

/* PROJECTS SECTION */
.projects {
    padding: 80px 5%;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 30px;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    width: 300px;
    padding: 26px;
     background: linear-gradient(135deg, #0000001d, #d1bdbdc0);
    color: #000000;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
     box-shadow: 0px 5px 15px rgb(0, 0, 0);
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 20px rgb(216, 116, 116);
}

.project img {
    width:100%;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.project:hover img {
    transform: scale(1.05);
}

.project h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

.project p {
    font-size: 0.9rem;
    color: #000000;
    margin-top: 10px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .project-list {
        flex-direction: column;
        align-items: center;
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ABOUT ME SECTION */
.about-me {
    padding: 100px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #fff;
    text-align: center;
}

.about-me h1 {
    font-size: 2.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, #000000, #000000);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.profile-img {
    width: 250px;
    border-radius: 50%;
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-in-out;
}

.profile-img:hover {
    transform: scale(1.1);
}

.about-text {
    max-width: 600px;
    text-align: left;
    animation: fadeInLeft 1.5s ease-in-out;
}

.about-text h2 {
    font-size: 2rem;
    color: #000000;
}

.about-text p {
    font-size: 1.2rem;
    color: #000000;
    margin: 10px 0;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #000000;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    font-size: 1.1rem;
    color: #000000;
    margin: 8px 0;
    position: relative;
    padding-left: 20px;
}

.about-text ul li::before {
    content: '\2022';
    color: #000000;
    font-weight: bold;
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 2px;
}

.about-text a {
    color: #ff0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-text a:hover {
    color: #000000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}



/* BLOG SECTION STYLES */
.blog-section {
    text-align: center;
    padding: 80px 5%;
    background: #ffffff;
    color: #000000;
    margin: none;
}

.blog-section h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 10px;
}

.blog-section p {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 40px;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;
    align-items: stretch;
}

.blog-card {
    width: 300px;
    background: rgb(238, 184, 184);
    border-radius: 30px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgb(0, 0, 0);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps button at the bottom */
    height: 100%; /* Ensures equal height for all cards */
    min-height: 400px; /* Prevents smaller cards */
}

.blog-card:hover {
    transform: scale(1.05);
   box-shadow: 0px 5px 20px rgb(216, 116, 116);
}


.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin: 10px;
    color: #000000;
}

.blog-card p {
    font-size: 1rem;
    margin: 0 15px;
    color: #000000;
    flex-grow: 1; /* Pushes Read More button to the bottom */
}

.read-more {
    display: block;
    text-align: center;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    margin-top: auto; /* Forces button to the bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease-in-out;
    border-radius: 8px;
}

.read-more:hover {
    color: #ff0000;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-card {
        width: 90%;
        min-height: auto; /* Allows resizing on small screens */
    }
}


/* Services Section */
.services-intro {
    text-align: center;
    padding: 100px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #ebebeb;
    animation: fadeInUp 1.5s ease-in-out;
}

.services-intro h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(90deg, #000000, #000000);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-intro p {
    font-size: 1.3rem;
    color: #000000;
    margin-top: 30px;
}

.services-list {
    display: flex;
    flex-wrap: unset;
    justify-content: center;
    gap: 20px;
    padding: 60px 5%;
    background: #ffffff;
}

.service-card {
    width: 300px;
    background: rgba(119, 116, 116, 0.1);
    padding: 20px;
    border-radius: 36px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin: 32px;
     box-shadow: 0px 5px 15px rgb(0, 0, 0);
}

.service-card:hover {
    transform: scale(1.05);
   box-shadow: 0px 5px 20px rgb(216, 116, 116);
}

.service-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s ease-in-out;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    color: #000000;
}

.service-card p {
    font-size: 1rem;
    color: #000000;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 18px;
    color: #ffffff;
    background: #000000;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 10px rgb(246, 255, 0);
    transition: all 0.4s ease;
    margin-top: 15px;
}

.btn:hover {
    transform: scale(1.1);
    background: #ff5733;
    box-shadow: 0 0 20px rgb(255, 47, 0);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 80px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #fff;
}

.cta h2 {
    font-size: 2.5rem;
    color: #000000;
}

.cta p {
    font-size: 1.2rem;
    color: #000000;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-list {
        flex-direction: column;
        align-items: center;
    }
}


/* CONTACT SECTION */
.contact-section {
    text-align: center;
    padding: 80px 5%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #000000;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgb(255, 204, 0);
    animation: fadeInUp 1.5s ease-in-out;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 30px;
}

/* CONTACT FORM */
#contact-form {
    max-width: 550px;
    margin: 0 auto;
    text-align: left;
}

#contact-form label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #000000;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    box-shadow: 0px 5px 10px rgb(0, 0, 0);
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius:28px;
    background: rgb(255, 213, 0);
    color: #000000;
    font-size: 1rem;
    transition: background 0.3s ease-in-out;
}

#contact-form input:focus,
#contact-form textarea:focus {
    background: rgb(255, 255, 255);
    outline: none;
}

#contact-form button {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    color: #000000;
    background: #fff200;
    box-shadow: 0px 5px 10px rgb(0, 0, 0);
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#contact-form button:hover {
    background: #ffffff;
    box-shadow: 0px 5px 15px rgb(0, 0, 0);
    transform: scale(1.05);
}

/* WHATSAPP CONTACT */
.whatsapp-contact {
    margin-top: 30px;
    text-align: center;
}

.whatsapp-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000000;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 1.2rem;
    color: #000000;
    background: #eeff00;
    
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0px 5px 10px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease-in-out;
}

.whatsapp-btn img {
    width: 24px;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-btn:hover {
    background: #ffea00;
    box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.8);
    transform: scale(1.05);
}

.whatsapp-btn:hover img {
    transform: rotate(360deg);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

