/* General Styles */
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    background: url('space.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Banner */


/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 30, 0.75);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        padding: 5px 0px; /* ✅ Slightly increases padding */
        height: 55px; /* ✅ Ensures navbar doesn’t shrink too much */
        margin-bottom: 20px; /* ✅ Pushes content below navbar */
    }
}


/* Logo */
.logo img {
    height: 50px;
    border-radius: 50%;
}

/* Desktop Navbar */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline-block;
}

/* Navbar Links */
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #00ccff;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 30px;
    height: 4px;
    background: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        padding: 1px 0px;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none\;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        padding-top: 10px;
        background: rgba(10, 10, 30, 0.75);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        display: block;
        padding: 10px 0;
    }
}


/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero {
    display: flex;
    flex-direction: column; /* Stacks elements properly on small screens */
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensures full viewport height */
    text-align: center;
    padding: 10% 5%; /* Adjust padding to avoid excessive spacing */
    background: rgba(0, 0, 20, 0.75);}
    @media (max-width: 768px) {
        .hero {
            padding-top: 80px; /* ✅ Pushes hero section down */
        }
    }
    

.hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
}
/* Profile Container */
.profile-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* Profile Video */
.profile-video {
    width: 550px; /* Adjusted size */
    height: 650px;
    border-radius: 30px; /* Slightly softer rounded corners */
    object-fit: cover;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.3);
}

/* Hero Content */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 50px 10%;
}

/* Hero Text */
.hero-text {
    flex: 1;
    text-align: left;
}

/* 🔹 Responsive Adjustments for iPhone 12 Pro & Small Screens */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Stack video & text */
        text-align: center; /* Center align text */
        padding: 20px; /* Reduce padding */
    }

    .profile-video {
        width: 80%; /* Adjust to screen size */
        height: auto; /* Maintain aspect ratio */
        max-width: 350px; /* Prevent overflow */
    }

    .hero-text {
        margin-top: 20px; /* Reduce excessive spacing */
        font-size: 1.1rem;
    }

    .hero-text h1 {
        font-size: 2rem; /* Resize heading for readability */
    }
}

     /* Prevents movement when text animates */



/* Name Highlight */
.highlight-name {
    color: #00ccff;
    text-shadow: 0 0 20px #00ccff;
}

/* University Highlight */
.highlight-university {
    font-size: 1.7rem;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 15px #ffcc00;
}

/* Paragraph Text */
.hero-text p {
    font-size: 1.3rem;
    color: #ddd;
    margin-top: 60px;
    line-height: 1.5;
}

/* Highlighted Text */
.hero-text .highlight {
    color: #00ff99;
    font-weight: bold;
}

/* Typing Effect */
.dynamic-text {
    color: #ff00ff;
    font-size: 2rem;
    text-shadow: 0 0 15px #ff00ff;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #00ccff;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px #00ccff;
}

.btn:hover {
    background: #b3ff00;
    box-shadow: 0 0 15px #b3ff00;
}

/* About Section */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 100px 10%;
    background: rgba(0, 0, 20, 0.75);
    width: 100vw;
    min-height: 50vh;
}

/* Adjust Layout for Mobile */
@media (max-width: 768px) {
    .about {
        flex-direction: column; /* Stack heading and content */
        text-align: center; /* Center text */
        padding: 50px 5%;
    }

    .about h2 {
        font-size: 2.5rem; /* Reduce size for mobile */
        text-align: center;
        position: static; /* Remove position offset */
        margin-bottom: 20px; /* Space between heading and content */
        width: 100%;
    }

    .about-content {
        flex: none; /* Reset flex */
        max-width: 90%;
        font-size: 1.2rem;
    }
}
    


/* Left-Aligned Heading */
.about h2 {
    font-size: 3.5rem;
    color: #00ccff;
 
    margin-bottom: 10px;
    letter-spacing: 1px;
    flex: 1; /* Takes space on the left */
    position: relative; /* Allows precise movement */
    left: 10px; /* Moves text slightly to the right */
    top: 0px; /* Moves text slightly up */
 /* Aligns the heading properly */
}

/* About Content - Aligned to Right */
.about-content {
    flex: 2; /* Takes more space on the right */
    max-width: 750px;
    color: #ddd;
    line-height: 1.6;
    font-size: 1.4rem;
    padding: 20px 0;
}

/* Highlighted Text */
.about-content .highlight {
    color: #8cff00;
    font-weight: bold;
    text-shadow: 0 0 10px #8cff00;
}

/* Subtle Line Divider */

/* Profile Image - Right Aligned */


/* Education Section */

.education {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background: rgba(0, 0, 20, 0.75);
    width: 100vw;
    min-height: 60vh;
}

/* Education Section Title */
.education h2 {
    font-size: 3.5rem;
    color: #00ccff;
  
    margin-bottom: 20px;
    letter-spacing: 1px;
    flex: 1;
    position: relative;
}

/* Education Content - Adjust for Desktop */
.education-content {
    flex: 2;
    max-width: 750px;
    color: #ddd;
    line-height: 1.6;
    font-size: 1.4rem;
    padding: 20px 0;
}

/* Education Box */


/* Hover Effect */
.education-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

/* Education Title */
.education-box h3 {
    font-size: 2rem;
    color: #00ccff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px #00ccff;
}

