body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding-top: 100px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(243, 243, 243, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

h1 {
    font-size: 2.8em;
    color: #444;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* Hamburger Menu Styling */
.hamburger-menu {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease; /* Smooth rotation transition */
    z-index: 1100;
}

/* Default bar styling */
.bar {
    width: 25px;
    height: 3px;
    background-color: #666; /* Neutral medium gray */
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s ease; /* Smooth transitions for all transformations */
}

/* Transform bars into 'X' shape when menu is active */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0; /* Hide middle bar */
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Header Title Styling */
h1 {
    font-size: 2.8em; /* Slightly larger for prominence */
    color: #444; /* Neutral dark gray for title */
    font-family: 'Dancing Script', cursive; /* Elegant cursive font */
    font-weight: 700;
    margin: 0;
}

/* Subtitle Styling */
header p {
    font-size: 1.2em;
    color: #666; /* Neutral medium gray for subtitle */
    margin-top: 5px;
    font-style: italic;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: calc(100% + 10px); /* Position directly below header with a small gap */
    left: 0;
    width: 100%;
    background-color: #f3f3f3; /* Subtle gray background to match header */
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15); /* Softer shadow for elegance */
    padding: 20px 0;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px); /* Slide effect */
    z-index: 1000;
}

/* Show dropdown menu with smooth fade and slide effect */
.show-menu .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Remove bullet points from dropdown menu list */
.dropdown-menu ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

/* Dropdown menu items styling */
.dropdown-menu li {
    margin: 15px 0;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #444; /* Neutral dark gray for links */
    font-family: 'Arial', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    padding: 10px 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.dropdown-menu li a:hover {
    color: #fff; /* White text on hover */
    background-color: #666; /* Medium gray hover background */
}

/* Hero Section Styling */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #000;
    margin-bottom: -110px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 40vh;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}


#portfolio {
    margin-top: -75px;
    padding: 60px 20px;
    background-color: #f3f3f3; /* Subtle light gray background */
    text-align: center;
}

.portfolio-title {
    font-size: 2.5em;
    color: #444; /* Neutral dark gray for title */
    font-family: 'Dancing Script', cursive;
    margin: 0;
}

/* Styling for the rose icon at the bottom of the section */
.section-divider {
    display: block;
    margin: 30px auto; /* Center the icon and add spacing */
    max-width: 200px; /* Adjust size as needed */
    height: auto;
    opacity: 0.8; /* Slight transparency for a subtle look */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the section divider */
.section-divider:hover {
    opacity: 1; /* Fully opaque on hover */
    transform: scale(1.1); /* Slight zoom on hover */
}


.portfolio-intro {
    font-size: 1.2em;
    color: #666;
    margin: 10px 0 30px;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.portfolio-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02); /* Subtle zoom effect on hover */
}

/* Portfolio Image */
.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Overlay Styling */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    color: #f3f3f3; /* Light gray text color for overlay */
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Overlay Text */
.portfolio-text {
    font-size: 1.5em;
    font-family: 'Dancing Script', cursive;
    color: #ccc; /* Light gray for overlay text */
    text-align: center;
    padding: 10px;
}




/* Showcase Section */
.showcase-section {
    margin-top: -85px;
    text-align: center;
    background-color: #f2f2f2; /* Light gray */
    padding: 40px 20px;
}

.showcase-image {
    max-width: 75%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}

.showcase-image:hover {
    transform: scale(1.02); /* Subtle zoom effect */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* Slightly more prominent shadow */
}



/* Services Section Styling */
#services {
    padding: 60px 20px;
    background-color: #fdf0f5; /* Light pink to match aesthetic */
    text-align: center;
}

.services-title {
    font-size: 2.5em;
    color: #a06a74; /* Subtle pink */
    font-family: 'Dancing Script', cursive;
    margin: 0;
}

.services-intro {
    font-size: 1.2em;
    color: #555;
    margin: 10px 0 40px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#services {
    padding: 60px 20px;
    background-color: #f3f3f3; /* Subtle light gray background */
    text-align: center;
}

