/* ===========================
   Rajendra Kumar Website
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.7;
}

nav{
    position:fixed;
    top:0;
    width:100%;
    background:#0A2540;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    box-shadow:0 3px 12px rgba(0,0,0,.15);
}

.logo{
    color:#FFD700;
    font-size:28px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#FFD700;
}

.hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(135deg,#0A2540,#184D8C);
    color:white;
    padding:20px;
}

.hero h1{
    font-size:58px;
    margin-bottom:15px;
}

.hero h2{
    font-size:30px;
    color:#FFD700;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    max-width:700px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    background:#FFD700;
    color:#0A2540;
    padding:15px 35px;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:white;
    transform:scale(1.05);
}
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:20px;
    flex-wrap:wrap;
}
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:80px 20px;
}

.section-title{
    text-align:center;
    font-size:40px;
    color:#0A2540;
    margin-bottom:50px;
}
.section-subtitle{
    text-align:center;
    max-width:700px;
    margin:0 auto 40px;
    color:#666;
    font-size:18px;
    line-height:1.7;
}

.cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
}

.card{
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card h3{
    color:#0A2540;
    margin-bottom:15px;
}

.card p{
    color:#666;
}

.contact{
    text-align:center;
}

.contact p{
    font-size:20px;
    margin:15px 0;
}

footer{
    background:#0A2540;
    color:white;
    text-align:center;
    padding:30px;
}

@media(max-width:768px){

nav{
    flex-direction:column;
}

nav ul{
    margin-top:15px;
}

nav ul li{
    margin:0 10px;
}

.hero h1{
    font-size:40px;
}

.hero h2{
    font-size:24px;
}

.hero p{
    font-size:18px;
}

.section-title{
    font-size:32px;
}
   .about-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
}
.profile-image{
    text-align:center;
    margin:30px 0;
}

.profile-image img{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #FFD700;
    display:block;
    margin:0 auto;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}}
.profile-image {
    text-align: center;
    margin: 30px 0;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f4c542;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* Contact Section */

.contact-card{
    max-width:700px;
    margin:40px auto;
    background:#ffffff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    text-align:left;
}

.contact-card p{
    margin:18px 0;
    font-size:18px;
}

.contact-card a{
    color:#0d6efd;
    text-decoration:none;
    font-weight:bold;
}

.contact-card a:hover{
    text-decoration:underline;
}
#contact {
    padding: 80px 20px;
    text-align: center;
}

#contact .container {
    max-width: 900px;
    margin: 0 auto;
}
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card {
    width: 100%;
    max-width: 700px;
}
.about-card{
    display:flex;
    justify-content:center;
}

.about-card .card{
    max-width:800px;
    width:100%;
}
/* About Section Layout */
.about-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-items:center;
    gap:40px;
}

.about-card{
    width: 100%;
    display: flex;
    justify-content: center;
    
}
.about-card .cards{
    width:100%;
    display:flex;
    justify-content:center;
}
.about-card .card{
    max-width:800px;
    width:90%;
    margin:0 auto;
}

footer{
    background:#0A2540;
    color:white;
    text-align:center;
    padding:20px;
}
