* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #5D6D7E;
    background: linear-gradient(135deg, #D5DBDB 0%, #AAB7B8 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #2c3e50;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(52, 73, 94, 0.9), rgba(52, 73, 94, 0.9)),
                url('https://raw.githubusercontent.com/aroycenirangeorge/Portfolio/refs/heads/main/attachments/background_image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-pic {
    width: 75%;
    height: 75%;
    border-radius: 50%;
    border: 4px solid #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.profile-info {
    text-align: left;
    max-width: 500px;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 2.5rem;
}

.tech-icons i {
    color: #fff;
    transition: transform 0.3s ease;
}

.tech-icons i:hover {
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Competitive Profiles Section */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.profile-card {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-icon {
    font-size: 2.5rem;
    color: #34495E;
    margin-bottom: 1rem;
}

.profile-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-content p {
    color: #5D6D7E;
    margin-bottom: 0.5rem;
}

.profile-link a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-link a:hover {
    color: #2980b9;
}

.education-card,
.internship-card,
.skill-card,
.project-card {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
    transform: translateY(-5px);
}

.skill-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-icon {
    font-size: 2.5rem;
    color: #34495E;
    text-align: center;
    margin-bottom: 1rem;
}

.skill-content {
    flex: 1;
}

.skill-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.skill-content ul li {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-content ul li i {
    font-size: 1.2rem;
    color: #5D6D7E;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-icon {
    font-size: 2.5rem;
    color: #34495E;
    text-align: center;
    margin-bottom: 1rem;
}

.project-content {
    flex: 1;
}

.project-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.project-content ul li {
    margin: 0.75rem 0;
    color: #85929E;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #D5DBDB;
    border-radius: 8px;
    background: #fff;
    color: #34495E;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.social-section {
    margin-top: 3rem;
}

.social-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #34495E;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: #5D6D7E;
}

.social-btn i {
    font-size: 1.5rem;
}

.social-link p {
    color: #85929E;
    font-size: 0.9rem;
    margin: 0;
}

.contact-info:hover,
.social-links:hover {
    transform: translateY(-5px);
}

.contact-icon,
.social-icon {
    font-size: 2.5rem;
    color: #afbac5;
    text-align: center;
    margin-bottom: 1rem;
}

.social-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-content a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #34495E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-content a:hover {
    color: #5D6D7E;
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-card {
    background: #D5DBDB;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

}

.section-card h2 {
    color: #34495E;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-card h2 i {
    color: #34495E;
    font-size: 1.5rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    gap: 2rem;
}

.about-gif {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-gif-img {
    width: 70%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5D6D7E;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-logo {
    font-size: 4rem;
    color: #34495E;
    margin: 2rem 0;
    animation: spin 10s linear infinite;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-points li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 1.1rem;
}

.about-points li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2rem;
}

/* Skills with icons */
.skill-category li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    color: #2c3e50;
}

.skill-category li i {
    font-size: 1.2rem;
    color: #5D6D7E;
    transition: transform 0.3s ease;
}

.skill-category li:hover i {
    transform: scale(1.2);
}

/* Animation for spinning */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-text p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.education-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
    text-align: center;
}

.education-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.education-content p {
    color: #666;
    margin: 0.5rem 0;
}

.period {
    color: #3498db;
    font-weight: 500;
}

/* Internships Section */
.internships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.internship-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.internship-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
    text-align: center;
}

.internship-content p {
    color: #666;
    margin: 0.5rem 0;
}

.internship-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.internship-content ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.internship-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin: 0.5rem 0;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2rem;
}

/* Internship bullet points */
.internship-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.internship-content ul li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.internship-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2rem;
}

.skill-category li i {
    color: #3498db;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2980b9;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}
