@charset "utf-8";
/* CSS Document */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700; /* Bold for more impact */
}

  /* Navbar Styling */
   .navbar {
    background-color: #0d1b2a;
    padding: 0.8rem 1rem;
    transition: background-color 0.3s ease;
	
  }

  .navbar-brand {
    font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #ffffff;
    letter-spacing: 0.5px;
  }

  .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
  	color: #cfd8dc;
 	 margin-left: 15px;
  	font-weight: 500;
  	transition: color 0.3s ease;
  }


  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: #00bcd4;
  }
/* Smooth transition for all */
.navbar-brand,
.navbar-nav .nav-link {
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

/* Brand pop effect */
.navbar-brand:hover {
  transform: scale(1.08);
  color: #00bcd4;
  text-shadow: 0 2px 8px rgba(0, 188, 212, 0.5);
}

/* Nav link pop effect */
.navbar-nav .nav-link:hover {
  transform: scale(1.05);
  color: #00bcd4;
  text-shadow: 0 2px 6px rgba(0, 188, 212, 0.3);
}


  body {
    padding-top: 70px;
  }

  html {
    scroll-behavior: smooth;
  }

  @media (max-width: 991.98px) {
    .navbar-nav {
      margin-top: 1rem;
    }

    .navbar-nav .nav-link {
      margin-left: 0;
      margin-bottom: 10px;
    }
  }

  /* Custom Hamburger Toggle */
  .no-box-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    outline: none;
  }

  .no-box-toggler .line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
  }

  .navbar-toggler[aria-expanded="true"] .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggler[aria-expanded="true"] .line:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler[aria-expanded="true"] .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }




/* welcome section */

#welcome img {
    max-width: 100%; /* Ensuring the image is fully responsive */
    height: auto; /* Maintain aspect ratio */
}

#welcome h2 {
    color: #0d1b2a;
    font-family: 'Raleway', sans-serif; /* Updated to Raleway */
    font-weight: 700; /* Bold weight for better emphasis */
}

#welcome p {
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

@media (max-width: 992px) { /* Adjusts for devices under 992px in width */
    #welcome .row {
        flex-direction: column-reverse; /* Stacks text above the image on smaller screens */
    }
    #welcome img {
        margin-bottom: 20px; /* Adds space between the image and text when stacked */
    }
}
#welcome {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
	padding-top: 20px;
    transition: transform 0.3s ease-in-out;
}



#welcome:hover {
    transform: scale(1.02);
}
.name-highlight {
    font-family: 'Montserrat', sans-serif; /* Using Montserrat for your name */
    font-size: 36px; /* Adjust the size as needed */
    font-weight: 800; /* Bold weight for emphasis */
    color: #0d1b2a; /* You can customize the color if needed */
}

@keyframes blink {
    50% { border-color: transparent; }
}

#typing {
    border-right: 2px solid #000000; /* Cursor color */
    padding-right: 2px;
    animation: blink 0.75s step-end infinite;
}

.explore-button {
    padding: 10px 20px;
    background-color: #ffffff; /* White background */
    color: #0d1b2a; /* Dark text color */
    border: 2px solid #0d1b2a; /* Dark border */
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between text and icon */
    transition: all 0.3s ease;
    outline: none; /* Ensures no focus outline is visible */
}

.explore-button:hover {
    background-color: #f2f2f2; /* Light grey for hover */
}

.explore-button .arrow {
    display: inline-block;
    font-size: 20px; /* Larger font size for the arrow */
    transition: transform 0.5s ease;
}

.explore-button:hover .arrow {
    transform: translateX(10px); /* Moves arrow to the right more noticeably */
}
@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px); /* Small movement to the right */
    }
}

.explore-button .arrow {
    display: inline-block;
    font-size: 20px; /* Larger font size for the arrow */
    animation: arrow-bounce 2s infinite; /* Continuous animation */
}



.image-container img {
    width: 90%;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: rotate(5deg) scale(1.1);
    border-color: #00bcd4;
}

