
/* 
 ================ GENERAL STYLES ==============================

*/

:root {
    --bg: #1B1242;
    --bg2: #211A56;
    --header: #B8ABEF;
    --text: #FFFFFF;
    --shadow : rgba(255, 255, 255, 0.5);
    
}
body.light-theme {
    --bg: #C9C5FF;
    --bg2: #9B91D8;
    --header: #1B1242;
    --shadow : rgba(36, 24, 58, 0.5);
    --text: #2A1766;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Cocomat Pro, sans-serif ;
    margin: 0;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s, color 0.3s;
}
#main {
    width: 80%;
    margin:  50px auto;
    margin-top: 150px;
}
/* on scroll appearing animation */
.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 0.8s all ease-in-out;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  }
  /* read more open */
  .hidden-text {
}
.read-more, .read-mores {
    color: var(--header);
    cursor: pointer;
    transition: 0.8s color ease-in-out;
}
.read-more:hover, .read-mores:hover{
    color: var(--text);

}
.read-more-text, .read-mores-text{
    overflow: hidden;
    max-height: 0; 
    transition: max-height 0.3s ease-out;
}
/* responsive mobile version NAVBAR */
@media screen and (max-width: 600px) {
    #main {
        width: 90%;
    }
}
/* 

=============== NAV BAR ==========================

*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg2);
    min-height: 92px;
    color: #fff;
    padding: 13px 120px;
    z-index: 5000;
    transition: transform 0.3s ease-in-out;
}
header::after{
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    margin: 0;
    left: 0;
    padding: 0;
    margin-top: 117px;
    height: 25px;
    background: linear-gradient(to bottom, var(--bg), transparent);
  }
#mobile-toggle {
    cursor: pointer;
}
.hideDisplay {
    display: none;
}

.logo img {
    height: 60px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links ul li a, .nav-links ul li i {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-links ul li a:hover, .nav-links ul li i:hover {
    color: var(--header);
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 50px;
}

.mobile-menu {
    display: none;
}

#mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    z-index: 2500;
    width: 200px;
    background-color: var(--bg2);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 140px;
    transition: right 0.3s ease;
}

#mobile-nav.active {
    right: 0;
}
.theme-mobile {
    display: none;

}



/* responsive mobile version NAVBAR */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    #mobile-nav ul li a {
        text-decoration: none;
        text-align: right;
        color: var(--text);
        transition: color 0.3s;
    }
    #mobile-nav ul li {
        padding: 10px;
        text-align: right;
        list-style: none;
    }
    .theme-mobile {
        display: block;

    }
    .theme-mobile i {
        color: #5939AA;
        
    }
    .mobile-menu {
        display: block;
    }
    header.hidden {
        transform: translateY(-100%);
    }
    .logo {
        display: block;
        margin: auto;
    }
    #mobile-toggle {
        border: 0;
        border-radius: 10px;
        background-color: #5939AA;
    }
    #mobile-toggle i{
        color: var(--bg2);
        padding: 10px;
        font-size: 36px;
    }
    .logo img {
        height: 90px;
    }
    .theme-toggle {
        font-size: 36px;
        width: 36px;
    }
    header::after{
        margin-top: 148px;
      }
}
.active-link {
    color: var(--header) !important;
}
@media screen and (max-width: 600px) {
    header {
        padding: 13px 70px;
    }
}
@media screen and (max-width: 350px) {
    header {
        padding: 13px 40px;
    }
}
/* 

=============== END NAV BAR ==========================

*/

/* 

===============  FOOTER ==========================

*/



.footer {
    background-color: var(--bg2); 
    color: var(--text);
    padding: 40px 120px;
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-left {
    max-width: 50%; 
}

.footer-left .logo img {
    height: 75px;
    margin-bottom: 10px;
}

.footer-left h2 {
    color: var(--header); 
    margin-bottom: 10px;
}

.footer-left .about-text {
    font-size: 14px;
    color: var(--text);
}
.footer-left .passion-text {
    font-size: 16px;
    color: var(--text);
}
.footer-right {
    text-align: right;
}
.footer-inline {
    display: flex;
}
.footer-name h2 {
    margin-bottom: 2px;
}
.footer-name {
    display: block;
    margin-left: 25px;
}
.footer-right .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-right .footer-nav ul li {
    margin-bottom: 10px;
    margin-right: 2px;
}
.footer-right .footer-nav button {
    margin-bottom: 20px;
}
.footer-right .footer-nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    transition: color 0.3s;
}

.footer-right .footer-nav ul li a:hover {
    color: var(--header);
}

.contact-button {
    padding: 10px 20px;
    font-size: 16px;
    color: var(--bg2);
    background-color: var(--header); 
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-button a{
    color: var(--bg2);
    text-decoration: none;
}
.contact-button:hover {
    background-color: var(--bg);
}


.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom .social-icons .icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--text);
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-bottom .social-icons .icon:hover {
    background-color: var(--bg);
    transform: scale(1.1);
}



@media (max-width: 768px) {
    .footer-inline {
        display: block;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-name {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .footer-left, .footer-right {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-right {
        text-align: center;
    }
}



/* 

=============== END FOOTER ==========================

*/


