* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body,
html {
    background: #081a2b;
    color: #fff;
    line-height: 1.6;
    width: 100%;
    height: 100vh;
}

#container {
    height: 100%;
    width: 100%;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1e90ff;
}

.about-img img {
    border-radius: 14px;
    width: 300px;
    height: auto;
}

.about-img {
    display: flex;
    width: 100%;
}

.navbar a {
    color: #bbb;
    margin: 0 15px;
    text-decoration: none;
}

.talk-btn {
    background: #1e90ff;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 60px;
}

.hero h1 {
    font-size: 42px;
}

.hero span {
    color: #1e90ff;
}

.hero p {
    max-width: 480px;
    color: #aaa;
    margin: 20px 0;
}

.hero-image img {
    border-radius: 14px;
    width: 200px;
    height: 200px;
}

.primary {
    background: #1e90ff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    color: white;
}

.outline {
    background: transparent;
    border: 2px solid #1e90ff;
    color: #1e90ff;
    padding: 10px 22px;
    border-radius: 25px;
    margin-left: 15px;
}

/* SECTIONS */
section {
    padding: 80px 60px;
}

.about,
.hero {
    gap: 50px;
}

.about {
    width: 100%;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.about-text {
    margin-top: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: #0e2a44;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
}

/* EXPERIENCE */
.experience-card {
    background: #0e2a44;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #05111d;
    color: #777;
}

/* ANIMATIONS */
.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

html {
    scroll-behavior: smooth;
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.slide-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
}

/* Active class when element comes into view */
.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* SEND MESSAGE BUTTON */
#sendMessage {
    background: #1e90ff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    color: white;
    margin-top: 10px;
    cursor: pointer;
}

#sendMessage:hover {
    background: #1c86ee;
}

#sendMessage:active {
    transform: scale(0.98);
}

button:active {
    transform: scale(0.98);
}

button {
    cursor: pointer;
}

/* MODAL STYLES */
.modal {
    display: none;
    /* hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    transition: all 0.3s ease-in-out;
}

.modal-content {
    background: #0e2a44;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 20px;
    color: #ccc;
}

.modal-content .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-content .social-icons img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.modal-content .social-icons img:hover {
    transform: scale(1.2);
}

.close {
    position: absolute;
    top: 12px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #1e90ff;
}
