* {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

.audio-player,
.pages-container {
    max-width: 100%;
}

.contact-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.back-button {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 10px;
    color: #1f7393;
}

.back-button i {
    margin-right: 3px;
}

.icon-container img {
    width: 80px;
    margin: 20px 0;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e7493;
    margin-bottom: 5px;
}

.contact-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
}

.form-group {
    padding: 20px;
}
.form-group input {
    font-size: 14px;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
}

.send-button {
    background-color: #1e7493;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.send-button:hover {
    background-color: #145f7c;
}

.social-section {
    text-align: center;
    padding-top: 45px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 25px;
    color: #1f7393;
}

.social-icons a:hover {
    color: #1e7493;
}

.info-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

.info-text a {
    color: #1e7493;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

.footer-wave {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #eaf5f9;
    border-radius: 0px;
    height: 180px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;

}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    background-color: transparent;
    outline: none;
    color: #6c757d;
    transition: all 0.3s ease-in-out;
}

.form-container input:focus {
    border-bottom: 1px solid #1e7493;
    color: #1e7493;
}

.form-container input::placeholder {
    color: #b0b0b0;
    font-style: italic;
}

.audio-player {
    max-width: 400px;
    margin: 50px auto 0px;
    background-color: white;
    border-radius: 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;

}
.audio-info h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
.audio-info p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}
.expandable-list {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    justify-self: center;
    flex-direction: column;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin: 0px auto 0px;
}
.expandable-list-header {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #1f7393;
}
.expandable-list-header i {
    margin-left: 5px;
}
.pages-list {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
}
.pages-list button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 5px;
    border: none;
    background-color: white;
    border-radius: 8px;
    color: #6c757d;
    cursor: pointer;
    width: 100%;
}
.pages-list button:hover {
    background-color: #e6f7ff;
    color: #1f7393;
}
.audio-header {
    position: relative;
    background-color: #1E7493;
    height: 250px;
    width: 100%;
    max-width: 600px;
    justify-self: center;
    border-radius: 20px 20px 300px 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px; /* Spacing below the elements */
}

.envelope-icon {
    position: absolute;
    top: 20px;
    left: 20px; /* Positioning the icon */
    background-color: transparent; /* Avoid unnecessary background */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.audio-cover {
    box-shadow: 0px 5px 6px 0px #9a9a9a;
    background: white;
    position: absolute;
    top: 80px;
    text-align: center;
    height: 240px;
    width: 180px;
    padding: 8px;
    align-content: center;
    border-radius: 10px;
}

.audio-cover img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.envelope-icon:hover {
    color: #1187A5; /* Hover sırasında altın sarısı renk */
}
.music-player {
    height: 230px;
    width: 100%;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    justify-self: center;

}

@keyframes pulseTag {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes visualizer {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}
.visualizer-bar {
    display: inline-block;
    width: 4px;
    height: 20px;
    margin: 2px;
    background: #1f7393;
    animation: visualizer 0.5s infinite ease-in-out;
    animation-play-state: paused;
}
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; }

.highlight {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}
.top-right {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.bottom-left {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -45px;
}

.music-info {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.song-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.artist {
    font-size: 1rem;
    color: #aaa;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}
.progress-bar {
    flex: 1;
    height: 5px;
    background: #333;
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
    position: relative;
}
.progress {
    height: 100%;
    width: 0;
    background: #1f7393;
    border-radius: 5px;
}
.current-time,
.duration {
    font-size: 0.8rem;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.control-btn {
    background: #1e7493;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    color: white;
}
.control-btn i {
    font-size: 1.2rem;
    color: white;
}
.control-btn:hover {
    transform: scale(1.1);
    background: #2a2a2d;
}
.control-btn:active {
    transform: none;
}
.music-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.progress-container {
    width: 90%;
    max-width: 500px;
}

.visualizer {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
}

@media screen and (max-width: 768px) {
    .pages-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 100vh;
        justify-content: space-between;
    }

    .audio-player{
        max-width: unset;
        margin: 0;
        border-radius: unset;
        height: 100%;
    }
    .audio-header{
    border-radius: 0px 0px 300px 300px;
    }

    .expandable-list {
        background-color: #f8f9fa;
        border-radius: 12px;
        border-top-left-radius: 0px;
        border-top-left-radius: 0px;
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }
    .footer-wave {
        background-color: #eaf5f9;
        height: 180px;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        width: 100%;
        margin: 0px auto;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    .social-section {
        padding-top: 5px;
    }
}