/*
* Stylesheet for the Home Page (index.html)
*/

/* Home Section */
.home-section {
    position: relative;
    height: 150vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/1home.jpg') no-repeat center center/cover;
    padding: 0 20px;
    background-position: 50% 90%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 43%) 79%, var(--primary-color));
}

.home-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.home-content h1 {
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    color: #ebebeb;
    letter-spacing: 12px;
    font-family: 'auto';
    font-size: 9vh;
    font-weight: bold;
}



.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow {
    width: 20px;
    height: 20px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    opacity: 0;
    margin: 5px;
    animation: arrowFade 2s infinite;
}

.arrow1 {
    animation-delay: 0s;
}

.arrow2 {
    animation-delay: 0.4s;
}

@keyframes arrowFade {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translateY(10px) rotate(45deg);
    }

    100% {
        opacity: 0;
        transform: translateY(20px) rotate(45deg);
    }
}

#about {
    margin-top: 5rem;
}

.about-content,
.blog-content,
.video-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 70px;
    align-items: center;
    position: relative;
}

.about-image-container,
.blog-image-container,
.video-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* This class will add a 200ms delay to any animation */
.fade-in-section.delay-1 {
    transition-delay: 0.2s;
}

/* .section-box:hover .about-image-container,
.section-box:hover .blog-image-container,
.section-box:hover .video-image-container {
    transform: rotate(0deg);
} */

