*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    color:#535252;
    overflow-x: hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Navbar Styles */
.navbar{
    background:#fff;
    padding:15px 0;
    border-bottom:1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-content{
    display:flex;
    justify-content:center;
    align-items:center;
}

.logo{
    height:55px;
    transition: transform 0.3s ease;
}

.logo:hover{
    transform: scale(1.05);
}

/* Enhanced Button Styles */
.btn-primary{
    background:#1476BD;
    color:#fff !important;
    padding:12px 28px;
    border-radius:50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 118, 189, 0.3);
}

.btn-primary:hover{
    background:#00B0AB;
    color:#fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 171, 0.4);
}

/* Hero Section */
.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slides{
    position:absolute;
    width:100%;
    height:100%;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
}

/* Hero Content with Animation */
.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,0.92);
    padding:60px 50px;
    width:65%;
    margin:auto;
    border-radius:20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(-50%);
    }
}

.hero-content h1{
    color:#1476BD;
    margin-bottom:20px;
    font-size:42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p{
    margin-bottom:30px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content .btn-primary{
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* About Section */
.section{
    padding:120px 0;
    position: relative;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-grid > div{
    animation: fadeInLeft 1s ease-out;
}

.about-grid > div:nth-child(2){
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInLeft{
    from{
        opacity: 0;
        transform: translateX(-50px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.about-grid h2{
    color:#1476BD;
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-grid h2::after{
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background:#00B0AB;
    border-radius: 2px;
}

.about-grid p{
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-grid img{
    width:100%;
    border-radius:20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-grid img:hover{
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Features Section */
.features{
    background:#f7f9fb;
    padding:100px 0;
    position: relative;
    overflow: hidden;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    position: relative;
    z-index: 1;
}

.feature{
    padding:40px 35px;
    background:#fff;
    border-left:none;
    border-radius:20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background:#00B0AB;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature:hover::before{
    transform: scaleX(1);
}

.feature h4{
    color:#1476BD;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p{
    color: #666;
    line-height: 1.7;
}

/* Footer */
.footer{
    background:#0e4f7a;
    color:#fff;
    padding:80px 0 40px;
    position: relative;
    border-top: 4px solid #00B0AB;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:80px;
    max-width: 900px;
    margin: 0 auto;
}

.footer h4{
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00B0AB;
    border-radius: 2px;
}

.footer a{
    color:rgba(255,255,255,0.8);
    text-decoration:none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer a:hover{
    color: #00B0AB;
    transform: translateX(5px);
}

.footer-logo{
    height:55px;
    filter:brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer p{
    line-height: 1.8;
    font-size: 15px;
    opacity: 0.9;
}

/* Footer Bottom */
.footer-bottom{
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p{
    font-size: 14px;
    opacity: 0.8;
}

/* Scrollbar Styling */
::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track{
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb{
    background:#1476BD;
    border-radius: 5px;
}

/* Selection Color */
::selection{
    background: #1476BD;
    color: #fff;
}

/* Responsive Design */
@media(max-width:768px){
    .about-grid{
        grid-template-columns:1fr;
        gap: 40px;
    }
    
    .hero-content{
        width:90%;
        padding:30px 25px;
    }
    
    .hero-content h1{
        font-size: 28px;
        margin-top: 40px;
    }
    
    .hero-content p{
        font-size: 15px;
    }
    
    .feature{
        padding: 30px 25px;
    }
    
    .section{
        padding: 80px 0;
    }
    
    .footer-grid{
        grid-template-columns:1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer h4::after{
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animation for page load */
@keyframes pageLoad{
    from{opacity: 0;}
    to{opacity: 1;}
}

body{
    animation: pageLoad 0.5s ease-out;
}