.services-title {
    font-size: 2.5em;
    color: #444; /* Neutral dark gray for title */
    font-family: 'Dancing Script', cursive;
    margin: 0;
}

.services-intro {
    font-size: 1.2em;
    color: #666; /* Medium gray for introductory text */
    margin: 10px 0 40px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.service-item {
    background-color: #fff; /* White for clean contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly more prominent shadow on hover */
}

.service-item h3 {
    font-size: 2.0em;
    color: #444; /* Neutral dark gray for headings */
    font-family: 'Dancing Script', cursive;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1em;
    color: #333; /* Neutral medium-dark gray for text */
}

#about {
    padding: 60px 20px;
    background-color: #f2f2f2; /* Light gray */
    text-align: center;
    margin-bottom: -25px;
}

.about-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
}

.about-content {
    font-family: 'Playfair Display', serif;
    font-size: 1.20em;
    color: #333;
    line-height: 1.8;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 20px 0;
}

.about-footer {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: #777;
    font-style: italic;
    margin-top: 30px;
    line-height: 1.6;
}


/* Contact Button Styling */
.contact-button {
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #666; /* Neutral medium gray */
    color: #fff; /* White text for contrast */
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background-color: #555; /* Slightly darker gray on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}



/* Contact Section Styling */
#contact {
    padding: 60px 20px;
    background-color: #f2f2f2; /* Light gray */
    text-align: center;
    margin-top: -80px;
}

.contact-title {
    font-size: 2.5em;
    color: #a06a74; /* Subtle pink */
    font-family: 'Dancing Script', cursive;
    margin: 0;
}

