/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* FOR ALL PAGES */
* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0f0f;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    display: inline-block; 
    transition: transform 0.25s ease;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;--bs-text-opacity: 1;
}

a:hover {
    transform: translateY(-4px) scale(1.05);
}

.top-nav {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    animation: fadeInUp 1.5s ease-out forwards; 
}

.nav-links {
    animation: fadeInUp 1.5s ease-out forwards; 
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 400;
    transition: 0.3s;
    color: white;
    font-size: 18px;
    }

.nav-links a:hover {
        opacity: 1;
    }

footer {
    padding: 4rem 8%;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}


/* MAIN PAGE --------------------------------------------------------------------------------------------------------------------------------------*/
  .hero-container {
    position: relative;
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; 
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    z-index: 1;
    height: 100%;
    width: 100%;
    margin-top: 20%;
    font-size: 30px;
    margin-left: 1%;
     animation: fadeInUp 1.5s ease-out forwards; 
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #0056B3;
    color: #FFF;
    border: none;
    padding: 1rem 3rem;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.98s ease;
    box-shadow: 0px 4px 15px rgba(0, 168, 255, 0.7);
}

.hero-divider {
    height: 10vh;
    background: linear-gradient(
        to bottom,
        transparent,
        #0f0f0f
    );
}

/* Growth Section */
.growth {
    position: relative;
    display: flex;
    height: 50vh;
    width: 100%;
    align-items: center;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 0;
    z-index: 1;
    padding-bottom: 120px;
}

.growth-header {
    font-size: 2rem;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1%;
}

.growth-hero {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.growth-item {
    flex: 1;                
    max-width: 700px;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.growth-item.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.growth-item:nth-child(1) { animation-delay: 0.1s; }
.growth-item:nth-child(2) { animation-delay: 0.2s; }
.growth-item:nth-child(3) { animation-delay: 0.3s; }

.growth-item h3 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.growth-item p {
    font-size: 1rem;
    opacity: 0.85; 
    text-align: left; 
}
.growth-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}

.growth-cta {
    margin-top: 80px;
    z-index: 2;
    position: relative;
}

.section-divider {
    height: 120px;
    background: linear-gradient(
        to bottom,
        transparent,
        #0f0f0f
    );
}

.sub-section {
    background: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
    border-radius: 16px;
    margin: 60px auto;
    max-width: 800px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
     margin-top: 140px;
    padding-bottom: 4rem;
}

.sub-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.sub-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.sub-section .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: #0056B3;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-section .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.7);
}

/* WORK PAGE ---------------------------------------------------------------------------------------------------------------------------------*/
.work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.projects-hero {
    padding: 160px 20px 80px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out forwards; 
}

.projects-hero h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
}

.projects-hero p {
    font-size: 18px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; 
}

.card.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card .btn {
    margin-top: auto;
    background-color: #0056B3;
    color: #FFF;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0px 4px 15px rgba(0,168,255,0.7);
    transition: transform 0.3s ease;
}

.card .btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }
.card:nth-child(10){ animation-delay: 1s; }

