* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.tagline {
    font-size: 20px;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    animation: fadeSlide 1.2s ease-out forwards;
}

.tagline span {
    color: #38bdf8;
    position: relative;
}

/* Animated underline */
.tagline span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0;
    background: #38bdf8;
    animation: underlineGrow 1s ease-out forwards;
    animation-delay: 0.8s;
}

/* Animations */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 100%; }
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #0a2540;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

nav {
    background: #133b5c;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

.hero {
    background: #f4f6f8;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    animation: heroFadeUp 1.3s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-title span {
    color: #2563eb;
    position: relative;
}

/* subtle highlight bar */
.hero-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 4px;
    width: 0;
    background: rgba(37, 99, 235, 0.25);
    animation: highlightGrow 0.9s ease-out forwards;
    animation-delay: 1s;
}

/* Animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @keyframes highlightGrow {
    from { width: 0; }
    to { width: 100%; }
} */

.hero-subtext {
    font-size: 18px;
    margin-top: 15px;
    color: #444;
    opacity: 0;
    animation: subtextFadeUp 1.2s ease-out forwards;
    animation-delay: 0.9s;
}

/* Animation */
@keyframes subtextFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile polish */
@media (max-width: 600px) {
    .hero-subtext {
        font-size: 16px;
    }
}

.section {
    padding: 60px 0;
}

.section h2 {
    margin-bottom: 20px;
    color: #0a2540;
}

.gray {
    background: #f9f9f9;
} */

/* Section Backgrounds */
.about-section {
    background: linear-gradient(to right, #ffffff, #f4f8fc);
}

.services-section {
    background: #f9fafb;
}

.contact-section {
    background: linear-gradient(135deg, #0a2540, #133b5c);
    color: #ffffff;
}

/* About Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.about-lead {
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

/* Section Titles */
.section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
}

/* Contact Box */
.contact-box {
    max-width: 700px;
    margin: auto;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-details p {
    margin: 10px 0;
}

.contact-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile Polish */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .section h2 {
        font-size: 26px;
    }
}

.service {
    margin-bottom: 25px;
}

.services-grid {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

/* Desktop: 3 cards per row */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 cards per row */
@media (min-width: 600px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 card per row */
@media (max-width: 599px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 30px;
        line-height: 1.3;
    }
}

/* .service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0a2540;
}

.service-card p {
    color: #555;
    font-size: 15px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
} */

.service-card {
    position: relative;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    border-top: 5px solid transparent;
    transition: all 0.3s ease;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Accent Colors */
.software { border-color: #2563eb; }
.web { border-color: #16a34a; }
.cloud { border-color: #0ea5e9; }
.data-eng { border-color: #9333ea; }
.data-ana { border-color: #f59e0b; }
.consulting { border-color: #dc2626; }

.service-card button {
    margin-top: 15px;
    background: none;
    border: none;
    color: #2563eb;
    font-weight: bold;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: #fff;
    max-width: 600px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

footer {
    background: #0a2540;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}