.contact-intro {
    font-size: 1.2em;
    color: #555;
    margin: 10px 0 40px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-form label {
    font-size: 1em;
    color: #333;
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #a06a74; /* Subtle pink border on focus */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

/* Submit Button Styling */
.submit-button {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #a06a74; /* Subtle pink */
    color: #fff;
    font-size: 1.1em;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: #8d5a66; /* Slightly darker pink on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}



/* Footer Styling */
/* Footer Styling */
footer {
    background-color: #f9f9f9;
    padding: 60px 20px 30px;
    color: #555;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #444;
    margin-bottom: 20px;
    width: 100%;
}

.footer-section p {
    font-family: 'Playfair Display', serif;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px;
    font-size: 1em;
}

.footer-contact {
    margin: 15px 0;
}

.footer-contact-item {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    color: #444;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 2;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact-item:hover {
    color: #333;
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    font-family: 'Playfair Display', serif;
    color: #666;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a:hover {
    color: #444;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #444;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a img {
    width: 24px;
    height: 24px;
    filter: grayscale(1) opacity(0.7);
    transition: all 0.3s ease;
}

.social-links a:hover img {
    filter: grayscale(0) opacity(1);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.footer-bottom p {
    font-family: 'Playfair Display', serif;
    color: #888;
    font-size: 0.9em;
    margin: 0;
}

.footer-developer {
    margin-top: 15px;
    text-align: center;
}

.footer-developer p {
    font-family: 'Playfair Display', serif;
    color: #888;
    font-size: 0.85em;
}

.footer-developer .radical-link {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-developer .radical-link:hover {
    color: #444;
}

@media (max-width: 768px) {
    .footer-content {
        gap: 30px;
    }

    .footer-section {
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 1.6em;
    }
}


/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 6px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;body {
        font-family: 'Arial', sans-serif;
        background-color: #f9f9f9; /* Neutral light gray background */
        color: #333;
        margin: 0;
        padding: 0;
    }
    
    header {
        display: flex;
        flex-direction: column; /* Arrange elements in a column */
        align-items: center;
        justify-content: center;
        padding: 50px;
        background-color: #f3f3f3; /* Subtle gray background */
        position: relative;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow under header */
    }
    
    /* Hamburger Menu Styling */
    .hamburger-menu {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        display: inline-block;
        transition: transform 0.3s ease; /* Smooth rotation transition */
        z-index: 1100;
    }
    
    /* Default bar styling */
    .bar {
        width: 25px;
        height: 3px;
        background-color: #666; /* Neutral medium gray */
        margin: 5px 0;
        border-radius: 2px;
        transition: 0.3s ease; /* Smooth transitions for all transformations */
    }
    
    /* Transform bars into 'X' shape when menu is active */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Header Title Styling */
    h1 {
        font-size: 2.8em; /* Slightly larger for prominence */
        color: #444; /* Neutral dark gray for title */
        font-family: 'Dancing Script', cursive; /* Elegant cursive font */
        font-weight: 700;
        margin: 0;
    }
    
    /* Subtitle Styling */
    header p {
        font-size: 1.2em;
        color: #666; /* Neutral medium gray for subtitle */
        margin-top: 5px;
        font-style: italic;
    }
    
    /* Dropdown Menu Styling */
    .dropdown-menu {
        display: none; /* Initially hidden */
        position: absolute;
        top: calc(100% + 10px); /* Position directly below header with a small gap */
        left: 0;
        width: 100%;
        background-color: #f3f3f3; /* Subtle gray background to match header */
        border-radius: 8px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15); /* Softer shadow for elegance */
        padding: 20px 0;
        text-align: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(-10px); /* Slide effect */
        z-index: 1000;
    }
    
    /* Show dropdown menu with smooth fade and slide effect */
    .show-menu .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Remove bullet points from dropdown menu list */
    .dropdown-menu ul {
        list-style-type: none; /* Remove bullet points */
        padding: 0;
        margin: 0;
    }
    
    /* Dropdown menu items styling */
    .dropdown-menu li {
        margin: 15px 0;
    }
    
    .dropdown-menu li a {
        text-decoration: none;
        color: #444; /* Neutral dark gray for links */
        font-family: 'Arial', sans-serif;
        font-size: 1.1em;
        font-weight: 500;
        padding: 10px 20px;
        transition: color 0.3s ease, background-color 0.3s ease;
        border-radius: 5px;
    }
    
    .dropdown-menu li a:hover {
        color: #fff; /* White text on hover */
        background-color: #666; /* Medium gray hover background */
    }
    
    /* Hero Section Styling */
    .hero {
        position: relative;
        text-align: center;
        color: #fff;
        margin-top: 0; /* Removed the 20px spacing */
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        filter: grayscale(0.5) brightness(0.6); /* 50% grayscale and 60% brightness */
    }
    
    .hero-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #f3f3f3; /* Subtle gray for overlay text */
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }
    
    .hero-text h2 {
        font-size: 2.5em;
        font-family: 'Cursive', sans-serif;
        margin: 0;
    }
    
    .hero-text p {
        font-size: 1.2em;
        margin-top: 10px;
    }
    
    /* Portfolio Section */
    #portfolio {
        padding: 60px 20px;
        background-color: #f3f3f3; /* Subtle light gray background */
        text-align: center;
    }
    
    .portfolio-title {
        font-size: 2.5em;
        color: #444; /* Neutral dark gray for title */
        font-family: 'Dancing Script', cursive;
        margin: 0;
    }
    
    /* Styling for the rose icon at the bottom of the section */
    .section-divider {
        display: block;
        margin: 30px auto; /* Center the icon and add spacing */
        max-width: 200px; /* Adjust size as needed */
        height: auto;
        opacity: 0.8; /* Slight transparency for a subtle look */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .section-divider:hover {
        opacity: 1; /* Fully opaque on hover */
        transform: scale(1.1); /* Slight zoom on hover */
    }
    
    .portfolio-intro {
        font-size: 1.2em;
        color: #666;
        margin: 10px 0 40px;
        font-family: 'Playfair Display', serif;
        font-style: normal;
        font-weight: 400;
        line-height: 1.6;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }
    
    .portfolio-item {
        cursor: pointer;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
        transition: transform 0.3s ease;
    }
    
    .portfolio-item:hover {
        transform: scale(1.02); /* Subtle zoom effect on hover */
    }
    
    /* Portfolio Image */
    .portfolio-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.3s ease;
    }
    
    /* Overlay Styling */
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
        color: #f3f3f3; /* Light gray text color for overlay */
        opacity: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1; /* Show overlay on hover */
    }
    
    /* Overlay Text */
    .portfolio-text {
        font-size: 1.5em;
        font-family: 'Dancing Script', cursive;
        color: #ccc; /* Light gray for overlay text */
        text-align: center;
        padding: 10px;
    }
    
    /* Services Section Styling */
    #services {
        padding: 60px 20px;
        background-color: #f3f3f3; /* Updated to subtle light gray */
        text-align: center;
    }
    
    .services-title {
        font-size: 2.5em;
        color: #444; /* Neutral dark gray for title */
        font-family: 'Dancing Script', cursive;
        margin: 0;
    }
    
    .services-intro {
        font-size: 1.2em;
        color: #666; /* Medium gray for introductory text */
        margin: 10px 0 40px;
        font-style: italic;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Contact Section Styling */
    #contact {
        padding: 60px 20px;
        background-color: #fff; /* White for simplicity */
        text-align: center;
    }
    
    .contact-title {
        font-size: 2.5em;
        color: #444; /* Neutral dark gray */
        font-family: 'Dancing Script', cursive;
        margin: 0;
    }
    
    .contact-intro {
        font-size: 1.2em;
        color: #555; /* Medium gray */
        margin: 10px 0 40px;
        font-style: italic;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer Styling */
    footer {
        background-color: #f2f2f2; /* Light gray */
        padding: 40px 20px;
        font-size: 0.9em;
        color: #555; /* Neutral gray */
    }
    
    color: #a06a74; /* Matching pink color */
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #8d5a66;
}

