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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Container */
.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Logo */
.logo {
	text-align: center;
	padding: 20px 0;
	background-color: #f9f9f9;
	color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* OSI Model Section */
.osi-model h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

.osi-layers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.osi-layer {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.osi-layer:hover {
    transform: translateY(-5px);
}

.osi-layer h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.osi-layer p {
    font-size: 1.1em;
}

.osi-layer i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #007bff;
}

/* Contact Info Section */
.contact-info {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 40px 0;
    border-radius: 10px;
    margin-bottom: 40px;
}

.contact-info h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.contact-info .btn {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-info .btn:hover {
    background-color: #0056b3;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    border-radius: 10px;
}

.footer p {
    font-size: 1em;
}

.footer a {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .osi-model h2 {
        font-size: 1.5em;
    }

    .osi-layers {
        grid-template-columns: 1fr;
    }

    .osi-layer h3 {
        font-size: 1.2em;
    }

    .osi-layer p {
        font-size: 1em;
    }

    .contact-info h3 {
        font-size: 1.5em;
    }

    .contact-info p {
        font-size: 1em;
    }

    .contact-info .btn {
        font-size: 1em;
        padding: 10px 25px;
    }

    .footer p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6em;
    }

    .header p {
        font-size: 0.9em;
    }

    .osi-model h2 {
        font-size: 1.3em;
    }

    .osi-layer h3 {
        font-size: 1em;
    }

    .osi-layer p {
        font-size: 0.9em;
    }

    .contact-info h3 {
        font-size: 1.2em;
    }

    .contact-info p {
        font-size: 0.9em;
    }

    .contact-info .btn {
        font-size: 0.9em;
        padding: 8px 20px;
    }

    .footer p {
        font-size: 0.8em;
    }
}

/* Contact Form Section */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 1.1em;
    margin-bottom: 5px;
    display: block;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

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

.btn {
    background-color: #d40000ff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.btn:hover {
    background-color: #0056b3;
}