/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
*{
    scroll-behavior: smooth;
    /* margin: 0; 
    padding: 0; */
}

body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: #ffc451;
    text-decoration: none;
}

a:hover {
    color: #ffd584;
    text-decoration: none;
}
  
h1,h2,h3,h4,h5,h6 {
    font-family: "Raleway", sans-serif;
}
  
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #ffc451;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #151515;
    line-height: 0;
}

.back-to-top:hover {
    background: #151515;
}

.back-to-top:hover i {
    color: #ffc451;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
  
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #151515;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 0px);
    left: calc(50% - 30px);
    border: 6px solid #ffc451;
    border-top-color: #151515;
    border-bottom-color: #151515;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
  
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}
  
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
    background: rgba(0, 0, 0, 0.8);
}

#header .logo {
    font-size: 32px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#header .logo a {
    color: #fff;
}

#header .logo a span {
    color: #ffc451;
}

#header .logo img {
    max-height: 40px;
}
  
/*--------------------------------------------------------------
#  Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
    color: #fff;
    border-radius: 4px;
    padding: 7px 10px 8px 10px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #ffc451;
}

.get-started-btn:hover {
        background: #ffbb38;
        color: #343a40;
    }

    @media (max-width: 992px) {
    .get-started-btn {
        padding: 7px 20px 8px 20px;
        margin-right: 15px;
    }
}
  
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #ffc451;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: #151515;
    font-weight: 400;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul a.active,
.navbar .dropdown ul a.active:focus,
.navbar .dropdown ul li:hover>a {
    background-color: #ffc451;
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #151515;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: #151515;
    background-color: #ffc451;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
    color: #151515;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    background-color: #ffc451;
}

.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}
  
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    min-height: 90vh;
    background: url("../img/penyerahan_anak.JPG") center;
    background-size: cover;
    position: relative;
}

#hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .container {
    position: relative;
    padding-top: 74px;
    text-align: center;
}

#hero h1 {
    margin: 0;
    font-size: 45px;
    font-weight: 600;
    line-height: 50px;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

#hero h1 span {
    color: #ffc451;
}

#hero h3 {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    font-size: 22px;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: 80vh;
    }
    
    #hero h1 {
        font-size: 28px;
        line-height: 25px;
    }

    #hero h3 {
        font-size: 20px;
        line-height: 24px;
    }
}
  
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    padding-bottom: 40px;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: "Poppins", sans-serif;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: #ffde9e;
    margin: 4px 10px;
}

.section-title p {
    margin: 0;
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: #151515;
}
  
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content p:last-child {
    margin-bottom: 0;
}

.about p{
    text-align: justify;
}

.about img{
    border-radius: 8px;
}

/*--------------------------------------------------------------
# Form bimbingan pranikah
--------------------------------------------------------------*/
.container-dedication{
    display: flex;
    flex-direction: row;
    padding: 50px;
}

.text {
    flex: 1;
    margin-left: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Mengatur teks di tengah secara vertikal */
}

.text p {
    margin-top: -5px; /* Menambahkan margin bawah pada judul */
}

.images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex: 1;
}

.images img {
    width: 100%; /* Gambar akan mengisi lebar dari parent container */
    max-width: 100%; /* Gambar tidak akan melebihi lebar parent container */
    height: 230px; /* Tinggi akan disesuaikan secara proporsional */
    border-radius: 5px;
}

.button {
    padding: 10px 20px;
    background-color: #ffc550;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 5px;
    display: inline-block;
    width: 140px;
    transition: background-color 0.5s ease, color 0.3s ease;
}

.button:hover{
    background: #ffb728;
    color: #fff;
}

/* Media Query untuk layar dengan lebar maksimal 768px (Tablet) */
@media (max-width: 768px) {
    .container-dedication {
        flex-direction: column;
        padding: 30px;
    }

    .images img{
        height: 250px;
        width: 100%;
    }

    .text {
        margin-left: 0;
        padding-left: 0;
        margin-top: 15px;
        margin-bottom: 20px;
        text-align: justify;
    }
}

/* Media Query untuk layar dengan lebar maksimal 480px (Smartphone) */
@media (max-width: 480px) {
    .container-dedication {
        padding: 20px;
    }

    .images {
        grid-template-columns: 1fr;
    }

    .images img{
        height: 250px;
    }

    .button {
        width: 35%; /* Tombol akan memenuhi lebar parent container */
        padding: 10px;
    }

    .text p{
        text-align: justify;
    }
}

/*--------------------------------------------------------------
# Message
--------------------------------------------------------------*/
.msg {
    background: linear-gradient(rgba(2, 2, 2, 0.7), rgba(0, 0, 0, 0.7)), 
    url("../img/news/penyerahan-anak/bg_hero.jpg") fixed center center;
    background-size: cover;
    padding: 60px 0;
}

.msg h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.msg p {
    color: #fff;
}
  
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: black;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}
  
#footer .footer-top {
    background: #151515;
    border-bottom: 1px solid #222222;
    padding: 60px 0 30px 0;
}
  
#footer .footer-top .footer-info {
    margin-bottom: 30px;
}
  
#footer .footer-top .footer-info h3 {
    font-size: 28px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}
  
#footer .footer-top .footer-info h3 span {
    color: #ffc451;
}
  
#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
    color: #fff;
}
  
#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #292929;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    margin-top: 10px;
}
  
#footer .footer-top .social-links a:hover {
    background: #ffc451;
    color: #151515;
    text-decoration: none;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}
  
#footer .footer-top .footer-links {
    margin-bottom: 30px;
}
  
#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
  
#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #ffc451;
    font-size: 18px;
    line-height: 1;
}
  
#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}
  
#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}
  
#footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}
  
#footer .footer-top .footer-links ul a:hover {
    color: #ffc451;
}
  
#footer .copyright {
    text-align: center;
    padding-top: 30px;
}
  
#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}
  
  /* Responsive styles */
@media (max-width: 768px) {
    #footer .footer-top {
      padding: 30px 0 15px 0;
    }
  
    #footer .footer-top .footer-info h3 {
      font-size: 25px;
    }
  
    #footer .footer-top .footer-info p {
      font-size: 14px;
    }
  
    #footer .footer-top h4 {
      font-size: 15px;
    }
  
    #footer .footer-top .social-links a {
      width: 30px;
      height: 30px;
      font-size: 16px;
      margin-right: 2px;
    }
  
    #footer .footer-top .footer-links ul li {
      padding: 8px 0;
    }
  
    #footer .copyright,
    #footer .credits {
      font-size: 14px;
    }
}
  
@media (max-width: 480px) {
    #footer .footer-top .footer-info h3 {
      font-size: 22px;
    }
  
    #footer .footer-top .footer-info p {
      font-size: 14px;
    }
  
    #footer .footer-top h4 {
      font-size: 15px;
    }
  
    #footer .footer-top .social-links a {
      width: 28px;
      height: 28px;
      font-size: 15px;
    }
  
    #footer .copyright,
    #footer .credits {
      font-size: 14px;
    }
}