/* =====================================================
   MIDHUN SURESH PORTFOLIO
   Main Stylesheet
===================================================== */


/* ===============================
   GLOBAL RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    background:
    radial-gradient(circle at top right,
    rgba(0,217,255,0.12),
    transparent 35%),

    #09090d;

    color: #ffffff;

    line-height: 1.6;

}



img {

    max-width: 100%;

    display: block;

}



a {

    color: inherit;

    text-decoration: none;

}



.section {

    padding: 100px 8%;

}



h1,h2,h3 {

    font-family: "Space Grotesk", sans-serif;

}



/* ===============================
   NAVBAR
================================ */


header {

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    background:

    rgba(9,9,13,0.65);

    backdrop-filter: blur(15px);

}



.navbar {

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 8%;

}



.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}



.nav-links {

    display:flex;

    list-style:none;

    gap:35px;

}


.nav-links a {

    color:#bdbdbd;

    font-size:14px;

    transition:.3s;

}



.nav-links a:hover {

    color:#00d9ff;

}



.resume-btn {

    padding:12px 22px;

    border-radius:30px;

    background:#00d9ff;

    color:#000;

    font-weight:600;

    font-size:14px;

}






/* ===============================
 HERO SECTION
================================ */


.hero {

    position:relative;

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    padding:140px 8% 80px;

    overflow:hidden;

    isolation:isolate;

}

.hero::before {

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(9,9,13,.45),
        rgba(9,9,13,.75)
    ),
	url("../images/backgrounds/hero-grid.webp")
    center/cover no-repeat;

    z-index:0;

}


.hero-content,
.hero-image {

    position:relative;

    z-index:1;

}


.small-title {

    letter-spacing:5px;

    color:#00d9ff;

    font-size:14px;

    margin-bottom:25px;

}



.hero h1 {

    font-size:clamp(45px,6vw,90px);

    line-height:1;

    font-weight:700;

}



.hero h1 span {

    color:#00d9ff;

}



.hero-description {

    margin-top:35px;

    max-width:520px;

    color:#b5b5b5;

    font-size:18px;

}



.hero-buttons {

    display:flex;

    gap:20px;

    margin-top:40px;

}



.primary-btn,
.secondary-btn {


    padding:15px 30px;

    border-radius:40px;

    font-weight:600;

}



.primary-btn {

    background:#00d9ff;

    color:#000;

}



.secondary-btn {

    border:1px solid #444;

}



.hero-image {
    position:relative;
}



.hero-image img {

    width:420px;

    height:420px;

    object-fit:cover;

    border-radius:30px;

    background:#111;

    box-shadow:

    0 0 80px rgba(0,217,255,.25);

}







/* ===============================
 STATISTICS
================================ */


.stats {

    display:grid;

    grid-template-columns:repeat(5,1fr);

    padding:40px 8%;

    border-top:1px solid #222;

    border-bottom:1px solid #222;
	
	background:
        radial-gradient(circle at center,
        rgba(0,217,255,.05),
        transparent 70%);

}



.stat-box {

    text-align:center;

}



.stat-box h2 {

    font-size:45px;

    color:#00d9ff;

}



.stat-box p {

    color:#aaa;

}








/* ===============================
 SECTION TITLES
================================ */


.section-title {

    margin-bottom:60px;

}


.section-title p {

    color:#00d9ff;

    letter-spacing:4px;

    font-size:13px;

}



.section-title h2 {

    font-size:45px;

    margin-top:15px;

}






/* ===============================
 ABOUT
================================ */


.about-grid {

    display:grid;

    grid-template-columns:400px 1fr;

    gap:70px;

    align-items:center;

}



.about-image {

    border-radius:25px;

}



.about-text p {

    color:#bbb;

    margin-bottom:20px;

    font-size:18px;

}







/* ===============================
 EXPERTISE CARDS
================================ */


.cards {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.card {


    padding:35px;

    background:

    rgba(255,255,255,.04);


    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;


    transition:.4s;

}



.card:hover {

    transform:translateY(-10px);

    border-color:#00d9ff;

}



.card img {

    width:45px;

    margin-bottom:25px;

}



.card h3 {

    margin-bottom:15px;

}



.card p {

    color:#aaa;

}








/* ===============================
 EXPERIENCE TIMELINE
================================ */


.timeline {

    border-left:2px solid #00d9ff;

    padding-left:40px;

}



.timeline-item {

    margin-bottom:50px;

    position:relative;

}



.timeline-item::before {

    content:"";

    position:absolute;

    left:-52px;

    top:10px;

    width:20px;

    height:20px;

    background:#00d9ff;

    border-radius:50%;

}



.timeline-item h3 {

    font-size:28px;

}



.timeline-item h4 {

    color:#00d9ff;

}



.timeline-item span {

    color:#888;

}



.timeline-item p {

    color:#bbb;

    margin-top:15px;

}








/* ===============================
 PROJECTS
================================ */


.project-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}



.project-card {


    background:#111218;

    border-radius:25px;

    overflow:hidden;

    border:1px solid #222;

    transition:.4s;

}



.project-card:hover {

    transform:translateY(-8px);

}



.project-card img {

    width:100%;

    height:280px;

    object-fit:cover;

}



.project-card h3 {

    padding:25px 25px 10px;

}



.project-card p {

    padding:0 25px 30px;

    color:#aaa;

}








/* ===============================
 SKILLS
================================ */


.skill-list {

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}



.skill-list span {


    padding:12px 25px;

    background:#15151b;

    border-radius:50px;

    border:1px solid #292929;

    color:#ddd;

}






/* ===============================
 CONTACT
================================ */


.contact {

    text-align:center;

}



.contact h2 {

    font-size:55px;

}



.contact p {

    color:#aaa;

    margin:20px;

}



.contact-details {

    display:flex;

    justify-content:center;

    gap:80px;

    margin-top:50px;

}



.contact-details p {

    color:white;

}








/* ===============================
 FOOTER
================================ */


footer {

    padding:40px;

    text-align:center;

    background:#050507;

    color:#777;

}





/* ===============================
 SCROLLBAR
================================ */


::-webkit-scrollbar {

    width:8px;

}


::-webkit-scrollbar-thumb {

    background:#00d9ff;

    border-radius:10px;

}

/* Mobile menu */

.mobile-menu-btn {

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}


.nav-links.mobile-active {

    display:flex;

    position:absolute;

    top:80px;

    left:0;

    width:100%;

    flex-direction:column;

    background:#09090d;

    padding:30px;

    text-align:center;

}




.form-group {

margin-bottom:20px;

}



.form-group textarea {

resize:none;

}



.form-group input:focus,
.form-group textarea:focus {


outline:none;

border-color:#00d9ff;


}



#form-status {

margin-top:20px;

}

.project-hero {

min-height:80vh;

}



.project-card strong {

color:#00d9ff;

font-weight:600;

}

.timeline ul {

    margin-top:20px;

    margin-left:20px;

    color:#aaa;

}


.timeline li {

    margin-bottom:10px;

}

/* ===============================
   CONTACT PAGE
================================ */


.contact-buttons {

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}



#contact-form {

max-width:750px;

margin:auto;

}



.form-group input,
.form-group textarea {


width:100%;

padding:18px;

background:#111218;

border:1px solid #333;

border-radius:15px;

color:white;

font-family:inherit;

font-size:16px;


}


.hidden-field {

display:none;

}




.map-container {

width:100%;

height:450px;

border-radius:25px;

overflow:hidden;

border:1px solid #222;

}



.map-container iframe {

width:100%;

height:100%;

border:0;

}
