/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 80px; /* Adjust based on header height */
    padding-bottom: 60px;
    
}

/* Header Styles */
header {
    background-color: #CDB4DB;
    color: white;
    padding: 15px 0;
    position: fixed; /* Fix the header at the top */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    z-index: 1000;
}

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

header .logo img {
    height: 60px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color:  #A2D2FF;
}

/* Hero Section Styles */
.hero {
    background: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 20px 0; /* Reduce padding from the top and bottom */
}

.hero-container {
    display: flex;
    align-items: flex-start; /* Aligns content higher */
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1; /* Set lower z-index for the main container */
}

.hero-text {
    flex: 1;
    margin-right: 40px;
    margin-top: -150px; /* Moves the text block significantly higher */
    line-height: 1.4; /* Adjusts line spacing */
}

.hero-text h2 {
    font-size: 16px;
    margin-bottom: 5px; /* Reduce space below h2 */
    
}

.hero-text h1 {
    font-size: 50px;
    
    color: #A2D2FF;
    line-height: 0.5; /* Adjust this value to fine-tune the spacing */
}


.hero-text h2, .hero-text p {
    font-size: 20px; /* Matches the p size */
    color: #555; /* Matches the p color */
    font-weight: normal; /* Set to normal weight for consistency */
    line-height: 1.5; /* Adjust as needed for spacing */
    margin: 0; /* Remove default margins if needed */
    padding: 0; /* Remove padding */
    margin-top: 20px; /* Optional: Adds vertical space above each element */
}
.hero-text button {
    display: block;
    margin: 20px auto; /* Center the button */
    background-color: #fff;
    color: #FFC8DD;
    border: 2px solid #FFC8DD;
    border-radius: 10px;
    padding: 10px 20px;
    width: 120px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.hero-text button:hover {
    background-color: #FFC8DD;
    color: #fff;
}





.hero-text p {
    font-size: 20px;
    color: #555;
    margin-top: 20px;
}
.designer-indent {
    display: inline-block;
    text-indent: 120px; /* Adjust this value to change the indent size */
}

/* Adjust the image size */
.hero-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    justify-content: flex-start; /* Aligns image higher */
}

.design-img {
    width: 800px; /* Larger image size */
    height: auto;
    transform: translate(100px, -120px); /* Move image to the right (100px) and higher (-50px) */
}


/* button */
button {
    background-color: #ffffff;
    color: #FFC8DD;
    border: 2px solid #FFC8DD;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

/* Hover Animation on Resume Button */
button:hover {
    background-color: #FFC8DD;
    color: #ffffff;
    transform: scale(1.05); /* Slightly enlarges the button */
}

/* Slide-in Animation for h1 from Right to Left */
@keyframes slideInRight {
    0% { transform: translateX(100px); }
    100% { transform: translateX(0); }
}

.slide-in {
    opacity: 1; /* Maintain full opacity */
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.3s; /* Adjust if you want each <h1> to slide in at a different time */
}

/* bubble section */



/* Adjust the bubbles container to appear above */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Set higher z-index for bubbles to be above the image */
    pointer-events: none;
}

/* Bubble styling */
.bubble {
    position: absolute;
    bottom: -50px;
    width: 20px;
    height: 20px;
    background-color: rgba(173, 216, 230, 0.7);
    border-radius: 50%;
    opacity: 0.8;
    animation: floatUp 6s linear infinite;
}

/* Individual bubble sizes, positions, and delays */

.bubble:nth-child(1) { width: 20px; height: 20px; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 30px; height: 30px; left: 20%; animation-delay: 1s; }
.bubble:nth-child(3) { width: 25px; height: 25px; left: 35%; animation-delay: 2s; }
.bubble:nth-child(4) { width: 35px; height: 35px; left: 50%; animation-delay: 3s; }
.bubble:nth-child(5) { width: 20px; height: 20px; left: 65%; animation-delay: 4s; }
.bubble:nth-child(6) { width: 30px; height: 30px; left: 75%; animation-delay: 5s; }
.bubble:nth-child(7) { width: 15px; height: 15px; left: 85%; animation-delay: 6s; }
.bubble:nth-child(8) { width: 20px; height: 20px; left: 90%; animation-delay: 7s; }
.bubble:nth-child(9) { width: 30px; height: 30px; left: 95%; animation-delay: 8s; }

