/* Navbar - Now touching the top */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar Styles */
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f0f0f, #232323);
    padding: 15px 0;
    box-shadow: 0px 4px 20px rgba(255, 140, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center; /* Centering Navbar */
    align-items: center;
}

/* Navbar Container */
.nav-container {
    display: flex;
    justify-content: center; /* Centering Links */
    align-items: center;
    width: 80%; /* Ensures it stays centered */
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Nav Items */
.nav-links li {
    display: inline-block;
    position: relative;
}

/* Navbar Text Styling */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
}

/* Hover Effect: Box with Shadow */
.nav-links li a:hover {
    color: black;
    background-color: rgba(255, 165, 0, 0.9);
    box-shadow: 0px 4px 10px rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    padding: 12px 18px;
}

/* Hamburger Menu */
.hamburger {
    font-size: 28px;
    color: white;
    cursor: pointer;
    display: none;
}


footer {
    margin-top: 60px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1em;
    border-top: 1px solid #444;
    width: 100%;
    text-align: center;
}

/* Social Media Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-button {
    background-color: #222;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.social-button:hover {
    background-color: #444;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

/* Connect With Me Section */
.connect-with-me,
.follow-me {
    text-align: center; /* Center alignment */
    color: white; /* White font color */
    text-shadow: 0px 2px 6px rgba(255, 255, 255, 0.5); /* Soft shadow for glow effect */
}

/* "Connect with Me" Heading */
.connect-with-me {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* "Follow Me" Text */
.follow-me {
    font-size: 1.2em;
    margin-bottom: 20px;
}


/* General Styles */
body {
    background-color: #121212;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Main Heading */
h1 {
    color: #FFD700;
    margin-top: 30px;
}

/* Main Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px;
}

/* Box Styling */
.box {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    height: 450px;  /* Ensures equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(255, 255, 0, 0.3);
}

/* Box Headings */
h2 {
    color: #FFD700;
    margin-bottom: 20px;
}

/* QR Code Styling */
.qr-box img {
    width: 80%;
    max-height: 300px;
    border-radius: 10px;
}

/* Google Form Styling */
.form-box iframe {
    width: 100%;
    height: 350px; /* Same height as QR Code */
    border-radius: 10px;
}
/* Ensure QR Code is Visible */
.qr-box img {
    width: 100%;  /* Adjust width to container */
    max-width: 250px; /* Limits the QR size */
    max-height: 250px; /* Ensures proportional scaling */
    border-radius: 10px;
    background-color: white; /* Adds contrast */
    padding: 10px; /* Adds spacing for better visibility */
}

/* Fix Navbar Overlapping Heading */
h1 {
    margin-top: 80px; /* Push heading below the navbar */
    font-size: 28px;
    text-align: center;
    color: #FFD700;
}

/* Ensure Both Containers are Equal */
.box {
    width: 45%;  /* Equal width for both */
    height: 400px;  /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Adjust Google Form Size */
.form-box iframe {
    width: 100%;
    height: 300px;
}

/* Email Box Styling */
/* Centering the Email Box */
.email-box {
    width: 45%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    border: 2px solid #FFD700; /* Same golden color */
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 20px auto; /* Centers horizontally */
    text-align: center;
}


/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-container {
        width: 90%; /* Adjust navbar width */
    }

    .nav-links {
        gap: 15px; /* Reduce space between links */
    }

    .box {
        width: 90%; /* Boxes take more width */
        height: auto; /* Auto height for flexibility */
        padding: 15px;
    }

    .qr-box img {
        max-width: 200px;
        max-height: 200px;
    }

    .form-box iframe {
        height: 250px; /* Adjust Google form height */
    }

    .email-box {
        width: 90%; /* Makes email box responsive */
    }
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        text-align: center;
        background: #222;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .hamburger {
        display: block; /* Show hamburger menu */
    }

    .container {
        flex-direction: column; /* Stack containers */
        gap: 10px;
    }

    .box {
        width: 100%; /* Full width */
    }

    .qr-box img {
        max-width: 180px;
        max-height: 180px;
    }

    .email-box {
        width: 100%;
        font-size: 16px;
        padding: 10px;
    }
}
