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

body {
    background-color: #000000;
    color: white;
    overflow-x: hidden;
    /* Text select කිරීමේ හැකියාව අයින් කරයි */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* මවුස් එක Text උඩින් යද්දී cursor එක I-beam එකක් වගේ පෙන්නන්න */
p, h1, h2, h3, h4, h5, h6, span, label, li, .desc-p {
    cursor: text; /* Text elements වලට I-beam */
}

/* සියලුම Links වලට pointer cursor */
a, a:link, a:visited, a:hover, a:active {
    cursor: pointer !important;
}

/* Buttons and clickable elements */
button, 
.btn-cv, 
.submit-btn,
.hamburger-icon,
.hamburger-icon *,
.nav-links li a,
.social-icons a,
.dropdown-content a,
[role="button"],
[type="submit"] {
    cursor: pointer !important;
}

/* Form elements */
input, textarea, select {
    cursor: text; /* Form fields වල I-beam */
}

/* Disabled elements */
.disabled, [disabled] {
    cursor: not-allowed !important;
}

@media print {
    body {
        display: none !important;
    }
}

/* --- HEADER (80% transparent ash) --- */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 10px 5%;
    background: rgba(128, 128, 128, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 51, 51, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.logo-text {
    color: #f43838;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
    white-space: nowrap;
}

/* --- Hamburger Icon (Mobile පමණයි) --- */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: 0.3s;
    background-color: transparent;
    margin-left: 15px;
}

.hamburger-icon .line {
    width: 25px;
    height: 3px;
    background-color: #ff5f5f;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-icon:hover .line {
    background-color: #d21010;
}

/* Hamburger X Animation */
.hamburger-icon.active .line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger-icon.active .line:nth-child(2) { opacity: 0; }
.hamburger-icon.active .line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Navigation Links (Desktop) --- */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 5px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ff5f5f;
}

/* --- Desktop View (1001px වැඩි) --- */
@media screen and (min-width: 1001px) {
    .hamburger-icon {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        background: transparent;
        border: none;
        padding: 0;
        flex-direction: row;
    }
    
    .nav-links li a {
        margin-left: 15px;
        height: 50px;
        line-height: 50px;
        padding: 0 5px;
    }
}

/* --- Mobile View (1000px ට අඩු) --- */
@media screen and (max-width: 1000px) {
    .navbar {
        justify-content: center;
        position: relative;
    }
    
    .logo-text {
        font-size: 1.3rem;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
    
    .hamburger-icon {
        display: flex;
        position: absolute;
        right: 0;
        margin-left: 0;
        z-index: 1001;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 60%;
        position: absolute;
        top: 70px;
        right: 0;
        left: auto;
        background-color: #000000;
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0 0 0 15px;
        z-index: 999;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        margin: 2px 0;
    }
    
    .nav-links li a {
        margin: 0;
        padding: 14px 0;
        font-size: 1rem;
        width: 100%;
        color: rgb(255, 255, 255);
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-links li a:hover {
        background-color: #660000;
        color: #ffffff;
        transform: scale(1.05);
    }
    
    .nav-links li a.active {
        background-color: #a52a2a;
        color: white;
        font-weight: 600;
    }
}

/* Small Mobile Devices (480px ට අඩු) */
@media screen and (max-width: 480px) {
    .nav-links { width: 70%; }
    .logo-text { font-size: 1rem; }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 60px 8%;
}

.hero-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cursor {
    color: #ff5f5f;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.role-text {
    color: #ff5f5f;
    font-weight: 400;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.desc-p {
    color: #bbb;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.button-icons-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateX(10px);
    margin-top: 55px;
}

.btn-cv {
    display: inline-block;
    background: #ff5f5f;
    padding: 10px 46px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: 0.3s;
    border: 2px solid #ff5f5f;
}

.btn-cv:hover {
    background: transparent;
    color: #ff5f5f;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,95,95,0.35);
}

.social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.social-icons a {
    font-size: 1.8rem;
    color: #ff5f5f;
    transition: 0.3s;
    opacity: 0.85;
}

.social-icons a:hover {
    color: #ff5f5f;
    transform: translateY(-5px);
    opacity: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-border {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ff5f5f;
    box-shadow: 0 0 30px rgba(255,95,95,0.2);
    transition: 0.4s ease;
}

.image-border:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255,95,95,0.4);
}

.image-border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .role-text { font-size: 1.5rem; }

    .button-icons-wrapper {
        transform: translateX(0);
    }

    .desc-p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== EDUCATION SECTION ===== */
:root {
    --angle: 0deg;
}

.edu-section {
    padding: 100px 8%;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.edu-section .edu-section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 80px;
    color: white;
    font-weight: 600;
    display: block;
    width: 100%;
}

.edu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    padding: 50px 0;
}

.edu-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #800080, #ff5f5f, transparent);
    transform: translateX(-50%);
}