/* SERVICES PAGE ----------------------------------------------------------------------------------------------------------------------- */
.service {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.block {
     opacity: 0;
    flex: 1;
    max-width: 550px;
    min-width: 280px;

    background: #1a1a1a;
    border-radius: 16px;
    padding: 50px 40px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.block.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.block:nth-child(1) { animation-delay: 0.1s; }
.block:nth-child(2) { animation-delay: 0.2s; }
.block:nth-child(3) { animation-delay: 0.3s; }
.block:nth-child(4) { animation-delay: 0.4s; }
/* Title section */
.block-title {
    margin-bottom: 2rem;
}

.block-title h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.block-title h4 {
    margin-bottom: 15px;
}

.price {
    font-size: 1.6rem;
    font-weight: bold;
}

.block-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.block-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.block-info li {
    margin-bottom: 10px;
}

.block-info .btn {
    margin-top: auto;
}

/* Hover lift */
.block:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}


/* CONTACT PAGE ------------------------------------------------------------------------------------------------------------------------------------*/

.contact-hero {
    text-align: center;
    padding: 120px 20px 60px 20px;
}

.contact-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    max-width: 700px;
    margin: 100px auto;
    padding: 40px;
    background: #1a1a1a;
    border-radius: 16px;
    text-align: center;
    animation: fadeIn 0.8s ease-out forwards;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.85;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-info li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: #00A8FF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
/* ABOUT PAGE ------------------------------------------------------------------------------------------------------------------------------*/
.about {
   background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.about-hero {
    text-align: center;
    padding: 8rem 2rem 4rem 2rem;
    animation: fadeInUp 1s ease forwards;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.85;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    padding: 4rem 2rem;
}

.about-content .text {
    max-width: 600px;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease forwards;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}


.about-content .image img {
    width: 450px;
    border-radius: 16px;
    border: 2px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease forwards;
}




/* ----------------------------------
   MEDIA QUERIES
------------------------------------*/

/* Laptops / small desktops (max-width: 1366px) */
@media (max-width: 1366px) {

    /* HERO FIX */
   .hero-container {
    min-height: 85vh;
    padding-bottom: 12vh;
    align-items: flex-start;
}

    .hero-content {
        margin-top: 0;               
        max-width: 900px;
        font-size: 26px;
         padding: 8vh 6vw 14vh;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 520px;
    }

    .growth {
        height: auto; 
        margin-top: 15vh;
        margin-bottom: 12vh;
        padding: 0 5vw;
    }

    .growth-header {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .growth-hero {
        gap: 30px;
    }

    .growth-item {
        max-width: 600px;
        padding: 40px 35px;
    }

    .growth-item h3 {
        font-size: 1.8rem;
    }

}
 .section-divider {
        height: 50vh;
    }

.sub-section {
    margin-top: 5%;
}

/* Small laptops / tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content {
        font-size: 26px;
        margin-top: 15%;
    }

    .growth {
        height: auto;
        padding: 2rem 1rem;
        padding-bottom: 12rem;
    }

    .growth-hero {
        flex-direction: column;
        gap: 2rem;
    }

    .growth-item {
        max-width: 90%;
        padding: 40px 30px;
    }
 .section-divider {
        height: 60vh;
    }

    .sub-section {
        padding: 60px 20px;
        max-width: 90%;
    }

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

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

    .about-content {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .about-content .text {
        max-width: 90%;
        padding: 1.5rem;
    }

    .about-content .image img {
        width: 80%;
    }

    .projects-hero h1 {
        font-size: 44px;
    }

    .projects-hero p {
        font-size: 16px;
    }

    .work {
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .service {
        gap: 1.5rem;
    }

    .block {
        padding: 40px 25px;
    }

    .contact-hero {
        padding: 100px 20px 40px 20px;
    }

    .contact-info {
        padding: 30px;
        max-width: 90%;
    }
}

/* Tablets / large phones (max-width: 768px) */
@media (max-width: 768px) {
    .top-nav {
        padding: 1rem 0.5rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav-links a {
        font-size: 16px;
        margin-left: 1rem;
    }

    .hero-content {
        font-size: 22px;
        margin-top: 12%;
        padding: 0 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 18px;
    }
    
.growth {
    padding-bottom: 16rem;
}
    .growth-item {
        padding: 30px 25px;
    }

     .section-divider {
        height: 70vh;
    }

    .sub-section {
        padding: 50px 15px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-content .text {
        padding: 1rem 1.5rem;
    }

    .about-content .image img {
        width: 70%;
    }

    .projects-hero h1 {
        font-size: 36px;
    }

    .projects-hero p {
        font-size: 15px;
    }

    .card {
        padding: 1rem;
    }

    .block {
        padding: 35px 20px;
    }

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

/* Mobile phones (max-width: 480px) */
@media (max-width: 480px) {
    .top-nav {
        flex-direction: column;
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.5rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 14px;
        margin-left: 0;
    }

    .hero-content {
        font-size: 18px;
        margin-top: 10%;
        text-align: center;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 16px;
    }

    .growth-item {
        padding: 25px 20px;
    }

     .section-divider {
        height: 80vh;
    }

    .sub-section {
        padding: 40px 10px;
        font-size: 0.95rem;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .about-content .text {
        padding: 1rem;
        max-width: 95%;
    }

    .about-content .image img {
        width: 90%;
    }

    .projects-hero h1 {
        font-size: 28px;
    }

    .projects-hero p {
        font-size: 14px;
    }

    .card {
        padding: 0.8rem;
    }

    .block {
        padding: 25px 15px;
    }

    .contact-info {
        padding: 20px;
        font-size: 0.95rem;
    }
}