/* Degree Title */
.education-box h4.degree {
    font-size: 1.6rem;
    color: #b3ff00;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Education Details */
.education-box ul {
    list-style: none;
    padding-left: 0;
}

/* List Items */
.education-box ul li {
    font-size: 1.3rem;
    color: #ddd;
    padding: 7px 0;
    font-weight: 500;
}

/* Bullet Point Style */
.education-box ul li::before {
    content: "➤";
    color: #00ccff;
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .education {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 50px 5%;
    }

    .education h2 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .education-content {
        width: 90%;
        font-size: 1.2rem;
    }

    .education-box {
        text-align: center;
        width: 100%;
        padding: 15px;
    }

    .education-box ul li {
        text-align: left;
        font-size: 1.2rem;
    }
}



/* Skills Section */
.skills {
    text-align: center;
    padding: 80px 10%;
    background: rgba(0, 0, 20, 0.75);
    width: 100vw;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

/* Section Heading */
.skills h2 {
    font-size: 3rem;
    color: #00ccff;
 
    margin-bottom: 30px;
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
    justify-items: center;
}

/* Skill Card */
.skill-card {
    background: rgba(0, 1, 15, 0.9);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 0 15px #00ccff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 70px;
}

/* Hover Effect */
.skill-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ff99;
}

/* Responsive Grid for Mobile */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .skills-container {
        grid-template-columns: 1fr; /* Stacks skills in one column */
    }

    .skill-card {
        width: 90%;
        height: auto;
        padding: 12px 20px;
        font-size: 20px;
    }
}


/* Projects Section */
.projects {
    text-align: center;
    padding: 80px 10%;
    background: rgba(0, 0, 20, 0.75); /* Matches previous sections */
    width: 100vw; /* Ensures full width */
  
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0; /
}

/* Section Heading */
.projects h2 {
    font-size: 2.8rem; /* Slightly reduced to match Skills */
    color: #00ccff;

    margin-bottom: 30px;
}

/* Project Cards Grid */
.card-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr)); /* Matches Technical Skills structure */
    gap: 25px;
    justify-content: center;
    max-width: 900px;
    margin: auto;
}

/* Individual Project Card */
.card {
    background: rgba(0, 2, 2, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(27, 150, 181, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    max-width: 400px; /* Reduced to keep it aligned */
    min-height: 420px; /* Adjusted to keep consistent sizing */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover Effect */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ccff;
}

/* Project Image */
.card img {
    width: 180px; /* Reduced to match skill icons */
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
    margin: auto;
}

/* Image Hover Effect */
.card:hover img {
    transform: scale(1.1);
}

/* Project Title */
.card h3 {
    font-size: 20px;
    color: #00ccff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ccff;
}

/* Project Description */
.card p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1; /* Ensures text distributes properly */
}

/* GitHub Link */
.card a {
    color: #ff00ff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s, text-shadow 0.3s;
}

/* GitHub Link Hover Effect */
.card a:hover {
    color: #00ff99;
    text-shadow: 0 0 12px #00ff99;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(1, 1fr); /* Single column on small screens */
    }
    .projects {
        padding: 60px 5%;
    }
    .card {
        min-height: auto; /* Adjust height for mobile */
    }
}/* Experience Section */
/* Experience Section */
.experience {
    text-align: center;
    padding: 80px 10%;
    font-size: 2rem;
    color: #00ccff;
   
    margin-bottom: 30px;
    background: rgba(0, 0, 20, 0.75);
    width: 100vw;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}
@media (max-width: 768px) {
    .experience {
        background: rgba(0, 0, 20, 0.75); /* ✅ Completely removes transparency */
    }
}


/* Experience Container - Change grid to flex */
.experience-container {
    display: flex; /* Change from grid to flex */
    flex-direction: column; /* Stack cards vertically */
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

/* Experience Card */
.exp-card {
    background: rgba(11, 3, 1, 0.75);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

/* Hover Effect */
.exp-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(0, 204, 255, 0.5);
}

/* Experience Header */
.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.exp-header h3 {
    color: #00ccff;
    font-size: 24px;
}

.exp-date {
    font-size: 16px;
    color: #b3ff00;
    font-weight: bold;
}

/* Location */
.exp-location {
    font-size: 14px;
    font-style: italic;
    color: #aaa;
    margin-bottom: 10px;
}

/* Job Title */
h4 {
    font-size: 20px;
    color: #b3ff00;
    margin-bottom: 10px;
}

/* Job Responsibilities List */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    font-size: 16px;
    padding: 5px 0;
    color: #ddd;
    position: relative;
}

/* Bullet Point Icon */
ul li::before {
    content: "➤";
    color: #00ccff;
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .experience-container {
        flex-direction: column; /* Keep stacked on mobile */
    }

    .exp-card {
        width: 90%;
    }

    .exp-header h3 {
        font-size: 22px;
    }

    .exp-date {
        font-size: 14px;
    }

    .exp-location {
        font-size: 13px;
    }

    h4 {
        font-size: 18px;
    }

    ul li {
        font-size: 15px;
    }
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 80px 10%;
    background: rgba(0, 0, 20, 0.75); /* Matches other sections */
    width: 100vw; /* Ensures full width */
    min-height: 50vh; /* Provides enough height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* Contact Heading */
.contact h2 {
    font-size: 3rem;
    color: #00ccff;
    text-shadow: 0 0 20px #00ccff;
    margin-bottom: 15px;
}

/* Contact Text */
.contact p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Contact Links (Buttons) */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

/* Contact Button Styling */
.contact-button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.4);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Button Hover Effect */
.contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ccff;
}

/* Contact Icons */
.contact-button img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 5px #00ccff);
}

/* Footer */
.footer {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: white;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 5% 5%;
    }

    .hero img {
        width: 80%; /* Adjust image size for smaller screens */
    }
}
