

body {
    background-color: #fff;
    font-family: "Poppins", sans-serif;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    position: relative;
  /*  padding: 80px 0%;*/
    background-image: url("Images/NO BG FOR NOW.png");
    /* path to your image */
    background-size: cover;
    /* ensures it fills the section */
    background-position: center;
    /* keeps image centered */
    background-repeat: no-repeat;
    /* prevents tiling */
    color: #000;
    /* ensures text is visible */
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 0;
}


.about-section * {
    position: relative;
    z-index: 1;
    /* brings text, buttons, and images above the overlay */
}


.about-section img {
  max-width: 100%;
  height: auto;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-weight: 700;
    margin-bottom: 20px;

}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 250px;
}


.about-image img {
    width: 80%;
    max-width: 350px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: 4px solid #0d3b4c;
    /* Added border */
    transform: rotate(7deg);
    /* Slight tilt to the left */
    transition: transform 0.9s ease;
    /* Smooth effect */
}

.about-image img:hover {
    transform: rotate(-5deg) scale(1.02);
    /* Small hover effect */
}


.about-image::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 25px;
    width: 80%;
    max-width: 350px;
    height: 100%;
    border: 2px solid #0d3b4c;
    border-radius: 10px;
    z-index: 1;
}

.resume-btn {
    margin-top: 20px;
    background-color: #0d3b4c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.resume-btn:hover {
    background-color: #0a2c38;
}

/* ====== Frames Section ====== */
.frames-container {
    position: relative;
    margin-top: 40px;
    height: 280px;
}

.frame {
    position: absolute;
    width: 230px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    cursor: grab;
    transition: transform 0.2s ease;
}

.frame:active {
    cursor: grabbing;
}

.frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.frame-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    text-align: center;
    font-size: 1rem;
}

/* Initial overlapping positions */
.frame-1 {
    top: 40px;
    left: 30px;
    transform: rotate(-6deg);
    z-index: 2;
    border: 4px solid #0d3b4c;
    /* Adds border around each frame */
    border-radius: 10px;
    /* Optional: smooth corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Soft shadow for depth */
}

.frame-2 {
    top: 55px;
    left: 120px;
    transform: rotate(7deg);
    z-index: 3;
    border: 4px solid #0d3b4c;
    /* Adds border around each frame */
    border-radius: 10px;
    /* Optional: smooth corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Soft shadow for depth */
}

/* Smooth drag boundaries */
.frames-container.dragging {
    cursor: grabbing;
}

.draggable {
    width: 250px;
    height: 250px;
    position: absolute;
    cursor: grab;
    transition: transform 0.3s ease;

}

.draggable:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .frames-container {
        justify-content: center;
        margin-top: 30px;
    }

    .frame {
        width: 200px;
        height: 130px;
    }

}

/* ===============================
WORK EXPERIENCE - CLEANED CSS
=============================== */

/* ---------- Section container ---------- */
.work-experience-section {
    position: relative;
    padding: 80px 0;
    background-image: url("../Experience/ExperienceBG.png");
    /* background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* === ADJUSTABLE IMAGE SETTINGS === */
.work-experience-section {
    filter: brightness(0.9) contrast(1.2) saturate(01.2);
    /* tweak these */
    transition: filter 0.6s ease;
    /* smooth change if you hover or animate */
}

/* light overlay so text/cards remain readable */
.work-experience-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* shorthand for top/right/bottom/left = 0 */
    background: rgba(255, 255, 255, 0.7);
    z-index: 0;
}

/* ensure section's children appear above overlay */
.work-experience-section * {
    position: relative;
    z-index: 1;
}

/* ---------- Section heading ---------- */
.work-experience-section h2 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0d3b4c;
}

/* ---------- Cards container ----------
This is the centered area that holds the stacked cards.
We use position:relative so child cards can be absolutely positioned
to create the stacked deck effect.
*/
.experience-cards {
    position: relative;
    width: 80%;
    max-width: 1500px;
    margin: 0 auto;
    perspective: 1000px;
    /* subtle depth */
    min-height: 1000px;
    /* controls visible area - adjust if needed */
    display: block;
}

/* ---------- Experience card base style ----------
All cards are absolutely positioned within .experience-cards
and offset slightly using nth-child to form the stack. Change the scale for scrollability
*/
.experience-card {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) scale(0.1);
    width: 100%;
    background-color: #fff;
    border: 2px solid #0d3b4c;
    /* blue border */
    border-radius: 14px;
    padding: 60px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: transform 0.6s cubic-bezier(.22, .9, .36, 1), opacity 0.6s ease, box-shadow 0.6s ease;
    transform-origin: center top;
    opacity: 0.6;
}

/* spacing (stack offsets) - adjust the top values if you want a different visual gap */
.experience-card:nth-child(6) {
    top: 0px;
    z-index: 6;
}

