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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: #01001E;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}


/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(256, 100%, 8%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat Alternates", sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --normal-font-size: 1rem;
    }
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--white-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--black-color);
    z-index: var(--z-fixed);
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    height: 50px;
    width: auto;
}

.nav__close,
.nav__toggle {
    display: flex;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 0;
        background-color: var(--black-color);
        width: 100%;
        height: 100%;
        padding: 6rem 3.5rem 4.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left .4s;
    }

    .nav__item {
        transform: translateX(-150px);
        visibility: hidden;
        transition: transform .4s ease-out, visibility .4s;
    }

    .nav__item:nth-child(1) {
        transition-delay: .1s;
    }

    .nav__item:nth-child(2) {
        transition-delay: .2s;
    }

    .nav__item:nth-child(3) {
        transition-delay: .3s;
    }

    .nav__item:nth-child(4) {
        transition-delay: .4s;
    }

    .nav__item:nth-child(5) {
        transition-delay: .5s;
    }
}

.nav__list,
.nav__social {
    display: flex;
}

.nav__list {
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    position: relative;
    color: var(--white-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    transition: opacity .4s;
}

.nav__link i {
    font-size: 2rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
}

.nav__link span {
    position: relative;
    transition: margin .4s;
}

.nav__link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
    margin-left: 2.5rem;
}

.nav__link:hover i {
    opacity: 1;
    visibility: visible;
}

.nav__link:hover span::after {
    width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
    opacity: .4;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.nav__social {
    column-gap: 1rem;
}

.nav__social-link {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: transform .4s;
}

.nav__social-link:hover {
    transform: translateY(-.25rem);
}

/* Show menu */
.show-menu {
    left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
    visibility: visible;
    transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__link {
        font-size: var(--normal-font-size);
    }

    .nav__link i {
        font-size: 1.5rem;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3.5rem;
    }

    .nav__menu {
        display: flex;
        align-items: center;
        column-gap: 3.5rem;
    }
}



/* Footer - Full Screen */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    text-align: center;
}

footer h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    color: #ffffff;
}

footer p {
    margin: 15px 0;
    font-size: 1.2rem;
    max-width: 600px;
    color : #eaeaea;
}

footer em {
    font-style: italic;
    color: #666;
}

.footer-nav {
    margin: 30px 0;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #a4a4a4;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    margin: 0 12px;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown content hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #01001E;
    min-width: 180px;
    z-index: 1001;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 15px;
    margin: 4px 8px;
}

.dropdown-content a:hover {
    background-color: #ffffff;
    color: #282627;
    transform: translateX(4px);
}


/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Fullscreen YouTube Channel Section */
#intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0b0b2e 0%, #01001E 100%);
    color: white;
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 20px;
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #0ff, 0 0 30px #0ff;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #0ff, 0 0 40px #0ff;
    }
}


/* About and Services Section - Full Screen */
.sections {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    padding: 80px 40px;
    gap: 60px;
    background-color: #C4C5C6;
}

.logo-box img.ytlogo-img {
    width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.logo-box img.ytlogo-img:hover {
    transform: scale(1.05);
}


.section-box {
    max-width: 450px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 30, 30, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.section-box h2 {
    margin-bottom: 20px;
    color: #000000;
    font-size: 2rem;
}

.section-box p {
    margin-bottom: 30px;
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
}

.know-more a {
    display: inline-block;
    font-family: helvetica;
    padding: 12px 40px;
    font-size: 1rem;
    background-color: #000000;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.know-more a:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.intro {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 40px 40px;
    gap: 60px;
    background-color: #3f3f3f;
}

.proj-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
}

.hero > *:not(.hero-bg-video) {
    position: relative;
    z-index: 2;
}

.intro h1 {
    font-size: 6rem;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0px 60px 100px 60px;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
}

.project-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.project-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-tile:hover img {
    transform: scale(1.1);
}

.project-tile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.376);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(70, 184, 172);
}

.project-tile:hover .overlay {
    opacity: 1;
}

.project-tile .overlay h2 {
    font-size: 1.8rem;
    text-align: center;
    padding: 20px;
}

.overview {
    display: flex;
    flex-direction: column;
    padding: 100px 40px 60px;
    background: url('pictures/overview-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #333;
    gap: 40px;
    position: relative;
    z-index: 1;
}


.overview-text,
.overview-image {
    width: 100%;
    max-width: 800px;
    align-items: right;
}

.overview-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
    margin-top: 50px;
}

.overview-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #7e7e7e;
    margin-bottom: 40px;
}

.overview-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.518);
}

