* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans", Roboto;
    }

header {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 15%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    font-weight: normal;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/*  menu starts    */
.hamburger {
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    }
        
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
    }
        
.menu {
    position: fixed;
    top: 50px;
    right: 0px;
    width: 250px;
    height: calc(100vh - 50px);
    background-color: #000;
    padding: 15px 15px;
    display: none;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    border-left: 1px solid gray  ;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    }
        
.menu.show {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    }
        
.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 5px;
    font-size: 1rem;
    font-family: "IBM Plex Sans", Roboto;
    transition: background-color 0.3s ease;
    border-left: 3px solid transparent;
    }
        
.menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #444;
    }
        
.menu a.active {
    color: #999;
    border-left: 3px solid #999;
    background-color: rgba(255, 255, 255, 0.05);
    }
/*  menu end    */

.home {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("images/home.png");
    text-align: center;
    animation: shrink 15s infinite alternate;
    background-attachment: fixed;
}

@keyframes shrink {
  0% {
    background-size: 100% 100%;
  }
  100% {
    background-size: 115% 115%;
  }
}

/*  rotating phrases start*/
.rotating-phrases {
    font-family: "IBM Plex Sans", Roboto;
    font-size: 1.8rem;
    margin-top: 1rem;
    height: 4em;
    position: relative;
    color: #fff;
    width: 80%;
    text-align: right;
    margin-right: 30%;
    }
        
#phrase {
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: block;
    }
        
#phrase.active {
    opacity: 1;
    }
/*  rotating phrases end*/

.framework-button {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    }

.framework-button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

h1, h2, p {
     color: #fff;
    }

h1 {
    font-size: 4.0rem;
    font-weight: normal;
    }

.boxes-section {
    width: 100%;
    height: 160vh;
    padding: 5% 10%;
    background-color: #fff;
    }

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px;
    height: 100%;
    }

.box {
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    min-height: 280px;
    }

.box-1 {
    background: transparent;
    justify-content: end;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    }

.box-1 .title {
    font-size: 2.5rem;
    font-weight: normal;
    color: #133844;
    }

.box-1 .text1 {
    font-size: 1.4rem;
    font-weight: normal;
    text-align: justify;
    color: #133844;
    padding: 1rem 0;
    }
            
.box-1 .learn-more {
    color: #133844;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    left: 20px;
    }

.box-1 .learn-more:hover {
    color: #8EEBD8;
    text-decoration: none;
    }
    
.box-2, .box-3, .box-4 {
    position: relative;
    overflow: hidden;
    }

.box-2::after, .box-3::after, .box-4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
    }

.box-2::after {
    background-image: url('images/home2.png');
    }

.box-3::after {
    background-image: url('images/home3.png');
    }

.box-4::after {
    background-image: url('images/home4.png');
    }

.box-2::before, .box-3::before, .box-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, 
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.3) 33%,
    rgba(0, 0, 0, 0) 100%);
    transition: opacity 0.3s ease;
    z-index: 1;
    }

.box-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.4rem;
    font-weight: normal;
    z-index: 2;
        }

.box-2:hover, .box-3:hover, .box-4:hover {
    border-color: #007bff;
    }

.box-2:hover::after, .box-3:hover::after, .box-4:hover::after {
    transform: scale(1.04);
    }

.box-2:hover::before, .box-3:hover::before, .box-4:hover::before {
    opacity: 0.7;
    }

.box-2:active, .box-3:active, .box-4:active {
    border-color: #0056b3;
    }

.box-2:active::after, .box-3:active::after, .box-4:active::after {
    transform: scale(1.02);
    }

@media (max-width: 768px) {
    .boxes-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    height: auto;
    gap: 15px;
    }

.box {
    min-height: 200px;
    }

.box-1 .title {
    font-size: 2rem;
    }

    .box-text {
    font-size: 1rem;
    bottom: 15px;
    left: 15px;
    }

.boxes-section {
    padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .box {
    min-height: 150px;
    padding: 15px;
    }

.box-1 .title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    }

.box-1 .learn-more {
    font-size: 1rem;
    }

    .box-text {
    font-size: 0.9rem;
    bottom: 12px;
    left: 12px;
    }
}


.aboutuscontainer {
    height: 100%;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    }

.aboutuscontainer h1 {
    padding-left: 5%;
    }

.top-row {
    display: flex;
    gap: 20px;
    min-height: 400px;
    }

.top-connected {
    display: flex;
    flex: 1;
    background-color: #e6e6e6;
    border: 2px solid #ccc;
    border-radius: 20px;
    min-height: 400px;
    }

.top-pic {
    flex: 1;
    display: flex;
    border-right: 2px solid #ccc;
    border-radius: 20px 0 0 20px;
    background-image: url('images/home5.png');
    max-width: 300px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 200px;
    }

.pic-link {
    text-decoration: none;
    display: flex;
    flex: 1;
    max-width: 300px;
    }

.overlay-text {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 1.2em;
    pointer-events: none;
    z-index: 2;
}

.pic-link:hover .overlay-text {
    font-weight: bold;
}

.top-text    {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    padding: 30px;
        }

.bottom-row {
    display: flex;
    gap: 20px;
    min-height: 100px;
    margin: 0 0 5% 0;
    }

.bottom-connected {
    display: flex;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    min-height: 100px;
    }

.follow-us {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    background-color: #133844;
    color: #fff;
    border-right: 2px solid #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    max-width: 300px;
    }

.followustext {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: top;
    font-size: 18px;
    padding: 20px;
    color: #133844;
    font-size: 2.5rem;
    display: inline-flex;
    margin: 0 auto 0 2  %;
    }
        
.followustext a {
    color: #133844;
    margin: 0 .8rem;
    }

@media (max-width: 768px) {
    h1 {
        font-size: 3em;
        }
            
    .top-connected {
        flex-direction: column;
        min-height: auto;
        }
            
    .bottom-connected {
        flex-direction: column;
        min-height: auto;
        }
            
    .top-pic {
        display: none;
        }
            
    .top-text {
        flex: 1;
        border-radius: 20px;
        font-size:1.5em;
        }
            
    .follow-us {
        border-right: none;
        border-bottom: 2px solid #ccc;
        border-radius: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        min-height: 200px;
        max-width: 768px;
        }
            
    .followustext {
        border-radius: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        min-height: 100px;
        }
            
    .aboutuscontainer {
        margin-top: 8%;
        }
    }

footer {
    box-sizing: border-box;
    background-color: #000; 
    width: 100%;
    height: 30px;
    padding: 0 15%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    font-family: "IBM Plex Sans", Roboto;
    font-size: 1rem;
    font-weight: light;
    }
