/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Hero Section Styles */
#home {
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%; /* Use percentage for padding */
    background-image: url('bg_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    flex: 1;
}

.highlight {
    color: #ffcc00; /* Yellow highlight */
    font-weight: bold;
}

.buttons .btn {
    background-color: #ffcc00;
    color: #000;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-right: 15px;
    display: inline-block;
    border: 2px solid #ffcc00;
    transition: all 0.3s ease;
}

.buttons .btn.secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.buttons .btn:hover {
    transform: translateY(-3px);
}

.buttons .btn.secondary:hover {
    background-color: #fff;
    color: #000;
}

.hero-image-container {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer Section Styles */
footer {
    background-color: #111;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Make items of same height */
    flex-wrap: wrap;
    gap: 20px; /* Gap between items */
    margin-top: 50px;
    padding: 0 20px;
}

.contact-item {
    width: 250px;
    padding: 20px;
    text-align: center;
    /* Yeh 3 lines add karein */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #f9d71c; /* Yellow */
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    word-wrap: break-word; /* Prevents long text from overflowing */
}

.contact-item a:hover {
    color: #f9d71c;
}

/* ================================== */
/* Responsive Styles (Media Queries) */
/* ================================== */

/* For Tablets and Mobile Phones (768px and below) */
@media (max-width: 768px) {
    /* Hero Section on Mobile */
    #home {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        padding: 50px 20px;
        min-height: auto;
    }

    .hero-content {
        order: 2; /* Text appears after image */
        margin-top: 30px;
    }

    .hero-image-container {
        order: 1; /* Image appears first */
        flex-basis: auto;
        width: 70%;
    }
    
    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .buttons .btn {
        margin-right: 0;
        margin-bottom: 15px;
        width: 80%; /* Make buttons wider */
    }

    /* Footer on Mobile */
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 90%;
        max-width: 300px;
    }
}