/* Back Button inside Overview */
.back-button-inside {
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.back-button-inside a {
    font-size: 1rem;
    text-decoration: none;
    color: #000;
    padding: 12px 24px;
    border: 2px solid #000;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-button-inside a:hover {
    background-color: #000;
    color: #fff;
}


.overview::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* light overlay */
    z-index: -1;
}

.cv-button {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

.cv-button a {
    display: inline-block;
    font-family: helvetica;
    padding: 12px 40px;
    font-size: 1rem;
    background-color: #282627;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cv-button a:hover {
    background-color: #ffffff;
    color: #282627;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.8);
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 119, 204, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 119, 204, 0.7);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 119, 204, 0.5);
    }
}

.feature-section {
    padding: 100px 40px;
    background-color: #ffffff;
    text-align: center;
    color: #1e1e1e;
}

.feature-section h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 700;
    text-align: left;
    margin-top: 45px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 columns */
    gap: 60px;
    justify-items: center;
}

@media (max-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}


.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.feature-card h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #000;
}

.feature-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

.contact-me a {
    display: inline-block;
    font-family: helvetica;
    padding: 12px 40px;
    font-size: 1rem;
    background-color: #000000;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-top: 80px;
}

.contact-me a:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.about-section {
    padding: 100px 40px;
    background-color: #ffffff;
    text-align: center;
    color: #1e1e1e;
}

.about-section h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 700;
    text-align: left;
    margin-top: 45px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px;
}

.about-content h2 {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #000;
    text-align: left;
}

.about-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
    margin-top: 30px;
}

.about-image img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    justify-content: left;
}

.about-content {
    text-align: left;
    width: 80%;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-image img {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .about-content {
        text-align: left;
    }
}

.feature-toggle-container {
  display: block;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f4f4f4;
  padding: 40px;
}

.feature-card1 {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 40px;
}



.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
  transition: opacity 0.4s ease;
}

.front {
  z-index: 2;
  opacity: 1;
  background-color: white;
}

.back {
  z-index: 1;
  opacity: 0;
  background-color: #3d3ded;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 40px;
}


.feature-card1.show-back .front {
  opacity: 0;
  pointer-events: none;
}

.feature-card1.show-back .back {
  opacity: 1;
  z-index: 2;
}


.feature-text h2 {
  color: #3d3ded;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}
.feature-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  min-height: 400px;
  min-width: 550px;
}


.toggle-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #3d3ded;
  color: white;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3; /* ensure it's above .front and .back */
  transition: background-color 0.3s ease;
}


.toggle-button:hover {
  background-color: #2b2bb8;
}

.feature-title {
  padding-left: 40px; /* match the card's internal padding */
  margin-bottom: 20px;
}

.feature-title h1 {
  font-size: 3rem;
  color: #3d3ded;
  text-align: left;
  margin: 0;
  text-align: left;
}

.feature-section1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f4f4f4;
}

.video-title {
  padding-left: 40px; /* match the card's internal padding */
  margin-bottom: 20px;
  background-color: #ffffff;
  margin-top: 30px;
}

.video-title h1 {
  font-size: 4rem;
  text-align: left;
  margin: 0;
  text-align: center;
}

.project-tile-vid {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.project-tile-vid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-tile-vid:hover img {
    transform: scale(1.1);
}

.project-tile-vid .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.376);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-tile-vid:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(221, 19, 210);
}

.project-tile-vid:hover .overlay {
    opacity: 1;
}

.project-tile-vid .overlay h2 {
    font-size: 1.8rem;
    text-align: center;
    padding: 20px;
}

.project-tile-pic {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.project-tile-pic img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-tile-pic:hover img {
    transform: scale(1.1);
}

.project-tile-pic .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.376);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-tile-pic:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(93, 174, 227);
}

.project-tile-pic:hover .overlay {
    opacity: 1;
}

.project-tile-pic .overlay h2 {
    font-size: 1.8rem;
    text-align: center;
    padding: 20px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    padding: 100px 40px 60px;
    background-size: cover;
    color: #333;
    gap: 40px;
    position: relative;
    z-index: 1;
    text-align: left;
}


.contact-text {
    width: 100%;
    max-width: 800px;
    align-items: right;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000;
    margin-top: 15px;
    font-family: helvetica;
}

.contact-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1px;
    color: #000;
    margin-top: 50px;
    font-family: 'Anton';
}

.contact-info{
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #7e7e7e;
    margin-bottom: 40px;
}

.contact-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #7e7e7e;
    margin-bottom: 40px;
}

.glow-link {
  color: #7e7e7e; /* Bright blue or change to your preferred color */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glow-link:hover {
  color: #000000; /* Slightly darker on hover */
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6); /* Subtle glow */
}
