/* General Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #007BFF;
}

h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

/* Paragraphs & Lists */
p {
    font-size: 16px;
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li::before {
    content: "✔️ ";
    color: green;
    margin-right: 8px;
}

ul li {
    margin-bottom: 0.5rem;
    font-size: 16px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: #f4f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 1.2rem;
    padding: 0.8rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}


.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: #001F4D; /* Deep dark blue */
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #99ccff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-text {
    flex: 1 1 50%;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-image img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.what-i-do {
    text-align: center;
    padding: 40px 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.5;
}


.technologies-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f2f2f2;
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.tech-card {
    background-color: white;
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #e8f0fe;
    color: #0a66c2;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

/* Name Typing Animation */
.typewriter.name {
    font-size: 2em;
    animation: typing-name 3s steps(14) 1s infinite, blink 0.7s step-end infinite;
}

/* Subtitle Typing Animation */
.typewriter.subtitle {
    font-size: 1.2em;
    animation: typing-subtitle 4s steps(47) 4s infinite, blink 0.7s step-end infinite;
}

/* Keyframes for animations */
@keyframes typing-name {
    0% { width: 0 }
    50% { width: 100% }
    100% { width: 0 }
}

@keyframes typing-subtitle {
    0% { width: 0 }
    50% { width: 100% }
    100% { width: 0 }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: black }
}


.projects-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.projects-section h2 {
    margin-bottom: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    justify-content: center;
}

.project-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card h3 {
    margin-top: 0;
}

.project-card p {
    margin-bottom: 10px;
}

.project-card a {
    color: #0a66c2;
    text-decoration: none;
    font-weight: bold;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.technologies-section {
    margin: 40px 0;
    text-align: center;
}

.tech-ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    background-color: #f5f5f5;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 15px 0;
    margin-top: 20px;
}

.tech-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

.tech-card {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


.projects-section {
    margin: 40px 0;
    text-align: center;
}

.projects-ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    background-color: #f9f9f9;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.projects-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
}

.project-card {
    display: inline-block;
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 0 15px;
    border-radius: 10px;
    width: 280px;
    vertical-align: top;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.project-card h3 {
    margin-top: 0;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.social-icons a img {
    width: 32px;
    height: 32px;
    margin: 5px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}


button[type="submit"] {
    background-color: #004080;  /* default color - deep blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #28a745;  /* green on hover */
}