.edu-card {
    background-color: #0d0d0d;
    border-radius: 20px;
    padding: 40px 30px;
    width: 600px;
    height: 250px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    --border-size: 3px;
    border: var(--border-size) solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    border-image: conic-gradient(
        from var(--angle),
        #FF0000,
        transparent 50%,
        #FF0000
    ) 1 stretch;
    box-shadow: 0 0 25px 5px rgba(128, 0, 128, 0.3), 
                0 0 40px 10px rgba(255, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: rotateBorder 3s linear infinite;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff5f5f #1a1a1a;
}

.edu-card::-webkit-scrollbar {
    width: 8px;
}

.edu-card::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.edu-card::-webkit-scrollbar-thumb {
    background: #ff5f5f;
    border-radius: 10px;
}

.edu-card::-webkit-scrollbar-thumb:hover {
    background: #ff3333;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    to {
        --angle: 360deg;
    }
}

.edu-card:nth-child(even) {
    align-self: flex-end;
    transform: translateX(50px);
}

.edu-card:nth-child(odd) {
    align-self: flex-start;
    transform: translateX(-50px);
}

.edu-card:hover {
    transform: translateX(var(--card-offset, 20px)) scale(1.05);
    box-shadow: 0 0 35px 10px rgba(124, 6, 126, 0.5), 
                0 0 50px 15px rgba(255, 0, 0, 0.3);
}

.edu-card:nth-child(even):hover {
    --card-offset: 20px;
}

.edu-card:nth-child(odd):hover {
    --card-offset: -20px;
}

.edu-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    color: white;
    line-height: 1.3;
}

.edu-card p {
    margin: 0;
    font-size: 1.3rem;
    color: #ccc;
    font-weight: 300;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .edu-container::before { 
        display: none; 
    }
    
    .edu-card:nth-child(even),
    .edu-card:nth-child(odd) {
        align-self: center;
        transform: translateX(0);
        width: 90%;
        height: auto;
        min-height: 250px;
        padding: 40px 30px;
    }
    
    .edu-card:hover {
        transform: scale(1.02);
    }
    
    .edu-card h3 {
        font-size: 1.5rem;
    }
    
    .edu-card p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .edu-card {
        padding: 30px 20px;
        min-height: 220px;
    }
    
    .edu-card h3 {
        font-size: 1.3rem;
    }
    
    .edu-card p {
        font-size: 1rem;
    }
}

/* ===== LOADER ===== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: relative;
    color: #fff;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: spin 1s linear infinite;
}

.loader:before {
    color: #007bff;
    transform: rotateX(70deg);
    animation-delay: .2s;
}

.loader:after {
    color: #FF3D00;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

.loading-text {
    color: white;
    font-family: Arial, sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 10px;
    letter-spacing: 1px;
}

@keyframes spin {
    0%, 100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

/* ===== CONTACT SECTION ===== */
.con-section {
    padding: 60px 20px;
    background-color: #000000;
}

.con-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.con-section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 80px;
    color: white;
    font-weight: 600;
    display: block;
    width: 100%;
}

.form-container {
    background: #000000;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid;
    max-width: 600px;
    margin: 0 auto;
    animation: borderFade 4s infinite alternate;
}

@keyframes borderFade {
    0% {
        border-color: #8b0000;
        box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.5);
    }
    50% {
        border-color: #4b0082;
        box-shadow: 0 0 25px 8px rgba(75, 0, 130, 0.6);
    }
    100% {
        border-color: #8b0000;
        box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.5);
    }
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 2px solid #3498db;
    color: white;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #f3341f;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.submit-btn {
    background-color: #3498db;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #f3341f;
}

/* ===== PROJECTS SECTION ===== */
.project-section {
    padding: 80px 20px;
    background-color: #050505;
    color: white;
}

.project-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.project-section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #ff3333;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.project-card {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 20px;
    border: 3px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
    position: relative;
    animation: projectBorderFade 4s infinite alternate;
    z-index: 2;
}

@keyframes projectBorderFade {
    0% {
        border-color: #8b0000;
        box-shadow: 0 0 8px 2px rgba(139, 0, 0, 0.2);
    }
    50% {
        border-color: #4b0082;
        box-shadow: 0 0 12px 3px rgba(75, 0, 130, 0.25);
    }
    100% {
        border-color: #8b0000;
        box-shadow: 0 0 8px 2px rgba(139, 0, 0, 0.2);
    }
}

