/* Make sure the page uses full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #111827;
    color: #ffffff;
}

/* Flex layout for vertical stacking */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styling */
.header {
    background-color: #0d59ff;
    color: #ffffff;
    height: 55px;
    margin: 0;
    padding: 0;
}

/* Main content should grow to fill space */
.content {
    flex: 1;
    padding: 20px;
}

/* Footer styling */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d59ff;
    color: #000000;
    text-align: center;
    height: 35px;
    margin: 0;
    padding: 0;
}

.footer1 p {
    font-size: 16px;
}


/******************************/
/*** Navigation bar styling ***/
/******************************/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
}
  
#logo {
    font-size: 26px;
    font-weight: bold;
    transition: color 1s ease;
}
  
.navlinks {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
  
.navlinks li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.1s ease, color 0.3s ease;
    display: inline-block;
}
  
.navlinks li a:hover {
    transform: scale(1.1);
    color: #111827;
}


/*********************************/
/******* Home page styling *******/
/*********************************/

.info {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    background-color: #111827;
    color: #ffffff;
    /*padding-bottom: 20px;*/
}

.info img {
    width:410px;
    height:auto;
    border-radius: 130px;
    transition: transform 0.4s ease-in-out;
    margin-top: 20px;
    margin-bottom: 20px;
    
}

.info img:hover {
    transform: scale(1.07);
}

.text {
    margin-top: 170px;
    margin-right: 70px;
}

.text h1, h3, p {
    margin: 0;
    padding: 0;
}

.text p {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.icons {
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: #111827;
    transition: transform 200ms ease-in-out;
    float: left;
}

.icons:hover {
    transform: scale(0.9);
}

.icons img {
    width:40px;
    height: auto;
    margin: 0;
    padding: 0;
    margin-right: 25px;
    transition: transform 300ms ease;
}

.icons img:hover {
    transform: scale(2);
}


/********************************/
/***** Contact page styling *****/
/********************************/

.contact {
    padding: 10px 5px;
    font-size: 20px;
}

.links {
    margin-top: 30px;
}

.links a {
    text-decoration: none;
    color: #ffffff;
}

.section {
    display: flex;
    align-items: center;
    padding: 10px 30px;
    margin: 0;
    margin-right: 1300px;
    transition: transform 120ms ease-in-out;
}

.section img {
    width:40px;
    height: auto;
    margin: 0;
    padding: 0;
    margin-left: 25px;
    margin-right: 25px;
    
}

.section:hover {
    transform: scale(1.3);
}

.section h5 {
    margin: 0;
}


/********************************/
/****** About page styling ******/
/********************************/

.about {
    padding: 10px 5px;
    font-size: 20px;
}

.custom-table {
    margin-top: 25px;
    width: 50%;
    border-style: inset;
}

.custom-table th {
    border: 1px solid #ddd;
    background-color:#818691;
    color: #000000;
    padding: 8px;
    font-weight: bold;
    text-align: left;
}

.custom-table td {
    border: 1px solid #ddd;
    color: #ddd;
    padding: 8px;
    text-align: left;
}


/********************************/
/**** Portfolio page styling ****/
/********************************/

.portfolio {
    padding: 10px 5px;
    font-size: 20px;
}


/*******************************/
/** Bootstrap gallery styling **/
/*******************************/

/* Set carousel and image height */
.carousel-item {
    height: 400px;
    
}

.carousel-item img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* Align control buttons vertically */
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    height: auto;
}

/* Limit carousel max width */
.carousel {
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
}

.carousel-indicators {
  bottom: 10px;
}