@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Segoe UI', sans-serif;
}
  
.header {
    background-color: white;
    border-bottom: 1px solid #000;
    padding: 15px 20px;
}
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
  
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
  
.logo {
    width: 48px;
    height: 48px;
}
  
.site-title {
    font-size: 25px;
    font-weight: bold;
    color: #3171b7;
    letter-spacing: 1px;
    text-decoration: none;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
  
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
  
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
  
.nav-menu a:hover {
    color: #3171b7;
}
  
.header-buttons {
    display: flex;
    gap: 10px;
}
  
.header-buttons a {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
  
.outline-btn {
    background: transparent;
    color: #3171b7;
    border: 2px solid #3171b7;
}
  
.filled-btn {
    background: #3171b7;
    color: white;
    border: none;
}
  
.outline-btn:hover,
.filled-btn:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: auto;
    margin-bottom: 20px;
    color: #2c3e50;
    width: 20ch;
    overflow: hidden;
    display: inline-block;
    text-wrap: nowrap;
    overflow: hidden;
    animation: typing 2s steps(20) infinite alternate-reverse;
}

@keyframes typing {
    from {
        width: 0ch;
    }
}

.hero p {
    font-size: auto;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* About */
.about {
    background-color: #dcdcdc;
    position: relative;
}

.section {
    padding: 80px 0;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: auto;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color:rgb(91, 97, 103);
    color: #ffffff;
    border: 2px solid #3171b7;
}

.btn-primary:hover {
    background-color: transparent;
    color:rgb(38, 64, 92);
}

.btn-outline {
    background-color: transparent;
    color:rgb(0, 0, 0);
    border: 2px solid #3171b7;
}

.btn-outline:hover {
    background-color:rgb(35, 61, 89);
    color: #ffffff;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(49, 113, 183, 0.2), transparent);
    z-index: 1;
}

/* Skills Section */
.skills {
    background-color: #ffffff;
}

.section {
    padding: 40px 0;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: auto;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: #2c3e50;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3171b7;
}

.section-title p {
    font-size: auto;
    max-width: 700px;
    margin: 0 auto;
    color: #333;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: auto;
    margin-bottom: 20px;
    color: #3171b7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    font-size: auto;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #3171b7;
    border-radius: 4px;
}

/* CTA Section */
.cta {
    background-color: #3171b7;
    color: #f5f5f5;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section {
    padding: 40px 0;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.cta h2 {
    font-size: auto;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.cta p {
    font-size: auto;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btnn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primaryy {
    background-color: #3171b7;
    color: #ffffff;
    border: 2px solid #3171b7;
}

.btn-primaryy:hover {
    background-color: transparent;
    color:rgb(32, 50, 70);
}

.btn-outlinee {
    background-color: transparent;
    color:rgb(251, 253, 255);
    border: 2px solid #3171b7;
}

.btn-outlinee:hover {
    background-color: #3171b7;
    color:rgb(32, 50, 70);
}

/* Footer */
.containerss {
	max-width: 1170px;
	margin:auto;
}

.row {
	display: flex;
	flex-wrap: wrap;
}

ul {
	list-style: none;
}

.footer {
	background: linear-gradient(135deg,rgb(46, 60, 73),rgb(50, 80, 151));
    color: white;
    padding: 70px 0;
}

.footer-col {
   width: 25%;
   padding: 0 15px;
}

.footer-col h4 {
	font-size: auto;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col h4::before {
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li:not(:last-child) {
	margin-bottom: 10px;
}

.footer-col ul li a {
	font-size: auto;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover {
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a {
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 8px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
	color: #24262b;
	background-color: #ffffff;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid white;
    font-size: auto;
    color: white;
}

/* Header */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
  
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: #f5f5f5;
        margin-top: 10px;
        padding: 15px 20px;
        border-radius: 8px;
    }
  
    .nav-menu.active {
        display: flex;
    }
  
    .header-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
  
    .header-buttons button {
        width: 100%;
    }
}

/* Hero and About */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: auto;
    }
    
    .about-content {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: auto;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        margin-top: 40px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: auto;
    }
    
    .hero p {
        font-size: auto;
        padding: 0 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .section-title h2 {
        font-size: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: auto;
    }
    
    .hero p {
        font-size: auto;
    }
    
    .about-text h2,
    .section-title h2 {
        font-size: auto;
    }
    
    .about-text p {
        font-size: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

}

/* Footer */
@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px){
    .footer-col{
        width: 100%;
    }
}
