/*--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root {
    --background-color: #ffffff;
    --default-color: #272829;
    --heading-color: #050d18;
    --accent-color: #149ddd;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #a8a9b4;
    --nav-hover-color: #ffffff;
    --nav-mobile-background-color: #040b14;
    --nav-dropdown-background-color: #040b14;
    --nav-dropdown-color: #a8a9b4;
    --nav-dropdown-hover-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    margin: 0;
    overflow-x: hidden;
    /* âœ… ensure no horizontal scrollbar */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Header & Navbar
--------------------------------------------------------------*/
#header {
    width: 100%;
    background: #1b3058;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 999;
}

/* Profile Logo */
.profile-img img {
    object-fit: contain;
    height: 60px;
    width: auto;
}

/* Site Logo */
.logo {
    display: flex;
    align-items: center;
    margin-left: 10px;
    color: white;
    text-decoration: none;
}

.logo h1 {
    font-size: 22px;
    font-weight: bold;
    margin: 0px 1px 0px -24px;
    color: white;
    white-space: nowrap;
}

/* Navmenu */
.navmenu {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 3%;
}

.navmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navmenu ul li {
    position: relative;
}

.navmenu ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 10px;
    transition: background 0.3s;
    border-radius: 5px;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown */
.navmenu .dropdown ul {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #1b3058;
    padding: 10px 0;
    border-radius: 5px;
    min-width: 180px;
    z-index: 10;
}

.navmenu .dropdown:hover ul {
    display: block;
}

.navmenu .dropdown ul li a {
    display: block;
    padding: 8px 15px;
    color: white;
    transition: all 0.3s ease;
}

.navmenu .dropdown ul li a:hover {
    background: #ffffff;
    color: #1b3058;
}

/* Social Links */
.navmenu .social-links {
    margin-left: 15px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffc107;
}

/* ===== Mobile Responsive ===== */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    margin-left: 15px;
}

@media (max-width: 992px) {
    #header {
        flex-wrap: nowrap;
    }

    .logo {
        flex: 1;
    }

    .logo h1 {
        margin-left: 10%;
    }

    .navmenu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #1b3058;
        flex-direction: column;
        transition: 0.3s;
        padding: 20px 0;
        text-align: center;
    }

    .navmenu.active {
        left: 0;
    }

    .navmenu ul {
        flex-direction: column;
        gap: 12px;
    }

    .navmenu .social-links {
        margin: 15px 0 0 0;
        justify-content: center;
    }

    .mobile-nav-toggle {
        display: block;
        margin-right: 5%;
    }
}

/* Fix dropdown for mobile */
.navmenu .dropdown ul {
    display: none;
}

.navmenu .dropdown.active>ul,
.navmenu .dropdown ul.dropdown-active {
    display: block;
}

.navmenu .dropdown.active>a .toggle-dropdown {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/*--------------------------------------------------------------
# Hero Section

--------------------------------------------------------------*/

.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    background: url("../img/hero-bg.jpg") center center / cover no-repeat;
    justify-content: flex-start;
    text-align: left;
    padding-left: 8%;
    box-sizing: border-box;
    /* âœ… prevent padding from causing overflow */
    overflow-x: hidden;
    /* âœ… stop horizontal scroll */
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(27, 48, 88, 0.3);
    /* blue overlay */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    /* text above overlay */
}

.hero h2 {
    margin: 0;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    /* white heading */
}

.hero p {
    margin: 5px 0 0 0;
    font-size: 26px;
    color: #ffffff;
    /* white text */
}

.hero p span {
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-color);
    color: #ffc107;
    /* yellow typing text */
}

.hero .social-links {
    margin-top: 25px;
}

.hero .social-links a {
    font-size: 24px;
    display: inline-block;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    line-height: 1;
    margin-right: 20px;
    transition: 0.3s;
}

.hero .social-links a:hover {
    color: var(--accent-color);
}

/*---Cursor typing css -----------*/
/* Typing cursor blink */
.typed-cursor {
    display: inline-block;
    margin-left: 2px;
    font-weight: bold;
    color: #fff;
    /* adjust if background is light */
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    margin-top: 20px;
    padding-top: 0;
}

.about h2 {
    padding-bottom: 1%;
    margin-bottom: 0;
}

.section-title {
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
}

.section-title p {
    margin-bottom: 0;
    padding: 14px 0;
}



.about .section-title {
    text-align: right;
    /* âœ… align heading to the right */
    margin-bottom: 40px;
}


.about .section-title h2 {
    display: inline-block;
    position: relative;
    font-weight: 700;
    font-size: 28px;
    margin-right: 10%;
}

.about .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    right: 0;
    /* âœ… underline aligned to right */
    bottom: -8px;
}

.about .about-img {
    float: left;
    /* âœ… image floats left */
    margin: 7px 37px 22px 38px;
    /* space right + bottom */
    width: 372px;
    /* fixed width */
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border: 3px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .about-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.about .content p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #1b3058;
    text-align: justify;
    width: 90%;
    margin: auto;
}