.project-card:active {
    transform: scale(1);
}

.project-card:active .project-icon {
    animation: none;
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    z-index: 3;
}

.project-card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.tech-tag {
    background-color: #1a0000;
    color: #ff6666;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
    border: 1px solid #ff3333;
    position: relative;
    z-index: 3;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 18px;
    background: linear-gradient(145deg, #8b0000, #4b0082, #8b0000, #4b0082);
    background-size: 300% 300%;
    z-index: 1;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    filter: blur(4px);
    box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.2);
}

.project-card:hover::before {
    opacity: 0.5;
    transform: scale(1.08) rotate(3deg);
    animation: rotateBackBox 10s linear infinite;
}

@keyframes rotateBackBox {
    0% {
        background-position: 0% 0%;
        transform: scale(1.08) rotate(0deg);
        filter: blur(4px);
        box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.2);
    }
    25% {
        background-position: 100% 0%;
        transform: scale(1.1) rotate(2deg);
        filter: blur(5px);
        box-shadow: 0 0 25px 6px rgba(75, 0, 130, 0.25);
    }
    50% {
        background-position: 100% 100%;
        transform: scale(1.12) rotate(4deg);
        filter: blur(6px);
        box-shadow: 0 0 30px 8px rgba(139, 0, 0, 0.3);
    }
    75% {
        background-position: 0% 100%;
        transform: scale(1.1) rotate(2deg);
        filter: blur(5px);
        box-shadow: 0 0 25px 6px rgba(75, 0, 130, 0.25);
    }
    100% {
        background-position: 0% 0%;
        transform: scale(1.08) rotate(0deg);
        filter: blur(4px);
        box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.2);
    }
}

.project-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(75, 0, 130, 0.15));
    z-index: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    filter: blur(10px);
}

.project-card:hover::after {
    opacity: 0.3;
    transform: scale(1.15) rotate(-2deg);
    animation: rotateGlow 12s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: scale(1.15) rotate(-2deg);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.2) rotate(3deg);
        opacity: 0.35;
    }
    100% {
        transform: scale(1.15) rotate(-2deg);
        opacity: 0.25;
    }
}

.project-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(139, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 10;
    background: #0a0a0a;
}

.project-card:active {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(139, 0, 0, 0.2);
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    background: rgba(128, 128, 128, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 51, 51, 0.2);
    padding: 60px 5% 30px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col {
    text-align: left;
}

.footer-col h3 {
    color: #ff5f5f;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #ff5f5f, #800080);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ff5f5f;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 95, 95, 0.5);
}

.footer-col .social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col .social-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-col .social-link-item:hover {
    color: #ff5f5f;
    background: rgba(255, 95, 95, 0.1);
    transform: translateX(8px);
}

.footer-col .social-link-item i {
    font-size: 1.3rem;
    width: 25px;
    color: #ff5f5f;
}

.footer-col .social-link-item span {
    font-size: 0.95rem;
}

.footer-col.quick-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col.quick-links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col.quick-links ul li a i {
    font-size: 0.8rem;
    color: #ff5f5f;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-col.quick-links ul li a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.footer-col.contact-info p {
    color: #ccc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-col.contact-info p i {
    color: #ff5f5f;
    width: 20px;
    font-size: 1.1rem;
}

/* Social Icons Container - අලුතෙන් එකතු කළා */
.social-icons-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons-container a {
    color: #ff5f5f;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons-container a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 95, 95, 0.5);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 51, 51, 0.2);
    text-align: center;
}

.copyright-text {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.copyright-text a {
    color: #ff5f5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    text-shadow: 0 0 8px rgba(255, 95, 95, 0.5);
    text-decoration: underline;
}

/* ===== RESPONSIVE FOOTER ===== */
@media screen and (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col .social-link-item {
        justify-content: center;
    }
    
    .footer-col.contact-info p {
        justify-content: center;
    }
    
    /* About column icons මැදට - අලුතෙන් එකතු කළා */
    .social-icons-container {
        justify-content: center;
    }
    
    /* Quick Links මැදට - අලුතෙන් එකතු කළා */
    .quick-links ul {
        text-align: center;
    }
    
    .quick-links ul li {
        text-align: center;
    }
    
    .quick-links ul li a {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .footer-container {
        gap: 30px;
    }
    
    .footer-col {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .footer-container {
        gap: 25px;
    }
    
    .social-icons-container {
        gap: 10px;
    }
    
    .social-icons-container a {
        font-size: 1.1rem;
    }
}