/* Gallery within Modal */
.modal-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.modal-gallery img {
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}


/* Enlarged Image Modal Styling */
.enlarged-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.enlarged-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
}

.close-enlarged {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
    color: #fdf0f5;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-enlarged:hover {
    color: #ffcccc;
}


/* Styling for Prev and Next buttons in the enlarged modal */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(160, 106, 116, 0.8); /* Subtle pink with transparency */
    color: #fdf0f5; /* Light text color to match aesthetic */
    font-size: 1.5em;
    padding: 10px 15px;
    border: none;
    border-radius: 50%; /* Rounded shape */
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow for elegance */
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1200;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(141, 90, 102, 0.9); /* Slightly darker pink on hover */
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.prev-btn {
    left: 20px; /* Position to the left */
}

.next-btn {
    right: 20px; /* Position to the right */
}

/* Media query for smaller devices with max-width of 425px */
@media (max-width: 425px) {
    header h1 {
        font-size: 1.8em; /* Adjust font size for better fit on smaller screens */
        line-height: 1.2; /* Optional: Adjust line height for better readability */
    }

    header {
        padding: 30px; /* Reduce padding in header to save space on smaller screens */
    }

    .hero {
        margin-top: 0; /* Remove additional top margin for smaller screens */
    }

    .hero-image {
        height: 420px; /* Increase hero image height for better visual impact */
        object-fit: cover; /* Ensure the image scales proportionally */
    }
}


/* Ensuring buttons are visible on mobile devices */
@media (max-width: 768px) {
    .prev-btn,
    .next-btn {
        font-size: 1.2em;
        padding: 8px 12px;
    }
}