.experience-card:nth-child(5) {
    top: 100px;
    z-index: 5;
}

.experience-card:nth-child(4) {
    top: 200px;
    z-index: 4;
}

.experience-card:nth-child(3) {
    top: 300px;
    z-index: 3;
}

.experience-card:nth-child(2) {
    top: 400px;
    z-index: 2;
}

.experience-card:nth-child(1) {
    top: 500px;
    z-index: 1;
}

/* ---------- Interaction states ----------
    Your JavaScript may add these classes:
    - .active     : card in focus / front
    - .behind     : next card visible behind the active card
    - .inactive   : cards that should fade back
    - .in-view    : IntersectionObserver activated card (keeps compatibility)
    */

/* Active / front card */
.experience-card.active,
.experience-card.in-view {
    transform: translateX(-50%) scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    z-index: 20;
}

/* Next card behind the active card - slightly scaled down */
.experience-card.behind {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.85;
    z-index: 10;
}

/* Cards further back - faded */
.experience-card.inactive {
    transform: translateX(-50%) scale(0.82);
    opacity: 0.35;
    z-index: 1;
}

/* keep hover subtle (optional) */
.experience-card:hover {
    transform: translateX(-50%) scale(0.99);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

/* ---------- Card content styles ---------- */
.experience-card img.company-logo {
    width: 72px;
    height: auto;
    margin-bottom: 16px;
    display: inline-block;
}

.experience-card h4 {
    font-weight: 600;
    color: #0d3b4c;
    margin-bottom: 8px;
}

.experience-card .position {
    font-weight: 500;
    color: #222;
    margin-bottom: 6px;
}

.experience-card .year {
    font-style: italic;
    color: #444;
    margin-bottom: 12px;
}

.experience-card .description {
    color: #333;
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 86%;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 900px) {
    .experience-cards {
        height: 680px;
        /* more vertical space on smaller screens */
        width: 90%;
    }

    .experience-card {
        padding: 22px;
    }

    .experience-card:nth-child(1) {
        top: 0px;
    }

    .experience-card:nth-child(2) {
        top: 50px;
    }

    .experience-card:nth-child(3) {
        top: 100px;
    }

    .experience-card:nth-child(4) {
        top: 150px;
    }

    .experience-card:nth-child(5) {
        top: 200px;
    }

    .experience-card:nth-child(6) {
        top: 250px;
    }
}

@media (max-width: 480px) {
    .work-experience-section h2 {
        font-size: 1.6rem;
    }

    .experience-cards {
        height: 900px;
        width: 95%;
    }

    .experience-card {
        padding: 18px;
    }

    .experience-card img.company-logo {
        width: 56px;
    }
}





/* ===============================
PROJECTS SECTION STYLING
=============================== */

.projects-section {
    background-color: #f4f4f5;
    position: relative;
    overflow: hidden;
}

.project-card {
    border: 2px solid #0d3b4c;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 45%;
    /* ✅ allows two cards side-by-side */
    height: 650px;
    margin: 0 auto;
    /* centers them neatly */
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ makes the full image visible within the frame */
    border-radius: 18px;
}

.project-card:hover {
    transform: scale(1.02);
}


.project-img:hover {
    transform: scale(1.03);
}

.project-link {
    text-decoration: none;
    color: #0d3b4c;
}

.project-link:hover {
    text-decoration: underline;
}

.cad-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #0d3b4c;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.side-img {
    width: 100%;
    max-width: 220px;
    border: none;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .projects-section .col-lg-9 {
        margin-bottom: 30px;
    }

    .side-img {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .cad-img {
        width: 120px;
        height: 120px;
    }
}


/* ===============================
CERTIFICATES SECTION STYLING
=============================== */

.certificates-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* space between text and button */
    margin-top: 0rem;
    margin-bottom: 1rem;
    text-align: left;
    margin-left: 450px;
}

.certificates-section p.lead {
    color: #0d3b4c;
    font-weight: 400;
    margin-bottom: 0;
    font-size: 1.5rem;
    /* Large text as in screenshot */
    line-height: 1.2;
}

.certificates-section .btn-outline-primary {
    background-color: #0d3b4c;
    /* button background */
    color: #fff;
    /* white text */
    border: 1px solid transparent;
    /* technically 1px but visually none; change color if you want visible border */
    border-radius: 8px;
    /* curved corners */
    padding: 10px 20px;
    /* comfortable click area */
    font-weight: 600;
    box-shadow: none;
    /* remove default shadows */
    outline: none;
    /* avoid focus outline default */
    transition: transform 0.18s ease, background-color 0.18s ease;
}


