/* General Styles */
:root {
    --primary-color: #2a9d8f;
    --secondary-color: #264653;
    --dark-color: #1d3557;
    --light-color: #e9f5f5;
    --success-color: #2a9d8f;
    --danger-color: #e76f51;
    --warning-color: #e9c46a;
    --info-color: #457b9d;
    --white-color: #fff;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444444;
    cursor: url('figmacursor2.svg'), auto;
    padding-top: 78px;
}

html {
    scroll-padding-top: 90px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #264653;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #e9f5f5;
}

.section-header {
    text-align: center;
    padding-bottom: 40px;
}

.section-header h2 {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-header p {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 38px;
    line-height: 42px;
    font-weight: 700;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .section-header p {
        font-size: 28px;
        line-height: 32px;
    }
}

/* Navbar */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.bg-dark {
    background-color: var(--secondary-color) !important;
}

.navbar-brand {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0.5px;
    color: var(--white-color) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(42, 157, 143, 0.5);
    transform: scale(1.05);
}

.section-anchor-hidden {
    display: none;
}

/* Hero Section */
.hero {     
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, rgba(42, 157, 143, 0.9) 0%, rgba(69, 123, 157, 0.9) 100%), url("") center center no-repeat;
    background-size: cover;
}

.hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    color: var(--white-color);
}

.hero h2 {
    color: rgba(255, 255, 255, 0.6);
    margin: 15px 0 0 0;
    font-size: 24px;
}

.hero .btn-get-started {
    margin-top: 30px;
    line-height: 1;
    padding: 15px 40px;
    border-radius: 4px;
    transition: var(--transition);
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(42, 157, 143, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-get-started span {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.hero .btn-get-started i {
    margin-left: 5px;
    font-size: 18px;
    transition: var(--transition);
}

.hero .btn-get-started:hover {
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(42, 157, 143, 0.6);
}

.hero .btn-get-started:hover i {
    transform: translateX(5px);
}

/* Button shine effect */
.hero .btn-get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.75s;
}

.hero .btn-get-started:hover::before {
    left: 100%;
}

.hero .btn-view-projects {
    margin-top: 30px;
    line-height: 1;
    padding: 15px 40px;
    border-radius: 4px;
    transition: var(--transition);
    color: var(--white-color);
    background: var(--primary-color);
}

.hero .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-view-projects span {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.hero .btn-view-projects:hover {
    background: var(--secondary-color);
}

.hero .hero-img {
    text-align: right;
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

@media (max-width: 991px) {
    .hero {
        height: auto;
        padding: 120px 0 60px 0;
    }
    .hero .hero-img {
        text-align: center;
        margin-top: 30px;
    }
    .hero .hero-img img {
        width: 60%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
        line-height: 36px;
    }
    .hero h2 {
        font-size: 20px;
        line-height: 24px;
    }
    .hero .hero-img img {
        width: 60%;
        max-width: 250px;
    }
}

/* Services Section */
.services .service-box {
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: var(--transition);
    background: var(--white-color);
    height: 100%;
    border-radius: 10px;
}

.services .service-box .service-icon {
    font-size: 36px;
    padding: 40px 20px;
    border-radius: 4px;
    position: relative;
    margin-bottom: 25px;
    display: inline-block;
    line-height: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.services .service-box h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    font-size: 22px;
    position: relative;
    display: inline-block;
    border-bottom: 4px solid #f6f9fe;
    transition: var(--transition);
}

.services .service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0 30px rgba(42, 157, 143, 0.4);
}

.services .service-box:hover h3 {
    border-color: var(--primary-color);
}

/* Projects/Portfolio Section */
.projects .portfolio-item {
    margin-bottom: 30px;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.projects .portfolio-wrap {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(45, 64, 95, 0.6);
    border-radius: 10px;
}

.projects .portfolio-wrap::before {
    content: "";
    background: rgba(45, 64, 95, 0.6);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
    border-radius: 10px;
}

.projects .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projects .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: var(--white-color);
    font-weight: 600;
}

.projects .portfolio-wrap .portfolio-info p {
    color: var(--white-color);
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.projects .portfolio-wrap .template-price {
    color: var(--warning-color);
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.projects .template-features {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.projects .feature-tag {
    background: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    font-weight: 500;
}

.projects .portfolio-wrap .portfolio-links {
    text-align: center;
    z-index: 4;
}

.projects .portfolio-wrap .portfolio-links a {
    color: var(--white-color);
    background: var(--primary-color);
    margin: 10px 5px 0 5px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.projects .portfolio-wrap .portfolio-links a:hover {
    background: var(--secondary-color);
}

.projects .portfolio-wrap .preview-btn {
    background: var(--info-color) !important;
}

.projects .portfolio-wrap .buy-btn {
    background: var(--success-color) !important;
}

.projects .portfolio-wrap .preview-btn:hover {
    background: var(--dark-color) !important;
    transform: scale(1.1);
}

.projects .portfolio-wrap .buy-btn:hover {
    background: var(--danger-color) !important;
    transform: scale(1.1);
}

.projects .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.projects .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.projects .portfolio-wrap:hover .portfolio-info::before {
    top: 15px;
    left: 15px;
}

.projects .portfolio-wrap:hover .portfolio-info::after {
    bottom: 15px;
    right: 15px;
}

/* Projects: Cards mode (no overlay, static content) */
.projects.cards-mode .portfolio-wrap {
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
}

.projects.cards-mode .portfolio-wrap::before {
    content: none;
}

.projects.cards-mode .portfolio-wrap img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.projects.cards-mode .portfolio-wrap .portfolio-info {
    position: static;
    opacity: 1;
    padding: 20px;
    background: var(--white-color);
    color: var(--dark-color);
    text-align: left;
}

.projects.cards-mode .portfolio-wrap .portfolio-info h4 {
    color: var(--dark-color);
}

.projects.cards-mode .portfolio-wrap .portfolio-info p {
    color: #555;
}

.projects.cards-mode .portfolio-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(42, 157, 143, 0.15);
}

.projects.cards-mode .portfolio-wrap .portfolio-links {
    margin-top: 10px;
}

.projects.cards-mode .portfolio-wrap .portfolio-links a {
    background: var(--primary-color);
}

.projects.cards-mode .portfolio-wrap .preview-btn:hover {
    background: var(--dark-color) !important;
}

.projects.cards-mode .portfolio-wrap .buy-btn:hover {
    background: var(--danger-color) !important;
}

/* Projects: List view in cards mode */
#projects.cards-mode.list-view .portfolio-container {
    row-gap: 1rem;
}

#projects.cards-mode.list-view .portfolio-item {
    width: 100%;
}

#projects.cards-mode.list-view .portfolio-item > .portfolio-wrap {
    display: flex;
    align-items: stretch;
}

#projects.cards-mode.list-view .portfolio-item img {
    width: 360px;
    height: auto;
}

#projects.cards-mode.list-view .portfolio-info {
    padding: 24px 24px;
}

@media (max-width: 992px) {
    #projects.cards-mode.list-view .portfolio-item img {
        width: 280px;
    }
}

