/* Import Oxanium Font */
@font-face {
    font-family: 'Oxanium';
    src: url('C:/Users/LENOVO/OneDrive/Lampiran/Dokumen/informatika web1/font/Oxanium/Oxanium-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Import Roboto Mono Italic Font */
@font-face {
    font-family: 'Roboto Mono';
    src: url('C:/Users/LENOVO/OneDrive/Lampiran/Dokumen/informatika web1/font/Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

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

body {
    font-family: Arial, sans-serif;
    color: #fcf0f0;
    background-color: #fbfbfb;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Navbar Styles */
nav {
    background-color: #131212;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    height: 5rem;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}
/* Responsive tampilan ponsel */
@media (max-width: 768px) {
    nav {
        height: 5rem;
    }

}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover,
.dropdown .dropbtn:hover {
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    color: #ff5e5e;
}

.logo img {
    width: 150px;
}

nav.scrolled {
    background-color: #1e1b1bfd;
}

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

.dropdown .dropbtn {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    transition: text-shadow 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #222;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Navbar with Hamburger Menu */
.hamburger-menu {
    display: none;
    font-size: 1.5em;
    color: #f9f8f8;
    position: absolute;
    right: 15px;
    top: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Sembunyikan menu saat layar kecil */
        align-items: flex-start;
        width: 200px;
        height: 200px;
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 50px;
        right: 10px;
        background-color: #211b1b;
        padding: 20px;
        border-radius: 15px;
        z-index: 99;
        
    }

    .nav-links.show {
        display: flex; /* Tampilkan menu saat hamburger ditekan */
    }

    .hamburger-menu {
        display: block; /* Tampilkan hamburger icon */
    }
}

/* banner Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    z-index: 1;
    color: #fff;
    text-align: center;
}


/* Styles for "MASTER EXCEL" */
.hero-content h1 {
    font-family: 'Oxanium', Arial, sans-serif;
    /*font-size: 8em;*/
    font-size: calc(3vw + 2rem);
    color: #fff;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 15px;
}

/* Styles for Hero Subtitle */
.hero-content p {
    font-family: 'Roboto Mono', Arial, sans-serif;
    font-style: italic;
    /*font-size: 1em;*/
    font-size: calc(1vw + 0.5rem); 
    color: #fff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

/* Media Queries for Responsiveness banner*/
@media (max-width: 768px) {
/* Adjust font sizes and other styles for tablets */
.hero-content h1 {
    font-size: calc(2vw + 3rem);
}
.hero-content p {
    font-size: calc(1.5vw + 0.3rem);
    }
}

@media (max-width: 400px) {
/* Adjust font sizes and other styles for mobile phones */
.hero-content h1 {
    font-size: calc(3vw + 1.5rem);
    }
.hero-content p {
    font-size: calc(2vw + 0.2rem);
    }
}



/* Styles for CTA Button */
.cta-btn {
    background: linear-gradient(90deg, #ff5e5e, #d7263d);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn::before {
    content: '➔';
    display: inline-block;
    background-color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 1em;
    margin-right: 10px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #d7263d, #ff5e5e);
    transform: translateY(-3px);
}

.cta-btn:hover::before {
    background-color: #000000;
}


/* About Section Customization */
.about {
    padding: 100px 0;
    color: #ffffff;
    background-image: url('images/bg3.jpeg');
    background-size: 50%; /* Mengatur ukuran gambar menjadi 50% dari ukuran aslinya */
    background-position: center; /* Menempatkan gambar di tengah */
    background-repeat: no-repeat; /* Mencegah gambar berulang */
}

.about-heading {
    font-size: 2.5em;
    color: #333232;
    margin-bottom: 20px;
    text-align: center; /* Center align the heading */
}

.logo-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.logo-img {
    width: 250px; /* Set the size of the logo */
    height: auto;
}

.about-description {
    background-color: rgba(255, 0, 0, 0);
    padding: 20px;
    border-radius: 50px;
    max-width: 800px;
    margin: auto; /* Center the text block */
    margin-top: auto;
    text-align: center; /* Center align the description text */
    color: #2d2929; /* Set the text color to white */
}

.about-description p {
    font-size: 1em;
    line-height: 1.6;
}


/* Deskripsi Konten */
#news {
    display: flex;
    padding: 0;
    color: #ffffff;
    height: 105vh;
    overflow: hidden; /* Menghindari overflow horizontal */
}

.news-item {
    display: flex;
    height: 100%;
    width: 125%; /* Sesuaikan agar kontainer sesuai lebar */
}


/* Bagian Kiri: Deskripsi Konten */
.news-text {
    width: 50%; /* Perbesar lebar untuk meluas ke kiri */
    margin-left: -12%; /* Geser ke kiri dengan margin negatif */
    background-color: #843430;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: center;
}

.news-text h3 {
    font-size: 3em; /* ATUR UKURAN FONT DESKRIPSI KONTEN*/
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    @media (max-width: 760px) {
        font-size: 2em;
    }
}

.news-text p {
    font-size: 1em;
    line-height: 1.5;
}

/* Bagian Kanan: Gambar Vektor */
.news-item {
    min-height: 300px;
    position: relative; /* Untuk absolute positioning pada anak */
}

.news-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    background-color: #242222;
    flex: 1;
    
}

/* Responsivitas 1*/
@media (max-width: 768px) {
#news {
flex-direction: column;
    }

.news-item {
    display: flex;
    flex-direction: column;
    width: 100vw; /* Penuhi lebar viewport */
    height: 150vh; /* Penuhi tinggi viewport */
    }

.news-item img {
    float: left;
    margin: 0px;
    margin-bottom: 0px;
    margin-left: -9.5rem;
    width: 130vw; /* Penuhi seluruh lebar viewport */
    height: 20rem;
    aspect-ratio: 16/5; /* Jaga proporsi gambar */
    object-fit: cover;
    }

.news-text {
    order: 2; /* Menempatkan teks di bawah gambar pada layar kecil */
    flex: 1; /* Izinkan teks tumbuh jika ada ruang ekstra */
    width: 110%; /* Sesuaikan dengan kebutuhan */
    height: auto; /* Sesuaikan dengan kebutuhan */
    padding: 30px;
    padding-right: 30%;
    padding-top: 10%;
    padding-bottom: 90%;
    box-sizing: border-box; /* Agar padding tidak menambah lebar total */
    text-align: left;
    }

.news-text h3 {
    font-size: 3em; /* ATUR UKURAN FONT DESKRIPSI KONTEN*/
    font-weight: bold;
    padding-right: 25%;
    padding-top: auto;
    margin-bottom: 30px;
    text-align: left;
    @media (max-width: 768px) {
        font-size: 2em;
    }
}

.news-image {
    order: 1;
    }
}

/* Responsivitas 2 */
@media (max-width: 400px) {
#news {
flex-direction: column;
    }

.news-item {
    display: flex;
    flex-direction: column;
    width: 100vw; /* Penuhi lebar viewport */
    height: 155vh; /* Penuhi tinggi viewport */
    }

.news-item img {
    float: left;
    margin: 0px;
    margin-bottom: 0px;
    margin-left: -2.5rem;
    width: 130vw; /* Penuhi seluruh lebar viewport */
    height: 25rem;
    aspect-ratio: 16/5; /* Jaga proporsi gambar */
    object-fit: cover;
    }

.news-text {
    order: 2; /* Menempatkan teks di bawah gambar pada layar kecil */
    flex: 1; /* Izinkan teks tumbuh jika ada ruang ekstra */
    width: 110%; /* Sesuaikan dengan kebutuhan */
    height: auto; /* Sesuaikan dengan kebutuhan */
    padding: auto;
    padding-right: 10%;
    padding-top: 2%;
    padding-bottom: 125%;
    box-sizing: border-box; /* Agar padding tidak menambah lebar total */
    text-align: left;
    }

.news-text h3 {
    font-size: 3em; /* ATUR UKURAN FONT DESKRIPSI KONTEN*/
    font-weight: bold;
    padding-right: auto;
    padding-top: 2%;
    margin-bottom: 20px;
    text-align: left;
    @media (max-width: 400px) {
        font-size: 2em;
    }
}

.news-image {
    order: 1;
    }
}


/* benefits */
#services {
    background-color: #ffffff;
    padding: 110px ;
    text-align: center;
}

.services-heading {
    font-size: 2em;
    color: #333;
    margin-bottom: 60px;
    transition: color 0.3s ease;
}

.services-heading:hover {
    color: #c94b4b;
}

.services-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;

    /* Adjust layout for smaller screens */
    @media (max-width: 768px) {
    flex-direction: column; /* Stack services vertically */
    gap: 30px;

    /* Adjust layout for smaller screens */
    @media (max-width: 400px) {
    flex-direction: column; /* Stack services vertically */
    gap: 30px;
        }
    }
}


.service-item {
    background-color: #ffffff;
    padding: 2px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon img {
    width: 60px;
    height: 60px;
    background-color: #ee4040;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.service-item p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}


/*CONTACT*/
#contact {
    background-color: #ffffff;
    padding: 90px ;
    text-align: center;
}            

.contact {
    padding: 90px ;
    color: #ffffff;
    background-image: url('images/bg3.jpeg');
    background-size: 50%; /* Mengatur ukuran gambar menjadi 50% dari ukuran aslinya */
    background-position: center; /* Menempatkan gambar di tengah */
    background-repeat: no-repeat; /* Mencegah gambar berulang */
}

.contact-heading {
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}


.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon img {
    width: 60px;
    height: 60px;
    background-color: #ffffff00;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Footer Section */
.footer {
    background-color: #454343;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 1em;
    width: 100%;
    font-weight: 700;
}