@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local('Montserrat Regular'),
         local('Montserrat-Regular'),
         url('https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhzg.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

i {
    color: #fff;
}

/* ================= CAROUSEL ================= */

.carousel-item {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/95581/header.png');
    opacity: 0.8;
    height: 100%;
}

/* ================= FIXED CONTENT ================= */

.fixed-content {
    width: auto;
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding: 40px;
    text-align: center;
}

/* ================= HEADER ================= */

.header {
    position: relative;
    min-height: 350px;
    height: auto;

    background-image:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.90),
            rgba(30, 41, 59, 0.80)
        ),
        url('../img/bg4.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 15px;
    box-sizing: border-box;
}


/* Profile Image */

.header .port {
    width: 110px;
    height: 110px;

    object-fit: cover;
    border-radius: 50%;

    border: 4px solid #fff;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

    margin-bottom: 15px;

    transition: 0.3s ease;
}


/* Hover */

.header .port:hover {
    transform: scale(1.04);
}


/* Heading */

.header h1 {
    font-size: 30px;
    font-weight: 700;

    margin: 5px 0;

    color: #fff;
}


/* Paragraph */

.header p {
    font-size: 15px;
    color: #cbd5e1;

    margin: 5px 0;
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .header {
        min-height: 300px;
        padding: 35px 15px;
    }

    .header .port {
        width: 90px;
        height: 90px;
    }

    .header h1 {
        font-size: 25px;
    }

    .header p {
        font-size: 14px;
    }
}
/* ================= NAVBAR ================= */

.navbar {
    width: 100%;
    height: 58px;

    background: rgba(15, 23, 42, 0.96);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 35px;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(148, 163, 184, 0.15);

    box-sizing: border-box;
}


/* ================= LOGO ================= */

.logo {
    font-size: 22px;
    font-weight: 700;

    color: #ffffff;

    letter-spacing: 0.5px;

    transition: 0.3s ease;
}

.logo:hover {
    color: #60a5fa;
}


/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 24px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}


/* ================= LINKS ================= */

.nav-links a {
    position: relative;

    text-decoration: none;

    color: #cbd5e1;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 0;

    transition: 0.3s ease;
}


/* ================= HOVER ================= */

.nav-links a:hover {
    color: #60a5fa;
}


/* ================= UNDERLINE ================= */

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #60a5fa;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* ================= ACTIVE ================= */

.nav-links a.active {
    color: #60a5fa;
}

.nav-links a.active::after {
    width: 100%;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .navbar {
        height: auto;
        padding: 14px 20px;

        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .nav-links a {
        font-size: 13px;
    }
}


/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-links {
        gap: 10px 15px;
    }

    .nav-links a {
        font-size: 12px;
    }
}
/* =========================================================
   ICON ROW
========================================================= */

.icon-row {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

.icon-row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin: 0 7px;
    padding: 0;

    border-radius: 50%;

    background: #f1f5f9;
    color: #334155;

    font-size: 20px;
    cursor: pointer;

    transition: 0.3s ease;
}

.icon-row i:hover {
    background: #334155;
    color: #ffffff;
    transform: translateY(-4px);
}


/* =========================================================
   SECOND SECTION
========================================================= */

.second {
    width: 100%;
    background: #f1f5f9;
    color: #475569;
}


/* =========================================================
   PORTFOLIO & CONTACT HEADINGS
========================================================= */

#portfolio h2,
#contact h2 {
    font-size: 34px;
    font-weight: 700;

    margin: 0 0 15px;

    color: #1e293b;
}


/* =========================================================
   PANEL
========================================================= */

.panel {
    width: 100%;
    font-family: 'Indie Flower', cursive;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    background: #0f172a;
    color: #cbd5e1;

    padding: 35px 20px;
    text-align: center;

    box-sizing: border-box;
}

.footer .blue i {
    color: #cbd5e1;
}

.footer .blue i:hover {
    background: #60a5fa;
    color: #ffffff;
}

.footer .fa-chevron-up {
    cursor: pointer;
    font-size: 25px;

    margin: 20px 0 0;

    position: relative;
    top: 0;

    transition: 0.3s ease;
}

.footer .fa-chevron-up:hover {
    animation: up 1s infinite;
}


/* =========================================================
   UP ANIMATION
========================================================= */

@keyframes up {

    0% {
        top: 0;
    }

    25% {
        top: 5px;
    }

    50% {
        top: 0;
    }

    75% {
        top: 5px;
    }

    100% {
        top: 0;
    }
}


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

.certificates-section {
    width: 100%;
    padding: 70px 0;

    background: #f8fafc;

    box-sizing: border-box;
}

.certificates-section .container {
    width: 90%;
    max-width: 1170px;
    margin: auto;
}


/* ================= CERTIFICATE HEADING ================= */

.certificates-heading {
    text-align: center;
    margin-bottom: 45px;
}

.certificates-heading h2 {
    margin: 0 0 12px;

    font-size: 34px;
    font-weight: 700;

    color: #1e293b;
}

.certificates-heading hr {
    width: 55px;
    height: 3px;

    border: none;
    margin: 0 auto 15px;

    background: #60a5fa;
}