.text-container h2 {
    color: #0d1b2a;
    font-family: 'Raleway', sans-serif; /* Updated to Raleway */
    font-weight: 700; /* Ensuring boldness */
    margin-bottom: 20px;
}

.text-container p {
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}
/* hover */
.image-container:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-container:focus img {
    outline: 2px solid #00bcd4; /* Highlight focus for accessibility */
}

.text-container h2:hover {
    color: #017374; /* Darker shade for interactive feel */
}

.text-container p {
    transition: color 0.3s ease-in-out;
}

.text-container p:hover {
    color: #555; /* Slightly darker text on hover to indicate interactivity */
}


@media (max-width: 992px) {
    #welcome .row {
        flex-direction: column;
        text-align: center;
    }

    #welcome .image-container,
    #welcome .text-container {
        margin-bottom: 20px;
    }

    #welcome .text-container p {
        text-align: left; /* Ensures text alignment is suitable for smaller screens */
    }
}

@media (max-width: 768px) { /* Further adjustments for even smaller screens */
    #welcome img {
        width: 60%; /* Adjusted to be slightly larger at very small widths but still smaller than on large screens */
    }
}





/* About section */


/* About Section Styling */
#about {
    background-color: #f8f9fa; /* Light grey background for a subtle contrast */
    padding: 80px 20px; /* Increased padding for more space */
    border-radius: 8px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Soft shadow for depth */
    margin-top: 100px; /* Ensures good space between welcome section and about section */
}

.about-heading {
    font-family: 'Montserrat', sans-serif; /* Stylish, modern font for headings */
    color: #333; /* Dark color for strong readability */
    font-size: 28px; /* Sizable font for impact */
    margin-top: 20px; /* Space above the heading after image */
    margin-bottom: 20px; /* Space below the heading before text */
}

.text-container {
    font-family: 'Poppins', sans-serif; /* Clean, readable font for text */
    color: #666; /* Soft, dark gray color for text */
    line-height: 1.8; /* Increased line height for readability */
    font-size: 16px; /* Standard font size for body text */
    padding: 0 15%; /* Centering paragraph content */
}

.profile-image {
    width: 150px; /* Smaller size for profile image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Circular shape */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Depth with shadow */
    margin-bottom: 20px; /* Space below the image */
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    #about {
        padding: 20px; /* Less padding on smaller screens */
        text-align: center; /* Center alignment for better readability on small devices */
    }

    .about-heading {
        font-size: 24px; /* Slightly smaller heading for smaller screens */
    }

    .text-container {
        padding: 0 10%; /* Adjust padding for smaller devices */
    }
}
@keyframes sunlightShine {
    0%, 100% {
        color: #333; /* Original text color */
        text-shadow: none;
    }
    50% {
        color: #fff; /* Bright color at the peak of the shine */
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff; /* Intense light effect */
    }
}

.shine-once {
    display: inline-block; /* Necessary for the effect to align properly with the text */
    animation: sunlightShine 3s ease-out 1; /* Duration, easing, and repeat count */
    cursor: pointer; /* Indicates interactiveness if needed */
	
}

#skills {
    background-color: #f4f4f9; /* Soft, off-white background for a clean look */
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 50px;
}

#skills-heading {
    color: #0d1b2a; /* Keeping the navy blue for consistency */
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.skill-category h3 {
    font-size: 26px;
    color: #3a506b; /* Darker shade of blue for heading to ensure good contrast */
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    text-align: center;
}

.skill-item {
    background: linear-gradient(145deg, #1b4f72, #1b6ca8); /* Gradient from deep blue to lighter blue */
    color: #ffffff;
    padding: 25px;
    height: 180px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.skill-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #48a9a6; /* Teal for icons to stand out */
}

.skill-description {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(27, 79, 114, 0.9); /* Very dark blue, almost matching #0d1b2a but with transparency for overlay */
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-top: 3px solid #72aee6; /* Lighter blue for a subtle contrast */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.skill-item:hover .skill-description {
    bottom: 0;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;  /* Ensures only one column on small screens */
        gap: 10px;  /* Reduced gap for tighter spacing */
    }

    .skill-item {
        padding: 20px;  /* Reduced padding for smaller elements */
        height: auto;  /* Allows dynamic height adjustment */
    }

    .skill-item i {
        font-size: 2rem;  /* Smaller icons for smaller screens */
    }

    .skill-description {
        font-size: 12px;  /* Smaller text for descriptions */
    }
}


