/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #CADAE9;
    color: #1C3144;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main Section Styles */
.main {
    padding: 40px;
    background-color: #E9EDF2;
    border-radius: 10px;
    margin: 20px
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #1C3144;
	padding: 15px 0 15px 0;
}

/* Links */
a {
    color: #6D849C;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #395478;
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
}

th, td {
    border: 1px solid #8EA3B8;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #8EA3B8;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #F5F9FC;
}

/* Blockquotes */
blockquote {
    border-left: 5px solid #6D849C;
    margin: 20px 0;
    padding: 10px 20px;
    font-style: italic;
    color: #395478;
    background-color: #F5F9FC;
}

/* Lists */
ul, ol {
    margin: 20px 0;
    padding-left: 40px;
}

li {
    margin-bottom: 10px;
}

/* Images */
img {
    max-width: 100%;
    border-radius: 5px;
    display: block;
    margin: 20px 0;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.05);
}

/* Divs */
div {
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #CADAE9, #395478);
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.scroll-btn {
    padding: 10px 20px;
    background-color: #8EA3B8;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.scroll-btn:hover {
    background-color: #6D849C;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px;
    background-color: #E9EDF2;
}

.feature-card {
    background-color: #8EA3B8;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Introduction Section */
.introduction {
    padding: 40px;
    background-color: #CADAE9;
    text-align: center;
}

.introduction h2 {
    color: #395478;
    margin-bottom: 20px;
}

/* Interactive Gallery */
.gallery {
    padding: 40px;
    background-color: #E9EDF2;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 20px;
    color: #395478;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-item {
    width: calc(33.33% - 20px);
    margin: 10px;
}

.gallery-item img {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

    #back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #1C3144;
        color: #ffffff;
        border: none;
        border-radius: 50%;
        padding: 15px;
        font-size: 16px;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s;
        display: none; /* Initially hidden */
    }

    #back-to-top:hover {
        background-color: #395478;
    }
	
    /* Footer Styles */
    .main-footer {
        background-color: #1C3144;
        color: #ffffff;
        text-align: center;
        padding: 20px;
        font-size: 14px;
        position: relative;
        bottom: 0;
        width: 100%;
    }

    .main-footer p {
        margin: 5px 0;
    }

    .main-footer nav ul {
        list-style: none;
        padding: 0;
        margin: 10px 0;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .main-footer nav ul li {
        display: inline;
    }

    .main-footer nav ul li a {
        color: #CADAE9;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

    .main-footer nav ul li a:hover {
        color: #8EA3B8;
    }
	
/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .gallery-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .gallery-item {
        width: 100%;
    }
}