.certificates-heading p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
}


/* ================= CERTIFICATE GRID ================= */

.certificates-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    align-items: stretch;
}


/* ================= CERTIFICATE CARD ================= */

.certificate-card {
    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);

    transition: 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);

    border-color: #cbd5e1;
}


/* ================= CERTIFICATE IMAGE ================= */

.certificate-image {
    width: 100%;
    height: 210px;

    background: #f1f5f9;

    overflow: hidden;
}

.certificate-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: 0.4s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.04);
}


/* ================= CERTIFICATE CONTENT ================= */

.certificate-content {
    padding: 22px;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.certificate-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-bottom: 12px;

    border-radius: 50%;

    background: #334155;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s ease;
}

.certificate-card:hover .certificate-number {
    background: #60a5fa;
    transform: rotate(360deg);
}


/* ================= CERTIFICATE TITLE ================= */

.certificate-content h3 {
    margin: 0 0 8px;

    color: #1e293b;

    font-size: 19px;
    font-weight: 600;

    line-height: 1.4;

    transition: 0.3s ease;
}

.certificate-card:hover .certificate-content h3 {
    color: #3b82f6;
}


/* ================= CERTIFICATE DESCRIPTION ================= */

.certificate-content p {
    margin: 0 0 15px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


/* ================= YEAR ================= */

.certificate-year {
    display: inline-block;

    width: fit-content;

    margin-top: auto;

    padding: 5px 12px;

    border: 1px solid #cbd5e1;

    border-radius: 20px;

    color: #475569;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s ease;
}

.certificate-card:hover .certificate-year {
    background: #334155;
    border-color: #334155;
    color: #ffffff;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;

    background: #ffffff;

    padding: 70px 8%;

    color: #1e293b;

    box-sizing: border-box;
}


/* ================= CONTACT HEADING ================= */

.contact-heading {
    text-align: center;
    margin-bottom: 45px;
}

.contact-heading h2 {
    margin: 0 0 12px;

    font-size: 34px;
    font-weight: 700;

    color: #1e293b;
}

.contact-heading h2::before,
.contact-heading h2::after {
    content: "";

    display: inline-block;

    width: 35px;
    height: 2px;

    margin: 0 12px;

    vertical-align: middle;

    background: #cbd5e1;
}

.contact-heading p {
    max-width: 700px;

    margin: auto;

    color: #64748b;

    line-height: 1.7;
}


/* ================= CONTACT CONTAINER ================= */

.contact-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    align-items: start;
}


/* ================= CONTACT INFO ================= */