@media (max-width: 768px) {
    #projects.cards-mode.list-view .portfolio-item > .portfolio-wrap {
        flex-direction: column;
    }
    #projects.cards-mode.list-view .portfolio-item img {
        width: 100%;
        height: 220px;
    }
    #projects.cards-mode.list-view .portfolio-info {
        padding: 20px;
    }
}

/* Projects: List view */
#projects.list-view .portfolio-container {
    row-gap: 1rem;
}

#projects.list-view .portfolio-item {
    width: 100%;
}

#projects.list-view .portfolio-item > .portfolio-wrap {
    display: flex;
    align-items: stretch;
}

#projects.list-view .portfolio-item img {
    width: 360px;
    height: 100%;
    object-fit: cover;
}

#projects.list-view .portfolio-info {
    padding: 30px;
    text-align: left;
}

@media (max-width: 992px) {
    #projects.list-view .portfolio-item img {
        width: 260px;
    }
}

@media (max-width: 768px) {
    #projects.list-view .portfolio-item > .portfolio-wrap {
        flex-direction: column;
    }
    #projects.list-view .portfolio-item img {
        width: 100%;
        height: 220px;
    }
    #projects.list-view .portfolio-info {
        padding: 20px;
    }
}

/* Blog Section */
.blog .blog-entry {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog .blog-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(42, 157, 143, 0.2);
}

.blog .blog-entry-img {
    overflow: hidden;
    height: 200px;
}

.blog .blog-entry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog .blog-entry-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog .blog-entry-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog .blog-entry-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog .blog-entry-content h3 a:hover {
    color: var(--primary-color);
}

.blog .blog-entry-meta {
    margin-bottom: 15px;
}

.blog .blog-entry-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blog .blog-entry-meta li {
    font-size: 13px;
    color: #777;
}

.blog .blog-entry-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog .blog-entry-content p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.blog .read-more {
    margin-top: auto;
}

.blog .read-more a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog .read-more a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog .read-more i {
    transition: var(--transition);
}

/* About Section */
.about {
    padding: 40px 0;
}

.about .section-header {
    padding-bottom: 20px;
}

.about .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: none;
    margin-bottom: 20px;
}

/* Contact Section */
.contact .info-box {
    color: var(--dark-color);
    background: var(--white-color);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: var(--primary-color);
}

.contact .info-box h3 {
    font-size: 20px;
    color: var(--dark-color);
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .contact-form {
    background: var(--white-color);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.contact .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact .contact-form button {
    border: 0;
    padding: 10px 30px;
    color: var(--white-color);
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 4px;
}

.contact .contact-form button:hover {
    background: var(--secondary-color);
}

/* Footer */
.footer {
    background: #f6f9fe;
    padding: 30px 0;
    font-size: 14px;
}

.footer .copyright {
    text-align: center;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 995;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: var(--transition);
}

.back-to-top i {
    font-size: 24px;
    color: var(--white-color);
    line-height: 0;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 100px 0 60px 0;
    }
    
    .hero .hero-img img {
        width: 70%;
        margin: 0 auto;
        display: block;
    }
    
    .section-header p {
        font-size: 32px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 32px;
    }
    
    .hero h2 {
        font-size: 18px;
        line-height: 22px;
    }
    
    .contact .info-box {
        padding: 20px;
    }
    
    .contact .contact-form {
        padding: 20px;
    }
    
    .navbar-collapse {
        background-color: var(--secondary-color);
        padding: 15px;
        border-radius: 5px;
    }
    
    .section-header p {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .services .service-box {
        padding: 30px 20px;
    }
    
    .hero .btn-get-started,
    .hero .btn-view-projects {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .about .section-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        right: 10px;
        bottom: 10px;
        width: 30px;
        height: 30px;
    }
} 