/* project section stars */
#projects {
    text-align: center;
    padding: 50px 0;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.card-content h3 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.card-content p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.tech-icons {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.tech-icons li {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tech-icons i {
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tech-icons li:hover i {
    transform: scale(1.2);
    color: #0d1b2a;
}

.btn {
    background: #0d1b2a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

.btn:hover {
    background-color: #017374;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 24px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }

    .card-content p {
        font-size: 14px; /* Slightly smaller for better readability on smaller screens */
    }
}


/* contact section starts */
#contact {
    background-color: #f8f8f8;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center; /* Centered content */
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #0d1b2a;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif; /* Poppins for input text */
    font-size: 16px; /* Ensuring readability */
    color: #333; /* Dark color for text */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Roboto', sans-serif; /* Roboto for placeholders */
    color: #a0aec0; /* Lighter gray for placeholders */
    font-style: italic; /* Italic style for a subtle distinction */
    opacity: 1; /* Full opacity for clarity */
}

.contact-form button {
    padding: 10px 20px;
    background-color: #0d1b2a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif; /* Consistency for button text */
    font-size: 18px; /* Readable and prominent button text */
}

.contact-form button:hover {
    background-color: #017374; /* Color shift on hover for visual feedback */
    transform: scale(1.05); /* Slight enlargement on hover for interactivity */
}

.social-links {
    margin-top: 20px;
    font-size: 24px;
}

.social-links a {
    color: #0d1b2a;
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s; /* Smooth transition for hover effects */
}

.social-links a:hover {
    color: #017374; /* Hover color change */
    transform: scale(1.1); /* Slight scale up for emphasis */
}

    #contact img.img-fluid {
        height: 414px;
        width: auto; /* Ensures the width adjusts while maintaining the aspect ratio */
        object-fit: cover; /* This will cover the area of the div without distorting the aspect ratio */
    }


@media (max-width: 992px) {
    .d-none.d-lg-block {
        display: none; /* Hides the image on smaller screens */
    }
}

@media (max-width: 768px) {
    .contact-form input,
    .contact-form textarea {
        width: 100%; /* Adjust input width to full container size on smaller devices */
    }
}










/* footer section */
/* Footer Styling */
/* Footer Styling */
.footer {
    background-color: #0d1b2a;
    color: #f8f9fa;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.5s ease; /* Smooth transition for background color change */
}

.footer h3, .footer h4, .footer p {
    color: #ffffff;
    transition: color 0.3s ease; /* Smooth color transition */
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li a {
    color: #f8f9fa;
    text-decoration: none;
    padding: 5px 0; /* Adds vertical padding for better touch interaction */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and transform */
}

.footer ul li a:hover {
    color: #00bcd4;
    transform: translateY(-2px); /* Slight raise effect on hover */
}

.footer-contact {
    position: relative;
}

.qr-icons {
    margin-top: 10px;
    font-size: 24px;
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    align-items: center; /* Ensure vertical alignment of icons */
}

.qr-icons i {
    cursor: pointer;
    margin-right: 10px;
    transition: transform 0.3s ease, color 0.5s ease; /* Smooth transition for transform and color */
}

.qr-icons i:hover {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
    color: #00bcd4; /* Change color on hover */
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s; /* Fade in effect for the modal */
}

.modal-content {
    background-color: #fff;
    color: #000;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 300px;
    text-align: center;
}

.close {
    color: #aaa;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
    text-decoration: none;
}

#modalTitle {
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* footer end */




/* Basic styles for the modal */
.modal-container {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 50%;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

























#pageUpButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 15px;
    background-color: #0d1b2a; /* Dark navy blue */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    display: none;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;
}

#pageUpButton:hover {
    opacity: 1;
}

#pageUpButton:active {
    transform: scale(0.9);
}