.contact-info {
    background: #f8fafc;

    padding: 30px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.contact-info h2,
.contact-form h2 {
    font-size: 24px;

    margin: 0 0 10px;

    color: #1e293b;
}

.contact-info > p,
.contact-form > p {
    color: #64748b;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* ================= INFO BOX ================= */

.info-box {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.icon {
    width: 45px;
    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e2e8f0;

    color: #334155;

    font-size: 18px;
}

.info-box h3 {
    margin: 0 0 4px;

    color: #334155;

    font-size: 15px;
}

.info-box p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
}


/* ================= CONTACT FORM ================= */

.contact-form {
    padding-top: 10px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #cbd5e1;

    background: #f8fafc;

    color: #1e293b;

    padding: 13px 15px;

    border-radius: 7px;

    outline: none;

    font-size: 14px;

    margin-bottom: 15px;

    transition: 0.3s ease;
}

.contact-form input {
    height: 48px;
}

.contact-form textarea {
    height: 130px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #60a5fa;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}


/* ================= BUTTON ================= */

.contact-form button {
    display: block;

    margin: 0 auto;

    padding: 12px 28px;

    border: none;

    border-radius: 25px;

    background: #334155;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #60a5fa;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(96, 165, 250, 0.25);
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 992px) {

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        gap: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .certificates-section {
        padding: 55px 0;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-image {
        height: 220px;
    }

    .contact-section {
        padding: 55px 5%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-heading h2 {
        font-size: 30px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    .certificates-section .container {
        width: 92%;
    }

    .certificates-heading h2 {
        font-size: 27px;
    }

    .certificate-image {
        height: 200px;
    }

    .certificate-content {
        padding: 20px;
    }

    .contact-heading h2 {
        font-size: 27px;
    }

    .contact-heading h2::before,
    .contact-heading h2::after {
        width: 20px;
        margin: 0 7px;
    }

    .contact-info {
        padding: 22px;
    }
}

/* =========================================================
   SKILLS SECTION - BACKGROUND & STYLE
========================================================= */

.colorlib-skills {
    width: 100%;
    padding: 70px 0;

    /* Change background here */
    background: #f1f5f9;

    color: #1e293b;

    box-sizing: border-box;
}


/* Skills heading */

.colorlib-skills h2 {
    color: #1e293b;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}


/* Heading line */

.colorlib-skills hr {
    width: 55px;
    height: 3px;

    border: none;
    margin-left: 0;

    background: #60a5fa;
    border-radius: 5px;
}


/* Description */

.colorlib-skills > .colorlib-narrow-content > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
}


/* Skill wrapper */

.colorlib-skills .progress-wrap {
    margin-bottom: 25px;
}


/* Skill name */

.colorlib-skills .progress-wrap h3 {
    color: #334155;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 8px;
}


/* Progress background */

.colorlib-skills .progress {
    height: 8px;

    background: #e2e8f0;

    border-radius: 20px;

    overflow: visible;

    box-shadow: none;
}


/* Progress bar */

.colorlib-skills .progress-bar {
    height: 8px;

    border-radius: 20px;

    background: #334155;

    position: relative;

    transition: width 1s ease;
}


/* Percentage */

.colorlib-skills .progress-bar span {
    position: absolute;

    right: 0;
    top: -25px;

    font-size: 12px;
    font-weight: 600;

    color: #475569;
}


/* =========================================================
   DIFFERENT SKILL COLORS
   Optional - keeps the bars visually interesting
========================================================= */

.colorlib-skills .color-1 {
    background: #60a5fa;
}

.colorlib-skills .color-2 {
    background: #818cf8;
}

.colorlib-skills .color-3 {
    background: #38bdf8;
}

.colorlib-skills .color-4 {
    background: #6366f1;
}

.colorlib-skills .color-5 {
    background: #3b82f6;
}

.colorlib-skills .color-6 {
    background: #06b6d4;
}

.colorlib-skills .color-7 {
    background: #0ea5e9;
}

.colorlib-skills .color-8 {
    background: #64748b;
}

.colorlib-skills .color-9 {
    background: #475569;
}

.colorlib-skills .color-10 {
    background: #2563eb;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .colorlib-skills {
        padding: 55px 20px;
    }

    .colorlib-skills h2 {
        font-size: 28px;
    }

    .colorlib-skills > .colorlib-narrow-content > p {
        font-size: 14px;
    }

    .colorlib-skills .progress-wrap {
        margin-bottom: 22px;
    }

    .colorlib-skills .progress-wrap h3 {
        font-size: 14px;
    }
}

/* =========================================================
   ABOUT / SERVICES SECTION
========================================================= */

.colorlib-about {
    width: 100%;
    padding: 65px 0;

    background: #f8fafc;

    box-sizing: border-box;
}


/* ================= CONTAINER ================= */

.colorlib-about .container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}


/* ================= SERVICE COLUMNS ================= */

.colorlib-about .col-sm-3 {
    padding: 12px;
}


/* ================= SERVICE CARD ================= */

.colorlib-about .services {
    min-height: 180px;

    padding: 30px 20px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* ================= HOVER ================= */

.colorlib-about .services:hover {
    transform: translateY(-7px);

    border-color: #bfdbfe;

    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.12);
}


/* ================= ICONS ================= */

.colorlib-about .icon2 {
    width: auto;
    height: auto;

    display: block;

    margin-bottom: 15px;

    background: transparent;

    color: #334155;

    font-size: 30px;

    /* Slightly move icons upward */
    transform: translateY(-4px);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* ================= ICON HOVER ================= */

.colorlib-about .services:hover .icon2 {
    background: transparent;

    color: #3b82f6;

    transform: translateY(-7px);
}


/* ================= SERVICE TITLE ================= */

.colorlib-about .services h3 {
    margin: 0;

    color: #1e293b;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;

    transition: color 0.3s ease;
}


/* ================= TITLE HOVER ================= */

.colorlib-about .services:hover h3 {
    color: #3b82f6;
}


/* ================= REMOVE LINK STYLE ================= */

.colorlib-about a {
    text-decoration: none;
    color: inherit;
}


/* ================= CARD ACCENTS ================= */

.colorlib-about .color-1 {
    border-top: 3px solid #60a5fa;
}

.colorlib-about .color-2 {
    border-top: 3px solid #818cf8;
}

.colorlib-about .color-3 {
    border-top: 3px solid #38bdf8;
}

.colorlib-about .color-4 {
    border-top: 3px solid #334155;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .colorlib-about {
        padding: 50px 0;
    }

    .colorlib-about .container {
        width: 92%;
    }

    .colorlib-about .col-sm-3 {
        width: 50%;

        float: left;

        padding: 8px;

        box-sizing: border-box;
    }

    .colorlib-about .services {
        min-height: 165px;

        padding: 25px 15px;
    }


    /* Icons without circles */

    .colorlib-about .icon2 {
        width: auto;
        height: auto;

        margin-bottom: 13px;

        background: transparent;

        font-size: 27px;

        transform: translateY(-4px);
    }


    /* Mobile icon hover */

    .colorlib-about .services:hover .icon2 {
        background: transparent;

        transform: translateY(-7px);
    }


    .colorlib-about .services h3 {
        font-size: 15px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    .colorlib-about .col-sm-3 {
        width: 100%;

        float: none;
    }

    .colorlib-about .services {
        min-height: 145px;
    }


    /* Keep icons without circles */

    .colorlib-about .icon2 {
        width: auto;
        height: auto;

        font-size: 27px;

        transform: translateY(-4px);
    }
}