/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2 {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.title-animate {
    display: inline-block;
    animation: title-shift 6s ease-in-out infinite;
}

@keyframes title-shift {
    0% {
        color: #ffffff;
    }
    33% {
        color: #ffe6a6;
    }
    66% {
        color: #c6f2ff;
    }
    100% {
        color: #ffffff;
    }
}

p {
    color: #f9f9f9;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Buttons */
button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    font-size: 1.2rem;
    margin: 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

/* Fancy Button */
.fancy-button {
    display: inline-block;
    padding: 18px 45px;
    margin: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #667eea;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0px 6px 20px rgba(102, 126, 234, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fancy-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.fancy-button:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0px 12px 30px rgba(102, 126, 234, 0.6);
    border-color: #764ba2;
}

.fancy-button:hover:before {
    left: 0;
}

.fancy-button:active {
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(102, 126, 234, 0.4);
}

/* Div and Row Layout */
.d-flex {
    display: flex;
    width: 100%;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

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

.bgclr {
    background-color: rgb(255, 0, 0);
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
} 

/* Columns */
.col-12 {
    width: 100%;
}

.col-md-6 {
    width: 50%;
}

.row {
    display: flex;
    background-color: #ffffff;
    border-radius: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 60%;
    height: auto;
    margin-left: 20%;
    padding: 20px;
}

/* Year Buttons */
.buttonn {
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.buttonn:hover {
    background-color: #367e1e;
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

/* Dropdown Section */
#sectionyr, #sectionsub, #sectionsub3, #sectionsub4 {
    margin: 20px auto;
    text-align: center;
}

/* List */
ul {
    list-style-type: none;
    padding: 0;
    color: #fff;
}

li {
    margin: 10px 0;
    font-size: 1.3rem;
}

/* Misc */
hr {
    border: 1px solid #ddd;
    margin: 20px 0;
}

/* B.Tech Section */
.Btech {
    width: 100%;
    padding: 20px 0;
}

.hmggg {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.syear {
    background-color: #eaf3ff;
    border-radius: 25px;
    width: 100%;
    padding: 10px;
    color: #007bff;
}

.hdg {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #042547;
    width: 100%;
    padding: 10px 0;
    margin-top: 40px;
}

footer p {
    font-size: 12px;
    margin: 0;
}

.email-link {
    color: white;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

span {
    color: #007bff;
}

.clrnssc {
    font-style: italic;
    font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .row {
        width: 90%;
        margin-left: 5%;
        padding: 10px;
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
    }

    button, .buttonn {
        width: 90%;
        margin: 10px auto;
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    .hmggg {
        font-size: 1.5rem;
    }

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

    footer p {
        font-size: 10px;
        padding: 0 10px;
    }
}