/* Social Media Icons Styling */
.social-links a img {
    border-radius: 25px;
    width: 30px;
    height: 30px;
    filter: grayscale(1);
    transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links a img:hover {
    border-radius: 25px;
    filter: grayscale(0);
    transform: scale(1.1); /* Slight zoom */
    box-shadow: 0px 4px 8px rgba(160, 106, 116, 0.5); /* Soft shadow matching theme */
}

.footer-developer {
    text-align: center;
    margin-top: 10px;
    font-size: 0.85em;
    color: #777;
    font-style: italic;
}

.footer-developer .radical-link {
    color: #a06a74; /* Subtle pink matching theme */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-developer .radical-link:hover {
    color: #8d5a66; /* Slightly darker pink on hover */
    transform: scale(1.05);
}

/* General Color Adjustments */
.about-title, .services-title, .portfolio-title, .contact-title {
    color: #444; /* Neutral dark gray for titles */
}

.section-divider {
    opacity: 0.7; /* Softer transparency */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-divider:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Contact Form Button Update */
.submit-button, .contact-button {
    background-color: #444; /* Neutral dark gray */
    color: #fff; /* White for contrast */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover, .contact-button:hover {
    background-color: #333; /* Slightly darker gray */
    transform: scale(1.05);
}

/* Footer Updates */
.footer-section h3 {
    color: #444; /* Replace pink with dark gray */
}

.footer-contact-item:hover {
    color: #333; /* Dark gray hover */
    transform: scale(1.05);
}

/* Header Updates */
header {
    background-color: #f3f3f3; /* Keep subtle light gray for elegance */
}

h1 {
    color: #444; /* Keep titles cohesive */
}

@media (max-width: 768px) {
    .footer-contact {
        font-size: 1.1em; /* Adjust for smaller screens */
    }

    .footer-contact-item {
        font-size: 1.0em; /* Ensure visibility on smaller devices */
    }
}

/* Header scroll state */
header.scrolled {
    padding: 10px 50px; /* Reduced padding when scrolled */
    background-color: rgba(243, 243, 243, 0.98); /* More opaque when scrolled */
}

header.scrolled h1 {
    font-size: 2em; /* Smaller title when scrolled */
    transition: font-size 0.3s ease;
}

/* Adjusting the dropdown menu position for scrolled state */
.scrolled .dropdown-menu {
    top: calc(100% + 5px); /* Reduced gap when scrolled */
}


.pixieset-link-container {
    margin-top: -60px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.pixieset-intro {
    font-size: 1.2em;
    font-family: 'Playfair Display', serif;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.pixieset-link {
    display: inline-block;
    text-decoration: none;
    color: #fff; /* White text for button */
    background-color: #a06a74; /* Subtle pink to match aesthetic */
    font-size: 1.1em;
    font-family: 'Dancing Script', cursive;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for button */
}

.pixieset-link:hover {
    background-color: #8d5a66; /* Slightly darker pink on hover */
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}



/* Media Queries */
@media (max-width: 768px) {
    #about {
        padding: 40px 15px;
    }

    .about-card {
        padding: 30px 15px;
    }

    .about-title {
        font-size: 2.8em;
        margin-bottom: 25px;
    }

    .about-content {
        font-size: 1.15em;
        line-height: 1.7;
        padding: 0 5px;
    }

    .about-footer {
        font-size: 1em;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    #about {
        padding: 30px 10px;
    }

    .about-card {
        padding: 25px 12px;
    }

    .about-title {
        font-size: 2.4em;
        margin-bottom: 20px;
    }

    .about-content {
        font-size: 1.1em;
        line-height: 1.6;
        padding: 0;
    }

    .about-footer {
        font-size: 0.95em;
        margin-top: 20px;
        padding: 0;
    }
}

@media (max-width: 320px) {
    .about-card {
        padding: 20px 10px;
    }

    .about-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .about-content {
        font-size: 1em;
        line-height: 1.5;
    }

    .about-footer {
        font-size: 0.9em;
        margin-top: 15px;
    }
}

/* Additional optimization for text readability on very tall/narrow devices */
@media (max-height: 700px) and (max-width: 480px) {
    #about {
        padding: 25px 10px;
    }

    .about-card {
        padding: 20px 10px;
    }

    .about-title {
        margin-bottom: 15px;
    }

    .about-content {
        line-height: 1.5;
        margin: 15px 0;
    }
}