/* Responsive: reset float */
@media (max-width: 768px) {}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        text-align: center;
        /* âœ… center title on small screens */
    }

    .section-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about .about-img {
        float: none;
        width: 90%;
        margin: 0 auto 20px auto;
        display: block;
    }

    .about .content {
        text-align: justify;
        font-size: 15px;
    }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* âœ… allows wrapping on small screens */
    gap: 20px;
    /* spacing between items */
    margin-top: 7%;
}

.stats-item {
    flex: 1 1 200px;
    /* min width 200px, will shrink/grow */
    text-align: center;
    padding: 20px;
}

.stats .stats-item {
    color: var(--accent-color);
    font-size: 40px;
    text-align: center;
    /* âœ… center everything */
    padding: 30px 20px;
}

.stats .stats-item .purecounter {
    color: var(--heading-color);
    font-size: 42px;
    font-weight: 700;
    display: block;
    margin: 5px 0;
}

.stats .stats-item p {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 15px;
    color: #555;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

/* Portfolio Section */
.portfolio {
    background-color: #f4fafd;
    padding: 52px 5%;
}

.portfolio h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: left;
}

.portfolio p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 5%;
}

/* Filters */
.portfolio-filters {
    padding: 0;
    margin: 0 auto 30px auto;
    list-style: none;
    text-align: center;
}

.portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    margin: 0 12px 10px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
    color: #007bff;
}

/* Project Grid */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 95%;
    margin: auto;
}

.portfolio-item {
    transition: all 0.4s ease;
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    display: none;
}

/* Card */
.portfolio-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s, opacity 0.35s;
    display: block;
}

.portfolio-content:hover .portfolio-img img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Overlay info */
.portfolio-info {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    text-align: center;
}

.portfolio-content:hover .portfolio-info {
    opacity: 1;
    visibility: visible;
}

.portfolio-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    background-color: #007bff;
    border-radius: 4px;
}

.portfolio-info p {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-info .preview-link,
.portfolio-info .details-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #fff;
    transition: 0.3s;
}

.portfolio-info .preview-link {
    left: calc(50% - 40px);
}

.portfolio-info .details-link {
    left: 50%;
    font-size: 32px;
}

.portfolio-info .preview-link:hover,
.portfolio-info .details-link:hover {
    color: #007bff;
}

/* =====================
       RESPONSIVE DESIGN
       ===================== */
@media (max-width: 992px) {
    .portfolio h2 {
        font-size: 24px;
    }

    .portfolio p {
        font-size: 15px;
    }

    .project-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .portfolio h2 {
        font-size: 22px;
    }

    .portfolio p {
        font-size: 14px;
    }

    .project-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }

    .portfolio-info p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .portfolio h2 {
        font-size: 20px;
        text-align: center;
    }

    .portfolio p {
        font-size: 14px;
        text-align: center;
    }

    .portfolio-filters li {
        font-size: 12px;
        margin: 0 8px 8px;
    }

    .project-container {
        grid-template-columns: 1fr;
        /* stack items */
        gap: 16px;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    position: relative;
}

.services {
    padding: 10px 88px;
}

.services h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    /* space below heading */
    text-align: left;
    /* align left */
    margin-right: 5%;

}

.services p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    /* align left */
    margin-bottom: 5%;
    /* reset default margin */
    /* optional: control paragraph width */
}

.services .service-item .icon {
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    transition: 0.5s;
    border: 1px solid var(--accent-color);
    margin-right: 20px;
}

.services .service-item .icon i {
    color: var(--contrast-color);
    font-size: 24px;
    line-height: 0;
}

.services .service-item:hover .icon {
    background: var(--surface-color);
}

.services .service-item:hover .icon i {
    color: var(--accent-color);
}

.services .service-item .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services .service-item .title a {
    color: var(--heading-color);
}

.services .service-item .title a:hover {
    color: var(--accent-color);
}

.services .service-item .description {
    line-height: 24px;
    font-size: 14px;
}

.services .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    /* spacing between items */
    justify-content: center;
    /* or flex-start */
}

.services .service-item {
    flex: 1 1 calc(33.33% - 30px);
    /* 3 per row */
    max-width: calc(33.33% - 30px);
}

@media (max-width: 992px) {
    .services .service-item {
        flex: 1 1 calc(50% - 30px);
        /* 2 per row on tablets */
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .services .service-item {
        flex: 1 1 100%;
        /* 1 per row on mobile */
        max-width: 100%;
    }

    .services {
        padding: 0px 16px;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
    padding: 60px 80px;
    background-color: #f4fafd;
}

.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    text-align: center;
    min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #0d6efd;
    /* accent color */
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 15px 15px 15px;
    padding: 20px;
    background-color: #fff;
    position: relative;
    margin-bottom: 35px;
    border-radius: 6px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid #fff;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #0d6efd;
    /* accent */
    margin: 0 4px;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #0d6efd;
    /* active */
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 40px 20px;
    }
}

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding: 60px 40px;
}

