@import url('https://fonts.googleapis.com/css2?family=Cookie&family=DM+Serif+Text:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Prosto+One&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

/* Typography Standards */
h1 { font-size: 72px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 24px; }
p  { font-size: 16px; }
a  { text-decoration: none;}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    transition: .5s;
}

.header:hover::before{
    left: 100%;
}

#menu-icon{
    font-size: 2rem;
    color: #336D82;
    display: none;
}
 
@media(max-width: 992px){
    .header{
        padding: 1.25rem 4%;
    }
} 

@media(max-width: 768px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: .5rem 4%;
        display: none;
        text-align: center;
    }

    .navbar.active{
        display: block;
    }

    .navbar a{
        display: block;
        margin: 2rem 5rem;
    }
    .nav-bg{
        position: fixed;
        top: 11.8%;
        left: 0;
        width: 100%;
        height: 360px;
        background: rgba(255, 255, 255, .1);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid #336D82;
        z-index: 99;
        display: none;
    }
    .nav-bg.active{
        display: block;
        z-index: 0;
    }

} 

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.logo:hover img {
  transform: rotate(15deg) scale(1.05);
}
.navbar{
    margin: 0 30px;
}
.navbar a{
    color: #336D82;
    font-size: 1.2rem;
    font-weight: bolder;
    text-decoration: none;
    margin-left: 35px;
}
.navbar a:hover{
    color: goldenrod;
}

.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.banner > * {
    position: relative;
    z-index: 1;
}

span {
    font-size: 4rem;
    color: green;
}

.info {
    width: 80%;
    margin-left: 3rem;
    padding: 0 1rem;
    margin-top: 5rem;
}

.info h1 {
    font-size: 4rem;
    width: 80%;
    color: #4F1C51;
    padding-left: 2rem;
    text-transform: capitalize;
}

.info p {
    margin: 2rem 0;
    padding-left: 2rem;
    font-size: 1.8rem;
    width: 70%;
}

.online {
    background-color: #AFDDFF;
    width: 300px;
    height: 50px;
    border-radius: 25px;
    margin: 0 0 1rem 2rem;
}

.online h4 {
    color: #336D82;
    font-size: 1.2rem;
    position: relative;
    left: 17px;
    bottom: 28px;
}

.buttons {
    display: flex;
    align-items: flex-start;
    padding-left: 15px;
}

.buttons a {
    text-align: center;
    padding: 15px 30px;
    font-weight: lighter;
    margin: 1rem;
    border-radius: 15px;
    font-size: 1.2rem;
    width: 200px;
}

.buttons a:nth-child(1) {
    color: #F7F7F7;
    background-color: #4F1C51;
    border: 2px solid #4F1C51;
}

.buttons a:nth-child(2) {
    color: black;
    background: #F7F7F7;
    border: 2px solid #4F1C51;
}

.buttons a:hover{
    border: none;
    background-color: #01dbc2;
    color: #101136;
}
.experience {
    display: flex;
    margin: 1rem;
}

.exp-list {
    font-size: 2rem;
    margin: 1rem 0 0 5rem;
    padding: 10px 30px;
    line-height: 1.5;
    border-radius: 20px;
    border-bottom: 4px solid #4F1C51;
}
.exp-list p{
    font-size: 1.2rem;
    color: #5E686D;
}

.scroll h3{
    font-size: 1.5rem;
    text-align: center;
    color: #5E686D;
}

