/* Grab Writer - Assignment Helper (Responsive Version)
   Author: aStylers, Modified for Responsiveness
*/

/* Variable */
:root {
    --primary-color: #415678;
    --text-color: #717e96;
    --dark-color: #020312;
    --light-bg: #f8f8fc;
    --white: #fff;
}

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800;900&display=swap");

/* General */
body {
    background: #f0fff0;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    font-family: 'Heebo', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    margin: 0;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    color: var(--dark-color);
}

h1 { font-size: clamp(28px, 5vw, 36px); }
h2 { font-size: clamp(24px, 4.5vw, 32px); }
h3 { font-size: clamp(22px, 4vw, 28px); }
h4 { font-size: clamp(20px, 3.5vw, 24px); }
h5 { font-size: clamp(18px, 3vw, 20px); }
h6 { font-size: clamp(16px, 2.8vw, 18px); }

a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    opacity: 0.8;
}

a p {
    color: var(--text-color);
}

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

.row {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

/* Button */
.button {
    background: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 5px;
    color: var(--white);
    margin-top: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.button:hover {
    color: var(--white);
    opacity: 0.7;
}

.button.button-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--dark-color);
}

.button.button-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Section */
.section {
    padding: clamp(50px, 8vw, 80px) 0;
}

.section-bottom-only {
    padding-bottom: clamp(50px, 8vw, 80px);
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title .title-top {
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-size: clamp(16px, 2.5vw, 18px);
}

.section-title h3 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
}

/* Navbar */
.navbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar .navbar-brand img {
    width: clamp(45px, 10vw, 55px);
    margin-right: 10px;
}

.navbar .navbar-nav li {
    padding: 0 8px;
}

.navbar .navbar-nav li .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
}

.navbar .navbar-nav li:hover .nav-link {
    color: var(--primary-color);
}

.navbar .navbar-toggler {
    border: none;
    font-size: 24px;
}

.navbar.navbar-fixed {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Home Intro */
.home-intro {
    padding: clamp(100px, 20vw, 150px) 0 clamp(50px, 10vw, 80px);
}

.home-intro .content h2 {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.home-intro .content h2 .color-highlight {
    color: var(--primary-color);
}

.home-intro .content-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.home-intro ul li {
    display: inline-block;
    margin-right: 10px;
}

/* About Us */
.about .content-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.about .content h3 {
    margin-bottom: 20px;
    font-size: clamp(24px, 5vw, 32px);
}

.about .content ul li {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.about .content ul li .circle-list {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    background: var(--primary-color);
    display: inline-block;
}

/* Process Work */
.process-work .content {
    text-align: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.process-work .content:hover {
    background: var(--primary-color);
}

.process-work .content:hover i,
.process-work .content:hover h5,
.process-work .content:hover p {
    color: var(--white);
}

.process-work .content i {
    font-size: clamp(40px, 8vw, 50px);
    color: var(--primary-color);
}

.process-work .content h5 {
    margin: 10px 0;
}

/* Portfolio */
.portfolio .portfolio-filter-menu {
    text-align: center;
    margin-bottom: 20px;
}

.portfolio .portfolio-filter-menu ul li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-size: 15px;
}

.portfolio .portfolio-filter-menu ul li.active {
    color: var(--primary-color);
    font-weight: 700;
}

.portfolio .content-image {
    position: relative;
    overflow: hidden;
}

.portfolio .content-image img {
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.portfolio .content-image .image-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--white);
}

.portfolio .content-image .image-overlay {
    background: var(--dark-color);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.portfolio .content-image:hover .image-caption {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio .content-image:hover .image-overlay {
    opacity: 0.7;
}

.portfolio .content-image:hover img {
    transform: scale(1.05);
}

/* Services */
.services .content {
    text-align: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.services .content:hover {
    background: var(--primary-color);
}

.services .content:hover i,
.services .content:hover h5,
.services .content:hover p {
    color: var(--white);
}

.services .content .serv-icon {
    position: relative;
    display: inline-block;
}

.services .content i {
    font-size: clamp(40px, 8vw, 50px);
    color: var(--primary-color);
}

.services .content .clone-icon i {
    position: absolute;
    top: 5px;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.services .content:hover .clone-icon i {
    opacity: 0.2;
}

/* Words */
.words-section .content {
    background: var(--text-color);
    padding: 30px;
    border-radius: 10px;
}

.words-section .content h4 {
    font-size: clamp(22px, 4.5vw, 28px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.words-section .content .button-wrap {
    text-align: center;
}

/* Contact */
.contact .content h5 {
    margin: 20px 0 10px;
}

.contact .content-right {
    text-align: center;
}

/* Form */
form input,
form textarea {
    border: 1px solid #f5f5f5;
    background: #f5f5f5;
    padding: 12px 15px;
    width: 100%;
    color: #aaa;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--dark-color);
    padding: clamp(50px, 8vw, 80px) 0;
}

footer .brand img {
    width: clamp(45px, 10vw, 55px);
}

footer h5 {
    color: var(--white);
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: var(--text-color);
}

footer ul.social li a i {
    margin-right: 8px;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--dark-color);
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #23375b;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .home-intro .content h2 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .navbar .navbar-nav {
        background: var(--white);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .navbar .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .home-intro {
        padding: clamp(80px, 15vw, 100px) 0 clamp(40px, 8vw, 60px);
    }

    .home-intro .content-image {
        margin-top: 30px;
    }

    .services .content,
    .process-work .content {
        margin-bottom: 15px;
    }

    .words-section .content {
        text-align: center;
    }

    .words-section .content .button-wrap {
        margin-top: 20px;
    }

    .portfolio .portfolio-filter-menu ul li {
        margin: 0 10px;
        font-size: 14px;
    }

    .contact form {
        margin-top: 30px;
    }

    footer .content {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .home-intro .content h2 {
        font-size: clamp(24px, 8vw, 30px);
    }

    .section-title h3 {
        font-size: clamp(20px, 6vw, 26px);
    }

    .button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .portfolio .content-image img {
        border-radius: 8px;
    }

    .services .content i,
    .process-work .content i {
        font-size: clamp(35px, 7vw, 40px);
    }
}