.certificates-section .btn-outline-primary:hover {
    margin-top: 20px;
    background-color: #0d3b4c;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

/*Brands Logo slider container */
/*Brands Logo slider container */
/*Brands Logo slider container */



/* ===============================
BRANDS SECTION STYLING
=============================== */

/* Overall section styling */
.brands-section {
    width: 100%;
    background: linear-gradient(to right, #f9f9f9, #ffffff);
    /* soft white-grey blend */
    color: #0d3b4c;
    /* same dark blue text as rest of site */
   /* padding: 40px 40px;*/
    /* top/bottom + side padding for breathing space */
    /* ✅ limits paragraph width */
}

/* Section title */
.brands-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0d3b4c;
    text-transform: capitalize;
}

/* Paragraph text */
.brands-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.2rem;
    max-width: 100%;
    /* consistent spacing between paragraphs */
    text-align: justify;
    /* clean alignment for long paragraphs */
    text-align: justify;
    margin: 0 auto;

  /*  margin-left: 300px;*/
    /*margin-right: 300px;*/
}

/* Responsive adjustments */
@media (max-width: 100%) {
    .brands-section {
        padding: 60px 40px;
    }

    .brands-section h2 {
        font-size: 2rem;
    }

    .brands-section p {
        font-size: 1rem;
    }
}






.logo-slider {
overflow: hidden;
position: relative;
width: 100%;
display: flex;
align-items: center;
}

/* Logo track (moving strip) */
.logo-track {
  display: flex;
  flex-wrap: nowrap;          /* 🚨 THIS IS THE KEY */
  align-items: center;
  gap: 4rem;

  width: max-content;         /* Make row as wide as all logos */
  animation: scrollLogos 60s linear infinite;
}


/* Each logo */
.brand-logo {
height: 90px;
width: auto;
object-fit: contain;
filter: grayscale(0.3);
transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover {
filter: grayscale(0);
transform: scale(1.1);
}

/* Animation for continuous right-to-left sliding */
@keyframes scrollLogos {
0% {
transform: translateX(0);
}

100% {
transform: translateX(-50%);
}
}


@keyframes scroll-logos {
0% {
transform: translateX(0);
}

100% {
transform: translateX(-50%);
}
}

/* Responsive adjustments */
@media (max-width: 768px) {
.logo-slider {
gap: 30px;
}

.brand-logo {
height: 80px;
/* Twice as big as before */
}
}






/* Contact Section Styling with Background Image */
.contact-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(59, 130, 246, 0.6)),
        url('../Contact/contact_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 80vh;
    color: #ADD8E6;
    font-family: 'Arial', sans-serif;
    position: relative;
}

/* Ensure high quality image rendering */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('contact_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: auto;
}

/* Overlay for better text readability */
.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(59, 130, 246, 0.6));
    z-index: -1;
}

/* Title Styling */
.contact-title {
    font-size: 80px;
    font-weight: bold;
    color: #38bdf8;
    margin-top: 10px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
}

.contact-description {
    font-size: 24px;
    color: #cbd5e1;
    margin-bottom: 10px;
    max-width: 1000px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
}

/* Form Container */
.contact-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    width: 60%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    margin-left: auto;
    z-index: 1;
    position: relative;
}

/* Form Title */
.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: #38bdf8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Input and Textarea Styling */
.contact-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #cbd5e1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 20px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(203, 213, 225, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button Styling */
.contact-form button {
    width: 100%;
    padding: 12px;
    background: #38bdf8;
    border: none;
    border-radius: 25px;
    color: #0f172a;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.contact-form button:hover {
    background: #0ea5e9;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Success Container Styling */
.success-container {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    width: 60%;
    z-index: 1;
    position: relative;
}

/* Success Message Styling */
.success-message {
    display: none;
    padding: 20px;
    background: rgba(56, 189, 248, 0.9);
    backdrop-filter: blur(10px);
    color: #0f172a;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===============================
SOCIAL MEDIA BUTTONS STYLING
=============================== */
/* ===============================
SOCIAL MEDIA BUTTONS STYLING
=============================== */

.social-media-section {
    width: 100%;
    padding: 2rem 0;
    /* light grey section background */
}

/* Button design (matches Certificates button) */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* space between icon and text */
    background-color: #0d3b4c;
    /* dark blue background */
    color: #fff;
    /* white text */
    border: 2px solid transparent;
    /* technically 1px but visually none */
    border-radius: 8px;
    /* curved corners */
    padding: 10px 20px;
    /* comfortable clickable area */
    font-weight: 600;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

/* Hover effect */
.social-btn:hover {
    transform: scale(1.05);
    color: #ffffff;
}

/* Icon styling */
.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    /* makes icons white */
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-title {
        font-size: 50px;
    }

    .contact-form {
        width: 90%;
        margin: 0 auto;
    }

    .success-container {
        width: 90%;
        margin: 0 auto;
    }

    .contact-section {
        padding: 40px 15px;
        background-attachment: scroll;
    }

    .contact-section::before {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 40px;
    }

    .contact-form {
        width: 95%;
    }

    .success-container {
        width: 95%;
    }
} 
