* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Common divs */

section {
    padding:1.5rem;
    
}

.section-title{
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    text-transform: uppercase;
}


/* Hero Section */

.hero {
    min-height: clamp(20vh, 70vh, 60vh); /* Responsive height */
    background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
}


header {
    position:absolute;
    top:0;
    left:0;
    padding:1rem;
}

.cimLogo > img {
    width: clamp(100px, 15vw, 150px); /* Responsive width */
    height: auto; /* Maintain aspect ratio */
}


.main-title {
    display:flex;
    flex-direction: column;
}

.main-title h4 {
    font-size:20px;
    font-weight:100;
    margin-bottom:0.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.main-title h1{
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom:0.5rem;
    color: #ffffff;
}

.main-title h3{
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight:300;
    color: #FFD700 ;
    margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
}

.register-button {
    width: fit-content;
    background-color: #80D0C7; /* Teal tone for contrast */
    color: #09203f; /* Matches the background for harmony */
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.5rem);
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none; /* For links styled as buttons */
	margin-bottom: 1rem;
}

.register-button:hover {
    background-color: #537895; /* Slightly darker teal for hover */
    color: white; /* Brightens the text on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px); /* Subtle lift effect */
}


.main-title > .workshopDetails {
    width: fit-content;
    padding:0.4rem;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #cecece;
    margin-bottom: 1rem;
    position: absolute;
    bottom:0;
    left:0;
    margin-left: 20px;
}

/* Curriculum */
.curriculum {
  margin: auto;
  margin-top:2rem;
  max-width:1280px
}

.curriculumContent {
    column-count: 2;
    column-gap: 2rem;
    list-style-position: inside;
    margin-left:2rem;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-top: 1.5rem;
    line-height: 2.5rem;
}

@media screen and (max-width: 768px) {
    .curriculumContent {
        column-count: 1;
    }
}

/* Resource Persons */
.resourcePersons {
  margin: auto;
  margin-top:2rem;
  max-width:1280px
}

.resourcePersonProfiles{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.resourcePersonProfile {
    margin-top: 2rem;
    width:250px;
    display: flex;
    flex-direction: column;
    gap:0.5rem;
    align-items: center;
    justify-content: center;
}

.profilePhoto {
    width: clamp(150px, 20vw, 200px);
    height: clamp(150px, 20vw, 200px);
}

.profilePhoto > img {
    width:100%;
    height:100%;
    object-fit: contain;
    border-radius: 50%;
    transition: all 100ms;
}

.profilePhoto > img:hover {
    border-radius:20%
}

.profileName {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight:600;
    text-align: center;
}

.profileDesignation {
    font-size: clamp(0.8rem, 2.5vw, 1.3rem);
    text-align: center;
}


/* Workshop */
.workshop {
  margin: auto;
  margin-top:2rem;
  max-width:1280px
}

.workshopContent {
    margin-top: 1.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    line-height: 2rem;

}

.registerButton{
    margin:1.8rem 0;
    background:rgb(31, 31, 31);
    border: 1px solid black;
    color: white;
    padding:1rem 0.8rem;
    width: fit-content;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 100ms;
}

.registerButton:hover{
    background: rgb(49, 49, 49);
    font-size:1.02rem;
}

.contactDetails {
    font-size: clamp(0.8rem, 2.2vw, 1rem);

}

/* Footer */
.footer {
    background-color: #09203f; /* Matches CIM branding */
    color: #ffffff; /* White text for contrast */
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-top: 2px solid #537895; /* Subtle accent */
}

.footer-content {
    max-width: 800px; /* Optional: Limit content width for better readability */
    margin: 0 auto;
}

.footer-link {
    color: #80D0C7; /* Teal accent for the link */
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff; /* White on hover for emphasis */
}
