/*
Theme Name: NovaTech - Modern IT Solutions & Agency Template
Theme URI: https: //github.com/aungkyawsoe1m/novatech-template
Author: Aung Kyaw Soe
Author URI: https://github.com/yourusername
Description: High-quality, responsive HTML5 template designed for IT Services and Creative Agencies.
Version: 1.0
License: MIT License
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Variables & Base Styles
2. Top Header 
3. Navbar
4. Hero Section
5. About Section
6. Services Section
7. Gallery Section
8. Contact Section
9. Footer
10. Back to Top
--------------------------------------------------------------*/


/* Variables & Base Styles */
:root {
    --primary-color: #1e40af;
    --secondary-color: #fab909;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    display: flex;
    gap: 8px;
}

.loader span {
    width: 15px;
    height: 15px;
    background-color: #0033ad;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader span:nth-child(3) {
    animation-delay: 0.4s;
}

.loader span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-20px);
        opacity: 0.5;
    }
}

/* Top Header Style */
.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 14px;
}

.header-info span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.header-info i {
    font-size: 0.85rem;
}

.header-socials a {
    color: var(--white);
    font-size: 13px;
    opacity: 0.8;
}

.header-socials i {
    font-size: 1rem;
    transition: var(--transition);
}

.header-socials a:hover {
    opacity: 1;
    transform: scale(1.1);
}


/* Navbar Style */
.navbar {
    background: var(--white);
    padding: 20px 0;
}

.sticky-top {
    top: 0;
}

.navbar.navbar-scrolled {
    background-color: #fff !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-size: 27px;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

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

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

.btn-primary-custom {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:hover {
    color: var(--white);
}

.text-info {
    color: var(--white) !important;
}

@media (max-width: 991px) {
    .nav-btn {
        text-align: center;
        padding-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        text-align: center;
    }
}


/* Hero Section Style */
.hero-section {
    padding: 100px 0;
    background-color: #f9fbff;
    overflow: hidden;
}

.text-primary-color {
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
}

.hero-img-wrapper {
    position: relative;
    text-align: center;
}

.rounded-circle-custom {
    width: 100%;
    border-radius: 50% 50% 30% 70% / 50% 50% 50% 50%;
    box-shadow: 20px 20px 60px rgba(30, 64, 175, 0.1);
    position: relative;
    z-index: 2;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        padding-right: 0;
    }
}


/* About Section Styles */
.about-img-container {
    padding-bottom: 50px;
    padding-right: 50px;
}

.img-1 {
    width: 80%;
    z-index: 1;
    position: relative;
}

.img-2 {
    width: 60%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid var(--white);
}

.exp-box {
    position: absolute;
    top: 50%;
    right: 10%;
    background: var(--white);
    z-index: 3;
    border-radius: 10px;
    min-width: 140px;
}

.exp-box h3 {
    color: var(--primary-color);
}

.about-section p {
    line-height: 1.8;
}

.icon-circle {
    min-width: 45px;
    height: 45px;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}

.signature-font {
    font-size: 24px;
    margin-bottom: -5px;
    opacity: 0.8;
}

.founder-avatar img {
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.signature-section {
    position: relative;
    transition: var(--transition);
}

.signature-section:hover {
    transform: translateX(10px);
}

/* Services Section Styles */
.services-section {
    background-color: #f8faff;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid #f1f1f1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    transition: all 0.4s ease;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 64, 175, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.service-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2) !important;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-link {
    color: #fff !important;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/*Gallery Section Styles */
.gallery-item {
    cursor: pointer;
    height: 300px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    z-index: 2;
}

.gallery-overlay div {
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay div {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.gallery-filter .btn {
    border-radius: 50px;
    padding: 8px 25px;
    margin: 5px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.gallery-filter .btn.active,
.gallery-filter .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.is-animated {
    transform: scale(0.7);
    opacity: 0;
}

/*Contact Section Styles */
.contact-section {
    background-color: #f8faff;
}

.contact-form-card {
    border: 1px solid #edf2f7;
}

.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.map-container {
    width: 100%;
    height: 500px;
    background: #eee;
}

#map-box iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/*Footer Section Styles */
.footer-links a:hover {
    color: #ffc107 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffc107;
    color: var(--primary-color) !important;
    transform: translateY(-5px);
}

/*Back to Top Section Styles */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px);
}