@media (max-width: 992px) {
    .header{
        background: none;
    }

    .banner::before {
        content: "";
        width: 100%;
        height: 100%;
        background: url("../img/banner-backgound.gif") center / cover no-repeat;
    }

    .info {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .online h4 {
        color: #336D82;
        font-size: 1rem;
        position: relative;
        left: 5px;
        bottom: 28px;
    }

    .navbar a{
        color: aliceblue;
    }
    .info h1 {
        font-size: 3rem;
        width: 100%;
        color: #F2C078;
        margin: 1.5rem auto;
    }

    .info p {
        font-size: 1.5rem;
        width: 90%;
        padding-left: 0;
        color: #FCD8B4;
        margin: 1.5rem auto;
    }

    .buttons {
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
    }

    .buttons a {
        width: 180px;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .experience {
        display: flex;
        justify-content: space-between;
        color: #B2C6D5;
    }

    .exp-list {
        margin: 2rem;
        font-size: 1.2rem;
        width: 60%;
        border: none;
        text-align: center;
    }
    .exp-list p{
        color: #BB3E00;
    }
}
@media (max-width: 768px) {
    .header{
        background: none;
    }

    .banner::before {
        content: "";
        width: 100%;
        height: 100%;
        background-image: url("../img/banner-backgound.gif");
    }
    .online h4 {
        color: #336D82;
        font-size: 1rem;
        position: relative;
        left: 5px;
        bottom: 28px;
    }

    .info h1 {
        font-size: 2.8rem;
        margin: 1.2rem auto;
    }

    .info p {
        font-size: 1.2rem;
        width: 100%;
        margin: 1.5rem 0;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .buttons a {
        width: 90%;
        max-width: 240px;
        margin: 0.5rem 0;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .experience {
        width: 90%;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .exp-list {
        width: 100%;
        margin: 1.5rem 0;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .exp-list p {
        font-size: 1rem;
        color: #BB3E00;
        font-weight: bolder;
    }

    .scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .header{
        background: none;
    }

    .banner::before {
        content: "";
        width: 100%;
        height: 100%;
        background-image: url("../img/banner-backgound.gif");
    }

    .info h1{
        font-size: 2.8rem;
        width: 100%;
        color: #F2C078;
        margin: 1.5rem auto;
        padding: 0;
    }   

    .info p{
        padding: 0;
        margin: 2rem 0;
        width: 100%;
        color: #F2F2F2;
        font-size: 1.8rem;
    }

    .online{
        background-color: #90D1CA;
        width: 260px;
        height: 50px;
    }

    .online h4 {
        color: #309898;
        font-size: 1rem;
        position: relative;
        left: 5px;
        bottom: 28px;
    }

    .buttons {
        display: grid;
        margin: 2rem 0;
    }

    .buttons a {
        text-align: center;
        width: 200px;
        font-size: 1.4rem;
    }

    .buttons a:nth-child(1) {
        color: #F7F7F7;
        background-color: #F4631E;
        border: 2px solid #F4631E;
    }
    .buttons a:hover{
        color: #FCD8B4;
        background: #082C38;
        border: 2px solid #082C38;
        transform: scale(1.1);
    }

    .experience {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        width: 80%;
    }

    .exp-list {
        font-size: 1.2rem;
        line-height: 1.3;
        color: #F2C078;
        border: none;
    }

    .exp-list p{
        font-size: 1.5rem;
        color: #B2C6D5;
    }

    .scroll{
        display: none;
    }
}

/***My projects styles starts from here***/
.work-section {
  padding: 50px 20px;
  text-align: center;
  background: url("/img/bg20.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  color: #fff; /* white text for contrast */
  overflow: hidden;
  border-radius: 12px;
  max-width: 960px;
  margin: 40px auto;
}

/* Add a subtle dark overlay for better readability */
.work-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  z-index: 1;
}

/* Ensure the actual content is above the overlay */
.work-section > * {
  position: relative;
  z-index: 2;
}

.work-toggle-btn {
  background-color: #005f73; /* deep teal/blue-green */
  color: #ffb703;            /* warm mustard yellow */
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: background 0.3s, color 0.3s;
}

.work-toggle-btn:hover {
  background-color: #0a9396; /* lighter teal */
  color: #fff;               /* white on hover for contrast */
}

.work-content {
  display: none;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.work-content.show {
  display: flex;
}

.work-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 300px;
  text-align: left;
}

.work-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.work-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.work-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.work-card a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}
.work-card a:hover {
  text-decoration: underline;
}

/**MY projects styles end here**/

section {
    width: 100%;
    padding: 2rem;
    border: 3px solid #4F1C51;
    box-sizing: border-box;
    background: #fff;
}

section h2 {
    margin: 2rem auto;
    font-size: 3rem;
    text-align: center;
    color: #4F1C51;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: space-between;
}

.profile-img {
    flex: 1 1 40%;
    max-width: 500px;
    height: auto;
    padding: 1rem;
    box-sizing: border-box;
}

.profile-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.profile-info {
    flex: 1 1 55%;
    padding: 1rem;
    box-sizing: border-box;
}

.profile-info h3 {
    color: #BB3E00;
    padding: 2rem 0 1rem 0;
    margin-bottom: 1rem;
}

.profile-info p {
    font-size: 1.1rem;
    color: #336D82;
    line-height: 1.7;
}

.exp-edu {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 1rem;
    margin-top: 2rem;
}

.profile-education {
    flex: 1 1 45%;
    background: #F9F9F9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.profile-education h4 {
    padding-left: 0.5rem;
    color: #E87A64;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #E87A64;
}

.information {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.information i {
    font-size: 3rem;
    color: goldenrod;
}
.edu-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-img,
    .profile-info {
        width: 100%;
        padding: 0;
    }

    .profile-info h3 {
        text-align: center;
    }

    .profile-info p {
        text-align: center;
    }

    .exp-edu {
        flex-direction: column;
    }

    .profile-education {
        width: 100%;
    }
}

@media (max-width: 480px) {
    section h2 {
        font-size: 2.2rem;
        margin: 1.5rem auto;
    }

    .profile-info h3 {
        font-size: 1.5rem;
    }

    .information i {
        font-size: 3rem;
        position: relative;
        left: 5px;
        top: 25px;
    }

    .edu-info p {   
        font-size: 0.85rem;
        text-align: left;
    }

}

main{
    background: url('..//img/bg2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    padding: 1.5rem;
}


.skill-cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;

}
.skill{
    text-align: left;
    width: 30%;
    margin: 60px auto;
    color: #082C38;
    background: #FEF3E2;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.skill:nth-child(3){
    width: 35%;
}

.skill h3{
    font-size: 1.2rem;
    padding: 10px 6px;
}

.skill li{
    margin: 20px 0;
    padding: 10px;
}

.bar{
    background: #353b48;
    display: block;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.bar span{
    height: 20px;
    float: left;
    background: linear-gradient(82deg,rgba(255, 119, 0, 1) 0%, rgba(171, 10, 152, 1) 100%);
}


/* Bar Animations */
.design { width: 90%; animation: design 3s; }
.develop { width: 80%; animation: develop 3s; }
.market { width: 65%; animation: market 3s; }
.post { width: 85%; animation: post 3s; }

@keyframes design { 0% { width: 0%; } 100% { width: 90%; } }
@keyframes develop { 0% { width: 0%; } 100% { width: 80%; } }
@keyframes market { 0% { width: 0%; } 100% { width: 65%; } }
@keyframes post { 0% { width: 0%; } 100% { width: 85%; } }


.small-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-skill{
    display: flex;
    flex-wrap: wrap;
    margin: 1rem;
    gap: 15px;
}

.tiny{
    background-color: #E5D9F2;
    color: #4F1C51;
    border-radius: 25px;
    padding: 10px 5px;
    text-align: center;
    width: 30%;
}


.other-skills{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    margin: 20px;
    background-color: #B2C6D5;
    border-radius: 15px;
}

.other-skills i{
    font-size: 3rem;
    color: teal;
    margin-left: 1.5rem;
}

.other-info{
    padding: 10px 15px;
}

.other-info h4{
    color: #4F1C51;
    font-size: 1.1rem;
}

.other-info p{
    font-size: 0.9rem;
}

.card h3{
    color: #BB3E00;
    text-align: center;
    font-size: 1.5rem;
    padding: 20px;
}

.main-title{
    padding: 2rem;
}

.main-title h2{
    font-size: 4.5rem;
}

.main-title h3{
    color: #BB3E00;
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .skill {
        flex: 1 1 45%;
    }
    .main-title h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .skill {
        flex: 1 1 80%;
    }
    .tiny {
        flex: 1 1 45%;
    }
    .main-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .tiny {
        flex: 1 1 40%;
    }

    .main-title h2 {
        font-size: 2rem;
    }

    .main-title h3{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    }
    .skill li {
        font-size: 0.95rem;
    }
    .other-skills i{
        display: none;
    }
    .other-skills {
        flex-direction: column;
        text-align: center;
    }
    .other-skills i {
        margin: 0;
    }
}

.contact-section{
    width: 100%;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url("../img/bg5.jpg") center/cover no-repeat;
}

.content{
    max-width: 800px;
    text-align: center;
}

.content h2{
    font-size: 4rem;
    color: #D9D9D9;
}

.content p{
    font-size: 1.4rem;
    color: #E5D9F2;
    font-weight: 300;
}

.cannister{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 2rem;
}

.contact-info{
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.box{
    position: relative;
    padding: 20px 0;
    display: flex;
    cursor: pointer;
}

.icon{
    position: relative;
    min-width: 60px;
    height: 60px;
}

.icon i{
    font-size: 2rem;
    padding: 10px;
    color: #222;
    background-color: #FF8C00;
}

.text{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    font-size: 2.5rem;
    font-weight: 500;
    color: #E5D9F2;   
}

.text h3{
    font-weight: bold;
    color: #FF8C00;
}

.txt{
    color: #D9D9D9;
    margin-top: 50px;
    font-weight: 500;
    border-left: 50px solid #FF8C00;
    padding-left: 10px;
    line-height: 1em;  
}

.social{
    position: relative;
    display: flex;
    gap: 30px;
    margin: 1rem 5px;
}

.social a{
    color: #D9D9D9;
    font-size: 2rem;
    transition: 0.25s;
}

.social a:hover{
    color: #FF8C00;
    filter: drop-shadow(0 0 5px #01dbc2);
}

.contact-form{
    width: 60%;
    position: relative;
    padding: 60px;
    border: 2px solid #FF8C00;
}

.contact-form h2{
    font-size: 2rem;
    color: #FF8C00;
}

.input-box{
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.input-box input, textarea{
    width: 100% !important;
    padding: 5px 0;
    font-size: 1.2rem;
    margin: 10px 0;
    border: none;
    background: transparent;
    border-bottom: 2px solid #FF8C00;
    color: #E5D9F2;
    outline: none;
    resize: none;
}

.input-box input:focus ~ span, 
.input-box textarea:focus ~ span,
.input-box input:valid ~ span, 
.input-box textarea:valid ~ span
{
    color: #309898;
    font-size: 1.1rem;
    transform: translateY(-24px);
}

.input-box span{
    position: absolute;
    left: 0;
    pointer-events: none;
    padding: 5px 0;
    margin: 10px 0;
    font-size: 1.2rem;
    color: #E5D9F2;
    transition: 0.5s;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
    opacity: 0;
}

.input-box input[type="submit"]{
    width: 100%;
    background-color: #FF8C00;
    color: #222;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-view{
    display: none;
}

/* Hide mobile version by default */
.mobile {
    display: none;
    position: relative;
    font-size: 2rem;
    color: #D9D9D9;
}

/* Add underline using pseudo-element */
.mobile::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0 ;
    width: 50%;
    margin-left: 5rem ;
    height: 5px;
    background-color: #BB3E00;
    border-radius: 3px;
}


/* Medium devices – tablets/small laptops (≤ 998px) */
@media (max-width: 998px) {
    .contact-section {
        padding: 40px 30px;
    }

    .cannister {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .text {
        font-size: 1.4rem;
    }

    .content h2 {
        font-size: 3rem;
    }

    .content p {
        font-size: 1.3rem;
    }
}

/* Small devices – smartphones (≤ 480px) */
@media (max-width: 480px) {
    .contact-section {
        padding: 0;
        background-color: white;
    }

    .content{
        background: #0296FF;
        width: 100%;
        height: 20vh;
    }

    .content h2 {
        display: none;
    }

    .input-box input::placeholder,
    .input-box textarea::placeholder{
        opacity: 0.5;
        font-size: 1.2rem;
        color: #969696;
        padding: 10px;
    }
    .content p {
        display: none;
    }

    .cannister {
        flex-direction: column;
        gap: 30px;
        background: #f5f5f5;
    }

    .contact-form {
        padding: 25px 15px;
        border: none;
        width: 85%;
        background: #D9D9D9;
        margin: 0 auto;
        transform: translateY(-80px);
        box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.5);
    }

    .contact-form h2 {
        font-size: 2rem;
        text-align: center;
        color: #222;
    }

    .desktop{
        display: none;
    }

    .mobile{
        display: block;
    }
    .mobile-view{
        display: inline-block;
        text-align: center;
        margin: 2rem;
    }

    .input-box input,
    .input-box textarea {
        font-size: 1.5rem;
        padding: 10px;
        color: #082C38;
        border-radius: 25px;
        border: 2px solid #082C38;
    }

    .input-box span {
        font-size: 1.5rem;
        color: #222;
        padding: 10px 20px;
        transform: translateY(-38px);
    }

    .input-box input[type="submit"] {
        font-size: 1.2rem;
        padding: 15px 10px;
        color: #F2F2F2;
        background-color: #0296FF;
    }

    .text {
        font-size: 1.1rem;
    }

    .text h3 {
        font-size: 1.2rem;
        color: #BB3E00;
    }

    .text p{
        color: #222;
        margin: 10px 0;
    }

    .icon i {
        font-size: 2.5rem;
        padding: 15px;
        background: transparent;
        color: #BB3E00;
    }

    .txt {
        font-size: 1.8rem;
        color: #082C38;
        border-left: 30px solid #BB3E00;
    }

    .social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .social a {
        font-size: 1.5rem;
        color: #353b48;
    }
}

footer{
    background: #101136;
}
.footer-section{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.cards{
    width: 30%;
    padding: 0 20px;
    margin-top: 1rem;
    color: #E5D9F2;
}

.cards img{
    width: 100px;
    height: 80px;
    margin-left: 3.8rem;
}

.logo-title h3{
    font-size: 1.8rem;
    width: 80%;
    text-align: center;
}

.logo-title p{
    width: 80%;
    text-align: center;
    color: #969696;
}

.quick-links{
    margin: 1.5rem 10px;
}

.quick-links a{
    color: #969696;
    line-height: 2.5;
    opacity: 0.5;
    font-size: 1rem;
}

.quick-links a:hover{
    opacity: 1;
}

.subscribe{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subscribe input{
    width: 60%;
    height: 30px;
    color: #082C38;
    outline: none;
}
.subscribe a{
    width: 60%;
    text-align: center;
    color: #D9D9D9;
    padding: 10px 40px;
    border-radius: 10px;
    background-color: #484BE4;
}
.subscribe a:hover{
    color: #082C38;
    background-color: #9D4FFD;
}
.footer-sml-content{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

hr{
    width: 95%;
    margin: 0 auto;
}

.terms{
    margin-left: 1rem;
}
.policy a{
    color: #969696;
}
.policy a:hover{
    color: white;
}
.terms p{
    color: #969696; 
}
.newsletter{
    width: 80%;
    margin: 1rem 0;
}

.terms span{
    color: #484BE4;
    font-size: 1.2rem;
    padding-left: 5px;
}

/* ============================= */
/* 🎯 Media Queries for Responsiveness */
/* ============================= */

@media screen and (max-width: 998px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .cards {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .cards img {
        margin-left: 0;
    }

    .subscribe input,
    .subscribe a {
        width: 80%;
    }

    .logo-title h3,
    .logo-title p,
    .newsletter p {
        width: 100%;
    }
    
    .footer-sml-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .terms {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .logo-title h3 {
        font-size: 1.4rem;
    }

    .cards:nth-child(1){
        display: none;
    }

    .cards:nth-child(4){
        margin-left: 2rem;
    }

    .quick-links a {
        font-size: 0.9rem;
    }

    .subscribe input,
    .subscribe a {
        width: 100%;
    }

    .footer-sml-content{
        width: 80%;
        margin: 0 auto;
    }

    .policy{
        display: none;
    }

    .newsletter{
        font-size: 1.1rem;
        margin: 1rem auto;
    }

    .terms span {
        font-size: 1rem;
    }
}