.contact .container {
    padding-bottom: 1%;
}

.contact .contact-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 10px;
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
}

/* Left Side - Info */
.contact .info-wrap {
    flex: 1;
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    margin-left: 5%;
    border-radius: 12px;
}

.contact .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact .info-item i {
    font-size: 22px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
    transition: 0.3s;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .info-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    font-size: 14px;
    margin: 0;
}

.contact img {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    background: none;
}

/* Right Side - Form */
.contact .php-email-form {
    flex: 2;
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    margin-right: 5%;
    border-radius: 12px;
}

.contact .php-email-form .form-row {
    display: flex;
    flex-wrap: wrap;
    /* allow inputs to wrap */
    gap: 20px;
    margin-bottom: 20px;
}

.contact .php-email-form .form-row input {
    flex: 1 1 calc(50% - 20px);
    /* two per row */
    min-width: 200px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    width: 100%;
    font-size: 14px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    background: var(--surface-color);
    color: var(--default-color);
    box-sizing: border-box;
}

.contact .php-email-form textarea {
    min-height: 150px;
    resize: none;
    margin-bottom: 20px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* === Button === */
.php-email-form .output-button {
    text-align: center;
    margin-top: 12px;
}

.php-email-form .output-button button {
    padding: 12px 22px;
    background-color: #1b3058;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #1b3058;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.php-email-form .output-button button:hover {
    background: white;
    color: #1b3058;
    border-color: #1b3058;
}

/* âœ… Responsive Fixes */
@media (max-width: 992px) {
    .contact {
        padding: 40px 20px;
    }

    .contact .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact .info-wrap,
    .contact .php-email-form {
        margin: auto;
        width: 84%;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 30px 15px;
        width: 85%;
        margin: auto;

    }

    .contact .php-email-form .form-row input {
        flex: 1 1 100%;
        /* one per row */
        min-width: 100%;
    }
}

.php-email-form .error-message {
    display: none;
    color: #df1529;
    text-align: left;
    margin-bottom: 24px;
    font-weight: 500;
}

/*************Enquiry form*************************/
/* === Form Container === */
.Enquiry-form-student-professional {
    width: 70%;
    max-width: 450px;
    margin: 30px auto;
    /* margin-left: 471px; */
    /* adjust if sidebar exists */
    padding: 25px 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-top: 9%;
}

/* Subtle hover elevation */
.Enquiry-form-student-professional:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* === Form Heading === */
.student-project h1 {
    text-align: center;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    color: #1b3058;
    position: relative;
    letter-spacing: 0.5px;
}

.student-project h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #357ab8);
    margin: 8px auto 0;
    border-radius: 3px;
}

/* === Form Fields === */
.student-project-form {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Inputs */
.student-project-form input,
.student-project-form textarea {
    flex: 1 1 calc(50% - 12px);
    min-width: 150px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    background: #f9fafc;
    transition: all 0.3s ease;
    color: #333;
}

/* Focus states */
.student-project-form input:focus,
.student-project-form textarea:focus {
    border: 1px solid #1b3058;
    background: #fff;
    box-shadow: 0 0 6px rgba(74, 144, 226, 0.3);
    outline: none;
}

/* Labels above fields */
.student-project-form input::placeholder,
.student-project-form textarea::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* Make textarea full width */
.student-project-form textarea {
    flex: 1 1 100%;
    min-height: 90px;
    resize: vertical;
    border-radius: 12px;
}

/* === Button === */
.output-button {
    text-align: center;
    margin-top: 12px;
}

.output-button button {
    padding: 12px 22px;
    background-color: #1b3058;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #1b3058;
    border-radius: 12px;
    cursor: pointer;
}

.output-button button:hover {
    background: white;
    color: #1b3058;
    border-color: #1b3058;
}

.student-project-form .error {
    color: red;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

/* === Responsive === */
@media (max-width: 1196px),
(max-width: 992px) {
    .Enquiry-form-student-professional {
        max-width: 85%;
        margin: 107px auto;
    }

    .student-project-form input,
    .student-project-form textarea {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .Enquiry-form-student-professional {
        width: 92%;
        padding: 18px;
    }

    .student-project h1 {
        font-size: 19px;
    }

    .output-button button {
        width: 100%;
        font-size: 14px;
    }
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Footer Styling */
.footer {
    background: #1b3058;
    color: #fff;
    padding: 50px 20px 20px;
    font-family: "Segoe UI", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 14px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #ddd;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 60%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ffcc00;
    color: #1b3058;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    color: #bbb;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.scroll-top i {
    color: var(--contrast-color);
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
    /* smooth slide-up */
}