/* Floating animation */
@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}



/* Projects Section Styles */
.projects {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.projects h2 {
    color: #333;
    margin-bottom: 40px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project-item {
    margin: 20px;
    border-radius: 10px;
    padding: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px; /* Fixed width for consistency */
    height: 400px; /* Fixed height for all items */
    display: flex;
    flex-direction: column; /* Ensure content aligns vertically */
    justify-content: space-between;
    align-items: center; /* Center align content horizontally */
    transition: transform 0.3s;
}

.project-item img {
    width: 100%;
    height: 200px; /* Consistent image height */
    object-fit: cover; /* Ensures the image fits properly without distortion */
    border-radius: 5px;
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Start the content at the top */
    align-items: center;
    text-align: center; /* Center-align the content */
    padding: 20px;
    width: 100%; /* Ensure the content takes up full width */
}

.project-info h3 {
    margin-top: 10px;
    color: #333;
    font-size: 1.2em;
    flex-shrink: 0; /* Prevent the title from shrinking */
}

.project-info p {
    margin: 10px 0;
    color: #777;
    font-size: 1em;
    flex-grow: 1; /* Allow the description to grow and take up space */
    display: flex;
    align-items: center; /* Vertically center the description */
}

.project-info a {
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.3s ease;
    flex-shrink: 0; /* Prevent the link from shrinking */
}

.project-info a:hover {
    color: #0056b3;
}

.project-item:hover {
    transform: translateY(-10px);
}
/* About Section Styling */
.about {
    padding: 80px 20px;
    background: rgb(245, 243, 243);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading styling */
.about h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

/* Content styling */
.about-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Changed to flex-start for left alignment */
    align-items: flex-start; /* Changed to flex-start for higher position */
    max-width: 1000px;
    gap: 30px;
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* Image styling */
.about-image-container {
    position: relative;
    width: 400px;  /* Increased width for a larger image */
    height: 400px; /* Increased height for a larger image */
    overflow: hidden;
    border-radius: 0%; /* No border radius to keep it square */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-right: 20px; /* Add margin to the right to create space from text */
    margin-top: 50px; /* Adjust to move the image higher up */
    margin-left: -220px; /* Move the image more to the left with a negative margin */
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.1);
}

/* About text styling */
.about-text {
    max-width: 600px;
    text-align: left;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.about-text p:hover {
    color: #333;
}

/* Skills styling */
.skills {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Skills List Item Styling */
.skills li {
    display: flex;
    align-items: center;
    margin: 5px 0;
    font-size: 1.1em;
    color: #555;
    background: #f0f0f0;
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid pink; 
    transition: 0.3s ease, transform 0.3s ease; 
}

/* Hover Effect for List Items */
.skills li:hover {
    transform: translateY(-3px); 
}

/* Updated Image Styling */
.skills li img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    margin-left: -10px; /* Move image more to the left */
}

/* Footer Styles */
footer {
    background-color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed; /* Fix the footer at the bottom */
    bottom: 0;
    left: 0;
    width: 100%; /* Full width */
    z-index: 1000; 
}

.social-links {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 50px; /* Adds spacing between the icons */
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icon {
    width: 35px; /* Adjust the size of the icons */
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover .social-icon {
    transform: scale(1.2); /* Enlarge icon on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
        margin-top: 0; /* Adjust the margin for mobile */
    }

    .design-img {
        width: 300px; /* Smaller image for mobile */
        transform: translate(0, 0); /* Reset transform for smaller screens */
    }

    .project-item {
        width: 100%;
        margin: 10px 0;
        height: auto; /* Allow dynamic height for mobile */
    }
    .about-content {
        flex-direction: column; /* Stack image and text on mobile */
        align-items: center;
        text-align: center;
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .about-text {
        align-items: center; /* Center-align text on mobile */
        text-align: center;
    }
}


/* ******************* project detail page ************************** */





/* Enable Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.project1-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Hero Section Styles */

.project1-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}
.project1-hero img {
    width: 900px;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero1 {
    position: relative;
    margin-top: -20px; /* Adjust this margin to control the space between the image and the heading */
    font-size: 2.5em;
    color: black;
    font-weight: bold;
    text-align: center;
    
    
}

/* Project Info Section Styles */
.project1-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project1-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project1-info img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 10px;
}

.project1-info h3 {
    color: #333;
    font-size: 1.3em;
    font-weight: bold;
}

.project1-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Detailed Project Sections */
.project-detail-section {
    padding: 60px 20px;
    border-top: 1px solid #ddd;
    text-align: left;
}

.project-detail-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Container to hold image and text side by side */
.project-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between image and text */
}

.project-detail-section .detail-image {
    width: 700px;
    height: auto;
   
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-detail-section p {
    max-width: 600px;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}


/* Hero Section */
.project2-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.project2-hero img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.project2-detail p {
    max-width: 800px;  
    margin: 0 auto 30px;  
    padding: 0 20px;  
    line-height: 1.6;  
    font-size: 1.1em;  
    color: #333;  
    text-align: justify;  
}

/* Photobook Section */
h1 {
    text-align: center;
    margin-top: 20px;
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

/* Adding padding to the photobook container */
.photobook {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 30px;  /* Padding from both sides */
}

.photobook-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;  /* Reduce bottom margin between rows */
}

.photobook img {
    width: 45%;  /* Make images smaller */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Reduce the gap between the images */
.photobook-row {
    gap: 10px;  /* Smaller gap between images */
}

.photobook img:hover {
    transform: scale(1.05);
}

/* project 4 */

.blender-experiment {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.blender-step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blender-step p {
    margin-top: 10px;
    line-height: 1.6;
    color: #333;
}

/* media matrix page */

/* General Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .image-grid img {
    max-width: 100%;
    border-radius: 4px;
    transition: transform 0.3s ease;
  }
  

  

  
 

/* Section Styling */
.media-matrix {
    border-left: 5px solid #0077cc;
    background-color: #ffffff;
    padding: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.media-matrix h2 {
    padding: 20px;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.media-matrix h3 {
    margin-top: 15px;
    color: #333;
}

.media-matrix p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Process Section */
.process {
    margin-bottom: 20px;
    padding: 20px;
}

.process h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.process li {
    margin-left: 20px;
    margin-bottom: 10px;
    list-style-type: circle;
    color: #0056b3;
}

/* Branding Section */
.branding {
   
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
  
}

.branding h2, .branding h3, .branding h4 {
    margin-bottom: 10px;
   
}

.branding p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.branding img {
    max-width: 100%;
    margin-bottom: 15px;
   
  
}

/* Research Section */
.research {
    
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.research h1 {
    color: #0056b3;
    margin-bottom: 20px;
    border-bottom: 3px solid #0077cc;
    padding-bottom: 10px;
}

.research h3 {
   
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
}

.research p {
    margin-bottom: 15px;
    line-height: 1.8;
}


.process li {
    margin-bottom: 10px;
    list-style-type: disc;
    margin-left: 20px;
}

/* competitor analysis */

.competitor-analysis {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.competitor-analysis th, .competitor-analysis td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.competitor-analysis th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

.competitor-analysis td {
    background-color: #fff;
    color: #555;
}

.competitor-analysis ul {
    margin: 0;
    padding-left: 20px;
}

.competitor-analysis ul li {
    margin: 5px 0;
}






/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        text-align: center;
    }

    .project-detail-section .detail-image {
        margin-bottom: 20px;
    }
    .hero1 {
        font-size: 2em;
        padding: 8px 16px;
    }
    .project2-hero img {
        width: 90%;
    }

    .photobook-row {
        flex-direction: column;
    }

    .photobook img {
        width: 100%;
    }
    body {
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.95em;
    }

    
}
