/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;
    background-color: #000000;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #111111;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
html {
    scroll-behavior: smooth;
}
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.company-name {
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background-color: #333333;
    border-radius: 5px;
}

.head-title {
    display: flex;
    align-items: center;
    margin: auto;
    font-size: 4vw;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
.strlearn {
    padding: 20px 60px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: bold;
    font-size: 2vw;
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 200px;
    height: 300px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-front {
    background-color: whitesmoke;
    
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.card-back {
    background-color: #333333;
    color: white;
    transform: rotateY(180deg);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.card-back h3 {
    margin-top: 0;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #333333;
    border-radius: 5px;
    overflow: hidden;
    padding: 5px;
}

.search-container input {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 5px;
    width: 10;
    transition: width 0.3s ease;
}

.search-container input:focus {
    width: 200px;
    outline: none;
}

.search-container button {
    background: transparent;
    border: none;
    cursor: pointer;
}

.search-container img {
    height: 20px;
    filter: invert(100%);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon img {
    height: 30px;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.links-section {
    flex: 1;
    height: 60vh;
    overflow: auto;
    background-color: #222222;
    padding: 20px;
    border-radius: 10px;
}

.links-section ul {
    list-style: none;
}

.links-section ul li {
    margin-bottom: 5px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 50px;
    }

.links-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 5px;
    display: block;
    transition: color 0.3s ease;
}

.links-section ul li a:hover {
    /* color: #f0f0f0; */
    color: yellow;
    background-color: #333333;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 50px;
}

.output-section {
    flex: 3;
    overflow: auto;
    height: 80vh;
    background-color: #333333;
    padding: 20px;
    border-radius: 10px;
}

.output-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.output-content {
    background-color: #444444;
    padding: 15px;
    border-radius: 5px;
    min-height: 200px;
    color: #ffffff;
}

.summary-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #111111;
    padding: 20px;
    border-radius: 10px;
}

.summary,
.description {
    padding: 20px;
    background-color: #222222;
    border-radius: 10px;
}
.final{
    
    display: flex; align-items: center;justify-content: space-around;
}

footer {
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}

.homepagedetx {
    display:flex;
    align-items:center;
    justify-content:space-around;
}

/* Media Queries */
@media (max-width: 435px) {
    .search-container{
        display: none;
    }
    .ceo{
        flex-direction: column;
    }

}
@media (max-width: 750px) {

    .homepagedetx{flex-direction: column;}
    .profilecont{
        flex-direction: column;
    }
    
    .homepagedetx{
        display: block;
    }
    .homepagedetx p{
        margin-bottom: 10px;
    }
    .ceo{
        flex-direction: column;
    }
    
    
}
@media (max-width: 900px) {
    .section-about-us{
        margin-right: .2vw;
        margin-left: .2vw;
    }   
}

@media (max-width: 1020px) {
    .strlearn {
        font-size: 3vw;
    }

    .section-about-us{
        margin-right: 5vw;
        margin-left: 5vw;
    }
    .homepagedet p{
        margin-bottom: 10px;
    }
    .homepagedet {
        flex-direction: column;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #111111;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px;
        border-top: 1px solid #333333;
    }

    .nav-links li {
        margin: 10px 0;
    }

    

    .main-content {
        flex-direction: column;
    }

    .search-container input:focus {
        width: 150px;
    }
}
