
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    margin-left: 20px;
    margin-right: 20px;
}

html{
    scroll-behavior:smooth;
}


/*BODY*/

body{

    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
    to bottom,
    #e0f2fe,
    #f8fbff
    );

    color:#1e293b;

    line-height:1.7;
}


/*HERO SECTION*/

.hero{

    background:
    linear-gradient(
    135deg,
    #dbeafe,
    #bfdbfe,
    #e0f2fe
    );

    padding:60px 20px 90px;

    text-align:center;

    border-bottom:5px solid #ea580c;

    position:relative;
}

/* ECU Logo */

.logo-container{

    display:flex;

    justify-content:center;

    margin-bottom:25px;
}

.ecu-logo{

    width:190px;

    transition:0.4s;
}

.ecu-logo:hover{

    transform:scale(1.08) rotate(2deg);
}

/* Profile */

.profile-photo{

    width:180px;
    height:180px;

    border-radius:50%;

    object-fit:cover;

    border:6px solid #ea580c;

    box-shadow:0 8px 20px rgba(0,0,0,0.15);

    margin-bottom:20px;

    transition:0.4s;
}

.profile-photo:hover{

    transform:scale(1.05);
}

.hero h1{

    font-size:60px;

    color:#ea580c;

    margin-bottom:10px;
}

.subtitle{

    font-size:20px;

    color:#334155;

    margin-bottom:30px;
}

/* BUTTON */

.hero-btn{

    display:inline-block;

    padding:15px 35px;

    background:#ea580c;

    color:white;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:0.3s;
}

.hero-btn:hover{

    background:#c2410c;

    transform:translateY(-4px);
}


/*NAVIGATION SECTION*/

.navigation-section{

    padding:80px 10%;
}

.navigation-section h2{

    text-align:center;

    font-size:42px;

    color:#ea580c;

    margin-bottom:50px;
}

/* NAV GRID */

.nav-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));

    gap:30px;
}

/* NAV CARDS */

.nav-card{

    background:white;

    text-decoration:none;

    color:#1e293b;

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    position:relative;

    overflow:hidden;

    transition:0.4s;

    box-shadow:0 8px 20px rgba(0,0,0,0.08);

    border-top:6px solid #ea580c;
}

/* HOVER EFFECT */

.nav-card:hover{

    transform:
    translateY(-10px)
    scale(1.03);

    background:
    linear-gradient(
    135deg,
    #eff6ff,
    #dbeafe
    );

    box-shadow:
    0 12px 25px rgba(59,130,246,0.25);
}

/* ICON */

.nav-card span{

    font-size:45px;

    display:block;

    margin-bottom:15px;
}

/* TITLE */

.nav-card h3{

    color:#ea580c;

    margin-bottom:12px;

    font-size:25px;
}

/* TEXT */

.nav-card p{

    color:#475569;

    font-size:15px;
}


/*ABOUT CARD*/

.content-card{

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:0 5px 18px rgba(0,0,0,0.08);

    border-left:6px solid #ea580c;

    font-size:18px;
}


/*COURSE CATALOG*/

.course-grid,
.tool-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;
}

.course-card,
.tool-card{

    background:white;

    padding:30px;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,0.08);

    transition:0.3s;

    position:relative;

    overflow:hidden;
}

.course-card::before,
.tool-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:6px;

    background:#ea580c;
}

.course-card:hover,
.tool-card:hover{

    transform:translateY(-10px);

    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.course-card h3,
.tool-card h3{

    color:#ea580c;

    margin-bottom:15px;

    font-size:24px;
}


/*FORMS*/

.contact-card{

    background:white;

    padding:35px;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

input{

    width:100%;

    padding:14px;

    margin:12px 0;

    border:1px solid #cbd5e1;

    border-radius:10px;

    font-size:16px;

    transition:0.3s;
}

input:focus{

    border-color:#ea580c;

    outline:none;

    box-shadow:0 0 8px rgba(234,88,12,0.2);
}

button{

    padding:14px 22px;

    border:none;

    background:#ea580c;

    color:white;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:0.3s;
}

button:hover{

    background:#c2410c;

    transform:translateY(-2px);
}

.button-group{

    display:flex;

    gap:15px;

    margin-top:10px;
}

.radio-group{

    margin:15px 0;
}


/*OUTPUT BOX*/

.output-box{

    margin-top:25px;

    background:#fff7ed;

    padding:20px;

    border-radius:12px;

    border:1px solid #fed7aa;
}


/*FOOTER*/

footer{

    background:#1c2c52;

    color:white;

    text-align:center;

    padding:25px;

    margin-top:50px;
}


/*RESPONSIVE*/

@media(max-width:768px){

    .hero h1{

        font-size:38px;
    }

    .main-section h2,
    .navigation-section h2{

        font-size:30px;
    }

    .profile-photo{

        width:140px;
        height:140px;
    }

}

/*CALCULATOR RADIO BUTTONS*/

.radio-group{

    display:flex;

    justify-content:center;

    gap:15px;

    margin:20px 0;

    flex-wrap:wrap;
}

/* LABEL DESIGN */

.radio-group label{

    display:flex;

    align-items:center;

    justify-content:center;

    width:60px;

    height:60px;

    background:#eff6ff;

    border:2px solid #cbd5e1;

    border-radius:15px;

    font-size:28px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

    color:#ea580c;
}

/* HOVER EFFECT */

.radio-group label:hover{

    background:#dbeafe;

    transform:scale(1.08);

    border-color:#ea580c;
}

/* HIDE SMALL DEFAULT RADIO */

.radio-group input[type="radio"]{

    display:none;
}

/* SELECTED STYLE */

.radio-group input[type="radio"]:checked + span{

    color:white;
}

/* ACTIVE LABEL */

.radio-group label:has(input:checked){

    background:#ea580c;

    color:white;

    border-color:#c2410c;

    box-shadow:0 5px 15px rgba(234,88,12,0.3);
}