.profile-image,
.blog-image,
.video-image {
    border-radius: 20px;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-text-container,
.blog-text-container,
.video-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-header,
.blog-header,
.video-header {
    margin-bottom: 20px;
}

.about-name,
.blog-name,
.video-name {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.about-divider,
.blog-divider,
.video-divider {
    width: 80px;
    height: 4px;
    background: white;
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-text p,
.blog-text p,
.video-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.5;
}

.about-text p:last-child,
.blog-text p:last-child {
    margin-bottom: 0;
}

.blog-cta {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.break-line {
    justify-content: center;
    padding-top: 10vh;
    padding-bottom: 10vh;
    display: flex;
}

.white-line {
    background-color: white;
    width: 1px;
    height: 20vh;
}

.get-in-touch-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    width: 100%;
}

.get-in-touch-heading {
    font-family: 'Playfair Display', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Your existing styles --- */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.social-media-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-bg-lighter);
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    /* This animates the background/transform */
}

/* --- IMPROVEMENT: This makes the icon color change smooth --- */
.social-media-icons .social-icon [class*="fa-"] {
    transition: color 0.3s ease;
}

/* --- FIX 1: For Desktop Hover --- */
@media (hover: hover) {
    .social-media-icons .social-icon:hover {
        background-color: var(--primary-color);
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(233, 226, 228, 0.4);
    }

    .social-media-icons .social-icon:hover .fa-linkedin {
        color: #0A66C2;
    }

    .social-media-icons .social-icon:hover .fa-instagram {
        color: #E4405F;
    }

    .social-media-icons .social-icon:hover .fa-twitter {
        color: #1DA1F2;
    }

    .social-media-icons .social-icon:hover .fa-youtube {
        color: #FF0000;
    }
}

/* --- FIX 2: For Mobile Tap Feedback --- */
.social-media-icons .social-icon:active {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    /* This gives a nice "pop" on tap */
    box-shadow: 0 5px 15px rgba(233, 226, 228, 0.4);
}

.social-media-icons .social-icon:active .fa-linkedin {
    color: #0A66C2;
}

.social-media-icons .social-icon:active .fa-instagram {
    color: #E4405F;
}

.social-media-icons .social-icon:active .fa-twitter {
    color: #1DA1F2;
}

.social-media-icons .social-icon:active .fa-youtube {
    color: #FF0000;
}



.message-box {
    width: 100%;
    max-width: 600px;
    background-color: var(--dark-bg-lighter);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}



.progress-container {
    width: 100%;
    height: 3px;
    background-color: black;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: white;
    transition: width 0.3s ease;
}

.message-box-header {
    background-color: #283439;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sender-name {
    font-weight: 600;
    color: white;
}

.message-form-container {
    position: relative;
    min-height: 300px;
}

.message-step {
    padding: 25px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.message-question {
    margin-bottom: 20px;
}

.message-question h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.message-question p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.message-action {
    position: relative;
}

.key-hint,
.textarea-hint {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-style: italic;
}

.textarea-hint {
    display: block;
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.57);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 15%;
    background-color: #696464;
    border: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
}



/* --- 3. Remove old tilt effect (Ensure this is done) --- */
.about-image-container,
.blog-image-container,
.video-image-container {
    /* Make sure 'transform: rotate' and 'transition' are NOT here */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* You should have already deleted the :hover rule, which is correct! */

/* ==========================================================================
   Responsive Styles for Home Page
   ========================================================================== */

/* --- Tablets (<= 992px) --- */
@media screen and (max-width: 992px) {



    .home-content h1 {
        font-size: 8vh;

    }

    .profile-image,
    .blog-image,
    .video-image {

        height: 553px;

    }



    .section-box {
        padding: 45px 40px;
    }

    .about-header,
    .blog-header,
    .video-header {
        margin-bottom: 18px;
    }

    .about-name,
    .blog-name,
    .video-name {
        font-size: 2.2rem;
    }

    .about-content,
    .blog-content,
    .video-content {
        grid-template-columns: 1fr;
        /* Stack the columns */
        gap: 40px;
        text-align: center;
    }

    .about-divider,
    .blog-divider,
    .video-divider {
        margin: 0 auto 25px;
    }

    .about-text p,
    .blog-text p,
    .video-text p {
        text-align: justify;
    }

    .about-image-container,
    .blog-image-container,
    .video-image-container {
        transform: rotate(0);
        /* Remove rotation on smaller screens */
        order: -1;
        /* Display image before the text */
        width: 80%;
        margin: 0 auto;
    }

    .blog-cta {
        justify-content: center;
    }

    .get-in-touch-heading {
        font-size: 3rem;
    }
}

/* --- Mobile Devices (<= 768px) --- */
@media screen and (max-width: 768px) {
    .home-section {
        height: 100vh;
        padding: 0 15px;
    }

    .home-content h1 {
        font-size: 3rem;
        letter-spacing: 7PX;
        margin-bottom: 15px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-buttons {
        gap: 15px;
        font-size: 14px;
    }

    .section-box {
        padding: 40px 30px;
    }

    .about-name,
    .blog-name,
    .video-name {
        font-size: 2rem;
    }

    .about-text p,
    .blog-text p,
    .video-text p {
        font-size: 13px;
        line-height: 17px;
        margin: 12px 0px;
    }

    .about-header,
    .blog-header,
    .video-header {
        margin-bottom: 16px;
    }

    .about-image-container,
    .blog-image-container,
    .video-image-container {
        width: 85%;
    }

    .break-line {
        justify-content: center;
        padding-top: 7vh;
        padding-bottom: 3vh;
        display: flex;
    }



    .get-in-touch-heading {
        font-size: 2.2rem;
    }

    .message-box {
        max-width: 100%;
    }

    .arrow {
        width: 16px;
        height: 16px;
    }

    .social-media-icons .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;

    }

    .social-media-icons {
        gap: 20px;

    }

    .sender-name {
        font-weight: 500;
        font-size: 1rem;
    }

    .message-question h3 {
        font-size: 1.2rem;
        margin-bottom: 9px;
    }

    .message-question p {
        font-size: .8rem;
    }

    #btn-start #btn-email-next #btn-name-next #btn-submit {
        font-size: 0.8rem;
    }

    .message-box-header {
        padding: 13px 18px;
    }

    .footer-subscribe-section h2 {
        font-size: 1.2rem;
    }

    .footer-subscribe-section p {
        font-size: .8rem;

    }

    .key-hint,
    .textarea-hint {
        font-size: 0.8rem;

    }




}



@media screen and (max-width: 650px) {

 .home-content h1 {
        font-size: 6.5vh;

    }
}

/* --- Small Mobile Devices (<= 480px) --- */
@media screen and (max-width: 480px) {


    .about-name,
    .blog-name,
    .video-name {
        font-size: 1.6rem;
    }

    .about-text p,
    .blog-text p,
    .video-text p {
        font-size: 0.8rem;
        line-height: 15px;
        padding: 2px 0px;
    }

    .profile-image,
    .blog-image,
    .video-image {
        height: 280px;
    }

    .about-header,
    .blog-header,
    .video-header {
        margin-bottom: 11px;
    }

    .about-divider,
    .blog-divider,
    .video-divider {
        margin: 0 auto 10px;
    }

    .break-line {
        justify-content: center;
        padding-top: 6vh;
        padding-bottom: 2vh;
        display: flex;
    }

    .get-in-touch-heading {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .get-in-touch-content {
        padding: 40px 10px;
    }

    .message-question h3 {
        font-size: 1.2rem;
    }

    .cta-buttons {
        font-size: 10px;
    }

    .about-image-container,
    .blog-image-container,
    .video-image-container {
        width: 100%;
    }

    .home-content h1 {
        font-size: 20px;
        letter-spacing: 5px;

    }

    .tagline {
        font-size: .7rem;
        margin-bottom: 18px;
    }

    .arrow {
        width: 13px;
        height: 13px;
    }

    .social-media-icons .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;

    }

    .social-media-icons {
        gap: 15px;
        margin-bottom: 35px;

    }

    .sender-name {
        font-size: .8rem;
    }

    .message-question h3 {
        font-size: .9rem;
        margin-bottom: 6px;
    }

    .key-hint {
        font-size: .7rem;
    }

    .nav-btn {
        width: 34px;
        height: 30px;

    }

    .message-question p {
        font-size: .7rem;
    }

    #btn-start #btn-email-next #btn-name-next #btn-submit {
        font-size: 0.7rem;
    }

    .message-box-header {
        padding: 10px 15px;
    }

    .footer-subscribe-section h2 {
        font-size: .9rem;
    }

    .footer-subscribe-section p {
        font-size: .7rem;

    }

    .key-hint,
    .textarea-hint {
        font-size: 0.7rem;

    }

    .message-form-container {
        min-height: 260px;
    }

    .form-input {
        width: 95%;
        padding: 10px 12px;
        margin-bottom: 13px;
    }

    .subscribe-input-group input {
        padding: 9px 15px;
    }

    .subscribe-input-group button {
        padding: 9px 25px;

    }

    .footer-subscribe-section {
        padding: 2rem 1rem;
    }

    .copyright-message {
        font-size: 0.7rem;
    }

}