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

/* ======================= */
/* Global Styles */
/* ======================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #00001A;
    color: #ffffff;
}

/* ======================= */
/* Navbar */
/* ======================= */
.navbar {
    background-color: #00001A !important; /* match page background */
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color: #ffffff !important;
}

.navbar-nav .nav-link {
    color: #D0D4FF !important;
    margin-right: 18px;
    font-weight: 400;
}

.navbar-nav .nav-link:hover {
    color: #82D4FF !important;
}

/* ======================= */
/* Intro Section */
/* ======================= */
.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 120px 90px;
    gap: 40px;
    position: relative;
}

.text {
    max-width: 50%;
    margin-top: 40px;
}

.text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #82D4FF;
}

.text h5 {
    font-size: 18px;
    font-weight: 400;
    color: #B5C1FF;
    margin-bottom: 20px;
}

.text p {
    font-size: 18px;
    line-height: 1.7;
    color: #E2E6FF;
}

/* ======================= */
/* Buttons */
/* ======================= */
.buttons {
    margin-top: 30px;
}

.btn-round {
    display: inline-block;
    margin-right: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    background-color: #050505;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.25s;
}

.btn-round:hover {
    background-color: #1a1a1a;
    transform: translateY(-3px);
}

.btn-round-white {
    display: inline-block;
    margin-right: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #00001A;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.25s;
}

.btn-round-white:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

/* ======================= */
/* Image & Hexagon */
/* ======================= */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.hexagon {
    position: absolute;
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, #82D4FF 0%, #3C96E0 50%, #1A5A90 100%);
    clip-path: polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0% 50%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    box-shadow: 0 0 25px rgba(116,196,250,0.55), 0 0 50px rgba(116,196,250,0.35);
}

.image {
    width: 500px;
    height: 500px;
    clip-path: polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0% 50%);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* ======================= */
/* Projects Section */
/* ======================= */
.projects-section {
    background-color: #050505;
    color: #FFFFFF;
    min-height: 100vh;
    padding: 100px 90px;
    text-align: center;
}

.projects-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.projects-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #82D4FF, #3C96E0);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 280px);
    gap: 40px;
    justify-content: center;
}

.project-card {
    width: 280px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(0,0,0,0.45);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card p {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 12px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to top, rgba(44,44,44,0.9), rgba(44,44,44,0));
    color: #FFFFFF;
}

/* ======================= */
/* Contact Section */
/* ======================= */
.contact-section {
    background-color: #2C2C2C;
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #82D4FF;
} 

.contact-icons a {
    display: inline-block;
    margin: 0 20px;
    font-size: 40px;
    color: #E2E6FF;
    transition: 0.25s;
}

.contact-icons a:hover {
    color: #82D4FF;
    transform: translateY(-4px);
}

/* ======================= */
/* Responsive Styles */
/* ======================= */
@media (max-width: 1200px) {
    .navbar { padding: 20px 25px; }
    .intro-section { margin: 80px 40px; }
    .projects-section { padding: 80px 40px; }
}

@media (max-width: 992px) {
    .intro-section { flex-direction: column; align-items: center; margin: 60px 20px; text-align: center; }
    .text { max-width: 100%; margin-top: 0; margin-bottom: 40px; }
    .text h1 { font-size: 36px; }
    .text p { font-size: 16px; text-align: left; }
    .buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .btn-round, .btn-round-white { padding: 10px 20px; font-size: 15px; margin: 0; }
    .image-wrapper { width: 350px; height: 350px; }
    .hexagon { width: 400px; height: 400px; }
    .image { width: 350px; height: 350px; }
    .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .project-card { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 15px; }
    .navbar-collapse { text-align: left; }
    .navbar-nav .nav-link { margin-right: 0; }
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .projects-section { padding: 60px 15px; }
    .project-card { height: 180px; }
}

@media (max-width: 576px) {
    .intro-section { margin: 40px 15px; }
    .text h1 { font-size: 32px; }
    .image-wrapper { width: 280px; height: 280px; }
    .hexagon { width: 330px; height: 330px; }
    .image { width: 280px; height: 280px; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { height: 250px; max-width: 400px; margin: 0 auto; }
}
